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

Unified Diff: net/http/http_network_transaction.cc

Issue 1131963003: Switch //net functions to use SchemeIsCryptographic() instead of SchemeIsSecure(). (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
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 981fcb6abb003efef8362d272967df28d96309e0..821cf3d1603c2bd87f45402c83ef8fca74d77aaf 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -590,7 +590,7 @@ void HttpNetworkTransaction::GetConnectionAttempts(
}
bool HttpNetworkTransaction::IsSecureRequest() const {
- return request_->url.SchemeIsSecure();
+ return request_->url.SchemeIsCryptographic();
Ryan Hamilton 2015/05/07 23:12:03 I'm not sure about this change. Has someone walked
lgarron 2015/05/08 01:53:30 It's used in two places in the same function, Http
asanka 2015/05/11 22:00:46 I'm tempted to say we should rename this fairly vi
lgarron 2015/05/11 23:23:47 IsEncryptedRequest()?
asanka 2015/05/12 17:00:17 Sure.
}
bool HttpNetworkTransaction::UsingHttpProxyWithoutTunnel() const {

Powered by Google App Engine
This is Rietveld 408576698