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

Unified Diff: components/error_page/renderer/net_error_helper_core.cc

Issue 1135693002: Switch //components to use SchemeIsCryptographic() instead of SchemeIsSecure(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include new call. Created 5 years, 7 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 | « components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/error_page/renderer/net_error_helper_core.cc
diff --git a/components/error_page/renderer/net_error_helper_core.cc b/components/error_page/renderer/net_error_helper_core.cc
index 8a9977c5b27ec4ec05c8916f3cb2eeb21b6f459c..9a92d742e6c40c2ca0eff58a64c0c39069189026 100644
--- a/components/error_page/renderer/net_error_helper_core.cc
+++ b/components/error_page/renderer/net_error_helper_core.cc
@@ -150,7 +150,7 @@ bool ShouldUseFixUrlServiceForError(const blink::WebURLError& error,
// Don't use the correction service for HTTPS (for privacy reasons).
GURL unreachable_url(error.unreachableURL);
- if (GURL(unreachable_url).SchemeIsSecure())
+ if (GURL(unreachable_url).SchemeIsCryptographic())
return false;
std::string domain = error.domain.utf8();
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698