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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; | 51 CONTENT_EXPORT extern const char kChromeUITcmallocHost[]; |
52 CONTENT_EXPORT extern const char kChromeUIWebRTCInternalsHost[]; | 52 CONTENT_EXPORT extern const char kChromeUIWebRTCInternalsHost[]; |
53 | 53 |
54 // Full about URLs (including schemes). | 54 // Full about URLs (including schemes). |
55 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | 55 CONTENT_EXPORT extern const char kChromeUICrashURL[]; |
56 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | 56 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; |
57 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; | 57 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; |
58 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; | 58 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; |
59 CONTENT_EXPORT extern const char kChromeUIHangURL[]; | 59 CONTENT_EXPORT extern const char kChromeUIHangURL[]; |
60 CONTENT_EXPORT extern const char kChromeUIKillURL[]; | 60 CONTENT_EXPORT extern const char kChromeUIKillURL[]; |
| 61 CONTENT_EXPORT extern const char kChromeUINewTabURL[]; |
61 CONTENT_EXPORT extern const char kChromeUIPpapiFlashCrashURL[]; | 62 CONTENT_EXPORT extern const char kChromeUIPpapiFlashCrashURL[]; |
62 CONTENT_EXPORT extern const char kChromeUIPpapiFlashHangURL[]; | 63 CONTENT_EXPORT extern const char kChromeUIPpapiFlashHangURL[]; |
63 | 64 |
64 } // namespace chrome | 65 } // namespace chrome |
65 | 66 |
66 namespace content { | 67 namespace content { |
67 | 68 |
68 // Used to separate a standard scheme and the hostname: "://". | 69 // Used to separate a standard scheme and the hostname: "://". |
69 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; | 70 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; |
70 | 71 |
(...skipping 11 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 |