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

Unified Diff: content/public/common/browser_side_navigation_policy.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/common/service_worker/service_worker_utils.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/browser_side_navigation_policy.cc
diff --git a/content/public/common/browser_side_navigation_policy.cc b/content/public/common/browser_side_navigation_policy.cc
index 698ce3f3a69450e2d07056ddd4c6f008192b8ebe..67f2ccb9c74224eaa2fae1c7cf34ea057b4067df 100644
--- a/content/public/common/browser_side_navigation_policy.cc
+++ b/content/public/common/browser_side_navigation_policy.cc
@@ -11,10 +11,10 @@
namespace content {
bool IsBrowserSideNavigationEnabled() {
- return
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableBrowserSideNavigation) ||
- base::FeatureList::IsEnabled(features::kBrowserSideNavigation);
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableBrowserSideNavigation) ||
+ base::FeatureList::IsEnabled(features::kBrowserSideNavigation) ||
+ base::FeatureList::IsEnabled(features::kNetworkService);
}
} // namespace content
« no previous file with comments | « content/common/service_worker/service_worker_utils.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698