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

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

Issue 10091023: content: Move more two url constants to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_impl.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
diff --git a/content/public/common/url_constants.cc b/content/public/common/url_constants.cc
index bbc5c2f72a65c24fe4258378aebd17118a4f9be8..806e9ed3e612e9ed6350aefd794b0dd28f1e1457 100644
--- a/content/public/common/url_constants.cc
+++ b/content/public/common/url_constants.cc
@@ -59,6 +59,10 @@ const char kChromeUIKillURL[] = "chrome://kill";
const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
const char kChromeUIShorthangURL[] = "chrome://shorthang";
+} // namespace chrome
+
+namespace content {
+
// This error URL is loaded in normal web renderer processes, so it should not
// have a chrome:// scheme that might let it be confused with a WebUI page.
const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
@@ -68,10 +72,6 @@ const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
// scripted by other pages in the process.
const char kSwappedOutURL[] = "swappedout://";
-} // namespace chrome
-
-namespace content {
-
const char** GetSavableSchemes() {
return const_cast<const char**>(g_savable_schemes);
}
« no previous file with comments | « content/public/common/url_constants.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698