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

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

Issue 15021020: content: Extract url utility functions into url_utils.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_unittests and content_browsertests Created 7 years, 7 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/public/common/url_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/url_constants.cc
diff --git a/content/public/common/url_constants.cc b/content/public/common/url_constants.cc
index 1e91a167700cb3cf5605e58a5e13c7292068b873..1f458e6ffd0a1a1b6ce56049c512592ab5bd425e 100644
--- a/content/public/common/url_constants.cc
+++ b/content/public/common/url_constants.cc
@@ -4,9 +4,6 @@
#include "content/public/common/url_constants.h"
-#include "content/common/savable_url_schemes.h"
-#include "googleurl/src/gurl.h"
-
namespace chrome {
const char kAboutScheme[] = "about";
@@ -74,17 +71,4 @@ const char kChromeUIShorthangURL[] = "chrome://shorthang";
// scripted by other pages in the process.
const char kSwappedOutURL[] = "swappedout://";
-const char* const* GetSavableSchemes() {
- 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/public/common/url_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698