summaryrefslogtreecommitdiffstats
path: root/android_webview/browser/aw_content_browser_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview/browser/aw_content_browser_client.h')
-rw-r--r--android_webview/browser/aw_content_browser_client.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/android_webview/browser/aw_content_browser_client.h b/android_webview/browser/aw_content_browser_client.h
index 874caa7..dfb1bcd 100644
--- a/android_webview/browser/aw_content_browser_client.h
+++ b/android_webview/browser/aw_content_browser_client.h
@@ -18,14 +18,15 @@ class JniDependencyFactory;
class AwContentBrowserClient : public content::ContentBrowserClient {
public:
- static AwContentBrowserClient* FromContentBrowserClient(
- content::ContentBrowserClient* client);
+ // This is what AwContentBrowserClient::GetAcceptLangs uses.
+ static std::string GetAcceptLangsImpl();
+
+ // Returns the one AwBrowserContext for this process.
+ static AwBrowserContext* GetAwBrowserContext();
AwContentBrowserClient(JniDependencyFactory* native_factory);
virtual ~AwContentBrowserClient();
- AwBrowserContext* GetAwBrowserContext();
-
// Overriden methods from ContentBrowserClient.
virtual void AddCertificate(net::URLRequest* request,
net::CertificateMimeType cert_type,
@@ -130,7 +131,6 @@ class AwContentBrowserClient : public content::ContentBrowserClient {
virtual void UpdateInspectorSetting(content::RenderViewHost* rvh,
const std::string& key,
const std::string& value) OVERRIDE;
- virtual void ClearInspectorSettings(content::RenderViewHost* rvh) OVERRIDE;
virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE;
virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE;
virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE;