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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
558 "https://support.google.com/chrome/?p=ib_google_now_welcome"; | 558 "https://support.google.com/chrome/?p=ib_google_now_welcome"; |
559 | 559 |
560 // Add hosts here to be included in chrome://chrome-urls (about:about). | 560 // Add hosts here to be included in chrome://chrome-urls (about:about). |
561 // These hosts will also be suggested by BuiltinProvider. | 561 // These hosts will also be suggested by BuiltinProvider. |
562 const char* const kChromeHostURLs[] = { | 562 const char* const kChromeHostURLs[] = { |
563 kChromeUICacheHost, | 563 kChromeUICacheHost, |
564 kChromeUIChromeURLsHost, | 564 kChromeUIChromeURLsHost, |
565 kChromeUIComponentsHost, | 565 kChromeUIComponentsHost, |
566 kChromeUICrashesHost, | 566 kChromeUICrashesHost, |
567 kChromeUICreditsHost, | 567 kChromeUICreditsHost, |
568 #if defined(ENABLE_SERVICE_DISCOVERY) | |
569 kChromeUIDevicesHost, | |
570 #endif | |
571 kChromeUIDNSHost, | 568 kChromeUIDNSHost, |
572 kChromeUIFlagsHost, | 569 kChromeUIFlagsHost, |
573 kChromeUIGCMInternalsHost, | |
574 kChromeUIHelpHost, | |
575 kChromeUIHistoryHost, | 570 kChromeUIHistoryHost, |
576 kChromeUIInvalidationsHost, | 571 kChromeUIInvalidationsHost, |
577 kChromeUIIPCHost, | |
578 kChromeUIMemoryHost, | 572 kChromeUIMemoryHost, |
579 kChromeUIMemoryInternalsHost, | 573 kChromeUIMemoryInternalsHost, |
580 #if defined(OS_ANDROID) || defined(OS_IOS) | |
581 kChromeUINetExportHost, | |
582 #endif | |
583 kChromeUINetInternalsHost, | 574 kChromeUINetInternalsHost, |
584 kChromeUINewTabHost, | 575 kChromeUINewTabHost, |
585 kChromeUIOmniboxHost, | 576 kChromeUIOmniboxHost, |
586 kChromeUIPredictorsHost, | 577 kChromeUIPredictorsHost, |
587 kChromeUIProfilerHost, | 578 kChromeUIProfilerHost, |
588 kChromeUIQuotaInternalsHost, | |
589 kChromeUISignInInternalsHost, | 579 kChromeUISignInInternalsHost, |
590 kChromeUIStatsHost, | 580 kChromeUIStatsHost, |
591 kChromeUISyncInternalsHost, | 581 kChromeUISyncInternalsHost, |
592 kChromeUISystemInfoHost, | |
593 kChromeUITermsHost, | 582 kChromeUITermsHost, |
594 kChromeUITranslateInternalsHost, | 583 kChromeUITranslateInternalsHost, |
595 kChromeUIUberHost, | |
596 kChromeUIUserActionsHost, | 584 kChromeUIUserActionsHost, |
597 kChromeUIVersionHost, | 585 kChromeUIVersionHost, |
586 content::kChromeUIAccessibilityHost, | |
587 content::kChromeUIAppCacheInternalsHost, | |
588 content::kChromeUIBlobInternalsHost, | |
589 content::kChromeUIGpuHost, | |
590 content::kChromeUIHistogramHost, | |
591 content::kChromeUIIndexedDBInternalsHost, | |
592 content::kChromeUIMediaInternalsHost, | |
593 content::kChromeUINetworkViewCacheHost, | |
594 content::kChromeUIServiceWorkerInternalsHost, | |
595 content::kChromeUITracingHost, | |
596 content::kChromeUIWebRTCInternalsHost, | |
597 #if defined(OS_ANDROID) || defined(OS_IOS) | |
Peter Kasting
2014/05/15 23:02:18
Tiny nit: Maybe alphabetical order of OS names?
O
Maria
2014/05/16 00:20:50
Done.
| |
598 kChromeUINetExportHost, | |
599 #endif | |
598 #if defined(OS_ANDROID) | 600 #if defined(OS_ANDROID) |
599 kChromeUIWelcomeHost, | 601 kChromeUIWelcomeHost, |
600 #else | 602 #else |
601 kChromeUIAppLauncherPageHost, | 603 kChromeUIAppLauncherPageHost, |
602 kChromeUIBookmarksHost, | 604 kChromeUIBookmarksHost, |
603 kChromeUIDownloadsHost, | 605 kChromeUIDownloadsHost, |
604 kChromeUIFlashHost, | 606 kChromeUIFlashHost, |
607 kChromeUIGCMInternalsHost, | |
608 kChromeUIHelpHost, | |
605 kChromeUIInspectHost, | 609 kChromeUIInspectHost, |
610 kChromeUIIPCHost, | |
606 kChromeUIPluginsHost, | 611 kChromeUIPluginsHost, |
612 kChromeUIQuotaInternalsHost, | |
607 kChromeUISettingsHost, | 613 kChromeUISettingsHost, |
614 kChromeUISystemInfoHost, | |
615 kChromeUIUberHost, | |
608 #endif | 616 #endif |
609 #if defined(OS_WIN) | 617 #if defined(OS_WIN) |
610 kChromeUIConflictsHost, | 618 kChromeUIConflictsHost, |
611 #endif | 619 #endif |
612 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 620 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
613 kChromeUILinuxProxyConfigHost, | 621 kChromeUILinuxProxyConfigHost, |
614 kChromeUISandboxHost, | 622 kChromeUISandboxHost, |
615 #endif | 623 #endif |
616 #if defined(OS_CHROMEOS) | 624 #if defined(OS_CHROMEOS) |
617 kChromeUICertificateManagerHost, | 625 kChromeUICertificateManagerHost, |
(...skipping 17 matching lines...) Expand all Loading... | |
635 #endif | 643 #endif |
636 #if defined(ENABLE_CONFIGURATION_POLICY) | 644 #if defined(ENABLE_CONFIGURATION_POLICY) |
637 kChromeUIPolicyHost, | 645 kChromeUIPolicyHost, |
638 #endif | 646 #endif |
639 #if defined(ENABLE_EXTENSIONS) | 647 #if defined(ENABLE_EXTENSIONS) |
640 kChromeUIExtensionsHost, | 648 kChromeUIExtensionsHost, |
641 #endif | 649 #endif |
642 #if defined(ENABLE_FULL_PRINTING) | 650 #if defined(ENABLE_FULL_PRINTING) |
643 kChromeUIPrintHost, | 651 kChromeUIPrintHost, |
644 #endif | 652 #endif |
645 content::kChromeUIAccessibilityHost, | 653 #if defined(ENABLE_SERVICE_DISCOVERY) |
646 content::kChromeUIAppCacheInternalsHost, | 654 kChromeUIDevicesHost, |
647 content::kChromeUIBlobInternalsHost, | 655 #endif |
648 content::kChromeUIGpuHost, | |
649 content::kChromeUIHistogramHost, | |
650 content::kChromeUIIndexedDBInternalsHost, | |
651 content::kChromeUIMediaInternalsHost, | |
652 content::kChromeUINetworkViewCacheHost, | |
653 content::kChromeUIServiceWorkerInternalsHost, | |
654 content::kChromeUITracingHost, | |
655 content::kChromeUIWebRTCInternalsHost, | |
656 #if defined(ENABLE_WEBRTC) | 656 #if defined(ENABLE_WEBRTC) |
657 kChromeUIWebRtcLogsHost, | 657 kChromeUIWebRtcLogsHost, |
658 #endif | 658 #endif |
659 }; | 659 }; |
660 const size_t kNumberOfChromeHostURLs = arraysize(kChromeHostURLs); | 660 const size_t kNumberOfChromeHostURLs = arraysize(kChromeHostURLs); |
661 | 661 |
662 const char* const kChromeDebugURLs[] = { | 662 const char* const kChromeDebugURLs[] = { |
663 content::kChromeUICrashURL, | 663 content::kChromeUICrashURL, |
664 content::kChromeUIKillURL, | 664 content::kChromeUIKillURL, |
665 content::kChromeUIHangURL, | 665 content::kChromeUIHangURL, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
710 ""; | 710 ""; |
711 #endif | 711 #endif |
712 #endif | 712 #endif |
713 | 713 |
714 // TODO(tengs): Replace with real URL when ready. | 714 // TODO(tengs): Replace with real URL when ready. |
715 const char kEasyUnlockLearnMoreUrl[] = | 715 const char kEasyUnlockLearnMoreUrl[] = |
716 "https://support.google.com/chromebook/?p=easy_unlock"; | 716 "https://support.google.com/chromebook/?p=easy_unlock"; |
717 const char kEasyUnlockManagementUrl[] = "https://chrome.com"; | 717 const char kEasyUnlockManagementUrl[] = "https://chrome.com"; |
718 | 718 |
719 } // namespace chrome | 719 } // namespace chrome |
OLD | NEW |