summaryrefslogtreecommitdiffstats
path: root/chrome/common/url_constants.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 18:10:44 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 18:10:44 +0000
commit660da673c7cdf3ad7bd01878d327e85be3f25af0 (patch)
tree778e1c368ecf5b7d2de58bb863bea8be53dae8d0 /chrome/common/url_constants.h
parent421fec3be0202a9e36cf9e18d83b982c5b7d1c9f (diff)
downloadchromium_src-660da673c7cdf3ad7bd01878d327e85be3f25af0.zip
chromium_src-660da673c7cdf3ad7bd01878d327e85be3f25af0.tar.gz
chromium_src-660da673c7cdf3ad7bd01878d327e85be3f25af0.tar.bz2
Some files I forgot in my previous view-source change.
Review URL: http://codereview.chromium.org/27139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/url_constants.h')
-rw-r--r--chrome/common/url_constants.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h
new file mode 100644
index 0000000..d738d22
--- /dev/null
+++ b/chrome/common/url_constants.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Contains constants for known URLs and portions thereof.
+
+#ifndef CHROME_COMMON_URL_CONSTANTS_H_
+#define CHROME_COMMON_URL_CONSTANTS_H_
+
+namespace chrome {
+
+// Canonical schemes you can use as input to GURL.SchemeIs().
+extern const char kAboutScheme[];
+extern const char kChromeUIScheme[];
+extern const char kDataScheme[];
+extern const char kJavaScriptScheme[];
+extern const char kViewSourceScheme[];
+
+} // namespace chrome
+
+#endif // CHROME_COMMON_URL_CONSTANTS_H_