summaryrefslogtreecommitdiff
path: root/chromium/content/public/common/browser_side_navigation_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/public/common/browser_side_navigation_policy.cc')
-rw-r--r--chromium/content/public/common/browser_side_navigation_policy.cc15
1 files changed, 2 insertions, 13 deletions
diff --git a/chromium/content/public/common/browser_side_navigation_policy.cc b/chromium/content/public/common/browser_side_navigation_policy.cc
index c71206145eb..726289ea83e 100644
--- a/chromium/content/public/common/browser_side_navigation_policy.cc
+++ b/chromium/content/public/common/browser_side_navigation_policy.cc
@@ -15,19 +15,8 @@ bool IsBrowserSideNavigationEnabled() {
return true;
}
-// Browser side navigation (aka PlzNavigate) is using blob URLs to deliver
-// the body of the main resource to the renderer process. When enabled, the
-// NavigationMojoResponse feature replaces this mechanism by a Mojo DataPipe.
-// Design doc: https://goo.gl/Rrrc7n.
-bool IsNavigationMojoResponseEnabled() {
- if (!IsBrowserSideNavigationEnabled())
- return false;
-
- return base::FeatureList::IsEnabled(features::kNavigationMojoResponse) ||
- base::FeatureList::IsEnabled(
- features::kServiceWorkerServicification) ||
- base::FeatureList::IsEnabled(features::kSignedHTTPExchange) ||
- base::FeatureList::IsEnabled(network::features::kNetworkService);
+bool IsPerNavigationMojoInterfaceEnabled() {
+ return base::FeatureList::IsEnabled(features::kPerNavigationMojoInterface);
}
} // namespace content