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

Unified Diff: chrome/common/origin_util.cc

Issue 1049953003: Rename GURL::SchemeUsesTLS 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
« no previous file with comments | « chrome/browser/net/certificate_error_reporter.cc ('k') | chrome/utility/importer/ie_importer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/origin_util.cc
diff --git a/chrome/common/origin_util.cc b/chrome/common/origin_util.cc
index 2884d74e2b9b9fa97fa803f2b892d8b701743ee7..b2f7d6358c8c9e438b4b4362f6a95cf7a0fb546a 100644
--- a/chrome/common/origin_util.cc
+++ b/chrome/common/origin_util.cc
@@ -10,7 +10,7 @@
#include "url/gurl.h"
bool IsOriginSecure(const GURL& url) {
- if (url.SchemeUsesTLS() || url.SchemeIsFile())
+ if (url.SchemeIsCryptographic() || url.SchemeIsFile())
return true;
if (url.SchemeIsFileSystem() && url.inner_url() &&
« no previous file with comments | « chrome/browser/net/certificate_error_reporter.cc ('k') | chrome/utility/importer/ie_importer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698