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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.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/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
index be48a2ad2c510ed6513812cdb3fd21b39b081d65..27677b9876e591c318e869b0bfb8bcf7c1cfccbb 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
@@ -128,7 +128,7 @@ TEST(ChromeNetworkDailyDataSavingMetricsTest,
// Create a fake URLRequest and fill it with the appropriate response
// headers and proxy server by executing it with fake socket data.
net::SSLSocketDataProvider ssl_socket_data_provider(net::ASYNC, net::OK);
- if (test_case.url.SchemeIsSecure())
+ if (test_case.url.SchemeIsCryptographic())
mock_socket_factory.AddSSLSocketDataProvider(&ssl_socket_data_provider);
MockRead mock_reads[] = {
MockRead(test_case.response_headers),

Powered by Google App Engine
This is Rietveld 408576698