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

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

Issue 1134303004: JNI support for IsLoFiEnabled DataReductionProxySettings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@loFiExtraDataResponse
Patch Set: 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
« no previous file with comments | « chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 213a248b2e2c0100c8be7f360c51ae5ab1bc52a0..d4c53de5a11fba16888c0f2688e4f97192e21628 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
@@ -99,6 +99,9 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver {
// Enables or disables the alternative data reduction proxy configuration.
void SetDataReductionProxyAlternativeEnabled(bool enabled);
+ // Returns true if both LoFi and the proxy are enabled.
+ bool IsLoFiEnabled() const;
+
// Returns the time in microseconds that the last update was made to the
// daily original and received content lengths.
int64 GetDataReductionLastUpdateTime();
@@ -205,9 +208,6 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver {
// Override of DataReductionProxyService::Observer.
void OnServiceInitialized() override;
- // Returns true if both LoFi and the proxy are enabled.
- bool IsLoFiEnabled() const;
-
// Registers the trial "SyntheticDataReductionProxySetting" with the group
// "Enabled" or "Disabled". Indicates whether the proxy is turned on or not.
void RegisterDataReductionProxyFieldTrial();
« no previous file with comments | « chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698