class WebContents;
}
+namespace data_reduction_proxy {
+class DataReductionProxySettings;
+}
+
namespace net {
class CookieStore;
}
class VisitedLinkMaster;
}
+using data_reduction_proxy::DataReductionProxySettings;
+
namespace android_webview {
class AwFormDatabaseService;
static AwBrowserContext* FromWebContents(
content::WebContents* web_contents);
+ static void SetDataReductionProxyEnabled(bool enabled);
+
// Maps to BrowserMainParts::PreMainMessageLoopRun.
void PreMainMessageLoopRun();
AwQuotaManagerBridge* GetQuotaManagerBridge();
AwFormDatabaseService* GetFormDatabaseService();
+
+ DataReductionProxySettings* GetDataReductionProxySettings();
+
void CreateUserPrefServiceIfNecessary();
// content::BrowserContext implementation.
GetDownloadManagerDelegate() OVERRIDE;
virtual content::GeolocationPermissionContext*
GetGeolocationPermissionContext() OVERRIDE;
+ virtual content::BrowserPluginGuestManagerDelegate*
+ GetGuestManagerDelegate() OVERRIDE;
virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
// visitedlink::VisitedLinkDelegate implementation.
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_;
scoped_ptr<PrefService> user_pref_service_;
+ scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_;
+
DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
};