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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc

Issue 59113012: Removed SpdyProxyAuth.State histogram (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unneeded variables Created 7 years, 1 month 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: chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
index 73b0b05e877ce14098983aa382a047354ae242ce..95849b325b23a7b1df20aa7616e8062b4f15e258 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc
@@ -92,14 +92,10 @@ TEST_F(DataReductionProxySettingsAndroidTest, TestSetProxyPac) {
base::Base64Encode(raw_pac, &pac);
std::string expected_pac_url =
"data:application/x-ns-proxy-autoconfig;base64," + pac;
- // Test setting the PAC, without generating histograms.
- Settings()->SetHasTurnedOn();
Settings()->SetProxyConfigs(true, false);
CheckProxyPacPref(expected_pac_url,
ProxyModeToString(ProxyPrefs::MODE_PAC_SCRIPT));
- // Test disabling the PAC, without generating histograms.
- Settings()->SetHasTurnedOff();
Settings()->SetProxyConfigs(false, false);
CheckProxyPacPref(std::string(), ProxyModeToString(ProxyPrefs::MODE_SYSTEM));
}

Powered by Google App Engine
This is Rietveld 408576698