| 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 kGuestScheme[]; | 21 CONTENT_EXPORT extern const char kGuestScheme[]; |
| 22 CONTENT_EXPORT extern const char kSwappedOutScheme[]; | |
| 23 CONTENT_EXPORT extern const char kViewSourceScheme[]; | 22 CONTENT_EXPORT extern const char kViewSourceScheme[]; |
| 24 #if defined(OS_CHROMEOS) | 23 #if defined(OS_CHROMEOS) |
| 25 CONTENT_EXPORT extern const char kExternalFileScheme[]; | 24 CONTENT_EXPORT extern const char kExternalFileScheme[]; |
| 26 #endif | 25 #endif |
| 27 | 26 |
| 28 // Hosts for about URLs. | 27 // Hosts for about URLs. |
| 29 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; | 28 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; |
| 30 | 29 |
| 31 CONTENT_EXPORT extern const char kChromeUIAccessibilityHost[]; | 30 CONTENT_EXPORT extern const char kChromeUIAccessibilityHost[]; |
| 32 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[]; | 31 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[]; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 CONTENT_EXPORT extern const char kUnreachableWebDataURL[]; | 64 CONTENT_EXPORT extern const char kUnreachableWebDataURL[]; |
| 66 | 65 |
| 67 // Full about URLs (including schemes). | 66 // Full about URLs (including schemes). |
| 68 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; | 67 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; |
| 69 CONTENT_EXPORT extern const char kChromeUIResourcesURL[]; | 68 CONTENT_EXPORT extern const char kChromeUIResourcesURL[]; |
| 70 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; | 69 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; |
| 71 | 70 |
| 72 } // namespace content | 71 } // namespace content |
| 73 | 72 |
| 74 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 73 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |