OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 9 #pragma once |
10 | 10 |
11 namespace chrome { | 11 namespace chrome { |
12 | 12 |
13 // Canonical schemes you can use as input to GURL.SchemeIs(). | 13 // Canonical schemes you can use as input to GURL.SchemeIs(). |
14 extern const char kAboutScheme[]; | 14 extern const char kAboutScheme[]; |
| 15 extern const char kBlobScheme[]; |
15 extern const char kChromeInternalScheme[]; | 16 extern const char kChromeInternalScheme[]; |
16 extern const char kChromeUIScheme[]; // The scheme used for DOMUIs. | 17 extern const char kChromeUIScheme[]; // The scheme used for DOMUIs. |
17 extern const char kCrosScheme[]; // The scheme used for ChromeOS. | 18 extern const char kCrosScheme[]; // The scheme used for ChromeOS. |
18 extern const char kDataScheme[]; | 19 extern const char kDataScheme[]; |
19 extern const char kExtensionScheme[]; | 20 extern const char kExtensionScheme[]; |
20 extern const char kFileScheme[]; | 21 extern const char kFileScheme[]; |
21 extern const char kFtpScheme[]; | 22 extern const char kFtpScheme[]; |
22 extern const char kGearsScheme[]; | 23 extern const char kGearsScheme[]; |
23 extern const char kHttpScheme[]; | 24 extern const char kHttpScheme[]; |
24 extern const char kHttpsScheme[]; | 25 extern const char kHttpsScheme[]; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 extern const char kInternetOptionsSubPage[]; | 133 extern const char kInternetOptionsSubPage[]; |
133 #endif | 134 #endif |
134 | 135 |
135 // Call near the beginning of startup to register Chrome's internal URLs that | 136 // Call near the beginning of startup to register Chrome's internal URLs that |
136 // should be parsed as "standard" with the googleurl library. | 137 // should be parsed as "standard" with the googleurl library. |
137 void RegisterChromeSchemes(); | 138 void RegisterChromeSchemes(); |
138 | 139 |
139 } // namespace chrome | 140 } // namespace chrome |
140 | 141 |
141 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 142 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |