| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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 | 36 |
| 37 // Used to separate a standard scheme and the hostname: "://". | 37 // Used to separate a standard scheme and the hostname: "://". |
| 38 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; | 38 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; |
| 39 | 39 |
| 40 // About URLs (including schemes). | 40 // Hosts for about URLs. |
| 41 CONTENT_EXPORT extern const char kAboutBlankURL[]; | 41 CONTENT_EXPORT extern const char kAboutBlankURL[]; |
| 42 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[]; | 42 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[]; |
| 43 CONTENT_EXPORT extern const char kChromeUIBlobInternalsHost[]; | 43 CONTENT_EXPORT extern const char kChromeUIBlobInternalsHost[]; |
| 44 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[]; | 44 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[]; |
| 45 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; | 45 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; |
| 46 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; |
| 47 |
| 48 // Full about URLs (including schemes). |
| 46 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | 49 CONTENT_EXPORT extern const char kChromeUICrashURL[]; |
| 47 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | 50 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; |
| 48 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; | 51 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; |
| 49 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; | 52 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; |
| 50 CONTENT_EXPORT extern const char kChromeUIHangURL[]; | 53 CONTENT_EXPORT extern const char kChromeUIHangURL[]; |
| 51 CONTENT_EXPORT extern const char kChromeUIKillURL[]; | 54 CONTENT_EXPORT extern const char kChromeUIKillURL[]; |
| 52 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; | 55 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; |
| 53 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; | 56 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; |
| 54 | 57 |
| 55 } // namespace chrome | 58 } // namespace chrome |
| (...skipping 18 matching lines...) Expand all Loading... |
| 74 // | 77 // |
| 75 // Called near the beginning of startup to register URL schemes that should | 78 // Called near the beginning of startup to register URL schemes that should |
| 76 // be parsed as "standard" with the googleurl library. Optionally, the set | 79 // be parsed as "standard" with the googleurl library. Optionally, the set |
| 77 // of standard schemes is locked down. The embedder can add additional | 80 // of standard schemes is locked down. The embedder can add additional |
| 78 // schemes by overriding the ContentClient::AddAdditionalSchemes method. | 81 // schemes by overriding the ContentClient::AddAdditionalSchemes method. |
| 79 CONTENT_EXPORT void RegisterContentSchemes(bool lock_standard_schemes); | 82 CONTENT_EXPORT void RegisterContentSchemes(bool lock_standard_schemes); |
| 80 | 83 |
| 81 } // namespace content | 84 } // namespace content |
| 82 | 85 |
| 83 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 86 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |