Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1240)

Unified Diff: content/child/runtime_features.cc

Issue 2960703003: Add a feature flag for network service and about:flags entry for it. (Closed)
Patch Set: merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | content/common/service_worker/service_worker_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index fbbb633ecc6f3889562ea722d766b8496a362122..42c9901fffdadcec32db942aaa28dee2add45152 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -359,7 +359,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (base::FeatureList::IsEnabled(features::kGenericSensor))
WebRuntimeFeatures::EnableGenericSensor(true);
- if (base::FeatureList::IsEnabled(features::kLoadingWithMojo))
+ if (base::FeatureList::IsEnabled(features::kLoadingWithMojo) ||
+ base::FeatureList::IsEnabled(features::kNetworkService))
WebRuntimeFeatures::EnableLoadingWithMojo(true);
WebRuntimeFeatures::EnableMediaCastOverlayButton(
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | content/common/service_worker/service_worker_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698