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

Unified Diff: android_webview/browser/aw_content_browser_client.h

Issue 13409003: Hide ContentClient getters from embedders so that they they don't reuse content's embedder API. The… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 8 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
Index: android_webview/browser/aw_content_browser_client.h
===================================================================
--- android_webview/browser/aw_content_browser_client.h (revision 192622)
+++ android_webview/browser/aw_content_browser_client.h (working copy)
@@ -18,14 +18,15 @@
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 @@
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;
« no previous file with comments | « android_webview/browser/aw_browser_main_parts.cc ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698