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

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

Issue 966443002: Add DataReductionProxy IPC to determine if the Data Reduction Proxy was used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to head Created 5 years, 10 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_settings.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
index d6fdd48a6a8a6bcc7ccdcf85c34822fba305ed24..5570deb4a6a0f1a960794a71f841f316b4c74362 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
@@ -169,6 +169,12 @@ class DataReductionProxySettings {
return data_reduction_proxy_service_.get();
}
+ // Returns the |DataReductionProxyConfig| being used. May be null if
+ // InitDataReductionProxySettings has not been called.
+ DataReductionProxyConfig* Config() const {
+ return config_;
+ }
+
// Permits changing the underlying |DataReductionProxyConfig| without running
// the initialization loop.
void ResetConfigForTest(DataReductionProxyConfig* config) {
@@ -176,12 +182,6 @@ class DataReductionProxySettings {
}
protected:
- // Returns the |DataReductionProxyConfig| being used. May be null if
- // InitDataReductionProxySettings has not been called.
- DataReductionProxyConfig* Config() const {
- return config_;
- }
-
void InitPrefMembers();
void UpdateConfigValues();

Powered by Google App Engine
This is Rietveld 408576698