0

Cleanup PWAFullCodeCache flags

This feature was launched in M67.

Bug: 788621
Change-Id: I59aaf51c5b129d7c01d90076c779a0a747c81d28
Reviewed-on: https://chromium-review.googlesource.com/c/1282483
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599939}
This commit is contained in:
Tsuyoshi Horo
2018-10-16 10:30:43 +00:00
committed by Commit Bot
parent 7be30415a8
commit c82467fd95
10 changed files with 0 additions and 30 deletions

@ -1917,10 +1917,6 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kServiceWorkerServicificationName,
flag_descriptions::kServiceWorkerServicificationDescription, kOsAll,
FEATURE_VALUE_TYPE(blink::features::kServiceWorkerServicification)},
{"enable-pwa-full-code-cache",
flag_descriptions::kEnablePWAFullCodeCacheName,
flag_descriptions::kEnablePWAFullCodeCacheDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kPWAFullCodeCache)},
{"enable-suggestions-with-substring-match",
flag_descriptions::kSuggestionsWithSubStringMatchName,
flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll,

@ -631,11 +631,6 @@ const char kEnablePolicyToolDescription[] =
"If enabled, the chrome://policy-tool URL loads a page for managing "
"policies.";
const char kEnablePWAFullCodeCacheName[] = "Enable PWA full code cache";
const char kEnablePWAFullCodeCacheDescription[] =
"Generate V8 code cache in Cache Storage while installing Service Worker "
"for PWAs.";
const char kDisableMultiMirroringName[] =
"Display mirroring across multiple displays.";
const char kDisableMultiMirroringDescription[] =

@ -479,9 +479,6 @@ extern const char kEnablePictureInPictureDescription[];
extern const char kEnablePixelCanvasRecordingName[];
extern const char kEnablePixelCanvasRecordingDescription[];
extern const char kEnablePWAFullCodeCacheName[];
extern const char kEnablePWAFullCodeCacheDescription[];
extern const char kEnableResamplingInputEventsName[];
extern const char kEnableResamplingInputEventsDescription[];
extern const char kEnableResamplingScrollEventsName[];

@ -415,9 +415,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::EnableV8ContextSnapshot(
base::FeatureList::IsEnabled(features::kV8ContextSnapshot));
WebRuntimeFeatures::EnablePWAFullCodeCache(
base::FeatureList::IsEnabled(features::kPWAFullCodeCache));
WebRuntimeFeatures::EnableRequireCSSExtensionForFile(
base::FeatureList::IsEnabled(features::kRequireCSSExtensionForFile));

@ -324,10 +324,6 @@ const base::Feature kPurgeAndSuspend {
#endif
};
// Generate V8 full code cache for PWAs.
const base::Feature kPWAFullCodeCache{"PWAFullCodeCache",
base::FEATURE_ENABLED_BY_DEFAULT};
// Enable raster-inducing scroll.
const base::Feature kRasterInducingScroll{"RasterInducingScroll",
base::FEATURE_DISABLED_BY_DEFAULT};

@ -77,7 +77,6 @@ CONTENT_EXPORT extern const base::Feature kPdfIsolation;
CONTENT_EXPORT extern const base::Feature kPerNavigationMojoInterface;
CONTENT_EXPORT extern const base::Feature kPepper3DImageChromium;
CONTENT_EXPORT extern const base::Feature kPurgeAndSuspend;
CONTENT_EXPORT extern const base::Feature kPWAFullCodeCache;
CONTENT_EXPORT extern const base::Feature kRasterInducingScroll;
CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling;
CONTENT_EXPORT extern const base::Feature kRequireCSSExtensionForFile;

@ -198,7 +198,6 @@ class WebRuntimeFeatures {
BLINK_PLATFORM_EXPORT static void EnableAutomationControlled(bool);
BLINK_PLATFORM_EXPORT static void EnableWorkStealingInScriptRunner(bool);
BLINK_PLATFORM_EXPORT static void EnableScheduledScriptStreaming(bool);
BLINK_PLATFORM_EXPORT static void EnablePWAFullCodeCache(bool);
BLINK_PLATFORM_EXPORT static void EnableOffMainThreadWebSocket(bool);
BLINK_PLATFORM_EXPORT static void EnableExperimentalProductivityFeatures(
bool);

@ -64,8 +64,6 @@ bool VaryHeaderContainsAsterisk(const Response* response) {
bool ShouldGenerateV8CodeCache(ScriptState* script_state,
const Response* response) {
if (!RuntimeEnabledFeatures::PWAFullCodeCacheEnabled())
return false;
ExecutionContext* context = ExecutionContext::From(script_state);
if (!context->IsServiceWorkerGlobalScope())
return false;

@ -540,10 +540,6 @@ void WebRuntimeFeatures::EnableScheduledScriptStreaming(bool enable) {
RuntimeEnabledFeatures::SetScheduledScriptStreamingEnabled(enable);
}
void WebRuntimeFeatures::EnablePWAFullCodeCache(bool enable) {
RuntimeEnabledFeatures::SetPWAFullCodeCacheEnabled(enable);
}
void WebRuntimeFeatures::EnableOffMainThreadWebSocket(bool enable) {
RuntimeEnabledFeatures::SetOffMainThreadWebSocketEnabled(enable);
}

@ -1037,9 +1037,6 @@
name: "PushMessaging",
status: "stable",
},
{
name: "PWAFullCodeCache"
},
{
name: "RasterInducingScroll",
status: "experimental",