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

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: 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/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);
Alexei Svitkine (slow) 2017/06/29 13:58:24 Shouldn't this be () && net enabled? Otherwise, i
jam 2017/06/30 17:21:18 Yep that's the intended behavior. Network Service
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698