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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 const char kChromeUIIdentityInternalsHost[] = "identity-internals"; | 204 const char kChromeUIIdentityInternalsHost[] = "identity-internals"; |
205 const char kChromeUIInspectHost[] = "inspect"; | 205 const char kChromeUIInspectHost[] = "inspect"; |
206 const char kChromeUIInstantHost[] = "instant"; | 206 const char kChromeUIInstantHost[] = "instant"; |
207 const char kChromeUIInterstitialHost[] = "interstitials"; | 207 const char kChromeUIInterstitialHost[] = "interstitials"; |
208 const char kChromeUIInvalidationsHost[] = "invalidations"; | 208 const char kChromeUIInvalidationsHost[] = "invalidations"; |
209 const char kChromeUIKillHost[] = "kill"; | 209 const char kChromeUIKillHost[] = "kill"; |
210 const char kChromeUILargeIconHost[] = "large-icon"; | 210 const char kChromeUILargeIconHost[] = "large-icon"; |
211 const char kChromeUILocalStateHost[] = "local-state"; | 211 const char kChromeUILocalStateHost[] = "local-state"; |
212 const char kChromeUIMdPolicyHost[] = "md-policy"; | 212 const char kChromeUIMdPolicyHost[] = "md-policy"; |
213 const char kChromeUIMdSettingsHost[] = "md-settings"; | 213 const char kChromeUIMdSettingsHost[] = "md-settings"; |
| 214 const char kChromeUIMemoryExhaustHost[] = "memory-exhaust"; |
214 const char kChromeUINaClHost[] = "nacl"; | 215 const char kChromeUINaClHost[] = "nacl"; |
215 const char kChromeUINetExportHost[] = "net-export"; | 216 const char kChromeUINetExportHost[] = "net-export"; |
216 const char kChromeUINetInternalsHost[] = "net-internals"; | 217 const char kChromeUINetInternalsHost[] = "net-internals"; |
217 const char kChromeUINewTabHost[] = "newtab"; | 218 const char kChromeUINewTabHost[] = "newtab"; |
218 const char kChromeUIOmniboxHost[] = "omnibox"; | 219 const char kChromeUIOmniboxHost[] = "omnibox"; |
219 const char kChromeUIPasswordManagerInternalsHost[] = | 220 const char kChromeUIPasswordManagerInternalsHost[] = |
220 "password-manager-internals"; | 221 "password-manager-internals"; |
221 const char kChromeUIPluginsHost[] = "plugins"; | 222 const char kChromeUIPluginsHost[] = "plugins"; |
222 const char kChromeUIComponentsHost[] = "components"; | 223 const char kChromeUIComponentsHost[] = "components"; |
223 const char kChromeUIPolicyHost[] = "policy"; | 224 const char kChromeUIPolicyHost[] = "policy"; |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 const char* const kChromeDebugURLs[] = { | 717 const char* const kChromeDebugURLs[] = { |
717 content::kChromeUIBadCastCrashURL, | 718 content::kChromeUIBadCastCrashURL, |
718 content::kChromeUICrashURL, | 719 content::kChromeUICrashURL, |
719 content::kChromeUIDumpURL, | 720 content::kChromeUIDumpURL, |
720 content::kChromeUIKillURL, | 721 content::kChromeUIKillURL, |
721 content::kChromeUIHangURL, | 722 content::kChromeUIHangURL, |
722 content::kChromeUIShorthangURL, | 723 content::kChromeUIShorthangURL, |
723 content::kChromeUIGpuCleanURL, | 724 content::kChromeUIGpuCleanURL, |
724 content::kChromeUIGpuCrashURL, | 725 content::kChromeUIGpuCrashURL, |
725 content::kChromeUIGpuHangURL, | 726 content::kChromeUIGpuHangURL, |
| 727 content::kChromeUIMemoryExhaustURL, |
726 content::kChromeUIPpapiFlashCrashURL, | 728 content::kChromeUIPpapiFlashCrashURL, |
727 content::kChromeUIPpapiFlashHangURL, | 729 content::kChromeUIPpapiFlashHangURL, |
728 chrome::kChromeUIQuitURL, | 730 chrome::kChromeUIQuitURL, |
729 chrome::kChromeUIRestartURL | 731 chrome::kChromeUIRestartURL |
730 }; | 732 }; |
731 const int kNumberOfChromeDebugURLs = | 733 const int kNumberOfChromeDebugURLs = |
732 static_cast<int>(arraysize(kChromeDebugURLs)); | 734 static_cast<int>(arraysize(kChromeDebugURLs)); |
733 | 735 |
734 const char kChromeNativeScheme[] = "chrome-native"; | 736 const char kChromeNativeScheme[] = "chrome-native"; |
735 | 737 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 "https://support.google.com/chrome?p=bluetooth"; | 782 "https://support.google.com/chrome?p=bluetooth"; |
781 | 783 |
782 const char kChooserUsbOverviewURL[] = | 784 const char kChooserUsbOverviewURL[] = |
783 "https://support.google.com/chrome?p=webusb"; | 785 "https://support.google.com/chrome?p=webusb"; |
784 | 786 |
785 #if defined(OS_CHROMEOS) | 787 #if defined(OS_CHROMEOS) |
786 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; | 788 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; |
787 #endif | 789 #endif |
788 | 790 |
789 } // namespace chrome | 791 } // namespace chrome |
OLD | NEW |