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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 7044013: Drop url_constants dependency in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgot null check Created 9 years, 7 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 | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | content/browser/DEPS » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 3a96dc29203e378ae64002b5601be4c119180709..6e20ac9e77d6b1907497edac4a1c204ba6c8373b 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -12,12 +12,16 @@ namespace chrome {
class ChromeContentBrowserClient : public content::ContentBrowserClient {
public:
+ ChromeContentBrowserClient();
+ ~ChromeContentBrowserClient();
+
virtual void RenderViewHostCreated(RenderViewHost* render_view_host);
virtual void BrowserRenderProcessHostCreated(BrowserRenderProcessHost* host);
virtual void PluginProcessHostCreated(PluginProcessHost* host);
virtual void WorkerProcessHostCreated(WorkerProcessHost* host);
virtual content::WebUIFactory* GetWebUIFactory();
virtual GURL GetEffectiveURL(Profile* profile, const GURL& url);
+ virtual const std::set<std::string>* GetSchemesSameAsAnySiteInstance();
virtual GURL GetAlternateErrorPageURL(const TabContents* tab);
virtual std::string GetCanonicalEncodingNameByAliasName(
const std::string& alias_name);
@@ -43,6 +47,9 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
// Can return an optional fd for crash handling, otherwise returns -1.
virtual int GetCrashSignalFD(const std::string& process_type);
#endif
+
+ private:
+ std::set<std::string> schemes_same_as_any_site_instance_;
};
} // namespace chrome
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | content/browser/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698