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

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: more updates Created 3 years, 6 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
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index bd7a5864dc2b65837835d67eaeb75cd9d5ae1532..f369a9a453774d6d7bf75dc63efdacfa9c553daa 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(

Powered by Google App Engine
This is Rietveld 408576698