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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; | 45 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; |
46 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | 46 CONTENT_EXPORT extern const char kChromeUICrashURL[]; |
47 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | 47 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; |
48 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; | 48 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; |
49 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; | 49 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; |
50 CONTENT_EXPORT extern const char kChromeUIHangURL[]; | 50 CONTENT_EXPORT extern const char kChromeUIHangURL[]; |
51 CONTENT_EXPORT extern const char kChromeUIKillURL[]; | 51 CONTENT_EXPORT extern const char kChromeUIKillURL[]; |
52 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; | 52 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; |
53 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; | 53 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; |
54 | 54 |
| 55 } // namespace chrome |
| 56 |
| 57 namespace content { |
| 58 |
55 // Special URL used to start a navigation to an error page. | 59 // Special URL used to start a navigation to an error page. |
56 extern const char kUnreachableWebDataURL[]; | 60 extern const char kUnreachableWebDataURL[]; |
57 | 61 |
58 // Special URL used to swap out a view being rendered by another process. | 62 // Special URL used to swap out a view being rendered by another process. |
59 extern const char kSwappedOutURL[]; | 63 extern const char kSwappedOutURL[]; |
60 | 64 |
61 } // namespace chrome | |
62 | |
63 namespace content { | |
64 | |
65 // Null terminated list of schemes that are savable. This function can be | 65 // Null terminated list of schemes that are savable. This function can be |
66 // invoked on any thread. | 66 // invoked on any thread. |
67 CONTENT_EXPORT const char** GetSavableSchemes(); | 67 CONTENT_EXPORT const char** GetSavableSchemes(); |
68 | 68 |
69 // Call near the beginning of startup to register the content layer's internal | 69 // Call near the beginning of startup to register the content layer's internal |
70 // URLs that should be parsed as "standard" with the googleurl library. The | 70 // URLs that should be parsed as "standard" with the googleurl library. The |
71 // embedder can pass a 0-terminated list of additional schemes that should be | 71 // embedder can pass a 0-terminated list of additional schemes that should be |
72 // savable, or NULL if the standard list is sufficient. | 72 // savable, or NULL if the standard list is sufficient. |
73 CONTENT_EXPORT void RegisterContentSchemes( | 73 CONTENT_EXPORT void RegisterContentSchemes( |
74 const char** additional_savable_schemes); | 74 const char** additional_savable_schemes); |
75 | 75 |
76 } // namespace content | 76 } // namespace content |
77 | 77 |
78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |