| Index: chrome/browser/ui/webui/web_ui_util.h
|
| ===================================================================
|
| --- chrome/browser/ui/webui/web_ui_util.h (revision 88158)
|
| +++ chrome/browser/ui/webui/web_ui_util.h (working copy)
|
| @@ -8,6 +8,7 @@
|
|
|
| #include <string>
|
|
|
| +class GURL;
|
| class SkBitmap;
|
|
|
| namespace web_ui_util {
|
| @@ -24,6 +25,10 @@
|
| // |resource_id|.
|
| std::string GetImageDataUrlFromResource(int resource_id);
|
|
|
| +// Returns true if |url| has a chrome: or about: scheme and matching |host|.
|
| +// The url may contain a path under the host.
|
| +bool ChromeURLHostEquals(const GURL& url, const char* host);
|
| +
|
| } // namespace web_ui_util
|
|
|
| #endif // CHROME_BROWSER_UI_WEBUI_WEB_UI_UTIL_H_
|
|
|