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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 | 51 |
52 // Full about URLs (including schemes). | 52 // Full about URLs (including schemes). |
53 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | 53 CONTENT_EXPORT extern const char kChromeUICrashURL[]; |
54 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | 54 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; |
55 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; | 55 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; |
56 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; | 56 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; |
57 CONTENT_EXPORT extern const char kChromeUIHangURL[]; | 57 CONTENT_EXPORT extern const char kChromeUIHangURL[]; |
58 CONTENT_EXPORT extern const char kChromeUIKillURL[]; | 58 CONTENT_EXPORT extern const char kChromeUIKillURL[]; |
59 CONTENT_EXPORT extern const char kChromeUINewTabURL[]; | |
jam
2013/01/29 17:51:55
content layer should not know about chrome layer's
samarth
2013/01/31 16:24:57
Do you have other suggestions for how best to comm
| |
59 CONTENT_EXPORT extern const char kChromeUIPpapiFlashCrashURL[]; | 60 CONTENT_EXPORT extern const char kChromeUIPpapiFlashCrashURL[]; |
60 CONTENT_EXPORT extern const char kChromeUIPpapiFlashHangURL[]; | 61 CONTENT_EXPORT extern const char kChromeUIPpapiFlashHangURL[]; |
61 | 62 |
62 } // namespace chrome | 63 } // namespace chrome |
63 | 64 |
64 namespace content { | 65 namespace content { |
65 | 66 |
66 // Used to separate a standard scheme and the hostname: "://". | 67 // Used to separate a standard scheme and the hostname: "://". |
67 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; | 68 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; |
68 | 69 |
(...skipping 11 matching lines...) Expand all Loading... | |
80 // invoked on any thread. | 81 // invoked on any thread. |
81 CONTENT_EXPORT const char* const* GetSavableSchemes(); | 82 CONTENT_EXPORT const char* const* GetSavableSchemes(); |
82 | 83 |
83 // 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 |
84 // WebUIControllerFactory::UseWebUIForURL in the browser process. | 85 // WebUIControllerFactory::UseWebUIForURL in the browser process. |
85 CONTENT_EXPORT bool HasWebUIScheme(const GURL& url); | 86 CONTENT_EXPORT bool HasWebUIScheme(const GURL& url); |
86 | 87 |
87 } // namespace content | 88 } // namespace content |
88 | 89 |
89 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 90 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |