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