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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h

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.h
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h
index 3f003da2f81ad2727645b4a330b9083daee7139e..b7427b7efc9d9333283610655debcf89666c830d 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h
@@ -159,12 +159,6 @@ class DataReductionProxySettings
// customer feedback. Virtual so tests can mock it for verification.
virtual void LogProxyState(bool enabled, bool at_startup);
- bool HasTurnedOn() { return has_turned_on_; }
- bool HasTurnedOff() { return has_turned_off_; }
- // Note that these flags may only be toggled to true, never back to false.
- void SetHasTurnedOn() { has_turned_on_ = true; }
- void SetHasTurnedOff() { has_turned_off_ = true; }
-
// Accessor for unit tests.
std::vector<std::string> BypassRules() { return bypass_rules_;}
@@ -224,14 +218,6 @@ class DataReductionProxySettings
std::vector<std::string> bypass_rules_;
- // Indicate whether a user has turned on the data reduction proxy previously
- // in this session.
- bool has_turned_on_;
-
- // Indicate whether a user has turned off the data reduction proxy previously
- // in this session.
- bool has_turned_off_;
-
bool disabled_by_carrier_;
bool enabled_by_user_;

Powered by Google App Engine
This is Rietveld 408576698