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

Side by Side Diff: content/browser/frame_host/debug_urls.cc

Issue 2697423002: Add test for CHECK exit code behavior. (Closed)
Patch Set: rejig comments Created 3 years, 10 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 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 return false; 205 return false;
206 } 206 }
207 207
208 bool IsRendererDebugURL(const GURL& url) { 208 bool IsRendererDebugURL(const GURL& url) {
209 if (!url.is_valid()) 209 if (!url.is_valid())
210 return false; 210 return false;
211 211
212 if (url.SchemeIs(url::kJavaScriptScheme)) 212 if (url.SchemeIs(url::kJavaScriptScheme))
213 return true; 213 return true;
214 214
215 return url == kChromeUIBadCastCrashURL || 215 return url == kChromeUICheckCrashURL ||
216 url == kChromeUIBadCastCrashURL ||
216 url == kChromeUICrashURL || 217 url == kChromeUICrashURL ||
217 url == kChromeUIDumpURL || 218 url == kChromeUIDumpURL ||
218 url == kChromeUIKillURL || 219 url == kChromeUIKillURL ||
219 url == kChromeUIHangURL || 220 url == kChromeUIHangURL ||
220 url == kChromeUIShorthangURL || 221 url == kChromeUIShorthangURL ||
221 url == kChromeUIMemoryExhaustURL; 222 url == kChromeUIMemoryExhaustURL;
222 } 223 }
223 224
224 } // namespace content 225 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_service_browsertest.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698