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_ |