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

Unified Diff: content/public/browser/content_browser_client.h

Issue 183803023: clean up partition check in url_data_manager_backend.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 9 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index e3e8250a2645ae2e1392dea3f9ce5915e7f281b9..b6f5680f31d6b733ebd2504d38e001f7178cafb7 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -195,6 +195,11 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual void GetAdditionalWebUISchemes(
std::vector<std::string>* additional_schemes) {}
+ // Returns a list of webUI hosts to ignore the storage partition check in
+ // URLRequestChromeJob::CheckStoragePartitionMatches.
+ virtual void GetAdditionalWebUIHostsToIgnoreParititionCheck(
+ std::vector<std::string>* hosts) {}
+
// Creates the main net::URLRequestContextGetter. Should only be called once
// per ContentBrowserClient object.
// TODO(ajwong): Remove once http://crbug.com/159193 is resolved.

Powered by Google App Engine
This is Rietveld 408576698