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 30 matching lines...) Expand all Loading... |
41 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; | 41 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; |
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 kChromeUIDevToolsHost[]; | 45 CONTENT_EXPORT extern const char kChromeUIDevToolsHost[]; |
46 CONTENT_EXPORT extern const char kChromeUIHistogramHost[]; | 46 CONTENT_EXPORT extern const char kChromeUIHistogramHost[]; |
47 CONTENT_EXPORT extern const char kChromeUIMediaInternalsHost[]; | 47 CONTENT_EXPORT extern const char kChromeUIMediaInternalsHost[]; |
48 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; | 48 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[]; |
49 CONTENT_EXPORT extern const char kChromeUIResourcesHost[]; | 49 CONTENT_EXPORT extern const char kChromeUIResourcesHost[]; |
50 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; | 50 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; |
51 CONTENT_EXPORT extern const char kChromeUITracingHost[]; | |
52 CONTENT_EXPORT extern const char kChromeUIWebRTCInternalsHost[]; | 51 CONTENT_EXPORT extern const char kChromeUIWebRTCInternalsHost[]; |
53 | 52 |
54 // Full about URLs (including schemes). | 53 // Full about URLs (including schemes). |
55 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | 54 CONTENT_EXPORT extern const char kChromeUICrashURL[]; |
56 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | 55 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; |
57 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; | 56 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; |
58 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; | 57 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; |
59 CONTENT_EXPORT extern const char kChromeUIHangURL[]; | 58 CONTENT_EXPORT extern const char kChromeUIHangURL[]; |
60 CONTENT_EXPORT extern const char kChromeUIKillURL[]; | 59 CONTENT_EXPORT extern const char kChromeUIKillURL[]; |
61 CONTENT_EXPORT extern const char kChromeUIPpapiFlashCrashURL[]; | 60 CONTENT_EXPORT extern const char kChromeUIPpapiFlashCrashURL[]; |
(...skipping 20 matching lines...) Expand all Loading... |
82 // invoked on any thread. | 81 // invoked on any thread. |
83 CONTENT_EXPORT const char* const* GetSavableSchemes(); | 82 CONTENT_EXPORT const char* const* GetSavableSchemes(); |
84 | 83 |
85 // Returns true if the url has a scheme for WebUI. See also | 84 // Returns true if the url has a scheme for WebUI. See also |
86 // WebUIControllerFactory::UseWebUIForURL in the browser process. | 85 // WebUIControllerFactory::UseWebUIForURL in the browser process. |
87 CONTENT_EXPORT bool HasWebUIScheme(const GURL& url); | 86 CONTENT_EXPORT bool HasWebUIScheme(const GURL& url); |
88 | 87 |
89 } // namespace content | 88 } // namespace content |
90 | 89 |
91 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 90 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |