OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Contains constants for known URLs and portions thereof. | 5 // Contains constants for known URLs and portions thereof. |
6 | 6 |
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
8 #define CHROME_COMMON_URL_CONSTANTS_H_ | 8 #define CHROME_COMMON_URL_CONSTANTS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // chrome: URLs (including schemes). Should be kept in sync with the | 67 // chrome: URLs (including schemes). Should be kept in sync with the |
68 // components below. | 68 // components below. |
69 extern const char kChromeUIAboutAboutURL[]; | 69 extern const char kChromeUIAboutAboutURL[]; |
70 extern const char kChromeUIAboutCreditsURL[]; | 70 extern const char kChromeUIAboutCreditsURL[]; |
71 extern const char kChromeUIAboutURL[]; | 71 extern const char kChromeUIAboutURL[]; |
72 extern const char kChromeUIAppLauncherURL[]; | 72 extern const char kChromeUIAppLauncherURL[]; |
73 extern const char kChromeUIBookmarksURL[]; | 73 extern const char kChromeUIBookmarksURL[]; |
74 extern const char kChromeUIBugReportURL[]; | 74 extern const char kChromeUIBugReportURL[]; |
75 extern const char kChromeUIConflictsURL[]; | 75 extern const char kChromeUIConflictsURL[]; |
76 extern const char kChromeUIConstrainedHTMLTestURL[]; | 76 extern const char kChromeUIConstrainedHTMLTestURL[]; |
| 77 extern const char kChromeUICrashesURL[]; |
77 extern const char kChromeUIDevToolsURL[]; | 78 extern const char kChromeUIDevToolsURL[]; |
78 extern const char kChromeUIDownloadsURL[]; | 79 extern const char kChromeUIDownloadsURL[]; |
79 extern const char kChromeUIExtensionsURL[]; | 80 extern const char kChromeUIExtensionsURL[]; |
80 extern const char kChromeUIFlagsURL[]; | 81 extern const char kChromeUIFlagsURL[]; |
81 extern const char kChromeUIFavIconURL[]; | 82 extern const char kChromeUIFavIconURL[]; |
82 extern const char kChromeUIHistory2URL[]; | 83 extern const char kChromeUIHistory2URL[]; |
83 extern const char kChromeUIHistoryURL[]; | 84 extern const char kChromeUIHistoryURL[]; |
84 extern const char kChromeUIIPCURL[]; | 85 extern const char kChromeUIIPCURL[]; |
85 extern const char kChromeUIKeyboardURL[]; | 86 extern const char kChromeUIKeyboardURL[]; |
86 extern const char kChromeUINewTabURL[]; | 87 extern const char kChromeUINewTabURL[]; |
(...skipping 13 matching lines...) Expand all Loading... |
100 extern const char kChromeUIRegisterPageURL[]; | 101 extern const char kChromeUIRegisterPageURL[]; |
101 extern const char kChromeUISlideshowURL[]; | 102 extern const char kChromeUISlideshowURL[]; |
102 extern const char kChromeUISystemInfoURL[]; | 103 extern const char kChromeUISystemInfoURL[]; |
103 #endif | 104 #endif |
104 | 105 |
105 // chrome components of URLs. Should be kept in sync with the full URLs | 106 // chrome components of URLs. Should be kept in sync with the full URLs |
106 // above. | 107 // above. |
107 extern const char kChromeUIBookmarksHost[]; | 108 extern const char kChromeUIBookmarksHost[]; |
108 extern const char kChromeUIBugReportHost[]; | 109 extern const char kChromeUIBugReportHost[]; |
109 extern const char kChromeUIConflictsHost[]; | 110 extern const char kChromeUIConflictsHost[]; |
| 111 extern const char kChromeUICrashesHost[]; |
110 extern const char kChromeUIDevToolsHost[]; | 112 extern const char kChromeUIDevToolsHost[]; |
111 extern const char kChromeUIDialogHost[]; | 113 extern const char kChromeUIDialogHost[]; |
112 extern const char kChromeUIDownloadsHost[]; | 114 extern const char kChromeUIDownloadsHost[]; |
113 extern const char kChromeUIExtensionsHost[]; | 115 extern const char kChromeUIExtensionsHost[]; |
114 extern const char kChromeUIFavIconHost[]; | 116 extern const char kChromeUIFavIconHost[]; |
115 extern const char kChromeUIFlagsHost[]; | 117 extern const char kChromeUIFlagsHost[]; |
116 extern const char kChromeUIGpuInternalsHost[]; | 118 extern const char kChromeUIGpuInternalsHost[]; |
117 extern const char kChromeUIHistory2Host[]; | 119 extern const char kChromeUIHistory2Host[]; |
118 extern const char kChromeUIHistoryHost[]; | 120 extern const char kChromeUIHistoryHost[]; |
119 extern const char kChromeUIKeyboardHost[]; | 121 extern const char kChromeUIKeyboardHost[]; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 // The URL for the "Learn more" page for the blocked/outdated plugin infobar. | 217 // The URL for the "Learn more" page for the blocked/outdated plugin infobar. |
216 extern const char kOutdatedPluginLearnMoreURL[]; | 218 extern const char kOutdatedPluginLearnMoreURL[]; |
217 | 219 |
218 // Call near the beginning of startup to register Chrome's internal URLs that | 220 // Call near the beginning of startup to register Chrome's internal URLs that |
219 // should be parsed as "standard" with the googleurl library. | 221 // should be parsed as "standard" with the googleurl library. |
220 void RegisterChromeSchemes(); | 222 void RegisterChromeSchemes(); |
221 | 223 |
222 } // namespace chrome | 224 } // namespace chrome |
223 | 225 |
224 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 226 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |