OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Contains constants for known URLs and portions thereof. | 5 // Contains constants for known URLs and portions thereof. |
6 | 6 |
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
8 #define CHROME_COMMON_URL_CONSTANTS_H_ | 8 #define CHROME_COMMON_URL_CONSTANTS_H_ |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
11 | 11 |
12 // Canonical schemes you can use as input to GURL.SchemeIs(). | 12 // Canonical schemes you can use as input to GURL.SchemeIs(). |
13 extern const char kAboutScheme[]; | 13 extern const char kAboutScheme[]; |
14 extern const char kChromeInternalScheme[]; // Used for new tab page. | 14 extern const char kChromeInternalScheme[]; // Used for new tab page. |
15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses. | 15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses. |
16 extern const char kDataScheme[]; | 16 extern const char kDataScheme[]; |
17 extern const char kExtensionScheme[]; | 17 extern const char kExtensionScheme[]; |
18 extern const char kFileScheme[]; | 18 extern const char kFileScheme[]; |
19 extern const char kFtpScheme[]; | 19 extern const char kFtpScheme[]; |
20 extern const char kHttpScheme[]; | 20 extern const char kHttpScheme[]; |
21 extern const char kHttpsScheme[]; | 21 extern const char kHttpsScheme[]; |
22 extern const char kJavaScriptScheme[]; | 22 extern const char kJavaScriptScheme[]; |
23 extern const char kMailToScheme[]; | 23 extern const char kMailToScheme[]; |
24 extern const char kUserScriptScheme[]; | 24 extern const char kUserScriptScheme[]; |
| 25 extern const char kViewCacheScheme[]; |
25 extern const char kViewSourceScheme[]; | 26 extern const char kViewSourceScheme[]; |
26 | 27 |
27 // Used to separate a standard scheme and the hostname: "://". | 28 // Used to separate a standard scheme and the hostname: "://". |
28 extern const char kStandardSchemeSeparator[]; | 29 extern const char kStandardSchemeSeparator[]; |
29 | 30 |
30 // About URLs (including schmes). | 31 // About URLs (including schmes). |
31 extern const char kAboutBlankURL[]; | 32 extern const char kAboutBlankURL[]; |
| 33 extern const char kAboutCacheURL[]; |
| 34 extern const char kAboutMemoryURL[]; |
| 35 |
| 36 extern const char kChromeUIIPCURL[]; |
| 37 extern const char kChromeUINetworkURL[]; |
32 | 38 |
33 } // namespace chrome | 39 } // namespace chrome |
34 | 40 |
35 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 41 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |