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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.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
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
index bf1345e3a5c383b78579e9f1cc648484e46fd22c..d28ba9f4903811fbeb5709b5495a97ec69277fc4 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
@@ -586,7 +586,7 @@ class DataReductionProxyBypassStatsEndToEndTest : public testing::Test {
const char* retry_response_body) {
// Support HTTPS URLs.
net::SSLSocketDataProvider ssl_socket_data_provider(net::ASYNC, net::OK);
- if (url.SchemeIsSecure()) {
+ if (url.SchemeIsCryptographic()) {
mock_socket_factory_.AddSSLSocketDataProvider(&ssl_socket_data_provider);
}

Powered by Google App Engine
This is Rietveld 408576698