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

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

Issue 11828040: Revert 175971 (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/url_constants.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/url_constants.cc
===================================================================
--- content/public/common/url_constants.cc (revision 176042)
+++ content/public/common/url_constants.cc (working copy)
@@ -5,7 +5,6 @@
#include "content/public/common/url_constants.h"
#include "content/common/savable_url_schemes.h"
-#include "googleurl/src/gurl.h"
namespace chrome {
@@ -67,13 +66,4 @@
return GetSavableSchemesInternal();
}
-bool HasWebUIScheme(const GURL& url) {
- return
-#if !defined(OS_IOS)
- url.SchemeIs(chrome::kChromeDevToolsScheme) ||
- url.SchemeIs(chrome::kChromeInternalScheme) ||
-#endif
- url.SchemeIs(chrome::kChromeUIScheme);
-}
-
} // namespace content
« no previous file with comments | « content/public/common/url_constants.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698