diff options
author | sgurun@chromium.org <sgurun@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-10 02:56:45 +0000 |
---|---|---|
committer | sgurun@chromium.org <sgurun@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-10 02:56:45 +0000 |
commit | 75fea56d1f18880a4640220d287b1b86b4bdd1e6 (patch) | |
tree | 91fd433fe0490f49efc4f380103a94093f94b3f2 /android_webview/browser/aw_browser_context.h | |
parent | 1358f2708fe4c0b91ab7c10be1e9b8b84d3144b1 (diff) | |
download | chromium_src-75fea56d1f18880a4640220d287b1b86b4bdd1e6.zip chromium_src-75fea56d1f18880a4640220d287b1b86b4bdd1e6.tar.gz chromium_src-75fea56d1f18880a4640220d287b1b86b4bdd1e6.tar.bz2 |
Add the plumbing to enable DRP
BUG=b/12492817
Add the internal Aw API to enable/disable DRP.
NOTRY=true
notry due to irrelevant failures in windows rel tests.
Review URL: https://codereview.chromium.org/271523002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/browser/aw_browser_context.h')
-rw-r--r-- | android_webview/browser/aw_browser_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android_webview/browser/aw_browser_context.h b/android_webview/browser/aw_browser_context.h index 94bbf4a..2d8356f 100644 --- a/android_webview/browser/aw_browser_context.h +++ b/android_webview/browser/aw_browser_context.h @@ -64,6 +64,8 @@ class AwBrowserContext : public content::BrowserContext, static AwBrowserContext* FromWebContents( content::WebContents* web_contents); + static void SetDataReductionProxyEnabled(bool enabled); + // Maps to BrowserMainParts::PreMainMessageLoopRun. void PreMainMessageLoopRun(); @@ -132,6 +134,8 @@ class AwBrowserContext : public content::BrowserContext, const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; private: + static bool data_reduction_proxy_enabled_; + // The file path where data for this context is persisted. base::FilePath context_storage_path_; |