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 #include "chrome/common/url_constants.h" | 5 #include "chrome/common/url_constants.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 #if BUILDFLAG(ENABLE_WEBRTC) | 152 #if BUILDFLAG(ENABLE_WEBRTC) |
153 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; | 153 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; |
154 #endif | 154 #endif |
155 | 155 |
156 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; | 156 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; |
157 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 157 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
158 const char kChromeUICastURL[] = "chrome://cast/"; | 158 const char kChromeUICastURL[] = "chrome://cast/"; |
159 #endif | 159 #endif |
160 | 160 |
161 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 161 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
162 const char kChromeUIDiscardsHost[] = "discards"; | |
163 const char kChromeUIDiscardsURL[] = "chrome://discards/"; | 162 const char kChromeUIDiscardsURL[] = "chrome://discards/"; |
164 #endif | 163 #endif |
165 | 164 |
166 // Add Chrome UI hosts here, in alphabetical order. | 165 // Add Chrome UI hosts here, in alphabetical order. |
167 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 166 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
168 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 167 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
169 const char kChromeUIAboutHost[] = "about"; | 168 const char kChromeUIAboutHost[] = "about"; |
170 const char kChromeUIBlankHost[] = "blank"; | 169 const char kChromeUIBlankHost[] = "blank"; |
171 const char kChromeUIAppLauncherPageHost[] = "apps"; | 170 const char kChromeUIAppLauncherPageHost[] = "apps"; |
172 const char kChromeUIAppListStartPageHost[] = "app-list"; | 171 const char kChromeUIAppListStartPageHost[] = "app-list"; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 const char kChromeUIUserActionsHost[] = "user-actions"; | 266 const char kChromeUIUserActionsHost[] = "user-actions"; |
268 const char kChromeUIVersionHost[] = "version"; | 267 const char kChromeUIVersionHost[] = "version"; |
269 const char kChromeUIWelcomeHost[] = "welcome"; | 268 const char kChromeUIWelcomeHost[] = "welcome"; |
270 const char kChromeUIWelcomeWin10Host[] = "welcome-win10"; | 269 const char kChromeUIWelcomeWin10Host[] = "welcome-win10"; |
271 const char kChromeUIWorkersHost[] = "workers"; | 270 const char kChromeUIWorkersHost[] = "workers"; |
272 | 271 |
273 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 272 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
274 const char kChromeUIPrintHost[] = "print"; | 273 const char kChromeUIPrintHost[] = "print"; |
275 #endif // ENABLE_PRINT_PREVIEW | 274 #endif // ENABLE_PRINT_PREVIEW |
276 | 275 |
| 276 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
| 277 const char kChromeUIDiscardsHost[] = "discards"; |
| 278 const char kChromeUISigninDiceInternalsHost[] = "signin-dice-internals"; |
| 279 #endif |
| 280 |
277 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 281 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
278 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 282 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
279 #endif | 283 #endif |
280 | 284 |
281 #if defined(OS_LINUX) || defined(OS_ANDROID) | 285 #if defined(OS_LINUX) || defined(OS_ANDROID) |
282 const char kChromeUISandboxHost[] = "sandbox"; | 286 const char kChromeUISandboxHost[] = "sandbox"; |
283 #endif | 287 #endif |
284 | 288 |
285 #if defined(OS_ANDROID) | 289 #if defined(OS_ANDROID) |
286 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; | 290 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 #endif | 833 #endif |
830 | 834 |
831 const char kChooserUsbOverviewURL[] = | 835 const char kChooserUsbOverviewURL[] = |
832 "https://support.google.com/chrome?p=webusb"; | 836 "https://support.google.com/chrome?p=webusb"; |
833 | 837 |
834 #if defined(OS_CHROMEOS) | 838 #if defined(OS_CHROMEOS) |
835 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 839 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
836 #endif | 840 #endif |
837 | 841 |
838 } // namespace chrome | 842 } // namespace chrome |
OLD | NEW |