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

Unified Diff: content/common/navigation_params.cc

Issue 2098543003: PlzNavigate: Handle navigation within MHTML documents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cid_scheme
Patch Set: Make component build work Created 4 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
« no previous file with comments | « content/common/navigation_params.h ('k') | content/common/navigation_params_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 8ab6ed48d8c107efc1f7be23fb77474794b94d1b..e087c759a36e93b20a7b1c7f6bcde3b587f52fef 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -24,6 +24,7 @@ bool ShouldMakeNetworkRequestForURL(const GURL& url) {
// network stack. Neither should pushState/popState.
return !url.SchemeIs(url::kDataScheme) && url != GURL(url::kAboutBlankURL) &&
!url.SchemeIs(url::kJavaScriptScheme) && !url.is_empty() &&
+ !url.SchemeIs(url::kContentIDScheme) &&
url != GURL(content::kAboutSrcDocURL);
}
« no previous file with comments | « content/common/navigation_params.h ('k') | content/common/navigation_params_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698