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

Unified Diff: chrome/browser/chrome_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
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.h
===================================================================
--- chrome/browser/chrome_content_browser_client.h (revision 192622)
+++ chrome/browser/chrome_content_browser_client.h (working copy)
@@ -36,6 +36,10 @@
static void RegisterUserPrefs(PrefRegistrySyncable* registry);
+ // Notification that the application locale has changed. This allows us to
+ // update our I/O thread cache of this value.
+ static void SetApplicationLocale(const std::string& locale);
+
virtual content::BrowserMainParts* CreateBrowserMainParts(
const content::MainFunctionParams& parameters) OVERRIDE;
virtual std::string GetStoragePartitionIdForSite(
@@ -200,7 +204,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 BrowserURLHandlerCreated(
content::BrowserURLHandler* handler) OVERRIDE;
virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE;
@@ -238,21 +241,10 @@
const GURL& url) OVERRIDE;
#endif
- // Notification that the application locale has changed. This allows us to
- // update our I/O thread cache of this value.
- void SetApplicationLocale(const std::string& locale);
-
private:
- // Sets io_thread_application_locale_ to the given value.
- void SetApplicationLocaleOnIOThread(const std::string& locale);
-
// Set of origins that can use TCP/UDP private APIs from NaCl.
std::set<std::string> allowed_socket_origins_;
- // Cached version of the locale so we can return the locale on the I/O
- // thread.
- std::string io_thread_application_locale_;
-
DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
};
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698