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