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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 148 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
149 const char kChromeUICastURL[] = "chrome://cast/"; | 149 const char kChromeUICastURL[] = "chrome://cast/"; |
150 #endif | 150 #endif |
151 #endif | 151 #endif |
152 | 152 |
153 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 153 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
154 const char kChromeUIDiscardsHost[] = "discards"; | 154 const char kChromeUIDiscardsHost[] = "discards"; |
155 const char kChromeUIDiscardsURL[] = "chrome://discards/"; | 155 const char kChromeUIDiscardsURL[] = "chrome://discards/"; |
156 #endif | 156 #endif |
157 | 157 |
158 // Add Chrome UI hosts here, in alphabetical order. | 158 // Add Chrome UI hosts here, in alphabetical order. |
159 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 159 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
160 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 160 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
161 const char kChromeUIAboutHost[] = "about"; | 161 const char kChromeUIAboutHost[] = "about"; |
162 const char kChromeUIBlankHost[] = "blank"; | 162 const char kChromeUIBlankHost[] = "blank"; |
163 const char kChromeUIAppLauncherPageHost[] = "apps"; | 163 const char kChromeUIAppLauncherPageHost[] = "apps"; |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 #endif | 794 #endif |
795 | 795 |
796 const char kChooserUsbOverviewURL[] = | 796 const char kChooserUsbOverviewURL[] = |
797 "https://support.google.com/chrome?p=webusb"; | 797 "https://support.google.com/chrome?p=webusb"; |
798 | 798 |
799 #if defined(OS_CHROMEOS) | 799 #if defined(OS_CHROMEOS) |
800 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 800 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
801 #endif | 801 #endif |
802 | 802 |
803 } // namespace chrome | 803 } // namespace chrome |
OLD | NEW |