| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 return false; | 219 return false; |
| 220 } | 220 } |
| 221 | 221 |
| 222 bool IsRendererDebugURL(const GURL& url) { | 222 bool IsRendererDebugURL(const GURL& url) { |
| 223 if (!url.is_valid()) | 223 if (!url.is_valid()) |
| 224 return false; | 224 return false; |
| 225 | 225 |
| 226 if (url.SchemeIs(url::kJavaScriptScheme)) | 226 if (url.SchemeIs(url::kJavaScriptScheme)) |
| 227 return true; | 227 return true; |
| 228 | 228 |
| 229 return url == GURL(kChromeUICrashURL) || | 229 return url == GURL(kChromeUIBadCastCrashURL) || |
| 230 url == GURL(kChromeUICrashURL) || |
| 230 url == GURL(kChromeUIDumpURL) || | 231 url == GURL(kChromeUIDumpURL) || |
| 231 url == GURL(kChromeUIKillURL) || | 232 url == GURL(kChromeUIKillURL) || |
| 232 url == GURL(kChromeUIHangURL) || | 233 url == GURL(kChromeUIHangURL) || |
| 233 url == GURL(kChromeUIShorthangURL); | 234 url == GURL(kChromeUIShorthangURL); |
| 234 } | 235 } |
| 235 | 236 |
| 236 } // namespace content | 237 } // namespace content |
| OLD | NEW |