| 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/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 #endif | 140 #endif |
| 141 | 141 |
| 142 #if defined(ENABLE_WEBRTC) | 142 #if defined(ENABLE_WEBRTC) |
| 143 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; | 143 const char kChromeUIWebRtcLogsURL[] = "chrome://webrtc-logs/"; |
| 144 #endif | 144 #endif |
| 145 | 145 |
| 146 #if defined(ENABLE_MEDIA_ROUTER) | 146 #if defined(ENABLE_MEDIA_ROUTER) |
| 147 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; | 147 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; |
| 148 #endif | 148 #endif |
| 149 | 149 |
| 150 #if defined(OS_WIN) || defined(OS_CHROMEOS) | 150 #if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_LINUX) |
| 151 const char kChromeUIDiscardsHost[] = "discards"; | 151 const char kChromeUIDiscardsHost[] = "discards"; |
| 152 const char kChromeUIDiscardsURL[] = "chrome://discards/"; | 152 const char kChromeUIDiscardsURL[] = "chrome://discards/"; |
| 153 #endif | 153 #endif |
| 154 | 154 |
| 155 // Add Chrome UI hosts here, in alphabetical order. | 155 // Add Chrome UI hosts here, in alphabetical order. |
| 156 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 156 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
| 157 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 157 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
| 158 const char kChromeUIAboutHost[] = "about"; | 158 const char kChromeUIAboutHost[] = "about"; |
| 159 const char kChromeUIBlankHost[] = "blank"; | 159 const char kChromeUIBlankHost[] = "blank"; |
| 160 const char kChromeUIAppLauncherPageHost[] = "apps"; | 160 const char kChromeUIAppLauncherPageHost[] = "apps"; |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 kChromeUIFirstRunHost, | 646 kChromeUIFirstRunHost, |
| 647 kChromeUIImageBurnerHost, | 647 kChromeUIImageBurnerHost, |
| 648 kChromeUIKeyboardOverlayHost, | 648 kChromeUIKeyboardOverlayHost, |
| 649 kChromeUILoginHost, | 649 kChromeUILoginHost, |
| 650 kChromeUINetworkHost, | 650 kChromeUINetworkHost, |
| 651 kChromeUIOobeHost, | 651 kChromeUIOobeHost, |
| 652 kChromeUIOSCreditsHost, | 652 kChromeUIOSCreditsHost, |
| 653 kChromeUIPowerHost, | 653 kChromeUIPowerHost, |
| 654 kChromeUIProxySettingsHost, | 654 kChromeUIProxySettingsHost, |
| 655 #endif | 655 #endif |
| 656 #if defined(OS_WIN) || defined(OS_CHROMEOS) | 656 #if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_LINUX) |
| 657 kChromeUIDiscardsHost, | 657 kChromeUIDiscardsHost, |
| 658 #endif | 658 #endif |
| 659 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 659 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
| 660 kChromeUILinuxProxyConfigHost, | 660 kChromeUILinuxProxyConfigHost, |
| 661 kChromeUISandboxHost, | 661 kChromeUISandboxHost, |
| 662 #endif | 662 #endif |
| 663 #if defined(OS_WIN) | 663 #if defined(OS_WIN) |
| 664 kChromeUIConflictsHost, | 664 kChromeUIConflictsHost, |
| 665 #endif | 665 #endif |
| 666 #if !defined(DISABLE_NACL) | 666 #if !defined(DISABLE_NACL) |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; | 732 "https://support.google.com/chrome/?p=ui_mac_32bit_support"; |
| 733 #else | 733 #else |
| 734 ""; | 734 ""; |
| 735 #endif | 735 #endif |
| 736 #endif | 736 #endif |
| 737 | 737 |
| 738 const char kEasyUnlockLearnMoreUrl[] = | 738 const char kEasyUnlockLearnMoreUrl[] = |
| 739 "https://support.google.com/chromebook/?p=smart_lock"; | 739 "https://support.google.com/chromebook/?p=smart_lock"; |
| 740 | 740 |
| 741 } // namespace chrome | 741 } // namespace chrome |
| OLD | NEW |