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

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

Issue 1101173004: Switch remaining functions from SchemeIsSecure() to SchemeIsCryptographic(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: 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();

Powered by Google App Engine
This is Rietveld 408576698