| 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 "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "url/url_constants.h" | 10 #include "url/url_constants.h" |
| 11 | 11 |
| 12 // Contains constants for known URLs and portions thereof. | 12 // Contains constants for known URLs and portions thereof. |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 // Canonical schemes you can use as input to GURL.SchemeIs(). | 16 // Canonical schemes you can use as input to GURL.SchemeIs(). |
| 17 // TODO(jam): some of these don't below in the content layer, but are accessed | 17 // TODO(jam): some of these don't below in the content layer, but are accessed |
| 18 // from there. | 18 // from there. |
| 19 CONTENT_EXPORT extern const char kChromeDevToolsScheme[]; | 19 CONTENT_EXPORT extern const char kChromeDevToolsScheme[]; |
| 20 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs. | 20 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs. |
| 21 CONTENT_EXPORT extern const char kExeScheme[]; |
| 21 CONTENT_EXPORT extern const char kGuestScheme[]; | 22 CONTENT_EXPORT extern const char kGuestScheme[]; |
| 22 CONTENT_EXPORT extern const char kMetadataScheme[]; | 23 CONTENT_EXPORT extern const char kMetadataScheme[]; |
| 24 CONTENT_EXPORT extern const char kMojoScheme[]; |
| 23 CONTENT_EXPORT extern const char kSwappedOutScheme[]; | 25 CONTENT_EXPORT extern const char kSwappedOutScheme[]; |
| 24 CONTENT_EXPORT extern const char kViewSourceScheme[]; | 26 CONTENT_EXPORT extern const char kViewSourceScheme[]; |
| 25 #if defined(OS_CHROMEOS) | 27 #if defined(OS_CHROMEOS) |
| 26 CONTENT_EXPORT extern const char kExternalFileScheme[]; | 28 CONTENT_EXPORT extern const char kExternalFileScheme[]; |
| 27 #endif | 29 #endif |
| 28 | 30 |
| 29 // Hosts for about URLs. | 31 // Hosts for about URLs. |
| 30 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; | 32 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; |
| 31 | 33 |
| 32 CONTENT_EXPORT extern const char kChromeUIAccessibilityHost[]; | 34 CONTENT_EXPORT extern const char kChromeUIAccessibilityHost[]; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; | 72 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; |
| 71 CONTENT_EXPORT extern const char kChromeUIResourcesURL[]; | 73 CONTENT_EXPORT extern const char kChromeUIResourcesURL[]; |
| 72 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; | 74 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; |
| 73 | 75 |
| 74 // Special URL used to swap out a view being rendered by another process. | 76 // Special URL used to swap out a view being rendered by another process. |
| 75 CONTENT_EXPORT extern const char kSwappedOutURL[]; | 77 CONTENT_EXPORT extern const char kSwappedOutURL[]; |
| 76 | 78 |
| 77 } // namespace content | 79 } // namespace content |
| 78 | 80 |
| 79 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 81 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |