OLD | NEW |
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 Loading... |
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 |
OLD | NEW |