Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: chrome/common/url_constants.cc

Issue 2130293003: Change OOMs to raise custom exception rather than breakpoint on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use VLOG instead of printf Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 const char kChromeUIIdentityInternalsHost[] = "identity-internals"; 200 const char kChromeUIIdentityInternalsHost[] = "identity-internals";
201 const char kChromeUIInspectHost[] = "inspect"; 201 const char kChromeUIInspectHost[] = "inspect";
202 const char kChromeUIInstantHost[] = "instant"; 202 const char kChromeUIInstantHost[] = "instant";
203 const char kChromeUIInterstitialHost[] = "interstitials"; 203 const char kChromeUIInterstitialHost[] = "interstitials";
204 const char kChromeUIInvalidationsHost[] = "invalidations"; 204 const char kChromeUIInvalidationsHost[] = "invalidations";
205 const char kChromeUIKillHost[] = "kill"; 205 const char kChromeUIKillHost[] = "kill";
206 const char kChromeUILargeIconHost[] = "large-icon"; 206 const char kChromeUILargeIconHost[] = "large-icon";
207 const char kChromeUILocalStateHost[] = "local-state"; 207 const char kChromeUILocalStateHost[] = "local-state";
208 const char kChromeUIMdPolicyHost[] = "md-policy"; 208 const char kChromeUIMdPolicyHost[] = "md-policy";
209 const char kChromeUIMdSettingsHost[] = "md-settings"; 209 const char kChromeUIMdSettingsHost[] = "md-settings";
210 const char kChromeUIMemoryExhaustHost[] = "memory-exhaust";
210 const char kChromeUINaClHost[] = "nacl"; 211 const char kChromeUINaClHost[] = "nacl";
211 const char kChromeUINetExportHost[] = "net-export"; 212 const char kChromeUINetExportHost[] = "net-export";
212 const char kChromeUINetInternalsHost[] = "net-internals"; 213 const char kChromeUINetInternalsHost[] = "net-internals";
213 const char kChromeUINewTabHost[] = "newtab"; 214 const char kChromeUINewTabHost[] = "newtab";
214 const char kChromeUIOmniboxHost[] = "omnibox"; 215 const char kChromeUIOmniboxHost[] = "omnibox";
215 const char kChromeUIPasswordManagerInternalsHost[] = 216 const char kChromeUIPasswordManagerInternalsHost[] =
216 "password-manager-internals"; 217 "password-manager-internals";
217 const char kChromeUIPluginsHost[] = "plugins"; 218 const char kChromeUIPluginsHost[] = "plugins";
218 const char kChromeUIComponentsHost[] = "components"; 219 const char kChromeUIComponentsHost[] = "components";
219 const char kChromeUIPolicyHost[] = "policy"; 220 const char kChromeUIPolicyHost[] = "policy";
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 const char* const kChromeDebugURLs[] = { 707 const char* const kChromeDebugURLs[] = {
707 content::kChromeUIBadCastCrashURL, 708 content::kChromeUIBadCastCrashURL,
708 content::kChromeUICrashURL, 709 content::kChromeUICrashURL,
709 content::kChromeUIDumpURL, 710 content::kChromeUIDumpURL,
710 content::kChromeUIKillURL, 711 content::kChromeUIKillURL,
711 content::kChromeUIHangURL, 712 content::kChromeUIHangURL,
712 content::kChromeUIShorthangURL, 713 content::kChromeUIShorthangURL,
713 content::kChromeUIGpuCleanURL, 714 content::kChromeUIGpuCleanURL,
714 content::kChromeUIGpuCrashURL, 715 content::kChromeUIGpuCrashURL,
715 content::kChromeUIGpuHangURL, 716 content::kChromeUIGpuHangURL,
717 content::kChromeUIMemoryExhaustURL,
716 content::kChromeUIPpapiFlashCrashURL, 718 content::kChromeUIPpapiFlashCrashURL,
717 content::kChromeUIPpapiFlashHangURL, 719 content::kChromeUIPpapiFlashHangURL,
718 chrome::kChromeUIQuitURL, 720 chrome::kChromeUIQuitURL,
719 chrome::kChromeUIRestartURL 721 chrome::kChromeUIRestartURL
720 }; 722 };
721 const int kNumberOfChromeDebugURLs = 723 const int kNumberOfChromeDebugURLs =
722 static_cast<int>(arraysize(kChromeDebugURLs)); 724 static_cast<int>(arraysize(kChromeDebugURLs));
723 725
724 const char kChromeNativeScheme[] = "chrome-native"; 726 const char kChromeNativeScheme[] = "chrome-native";
725 727
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 "https://support.google.com/chrome?p=bluetooth"; 772 "https://support.google.com/chrome?p=bluetooth";
771 773
772 const char kChooserUsbOverviewURL[] = 774 const char kChooserUsbOverviewURL[] =
773 "https://support.google.com/chrome?p=webusb"; 775 "https://support.google.com/chrome?p=webusb";
774 776
775 #if defined(OS_CHROMEOS) 777 #if defined(OS_CHROMEOS)
776 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; 778 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/";
777 #endif 779 #endif
778 780
779 } // namespace chrome 781 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698