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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 183803023: clean up partition check in url_data_manager_backend.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 3e4a3e99694f98666f8362f3da9208763b6a81a4..4d3aba605eff1e2e9af0320806d93a505c3e755a 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1072,6 +1072,17 @@ void ChromeContentBrowserClient::GetAdditionalWebUISchemes(
additional_schemes->push_back(chrome::kDomDistillerScheme);
}
+void ChromeContentBrowserClient::GetWebUIHostsToIgnoreParititionCheck(
+ std::vector<std::string>* hosts) {
+ content::ContentBrowserClient::GetWebUIHostsToIgnoreParititionCheck(hosts);
jam 2014/03/05 22:29:46 nit: then remove this line
guohui 2014/03/05 23:04:24 Done.
+
+ hosts->push_back(chrome::kChromeUIFaviconHost);
+ hosts->push_back(chrome::kChromeUIThemeHost);
+ hosts->push_back(chrome::kChromeUIThumbnailHost);
+ hosts->push_back(chrome::kChromeUIThumbnailHost2);
+ hosts->push_back(chrome::kChromeUIThumbnailListHost);
+}
+
net::URLRequestContextGetter*
ChromeContentBrowserClient::CreateRequestContext(
content::BrowserContext* browser_context,

Powered by Google App Engine
This is Rietveld 408576698