| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 262 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
| 263 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 263 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
| 264 const char kChromeUISandboxHost[] = "sandbox"; | 264 const char kChromeUISandboxHost[] = "sandbox"; |
| 265 #endif | 265 #endif |
| 266 | 266 |
| 267 #if defined(OS_ANDROID) | 267 #if defined(OS_ANDROID) |
| 268 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; | 268 const char kChromeUIContextualSearchPromoHost[] = "contextual-search-promo"; |
| 269 const char kChromeUIPhysicalWebHost[] = "physical-web"; | 269 const char kChromeUIPhysicalWebHost[] = "physical-web"; |
| 270 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; | 270 const char kChromeUIPopularSitesInternalsHost[] = "popular-sites-internals"; |
| 271 const char kChromeUISnippetsInternalsHost[] = "snippets-internals"; |
| 271 #endif | 272 #endif |
| 272 | 273 |
| 273 #if defined(OS_CHROMEOS) | 274 #if defined(OS_CHROMEOS) |
| 274 const char kChromeUIActivationMessageHost[] = "activationmessage"; | 275 const char kChromeUIActivationMessageHost[] = "activationmessage"; |
| 275 const char kChromeUIAppLaunchHost[] = "app-launch"; | 276 const char kChromeUIAppLaunchHost[] = "app-launch"; |
| 276 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; | 277 const char kChromeUIBluetoothPairingHost[] = "bluetooth-pairing"; |
| 277 const char kChromeUICertificateManagerHost[] = "certificate-manager"; | 278 const char kChromeUICertificateManagerHost[] = "certificate-manager"; |
| 278 const char kChromeUIChooseMobileNetworkHost[] = "choose-mobile-network"; | 279 const char kChromeUIChooseMobileNetworkHost[] = "choose-mobile-network"; |
| 279 const char kChromeUICryptohomeHost[] = "cryptohome"; | 280 const char kChromeUICryptohomeHost[] = "cryptohome"; |
| 280 const char kChromeUIDeviceEmulatorHost[] = "device-emulator"; | 281 const char kChromeUIDeviceEmulatorHost[] = "device-emulator"; |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 kChromeUIInspectHost, | 649 kChromeUIInspectHost, |
| 649 kChromeUIPluginsHost, | 650 kChromeUIPluginsHost, |
| 650 kChromeUIQuotaInternalsHost, | 651 kChromeUIQuotaInternalsHost, |
| 651 kChromeUISettingsHost, | 652 kChromeUISettingsHost, |
| 652 kChromeUISystemInfoHost, | 653 kChromeUISystemInfoHost, |
| 653 kChromeUIUberHost, | 654 kChromeUIUberHost, |
| 654 #endif | 655 #endif |
| 655 #if defined(OS_ANDROID) | 656 #if defined(OS_ANDROID) |
| 656 kChromeUINetExportHost, | 657 kChromeUINetExportHost, |
| 657 kChromeUIPopularSitesInternalsHost, | 658 kChromeUIPopularSitesInternalsHost, |
| 659 kChromeUISnippetsInternalsHost, |
| 658 #else // non-mobile | 660 #else // non-mobile |
| 659 kChromeUICopresenceHost, | 661 kChromeUICopresenceHost, |
| 660 #endif | 662 #endif |
| 661 #if defined(OS_CHROMEOS) | 663 #if defined(OS_CHROMEOS) |
| 662 kChromeUICertificateManagerHost, | 664 kChromeUICertificateManagerHost, |
| 663 kChromeUIChooseMobileNetworkHost, | 665 kChromeUIChooseMobileNetworkHost, |
| 664 kChromeUICryptohomeHost, | 666 kChromeUICryptohomeHost, |
| 665 kChromeUIDriveInternalsHost, | 667 kChromeUIDriveInternalsHost, |
| 666 kChromeUIFirstRunHost, | 668 kChromeUIFirstRunHost, |
| 667 kChromeUIKeyboardOverlayHost, | 669 kChromeUIKeyboardOverlayHost, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 "https://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html
"; | 766 "https://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html
"; |
| 765 #endif | 767 #endif |
| 766 | 768 |
| 767 const char kChooserBluetoothOverviewURL[] = | 769 const char kChooserBluetoothOverviewURL[] = |
| 768 "https://support.google.com/chrome?p=bluetooth"; | 770 "https://support.google.com/chrome?p=bluetooth"; |
| 769 | 771 |
| 770 const char kChooserUsbOverviewURL[] = | 772 const char kChooserUsbOverviewURL[] = |
| 771 "https://support.google.com/chrome?p=webusb"; | 773 "https://support.google.com/chrome?p=webusb"; |
| 772 | 774 |
| 773 } // namespace chrome | 775 } // namespace chrome |
| OLD | NEW |