| 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 18 matching lines...) Expand all Loading... |
| 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 | 36 |
| 37 // Hosts for about URLs. | 37 // Hosts for about URLs. |
| 38 CONTENT_EXPORT extern const char kAboutBlankURL[]; | 38 CONTENT_EXPORT extern const char kAboutBlankURL[]; |
| 39 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; |
| 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 |
| 46 // Full about URLs (including schemes). | 47 // Full about URLs (including schemes). |
| 47 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | 48 CONTENT_EXPORT extern const char kChromeUICrashURL[]; |
| 48 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | 49 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 68 // Special URL used to swap out a view being rendered by another process. | 69 // Special URL used to swap out a view being rendered by another process. |
| 69 extern const char kSwappedOutURL[]; | 70 extern const char kSwappedOutURL[]; |
| 70 | 71 |
| 71 // Null terminated list of schemes that are savable. This function can be | 72 // Null terminated list of schemes that are savable. This function can be |
| 72 // invoked on any thread. | 73 // invoked on any thread. |
| 73 CONTENT_EXPORT const char* const* GetSavableSchemes(); | 74 CONTENT_EXPORT const char* const* GetSavableSchemes(); |
| 74 | 75 |
| 75 } // namespace content | 76 } // namespace content |
| 76 | 77 |
| 77 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |