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. |
11 | 11 |
12 // TODO(jam): rename this to content. | 12 // TODO(jam): rename this to content. |
13 namespace chrome { | 13 namespace chrome { |
14 | 14 |
15 // Canonical schemes you can use as input to GURL.SchemeIs(). | 15 // Canonical schemes you can use as input to GURL.SchemeIs(). |
16 // TODO(jam): some of these don't below in the content layer, but are accessed | 16 // TODO(jam): some of these don't below in the content layer, but are accessed |
17 // from there. | 17 // from there. |
18 CONTENT_EXPORT extern const char kAboutScheme[]; | 18 CONTENT_EXPORT extern const char kAboutScheme[]; |
19 CONTENT_EXPORT extern const char kBlobScheme[]; | 19 CONTENT_EXPORT extern const char kBlobScheme[]; |
20 CONTENT_EXPORT extern const char kChromeDevToolsScheme[]; | |
21 } // namespace chrome | 20 } // namespace chrome |
22 | 21 |
23 namespace content { | 22 namespace content { |
24 | 23 |
| 24 CONTENT_EXPORT extern const char kChromeDevToolsScheme[]; |
25 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs. | 25 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs. |
26 CONTENT_EXPORT extern const char kDataScheme[]; | 26 CONTENT_EXPORT extern const char kDataScheme[]; |
27 CONTENT_EXPORT extern const char kFileScheme[]; | 27 CONTENT_EXPORT extern const char kFileScheme[]; |
28 CONTENT_EXPORT extern const char kFileSystemScheme[]; | 28 CONTENT_EXPORT extern const char kFileSystemScheme[]; |
29 CONTENT_EXPORT extern const char kFtpScheme[]; | 29 CONTENT_EXPORT extern const char kFtpScheme[]; |
30 CONTENT_EXPORT extern const char kGuestScheme[]; | 30 CONTENT_EXPORT extern const char kGuestScheme[]; |
31 CONTENT_EXPORT extern const char kHttpScheme[]; | 31 CONTENT_EXPORT extern const char kHttpScheme[]; |
32 CONTENT_EXPORT extern const char kHttpsScheme[]; | 32 CONTENT_EXPORT extern const char kHttpsScheme[]; |
33 CONTENT_EXPORT extern const char kJavaScriptScheme[]; | 33 CONTENT_EXPORT extern const char kJavaScriptScheme[]; |
34 CONTENT_EXPORT extern const char kMailToScheme[]; | 34 CONTENT_EXPORT extern const char kMailToScheme[]; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // Full about URLs (including schemes). | 73 // Full about URLs (including schemes). |
74 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; | 74 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; |
75 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; | 75 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; |
76 | 76 |
77 // Special URL used to swap out a view being rendered by another process. | 77 // Special URL used to swap out a view being rendered by another process. |
78 CONTENT_EXPORT extern const char kSwappedOutURL[]; | 78 CONTENT_EXPORT extern const char kSwappedOutURL[]; |
79 | 79 |
80 } // namespace content | 80 } // namespace content |
81 | 81 |
82 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 82 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |