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 // Contains constants for known URLs and portions thereof. | 5 // Contains constants for known URLs and portions thereof. |
6 | 6 |
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
8 #define CHROME_COMMON_URL_CONSTANTS_H_ | 8 #define CHROME_COMMON_URL_CONSTANTS_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "chrome/common/features.h" | 16 #include "chrome/common/features.h" |
| 17 #include "components/signin/core/common/signin_features.h" |
17 #include "content/public/common/url_constants.h" | 18 #include "content/public/common/url_constants.h" |
18 #include "media/media_features.h" | 19 #include "media/media_features.h" |
19 #include "ppapi/features/features.h" | 20 #include "ppapi/features/features.h" |
20 #include "printing/features/features.h" | 21 #include "printing/features/features.h" |
21 | 22 |
22 namespace chrome { | 23 namespace chrome { |
23 | 24 |
24 // chrome: URLs (including schemes). Should be kept in sync with the | 25 // chrome: URLs (including schemes). Should be kept in sync with the |
25 // components below. | 26 // components below. |
26 extern const char kChromeUIAboutURL[]; | 27 extern const char kChromeUIAboutURL[]; |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 extern const char kChromeUIUserActionsHost[]; | 251 extern const char kChromeUIUserActionsHost[]; |
251 extern const char kChromeUIVersionHost[]; | 252 extern const char kChromeUIVersionHost[]; |
252 extern const char kChromeUIWelcomeHost[]; | 253 extern const char kChromeUIWelcomeHost[]; |
253 extern const char kChromeUIWelcomeWin10Host[]; | 254 extern const char kChromeUIWelcomeWin10Host[]; |
254 extern const char kChromeUIWorkersHost[]; | 255 extern const char kChromeUIWorkersHost[]; |
255 | 256 |
256 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 257 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
257 extern const char kChromeUIPrintHost[]; | 258 extern const char kChromeUIPrintHost[]; |
258 #endif // ENABLE_PRINT_PREVIEW | 259 #endif // ENABLE_PRINT_PREVIEW |
259 | 260 |
| 261 #if BUILDFLAG(ENABLE_DICE_SUPPORT) |
| 262 extern const char kChromeUISigninDiceInternalsHost[]; |
| 263 #endif |
| 264 |
260 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 265 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
261 extern const char kChromeUISigninDiceInternalsHost[]; | |
262 extern const char kChromeUIDiscardsHost[]; | 266 extern const char kChromeUIDiscardsHost[]; |
263 #endif | 267 #endif |
264 | 268 |
265 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 269 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
266 extern const char kChromeUILinuxProxyConfigHost[]; | 270 extern const char kChromeUILinuxProxyConfigHost[]; |
267 #endif | 271 #endif |
268 | 272 |
269 #if defined(OS_LINUX) || defined(OS_ANDROID) | 273 #if defined(OS_LINUX) || defined(OS_ANDROID) |
270 extern const char kChromeUISandboxHost[]; | 274 extern const char kChromeUISandboxHost[]; |
271 #endif | 275 #endif |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 extern const char kChooserUsbOverviewURL[]; | 633 extern const char kChooserUsbOverviewURL[]; |
630 | 634 |
631 #if defined(OS_CHROMEOS) | 635 #if defined(OS_CHROMEOS) |
632 // The URL for EOL notification | 636 // The URL for EOL notification |
633 extern const char kEolNotificationURL[]; | 637 extern const char kEolNotificationURL[]; |
634 #endif | 638 #endif |
635 | 639 |
636 } // namespace chrome | 640 } // namespace chrome |
637 | 641 |
638 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 642 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |