| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 #if defined(OS_WIN) | 130 #if defined(OS_WIN) |
| 131 const char kChromeUIMetroFlowURL[] = "chrome://make-metro/"; | 131 const char kChromeUIMetroFlowURL[] = "chrome://make-metro/"; |
| 132 #endif | 132 #endif |
| 133 | 133 |
| 134 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 134 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 135 const char kChromeUITabModalConfirmDialogURL[] = | 135 const char kChromeUITabModalConfirmDialogURL[] = |
| 136 "chrome://tab-modal-confirm-dialog/"; | 136 "chrome://tab-modal-confirm-dialog/"; |
| 137 #endif | 137 #endif |
| 138 | 138 |
| 139 #if !defined(OS_ANDROID) | |
| 140 const char kChromeUICopresenceURL[] = "chrome://copresence/"; | |
| 141 #endif | |
| 142 | |
| 143 #if defined(ENABLE_WEBRTC) | 139 #if defined(ENABLE_WEBRTC) |
| 144 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; | 140 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; |
| 145 #endif | 141 #endif |
| 146 | 142 |
| 147 #if defined(ENABLE_MEDIA_ROUTER) | 143 #if defined(ENABLE_MEDIA_ROUTER) |
| 148 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; | 144 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; |
| 149 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 145 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
| 150 const char kChromeUICastURL[] = "chrome://cast/"; | 146 const char kChromeUICastURL[] = "chrome://cast/"; |
| 151 #endif | 147 #endif |
| 152 #endif | 148 #endif |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 #endif // defined(OS_CHROMEOS) | 314 #endif // defined(OS_CHROMEOS) |
| 319 | 315 |
| 320 #if defined(OS_WIN) | 316 #if defined(OS_WIN) |
| 321 const char kChromeUIMetroFlowHost[] = "make-metro"; | 317 const char kChromeUIMetroFlowHost[] = "make-metro"; |
| 322 #endif | 318 #endif |
| 323 | 319 |
| 324 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 320 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
| 325 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; | 321 const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog"; |
| 326 #endif | 322 #endif |
| 327 | 323 |
| 328 #if !defined(OS_ANDROID) | |
| 329 const char kChromeUICopresenceHost[] = "copresence"; | |
| 330 #endif | |
| 331 | |
| 332 #if defined(ENABLE_WEBRTC) | 324 #if defined(ENABLE_WEBRTC) |
| 333 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; | 325 const char kChromeUIWebRtcLogsHost[] = "webrtc-logs"; |
| 334 #endif | 326 #endif |
| 335 | 327 |
| 336 #if defined(ENABLE_MEDIA_ROUTER) | 328 #if defined(ENABLE_MEDIA_ROUTER) |
| 337 const char kChromeUIMediaRouterHost[] = "media-router"; | 329 const char kChromeUIMediaRouterHost[] = "media-router"; |
| 338 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 330 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
| 339 const char kChromeUICastHost[] = "cast"; | 331 const char kChromeUICastHost[] = "cast"; |
| 340 #endif | 332 #endif |
| 341 #endif | 333 #endif |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 kChromeUIQuotaInternalsHost, | 652 kChromeUIQuotaInternalsHost, |
| 661 kChromeUISettingsHost, | 653 kChromeUISettingsHost, |
| 662 kChromeUISystemInfoHost, | 654 kChromeUISystemInfoHost, |
| 663 kChromeUIUberHost, | 655 kChromeUIUberHost, |
| 664 #endif | 656 #endif |
| 665 #if defined(OS_ANDROID) | 657 #if defined(OS_ANDROID) |
| 666 kChromeUINetExportHost, | 658 kChromeUINetExportHost, |
| 667 kChromeUIOfflineInternalsHost, | 659 kChromeUIOfflineInternalsHost, |
| 668 kChromeUIPopularSitesInternalsHost, | 660 kChromeUIPopularSitesInternalsHost, |
| 669 kChromeUISnippetsInternalsHost, | 661 kChromeUISnippetsInternalsHost, |
| 670 #else // non-mobile | |
| 671 kChromeUICopresenceHost, | |
| 672 #endif | 662 #endif |
| 673 #if defined(OS_CHROMEOS) | 663 #if defined(OS_CHROMEOS) |
| 674 kChromeUICertificateManagerHost, | 664 kChromeUICertificateManagerHost, |
| 675 kChromeUIChooseMobileNetworkHost, | 665 kChromeUIChooseMobileNetworkHost, |
| 676 kChromeUICryptohomeHost, | 666 kChromeUICryptohomeHost, |
| 677 kChromeUIDriveInternalsHost, | 667 kChromeUIDriveInternalsHost, |
| 678 kChromeUIFirstRunHost, | 668 kChromeUIFirstRunHost, |
| 679 kChromeUIKeyboardOverlayHost, | 669 kChromeUIKeyboardOverlayHost, |
| 680 kChromeUILoginHost, | 670 kChromeUILoginHost, |
| 681 kChromeUINetworkHost, | 671 kChromeUINetworkHost, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 "https://support.google.com/chrome?p=bluetooth"; | 770 "https://support.google.com/chrome?p=bluetooth"; |
| 781 | 771 |
| 782 const char kChooserUsbOverviewURL[] = | 772 const char kChooserUsbOverviewURL[] = |
| 783 "https://support.google.com/chrome?p=webusb"; | 773 "https://support.google.com/chrome?p=webusb"; |
| 784 | 774 |
| 785 #if defined(OS_CHROMEOS) | 775 #if defined(OS_CHROMEOS) |
| 786 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 776 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
| 787 #endif | 777 #endif |
| 788 | 778 |
| 789 } // namespace chrome | 779 } // namespace chrome |
| OLD | NEW |