| 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 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 extern const char kFileScheme[]; | 21 extern const char kFileScheme[]; |
| 22 extern const char kFtpScheme[]; | 22 extern const char kFtpScheme[]; |
| 23 extern const char kGearsScheme[]; | 23 extern const char kGearsScheme[]; |
| 24 extern const char kHttpScheme[]; | 24 extern const char kHttpScheme[]; |
| 25 extern const char kHttpsScheme[]; | 25 extern const char kHttpsScheme[]; |
| 26 extern const char kJavaScriptScheme[]; | 26 extern const char kJavaScriptScheme[]; |
| 27 extern const char kMailToScheme[]; | 27 extern const char kMailToScheme[]; |
| 28 extern const char kMetadataScheme[]; | 28 extern const char kMetadataScheme[]; |
| 29 extern const char kUserScriptScheme[]; | 29 extern const char kUserScriptScheme[]; |
| 30 extern const char kViewSourceScheme[]; | 30 extern const char kViewSourceScheme[]; |
| 31 extern const char kIconURLScheme[]; |
| 31 | 32 |
| 32 // Used to separate a standard scheme and the hostname: "://". | 33 // Used to separate a standard scheme and the hostname: "://". |
| 33 extern const char kStandardSchemeSeparator[]; | 34 extern const char kStandardSchemeSeparator[]; |
| 34 | 35 |
| 35 // Null terminated list of schemes that are savable. | 36 // Null terminated list of schemes that are savable. |
| 36 extern const char* kSavableSchemes[]; | 37 extern const char* kSavableSchemes[]; |
| 37 | 38 |
| 38 // About URLs (including schemes). | 39 // About URLs (including schemes). |
| 39 extern const char kAboutAboutURL[]; | 40 extern const char kAboutAboutURL[]; |
| 40 extern const char kAboutAppCacheInternalsURL[]; | 41 extern const char kAboutAppCacheInternalsURL[]; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 extern const char kInternetOptionsSubPage[]; | 134 extern const char kInternetOptionsSubPage[]; |
| 134 #endif | 135 #endif |
| 135 | 136 |
| 136 // Call near the beginning of startup to register Chrome's internal URLs that | 137 // Call near the beginning of startup to register Chrome's internal URLs that |
| 137 // should be parsed as "standard" with the googleurl library. | 138 // should be parsed as "standard" with the googleurl library. |
| 138 void RegisterChromeSchemes(); | 139 void RegisterChromeSchemes(); |
| 139 | 140 |
| 140 } // namespace chrome | 141 } // namespace chrome |
| 141 | 142 |
| 142 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 143 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |