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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 const char kChromeUIUserActionsHost[] = "user-actions"; | 266 const char kChromeUIUserActionsHost[] = "user-actions"; |
267 const char kChromeUIVersionHost[] = "version"; | 267 const char kChromeUIVersionHost[] = "version"; |
268 const char kChromeUIWelcomeHost[] = "welcome"; | 268 const char kChromeUIWelcomeHost[] = "welcome"; |
269 const char kChromeUIWelcomeWin10Host[] = "welcome-win10"; | 269 const char kChromeUIWelcomeWin10Host[] = "welcome-win10"; |
270 const char kChromeUIWorkersHost[] = "workers"; | 270 const char kChromeUIWorkersHost[] = "workers"; |
271 | 271 |
272 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 272 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
273 const char kChromeUIPrintHost[] = "print"; | 273 const char kChromeUIPrintHost[] = "print"; |
274 #endif // ENABLE_PRINT_PREVIEW | 274 #endif // ENABLE_PRINT_PREVIEW |
275 | 275 |
276 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 276 #if BUILDFLAG(ENABLE_DICE_SUPPORT) |
277 const char kChromeUIDiscardsHost[] = "discards"; | |
278 const char kChromeUISigninDiceInternalsHost[] = "signin-dice-internals"; | 277 const char kChromeUISigninDiceInternalsHost[] = "signin-dice-internals"; |
279 #endif | 278 #endif |
280 | 279 |
| 280 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
| 281 const char kChromeUIDiscardsHost[] = "discards"; |
| 282 #endif |
| 283 |
281 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 284 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
282 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 285 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
283 #endif | 286 #endif |
284 | 287 |
285 #if defined(OS_LINUX) || defined(OS_ANDROID) | 288 #if defined(OS_LINUX) || defined(OS_ANDROID) |
286 const char kChromeUISandboxHost[] = "sandbox"; | 289 const char kChromeUISandboxHost[] = "sandbox"; |
287 #endif | 290 #endif |
288 | 291 |
289 #if defined(OS_ANDROID) | 292 #if defined(OS_ANDROID) |
290 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; | 293 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 #endif | 836 #endif |
834 | 837 |
835 const char kChooserUsbOverviewURL[] = | 838 const char kChooserUsbOverviewURL[] = |
836 "https://support.google.com/chrome?p=webusb"; | 839 "https://support.google.com/chrome?p=webusb"; |
837 | 840 |
838 #if defined(OS_CHROMEOS) | 841 #if defined(OS_CHROMEOS) |
839 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 842 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
840 #endif | 843 #endif |
841 | 844 |
842 } // namespace chrome | 845 } // namespace chrome |
OLD | NEW |