OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 | 9 |
10 // Contains constants for known URLs and portions thereof. | 10 // Contains constants for known URLs and portions thereof. |
(...skipping 15 matching lines...) Expand all Loading... |
26 CONTENT_EXPORT extern const char kFileSystemScheme[]; | 26 CONTENT_EXPORT extern const char kFileSystemScheme[]; |
27 CONTENT_EXPORT extern const char kFtpScheme[]; | 27 CONTENT_EXPORT extern const char kFtpScheme[]; |
28 CONTENT_EXPORT extern const char kGuestScheme[]; | 28 CONTENT_EXPORT extern const char kGuestScheme[]; |
29 CONTENT_EXPORT extern const char kHttpScheme[]; | 29 CONTENT_EXPORT extern const char kHttpScheme[]; |
30 CONTENT_EXPORT extern const char kHttpsScheme[]; | 30 CONTENT_EXPORT extern const char kHttpsScheme[]; |
31 CONTENT_EXPORT extern const char kJavaScriptScheme[]; | 31 CONTENT_EXPORT extern const char kJavaScriptScheme[]; |
32 CONTENT_EXPORT extern const char kMailToScheme[]; | 32 CONTENT_EXPORT extern const char kMailToScheme[]; |
33 CONTENT_EXPORT extern const char kMetadataScheme[]; | 33 CONTENT_EXPORT extern const char kMetadataScheme[]; |
34 CONTENT_EXPORT extern const char kSwappedOutScheme[]; | 34 CONTENT_EXPORT extern const char kSwappedOutScheme[]; |
35 CONTENT_EXPORT extern const char kViewSourceScheme[]; | 35 CONTENT_EXPORT extern const char kViewSourceScheme[]; |
| 36 CONTENT_EXPORT extern const char kContentScheme[]; |
36 | 37 |
37 // Hosts for about URLs. | 38 // Hosts for about URLs. |
38 CONTENT_EXPORT extern const char kAboutBlankURL[]; | 39 CONTENT_EXPORT extern const char kAboutBlankURL[]; |
39 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[]; | 40 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[]; |
40 CONTENT_EXPORT extern const char kChromeUIBlobInternalsHost[]; | 41 CONTENT_EXPORT extern const char kChromeUIBlobInternalsHost[]; |
41 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[]; | 42 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[]; |
42 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; | 43 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; |
43 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; | 44 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; |
44 CONTENT_EXPORT extern const char kChromeUIHistogramHost[]; | 45 CONTENT_EXPORT extern const char kChromeUIHistogramHost[]; |
45 | 46 |
(...skipping 20 matching lines...) Expand all Loading... |
66 // Special URL used to swap out a view being rendered by another process. | 67 // Special URL used to swap out a view being rendered by another process. |
67 extern const char kSwappedOutURL[]; | 68 extern const char kSwappedOutURL[]; |
68 | 69 |
69 // Null terminated list of schemes that are savable. This function can be | 70 // Null terminated list of schemes that are savable. This function can be |
70 // invoked on any thread. | 71 // invoked on any thread. |
71 CONTENT_EXPORT const char* const* GetSavableSchemes(); | 72 CONTENT_EXPORT const char* const* GetSavableSchemes(); |
72 | 73 |
73 } // namespace content | 74 } // namespace content |
74 | 75 |
75 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 76 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |