| 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 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 kChromeUINativeHistoryURL[] = "chrome-native://history/"; | 111 const char kChromeUINativeHistoryURL[] = "chrome-native://history/"; |
| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 281 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
| 281 const char kChromeUISandboxHost[] = "sandbox"; | 282 const char kChromeUISandboxHost[] = "sandbox"; |
| 282 #endif | 283 #endif |
| 283 | 284 |
| 284 #if defined(OS_ANDROID) | 285 #if defined(OS_ANDROID) |
| 285 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; | 286 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; |
| 286 const char kChromeUIOfflineInternalsHost[] = "offline-internals"; | 287 const char kChromeUIOfflineInternalsHost[] = "offline-internals"; |
| 287 const char kChromeUIPhysicalWebDiagnosticsHost[] = "physical-web-diagnostics"; | 288 const char kChromeUIPhysicalWebDiagnosticsHost[] = "physical-web-diagnostics"; |
| 288 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; | 289 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; |
| 289 const char kChromeUISnippetsInternalsHost[] = "snippets-internals"; | 290 const char kChromeUISnippetsInternalsHost[] = "snippets-internals"; |
| 291 const char kChromeUIWebApksHost[] = "webapks"; |
| 290 #endif | 292 #endif |
| 291 | 293 |
| 292 #if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) | 294 #if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR) |
| 293 const char kChromeUIVrShellUIHost[] = "vr-shell-ui"; | 295 const char kChromeUIVrShellUIHost[] = "vr-shell-ui"; |
| 294 #endif | 296 #endif |
| 295 | 297 |
| 296 #if defined(OS_CHROMEOS) | 298 #if defined(OS_CHROMEOS) |
| 297 const char kChromeUIActivationMessageHost[] = "activationmessage"; | 299 const char kChromeUIActivationMessageHost[] = "activationmessage"; |
| 298 const char kChromeUIAppLaunchHost[] = "app-launch"; | 300 const char kChromeUIAppLaunchHost[] = "app-launch"; |
| 299 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; | 301 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 kChromeUIQuotaInternalsHost, | 685 kChromeUIQuotaInternalsHost, |
| 684 kChromeUISettingsHost, | 686 kChromeUISettingsHost, |
| 685 kChromeUISystemInfoHost, | 687 kChromeUISystemInfoHost, |
| 686 kChromeUIUberHost, | 688 kChromeUIUberHost, |
| 687 #endif | 689 #endif |
| 688 #if defined(OS_ANDROID) | 690 #if defined(OS_ANDROID) |
| 689 kChromeUINetExportHost, | 691 kChromeUINetExportHost, |
| 690 kChromeUIOfflineInternalsHost, | 692 kChromeUIOfflineInternalsHost, |
| 691 kChromeUIPopularSitesInternalsHost, | 693 kChromeUIPopularSitesInternalsHost, |
| 692 kChromeUISnippetsInternalsHost, | 694 kChromeUISnippetsInternalsHost, |
| 695 kChromeUIWebApksHost, |
| 693 #endif | 696 #endif |
| 694 #if defined(OS_CHROMEOS) | 697 #if defined(OS_CHROMEOS) |
| 695 kChromeUICertificateManagerHost, | 698 kChromeUICertificateManagerHost, |
| 696 kChromeUIChooseMobileNetworkHost, | 699 kChromeUIChooseMobileNetworkHost, |
| 697 kChromeUICryptohomeHost, | 700 kChromeUICryptohomeHost, |
| 698 kChromeUIDriveInternalsHost, | 701 kChromeUIDriveInternalsHost, |
| 699 kChromeUIFirstRunHost, | 702 kChromeUIFirstRunHost, |
| 700 kChromeUIKeyboardOverlayHost, | 703 kChromeUIKeyboardOverlayHost, |
| 701 kChromeUILoginHost, | 704 kChromeUILoginHost, |
| 702 kChromeUINetworkHost, | 705 kChromeUINetworkHost, |
| (...skipping 107 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 |