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[]; | 14 extern const char kChromeInternalScheme[]; |
15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses. | 15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIs. |
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 kGearsScheme[]; | 20 extern const char kGearsScheme[]; |
21 extern const char kHttpScheme[]; | 21 extern const char kHttpScheme[]; |
22 extern const char kHttpsScheme[]; | 22 extern const char kHttpsScheme[]; |
23 extern const char kJavaScriptScheme[]; | 23 extern const char kJavaScriptScheme[]; |
24 extern const char kMailToScheme[]; | 24 extern const char kMailToScheme[]; |
25 extern const char kPrintScheme[]; | 25 extern const char kPrintScheme[]; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 extern const char kSyncThrobberPath[]; | 71 extern const char kSyncThrobberPath[]; |
72 extern const char kSyncSetupFlowPath[]; | 72 extern const char kSyncSetupFlowPath[]; |
73 | 73 |
74 // Network related URLs. | 74 // Network related URLs. |
75 extern const char kNetworkViewCacheURL[]; | 75 extern const char kNetworkViewCacheURL[]; |
76 extern const char kNetworkViewInternalsURL[]; | 76 extern const char kNetworkViewInternalsURL[]; |
77 | 77 |
78 } // namespace chrome | 78 } // namespace chrome |
79 | 79 |
80 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 80 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |