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

Unified Diff: android_webview/browser/aw_browser_context.h

Issue 2101153003: Remove data reduction proxy code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « android_webview/browser/DEPS ('k') | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_context.h
diff --git a/android_webview/browser/aw_browser_context.h b/android_webview/browser/aw_browser_context.h
index eee1ac23a217f4e0267015084e9d012dd4541955..718ecb810523f2e3ed9ff8d08182c5e415d68470 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -30,13 +30,6 @@ class SSLHostStateDelegate;
class WebContents;
}
-namespace data_reduction_proxy {
-class DataReductionProxyConfigurator;
-class DataReductionProxyIOData;
-class DataReductionProxyService;
-class DataReductionProxySettings;
-}
-
namespace policy {
class URLBlacklistManager;
class BrowserPolicyConnectorBase;
@@ -77,7 +70,6 @@ class AwBrowserContext : public content::BrowserContext,
static AwBrowserContext* FromWebContents(
content::WebContents* web_contents);
- static void SetDataReductionProxyEnabled(bool enabled);
static void SetLegacyCacheRemovalDelayForTest(int delay_ms);
// Maps to BrowserMainParts::PreMainMessageLoopRun.
@@ -88,10 +80,6 @@ class AwBrowserContext : public content::BrowserContext,
AwQuotaManagerBridge* GetQuotaManagerBridge();
AwFormDatabaseService* GetFormDatabaseService();
- data_reduction_proxy::DataReductionProxySettings*
- GetDataReductionProxySettings();
- data_reduction_proxy::DataReductionProxyIOData*
- GetDataReductionProxyIOData();
AwURLRequestContextGetter* GetAwURLRequestContext();
AwMessagePortService* GetMessagePortService();
@@ -128,8 +116,6 @@ class AwBrowserContext : public content::BrowserContext,
private:
void InitUserPrefService();
- void CreateDataReductionProxyStatisticsIfNecessary();
- static bool data_reduction_proxy_enabled_;
// Delay, in milliseconds, before removing the legacy cache dir.
// This is non-const for testing purposes.
@@ -153,13 +139,7 @@ class AwBrowserContext : public content::BrowserContext,
std::unique_ptr<policy::BrowserPolicyConnectorBase> browser_policy_connector_;
std::unique_ptr<policy::URLBlacklistManager> blacklist_manager_;
- std::unique_ptr<data_reduction_proxy::DataReductionProxySettings>
- data_reduction_proxy_settings_;
std::unique_ptr<AwSSLHostStateDelegate> ssl_host_state_delegate_;
- std::unique_ptr<data_reduction_proxy::DataReductionProxyIOData>
- data_reduction_proxy_io_data_;
- std::unique_ptr<data_reduction_proxy::DataReductionProxyService>
- data_reduction_proxy_service_;
std::unique_ptr<content::PermissionManager> permission_manager_;
DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
« no previous file with comments | « android_webview/browser/DEPS ('k') | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698