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

Unified Diff: content/browser/webui/url_data_manager_backend.h

Issue 2867853002: Make the new WebUI's code handle all webui schemes, instead of just chrome://. (Closed)
Patch Set: Created 3 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 | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/url_data_manager_backend.h
diff --git a/content/browser/webui/url_data_manager_backend.h b/content/browser/webui/url_data_manager_backend.h
index 6c706fdd312fd45e45a96a6d7c9fa4cc777a040d..171d72373f101b594fe0612e3751bcabb075872a 100644
--- a/content/browser/webui/url_data_manager_backend.h
+++ b/content/browser/webui/url_data_manager_backend.h
@@ -77,6 +77,10 @@ class URLDataManagerBackend : public base::SupportsUserData::Data {
// path is the remaining portion after the scheme and hostname.
static void URLToRequestPath(const GURL& url, std::string* path);
+ // Returns the schemes that are used by WebUI (i.e. the set from content and
+ // its embedder).
+ static std::vector<std::string> GetWebUISchemes();
+
private:
friend class URLRequestChromeJob;
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698