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

Unified Diff: chrome/browser/ui/webui/web_ui_util.cc

Issue 7068007: Revise about: and chrome: url handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update special_tabs.py from Nirnimesh's codereview.chromium.org/6995057/. Created 9 years, 6 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 | « chrome/browser/ui/webui/web_ui_util.h ('k') | chrome/common/about_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/ui/webui/web_ui_util.h ('k') | chrome/common/about_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698