Index: chrome/browser/ui/webui/web_ui_util.cc |
diff --git a/chrome/browser/ui/webui/web_ui_util.cc b/chrome/browser/ui/webui/web_ui_util.cc |
index b6f49b33c191f5be028829a0205fac852acbce27..ee854acfe214e0254f40afbf3765e3f5d3bce7da 100644 |
--- a/chrome/browser/ui/webui/web_ui_util.cc |
+++ b/chrome/browser/ui/webui/web_ui_util.cc |
@@ -7,9 +7,6 @@ |
#include <vector> |
#include "base/base64.h" |
-#include "base/string_util.h" |
-#include "chrome/common/url_constants.h" |
-#include "googleurl/src/gurl.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/gfx/codec/png_codec.h" |
@@ -42,10 +39,4 @@ std::string GetImageDataUrlFromResource(int res) { |
return str_url; |
} |
-bool ChromeURLHostEquals(const GURL& url, const char* host) { |
- return (url.SchemeIs(chrome::kChromeUIScheme) || |
- url.SchemeIs(chrome::kAboutScheme)) && |
- LowerCaseEqualsASCII(url.host(), host); |
-} |
- |
} // namespace web_ui_util |