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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
154 #endif | 154 #endif |
155 | 155 |
156 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; | 156 const char kChromeUIMediaRouterURL[] = "chrome://media-router/"; |
157 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 157 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
158 const char kChromeUICastURL[] = "chrome://cast/"; | 158 const char kChromeUICastURL[] = "chrome://cast/"; |
159 #endif | 159 #endif |
160 | 160 |
161 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 161 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
162 const char kChromeUIDiscardsHost[] = "discards"; | 162 const char kChromeUIDiscardsHost[] = "discards"; |
163 const char kChromeUIDiscardsURL[] = "chrome://discards/"; | 163 const char kChromeUIDiscardsURL[] = "chrome://discards/"; |
164 const char kChromeUISigninDiceInternalsHost[] = "signin-dice-internals"; | |
Bernhard Bauer
2017/06/16 14:16:08
I think hosts go in the block below (and kChromeUI
msarda
2017/06/20 10:16:44
Done.
| |
164 #endif | 165 #endif |
165 | 166 |
166 // Add Chrome UI hosts here, in alphabetical order. | 167 // Add Chrome UI hosts here, in alphabetical order. |
167 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 168 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
168 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 169 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
169 const char kChromeUIAboutHost[] = "about"; | 170 const char kChromeUIAboutHost[] = "about"; |
170 const char kChromeUIBlankHost[] = "blank"; | 171 const char kChromeUIBlankHost[] = "blank"; |
171 const char kChromeUIAppLauncherPageHost[] = "apps"; | 172 const char kChromeUIAppLauncherPageHost[] = "apps"; |
172 const char kChromeUIAppListStartPageHost[] = "app-list"; | 173 const char kChromeUIAppListStartPageHost[] = "app-list"; |
173 const char kChromeUIBluetoothInternalsHost[] = "bluetooth-internals"; | 174 const char kChromeUIBluetoothInternalsHost[] = "bluetooth-internals"; |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
829 #endif | 830 #endif |
830 | 831 |
831 const char kChooserUsbOverviewURL[] = | 832 const char kChooserUsbOverviewURL[] = |
832 "https://support.google.com/chrome?p=webusb"; | 833 "https://support.google.com/chrome?p=webusb"; |
833 | 834 |
834 #if defined(OS_CHROMEOS) | 835 #if defined(OS_CHROMEOS) |
835 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 836 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
836 #endif | 837 #endif |
837 | 838 |
838 } // namespace chrome | 839 } // namespace chrome |
OLD | NEW |