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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h

Issue 1006583002: Reset unreachable data reduction proxy message when data savings is toggled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Vector initialization. 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_io_data.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
index d68001f63f88e98cd5db66e1de270c8108fcca34..c4ab1c76420f97a0363596cb016aeea125b585b3 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
@@ -81,9 +81,7 @@ class DataReductionProxyIOData : public DataReductionProxyEventStorageDelegate {
// configuration should be set. Use the alternative configuration only if
// |enabled| and |alternative_enabled| are true. |at_startup| is true only
// when DataReductionProxySettings is initialized.
- void SetProxyPrefs(bool enabled,
- bool alternative_enabled,
- bool at_startup);
+ void SetProxyPrefs(bool enabled, bool alternative_enabled, bool at_startup);
// Bridge methods to safely call to the UI thread objects.
void UpdateContentLengths(int64 received_content_length,
@@ -153,6 +151,8 @@ class DataReductionProxyIOData : public DataReductionProxyEventStorageDelegate {
private:
friend class TestDataReductionProxyIOData;
FRIEND_TEST_ALL_PREFIXES(DataReductionProxyIODataTest, TestConstruction);
+ FRIEND_TEST_ALL_PREFIXES(DataReductionProxyIODataTest,
+ TestResetBadProxyListOnDisableDataSaver);
// Used for testing.
DataReductionProxyIOData();

Powered by Google App Engine
This is Rietveld 408576698