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

Side by Side Diff: content/browser/frame_host/debug_urls.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: comments 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
« no previous file with comments | « chrome/common/url_constants.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/browser/frame_host/debug_urls.h" 5 #include "content/browser/frame_host/debug_urls.h"
6 6
7 #if defined(SYZYASAN) 7 #if defined(SYZYASAN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 return false; 254 return false;
255 255
256 if (url.SchemeIs(url::kJavaScriptScheme)) 256 if (url.SchemeIs(url::kJavaScriptScheme))
257 return true; 257 return true;
258 258
259 return url == GURL(kChromeUIBadCastCrashURL) || 259 return url == GURL(kChromeUIBadCastCrashURL) ||
260 url == GURL(kChromeUICrashURL) || 260 url == GURL(kChromeUICrashURL) ||
261 url == GURL(kChromeUIDumpURL) || 261 url == GURL(kChromeUIDumpURL) ||
262 url == GURL(kChromeUIKillURL) || 262 url == GURL(kChromeUIKillURL) ||
263 url == GURL(kChromeUIHangURL) || 263 url == GURL(kChromeUIHangURL) ||
264 url == GURL(kChromeUIShorthangURL); 264 url == GURL(kChromeUIShorthangURL) ||
265 url == GURL(kChromeUIMemoryExhaustURL);
265 } 266 }
266 267
267 } // namespace content 268 } // namespace content
OLDNEW
« no previous file with comments | « chrome/common/url_constants.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698