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

Unified Diff: remoting/host/third_party_auth_config.cc

Issue 1136643004: Switch remaining functions from SchemeIsSecure() to SchemeIsCryptographic(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing. 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 | « ios/web/net/request_tracker_impl_unittest.mm ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/third_party_auth_config.cc
diff --git a/remoting/host/third_party_auth_config.cc b/remoting/host/third_party_auth_config.cc
index 5ed63a86131a3f636d6719a2708adb79ed4c140d..264bcb3d680766ea63c6b845d7deef911743a857 100644
--- a/remoting/host/third_party_auth_config.cc
+++ b/remoting/host/third_party_auth_config.cc
@@ -25,7 +25,7 @@ bool ParseUrlPolicy(const std::string& str, GURL* out) {
}
// We validate https-vs-http only on Release builds to help with manual testing.
#if defined(NDEBUG)
- if (!gurl.SchemeIsSecure()) {
+ if (!gurl.SchemeIsCryptographic()) {
LOG(ERROR) << "Not a secure URL: " << str;
return false;
}
« no previous file with comments | « ios/web/net/request_tracker_impl_unittest.mm ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698