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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 const char kChromeUITermsURL[] = "chrome://terms/"; | 95 const char kChromeUITermsURL[] = "chrome://terms/"; |
96 const char kChromeUIThemeURL[] = "chrome://theme/"; | 96 const char kChromeUIThemeURL[] = "chrome://theme/"; |
97 const char kChromeUIThumbnailURL[] = "chrome://thumb/"; | 97 const char kChromeUIThumbnailURL[] = "chrome://thumb/"; |
98 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/"; | 98 const char kChromeUIThumbnailListURL[] = "chrome://thumbnails/"; |
99 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/"; | 99 const char kChromeUIUberFrameURL[] = "chrome://uber-frame/"; |
100 const char kChromeUIUserActionsURL[] = "chrome://user-actions/"; | 100 const char kChromeUIUserActionsURL[] = "chrome://user-actions/"; |
101 const char kChromeUIVersionURL[] = "chrome://version/"; | 101 const char kChromeUIVersionURL[] = "chrome://version/"; |
102 const char kChromeUIWelcomeURL[] = "chrome://welcome/"; | 102 const char kChromeUIWelcomeURL[] = "chrome://welcome/"; |
103 const char kChromeUIWelcomeWin10URL[] = "chrome://welcome-win10/"; | 103 const char kChromeUIWelcomeWin10URL[] = "chrome://welcome-win10/"; |
104 | 104 |
105 #if BUILDFLAG(ANDROID_JAVA_UI) | 105 #if defined(OS_ANDROID) |
106 const char kChromeUIContextualSearchPromoURL[] = | 106 const char kChromeUIContextualSearchPromoURL[] = |
107 "chrome://contextual-search-promo"; | 107 "chrome://contextual-search-promo"; |
108 const char kChromeUIJavaCrashURL[] = "chrome://java-crash/"; | 108 const char kChromeUIJavaCrashURL[] = "chrome://java-crash/"; |
109 const char kChromeUINativeScheme[] = "chrome-native"; | 109 const char kChromeUINativeScheme[] = "chrome-native"; |
110 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; | 110 const char kChromeUINativeNewTabURL[] = "chrome-native://newtab/"; |
111 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/"; | 111 const char kChromeUINativeBookmarksURL[] = "chrome-native://bookmarks/"; |
112 const char kChromeUINativePhysicalWebDiagnosticsURL[] = | 112 const char kChromeUINativePhysicalWebDiagnosticsURL[] = |
113 "chrome-native://physical-web-diagnostics/"; | 113 "chrome-native://physical-web-diagnostics/"; |
114 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; | 114 const char kChromeUINativeRecentTabsURL[] = "chrome-native://recent-tabs/"; |
115 #endif | 115 #endif |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 content::kChromeUIDumpURL, | 741 content::kChromeUIDumpURL, |
742 content::kChromeUIKillURL, | 742 content::kChromeUIKillURL, |
743 content::kChromeUIHangURL, | 743 content::kChromeUIHangURL, |
744 content::kChromeUIShorthangURL, | 744 content::kChromeUIShorthangURL, |
745 content::kChromeUIGpuCleanURL, | 745 content::kChromeUIGpuCleanURL, |
746 content::kChromeUIGpuCrashURL, | 746 content::kChromeUIGpuCrashURL, |
747 content::kChromeUIGpuHangURL, | 747 content::kChromeUIGpuHangURL, |
748 content::kChromeUIMemoryExhaustURL, | 748 content::kChromeUIMemoryExhaustURL, |
749 content::kChromeUIPpapiFlashCrashURL, | 749 content::kChromeUIPpapiFlashCrashURL, |
750 content::kChromeUIPpapiFlashHangURL, | 750 content::kChromeUIPpapiFlashHangURL, |
751 #if BUILDFLAG(ANDROID_JAVA_UI) | 751 #if defined(OS_ANDROID) |
752 chrome::kChromeUIJavaCrashURL, | 752 chrome::kChromeUIJavaCrashURL, |
753 #endif | 753 #endif |
754 chrome::kChromeUIQuitURL, | 754 chrome::kChromeUIQuitURL, |
755 chrome::kChromeUIRestartURL}; | 755 chrome::kChromeUIRestartURL}; |
756 const int kNumberOfChromeDebugURLs = | 756 const int kNumberOfChromeDebugURLs = |
757 static_cast<int>(arraysize(kChromeDebugURLs)); | 757 static_cast<int>(arraysize(kChromeDebugURLs)); |
758 | 758 |
759 const char kChromeNativeScheme[] = "chrome-native"; | 759 const char kChromeNativeScheme[] = "chrome-native"; |
760 | 760 |
761 const char kChromeSearchScheme[] = "chrome-search"; | 761 const char kChromeSearchScheme[] = "chrome-search"; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 #endif | 812 #endif |
813 | 813 |
814 const char kChooserUsbOverviewURL[] = | 814 const char kChooserUsbOverviewURL[] = |
815 "https://support.google.com/chrome?p=webusb"; | 815 "https://support.google.com/chrome?p=webusb"; |
816 | 816 |
817 #if defined(OS_CHROMEOS) | 817 #if defined(OS_CHROMEOS) |
818 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 818 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
819 #endif | 819 #endif |
820 | 820 |
821 } // namespace chrome | 821 } // namespace chrome |
OLD | NEW |