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

Unified Diff: content/browser/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
Index: content/browser/content_browser_client.h
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h
index 70932b63eb14971fc0745b666050a8824b03c620..d7658dca49ffa7200371614cef5bc6a2027d4c21 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
#pragma once
+#include <set>
#include <string>
#include "content/common/content_client.h"
@@ -57,6 +58,10 @@ class ContentBrowserClient {
// group different url schemes in the same SiteInstance.
virtual GURL GetEffectiveURL(Profile* profile, const GURL& url);
+ // Get a list of URL schemes to be considered the same as any SiteInstance.
+ // Returns NULL if no schemes are so privileged.
+ virtual const std::set<std::string>* GetSchemesSameAsAnySiteInstance();
+
// See RenderViewHostDelegate's comment.
virtual GURL GetAlternateErrorPageURL(const TabContents* tab);

Powered by Google App Engine
This is Rietveld 408576698