| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 const char kChromeUIWelcomeURL[] = "chrome://welcome/"; | 101 const char kChromeUIWelcomeURL[] = "chrome://welcome/"; |
| 102 const char kChromeUIWelcomeWin10URL[] = "chrome://welcome-win10/"; | 102 const char kChromeUIWelcomeWin10URL[] = "chrome://welcome-win10/"; |
| 103 | 103 |
| 104 #if BUILDFLAG(ANDROID_JAVA_UI) | 104 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 105 const char kChromeUIContextualSearchPromoURL[] = | 105 const char kChromeUIContextualSearchPromoURL[] = |
| 106 "chrome://contextual-search-promo"; | 106 "chrome://contextual-search-promo"; |
| 107 const char kChromeUIJavaCrashURL[] = "chrome://java-crash/"; | 107 const char kChromeUIJavaCrashURL[] = "chrome://java-crash/"; |
| 108 const char kChromeUINativeScheme[] = "chrome-native"; | 108 const char kChromeUINativeScheme[] = "chrome-native"; |
| 109 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; | 109 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; |
| 110 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/"; | 110 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/"; |
| 111 const char kChromeUINativePhysicalWebURL[] = "chrome-native://physical-web/"; | 111 const char kChromeUINativePhysicalWebDiagnosticsURL[] = |
| 112 "chrome-native://physical-web-diagnostics/"; |
| 112 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; | 113 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; |
| 113 #endif | 114 #endif |
| 114 | 115 |
| 115 #if defined(OS_CHROMEOS) | 116 #if defined(OS_CHROMEOS) |
| 116 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; | 117 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; |
| 117 const char kChromeUICertificateManagerDialogURL[] = | 118 const char kChromeUICertificateManagerDialogURL[] = |
| 118 "chrome://certificate-manager/"; | 119 "chrome://certificate-manager/"; |
| 119 const char kChromeUIChooseMobileNetworkURL[] = | 120 const char kChromeUIChooseMobileNetworkURL[] = |
| 120 "chrome://choose-mobile-network/"; | 121 "chrome://choose-mobile-network/"; |
| 121 const char kChromeUIDeviceEmulatorURL[] = "chrome://device-emulator/"; | 122 const char kChromeUIDeviceEmulatorURL[] = "chrome://device-emulator/"; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 #endif // ENABLE_PRINT_PREVIEW | 275 #endif // ENABLE_PRINT_PREVIEW |
| 275 | 276 |
| 276 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 277 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
| 277 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 278 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
| 278 const char kChromeUISandboxHost[] = "sandbox"; | 279 const char kChromeUISandboxHost[] = "sandbox"; |
| 279 #endif | 280 #endif |
| 280 | 281 |
| 281 #if defined(OS_ANDROID) | 282 #if defined(OS_ANDROID) |
| 282 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; | 283 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; |
| 283 const char kChromeUIOfflineInternalsHost[] = "offline-internals"; | 284 const char kChromeUIOfflineInternalsHost[] = "offline-internals"; |
| 284 const char kChromeUIPhysicalWebHost[] = "physical-web"; | 285 const char kChromeUIPhysicalWebDiagnosticsHost[] = "physical-web-diagnostics"; |
| 285 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; | 286 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; |
| 286 const char kChromeUISnippetsInternalsHost[] = "snippets-internals"; | 287 const char kChromeUISnippetsInternalsHost[] = "snippets-internals"; |
| 287 #endif | 288 #endif |
| 288 | 289 |
| 289 #if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) | 290 #if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) |
| 290 const char kChromeUIVrShellUIHost[] = "vr-shell-ui"; | 291 const char kChromeUIVrShellUIHost[] = "vr-shell-ui"; |
| 291 #endif | 292 #endif |
| 292 | 293 |
| 293 #if defined(OS_CHROMEOS) | 294 #if defined(OS_CHROMEOS) |
| 294 const char kChromeUIActivationMessageHost[] = "activationmessage"; | 295 const char kChromeUIActivationMessageHost[] = "activationmessage"; |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 #endif | 811 #endif |
| 811 | 812 |
| 812 const char kChooserUsbOverviewURL[] = | 813 const char kChooserUsbOverviewURL[] = |
| 813 "https://support.google.com/chrome?p=webusb"; | 814 "https://support.google.com/chrome?p=webusb"; |
| 814 | 815 |
| 815 #if defined(OS_CHROMEOS) | 816 #if defined(OS_CHROMEOS) |
| 816 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 817 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
| 817 #endif | 818 #endif |
| 818 | 819 |
| 819 } // namespace chrome | 820 } // namespace chrome |
| OLD | NEW |