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

Unified Diff: content/public/common/url_constants.h

Issue 11819050: Revert 175890: actually, looks like we want this to also help move chromeos webui pages out of src/… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/public/common/content_client.cc ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/url_constants.h
===================================================================
--- content/public/common/url_constants.h (revision 175970)
+++ content/public/common/url_constants.h (working copy)
@@ -9,6 +9,8 @@
// Contains constants for known URLs and portions thereof.
+class GURL;
+
// TODO(jam): rename this to content.
namespace chrome {
@@ -73,6 +75,10 @@
// invoked on any thread.
CONTENT_EXPORT const char* const* GetSavableSchemes();
+// Returns true if the url has a scheme for WebUI. See also
+// WebUIControllerFactory::UseWebUIForURL in the browser process.
+CONTENT_EXPORT bool HasWebUIScheme(const GURL& url);
+
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
« no previous file with comments | « content/public/common/content_client.cc ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698