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

Unified Diff: chrome/common/url_constants.h

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/extensions/url_pattern.cc ('k') | chrome/common/url_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/url_constants.h
===================================================================
--- chrome/common/url_constants.h (revision 10348)
+++ chrome/common/url_constants.h (working copy)
@@ -11,11 +11,25 @@
// Canonical schemes you can use as input to GURL.SchemeIs().
extern const char kAboutScheme[];
-extern const char kChromeUIScheme[];
+extern const char kChromeInternalScheme[]; // Used for new tab page.
+extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses.
extern const char kDataScheme[];
+extern const char kExtensionScheme[];
+extern const char kFileScheme[];
+extern const char kFtpScheme[];
+extern const char kHttpScheme[];
+extern const char kHttpsScheme[];
extern const char kJavaScriptScheme[];
+extern const char kMailToScheme[];
+extern const char kUserScriptScheme[];
extern const char kViewSourceScheme[];
+// Used to separate a standard scheme and the hostname: "://".
+extern const char kStandardSchemeSeparator[];
+
+// About URLs (including schmes).
+extern const char kAboutBlankURL[];
+
} // namespace chrome
#endif // CHROME_COMMON_URL_CONSTANTS_H_
« no previous file with comments | « chrome/common/extensions/url_pattern.cc ('k') | chrome/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698