| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 #if defined(OS_ANDROID) | 104 #if defined(OS_ANDROID) |
| 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 kChromeUINativePhysicalWebDiagnosticsURL[] = | 111 const char kChromeUINativePhysicalWebDiagnosticsURL[] = |
| 112 "chrome-native://physical-web-diagnostics/"; | 112 "chrome-native://physical-web-diagnostics/"; |
| 113 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; | 113 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; |
| 114 const char kChromeUIWebApksURL[] = "chrome://webapks/"; |
| 114 #endif | 115 #endif |
| 115 | 116 |
| 116 #if defined(OS_CHROMEOS) | 117 #if defined(OS_CHROMEOS) |
| 117 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; | 118 const char kChromeUIBluetoothPairingURL[] = "chrome://bluetooth-pairing/"; |
| 118 const char kChromeUICertificateManagerDialogURL[] = | 119 const char kChromeUICertificateManagerDialogURL[] = |
| 119 "chrome://certificate-manager/"; | 120 "chrome://certificate-manager/"; |
| 120 const char kChromeUIChooseMobileNetworkURL[] = | 121 const char kChromeUIChooseMobileNetworkURL[] = |
| 121 "chrome://choose-mobile-network/"; | 122 "chrome://choose-mobile-network/"; |
| 122 const char kChromeUIDeviceEmulatorURL[] = "chrome://device-emulator/"; | 123 const char kChromeUIDeviceEmulatorURL[] = "chrome://device-emulator/"; |
| 123 const char kChromeUIFirstRunURL[] = "chrome://first-run/"; | 124 const char kChromeUIFirstRunURL[] = "chrome://first-run/"; |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 280 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
| 280 const char kChromeUISandboxHost[] = "sandbox"; | 281 const char kChromeUISandboxHost[] = "sandbox"; |
| 281 #endif | 282 #endif |
| 282 | 283 |
| 283 #if defined(OS_ANDROID) | 284 #if defined(OS_ANDROID) |
| 284 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; | 285 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; |
| 285 const char kChromeUIOfflineInternalsHost[] = "offline-internals"; | 286 const char kChromeUIOfflineInternalsHost[] = "offline-internals"; |
| 286 const char kChromeUIPhysicalWebDiagnosticsHost[] = "physical-web-diagnostics"; | 287 const char kChromeUIPhysicalWebDiagnosticsHost[] = "physical-web-diagnostics"; |
| 287 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; | 288 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; |
| 288 const char kChromeUISnippetsInternalsHost[] = "snippets-internals"; | 289 const char kChromeUISnippetsInternalsHost[] = "snippets-internals"; |
| 290 const char kChromeUIWebApksHost[] = "webapks"; |
| 289 #endif | 291 #endif |
| 290 | 292 |
| 291 #if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) | 293 #if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) |
| 292 const char kChromeUIVrShellUIHost[] = "vr-shell-ui"; | 294 const char kChromeUIVrShellUIHost[] = "vr-shell-ui"; |
| 293 #endif | 295 #endif |
| 294 | 296 |
| 295 #if defined(OS_CHROMEOS) | 297 #if defined(OS_CHROMEOS) |
| 296 const char kChromeUIActivationMessageHost[] = "activationmessage"; | 298 const char kChromeUIActivationMessageHost[] = "activationmessage"; |
| 297 const char kChromeUIAppLaunchHost[] = "app-launch"; | 299 const char kChromeUIAppLaunchHost[] = "app-launch"; |
| 298 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; | 300 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 kChromeUIInspectHost, | 684 kChromeUIInspectHost, |
| 683 kChromeUISettingsHost, | 685 kChromeUISettingsHost, |
| 684 kChromeUISystemInfoHost, | 686 kChromeUISystemInfoHost, |
| 685 kChromeUIUberHost, | 687 kChromeUIUberHost, |
| 686 #endif | 688 #endif |
| 687 #if defined(OS_ANDROID) | 689 #if defined(OS_ANDROID) |
| 688 kChromeUINetExportHost, | 690 kChromeUINetExportHost, |
| 689 kChromeUIOfflineInternalsHost, | 691 kChromeUIOfflineInternalsHost, |
| 690 kChromeUIPopularSitesInternalsHost, | 692 kChromeUIPopularSitesInternalsHost, |
| 691 kChromeUISnippetsInternalsHost, | 693 kChromeUISnippetsInternalsHost, |
| 694 kChromeUIWebApksHost, |
| 692 #endif | 695 #endif |
| 693 #if defined(OS_CHROMEOS) | 696 #if defined(OS_CHROMEOS) |
| 694 kChromeUICertificateManagerHost, | 697 kChromeUICertificateManagerHost, |
| 695 kChromeUIChooseMobileNetworkHost, | 698 kChromeUIChooseMobileNetworkHost, |
| 696 kChromeUICryptohomeHost, | 699 kChromeUICryptohomeHost, |
| 697 kChromeUIDriveInternalsHost, | 700 kChromeUIDriveInternalsHost, |
| 698 kChromeUIFirstRunHost, | 701 kChromeUIFirstRunHost, |
| 699 kChromeUIKeyboardOverlayHost, | 702 kChromeUIKeyboardOverlayHost, |
| 700 kChromeUILoginHost, | 703 kChromeUILoginHost, |
| 701 kChromeUINetworkHost, | 704 kChromeUINetworkHost, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 #endif | 813 #endif |
| 811 | 814 |
| 812 const char kChooserUsbOverviewURL[] = | 815 const char kChooserUsbOverviewURL[] = |
| 813 "https://support.google.com/chrome?p=webusb"; | 816 "https://support.google.com/chrome?p=webusb"; |
| 814 | 817 |
| 815 #if defined(OS_CHROMEOS) | 818 #if defined(OS_CHROMEOS) |
| 816 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 819 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
| 817 #endif | 820 #endif |
| 818 | 821 |
| 819 } // namespace chrome | 822 } // namespace chrome |
| OLD | NEW |