| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; | 44 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; |
| 45 CONTENT_EXPORT extern const char kChromeUIHistogramHost[]; | 45 CONTENT_EXPORT extern const char kChromeUIHistogramHost[]; |
| 46 | 46 |
| 47 // Full about URLs (including schemes). | 47 // Full about URLs (including schemes). |
| 48 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | 48 CONTENT_EXPORT extern const char kChromeUICrashURL[]; |
| 49 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | 49 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; |
| 50 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; | 50 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; |
| 51 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; | 51 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; |
| 52 CONTENT_EXPORT extern const char kChromeUIHangURL[]; | 52 CONTENT_EXPORT extern const char kChromeUIHangURL[]; |
| 53 CONTENT_EXPORT extern const char kChromeUIKillURL[]; | 53 CONTENT_EXPORT extern const char kChromeUIKillURL[]; |
| 54 CONTENT_EXPORT extern const char kChromeUINewTabURL[]; |
| 54 | 55 |
| 55 } // namespace chrome | 56 } // namespace chrome |
| 56 | 57 |
| 57 namespace content { | 58 namespace content { |
| 58 | 59 |
| 59 // Used to separate a standard scheme and the hostname: "://". | 60 // Used to separate a standard scheme and the hostname: "://". |
| 60 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; | 61 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; |
| 61 | 62 |
| 62 // Special URL used to start a navigation to an error page. | 63 // Special URL used to start a navigation to an error page. |
| 63 CONTENT_EXPORT extern const char kUnreachableWebDataURL[]; | 64 CONTENT_EXPORT extern const char kUnreachableWebDataURL[]; |
| 64 | 65 |
| 65 // Full about URLs (including schemes). | 66 // Full about URLs (including schemes). |
| 66 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; | 67 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; |
| 67 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; | 68 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; |
| 68 | 69 |
| 69 // Special URL used to swap out a view being rendered by another process. | 70 // Special URL used to swap out a view being rendered by another process. |
| 70 extern const char kSwappedOutURL[]; | 71 extern const char kSwappedOutURL[]; |
| 71 | 72 |
| 72 // Null terminated list of schemes that are savable. This function can be | 73 // Null terminated list of schemes that are savable. This function can be |
| 73 // invoked on any thread. | 74 // invoked on any thread. |
| 74 CONTENT_EXPORT const char* const* GetSavableSchemes(); | 75 CONTENT_EXPORT const char* const* GetSavableSchemes(); |
| 75 | 76 |
| 76 } // namespace content | 77 } // namespace content |
| 77 | 78 |
| 78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 79 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |