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

Unified Diff: chrome/common/url_constants.cc

Issue 31008: Coalesce more hardcoded schemes to using predefined constants. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/common/url_constants.h ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/url_constants.cc
===================================================================
--- chrome/common/url_constants.cc (revision 10348)
+++ chrome/common/url_constants.cc (working copy)
@@ -7,9 +7,21 @@
namespace chrome {
const char kAboutScheme[] = "about";
+const char kChromeInternalScheme[] = "chrome-internal";
const char kChromeUIScheme[] = "chrome-ui";
const char kDataScheme[] = "data";
+const char kExtensionScheme[] = "chrome-extension";
+const char kFileScheme[] = "file";
+const char kFtpScheme[] = "ftp";
+const char kHttpScheme[] = "http";
+const char kHttpsScheme[] = "https";
const char kJavaScriptScheme[] = "javascript";
+const char kMailToScheme[] = "mailto";
+const char kUserScriptScheme[] = "chrome-user-script";
const char kViewSourceScheme[] = "view-source";
+const char kStandardSchemeSeparator[] = "://";
+
+const char kAboutBlankURL[] = "about:blank";
+
} // namespace chrome
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698