| 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 |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/debug/asan_invalid_access.h" | 14 #include "base/debug/asan_invalid_access.h" |
| 15 #include "base/debug/profiler.h" | 15 #include "base/debug/profiler.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
| 18 #include "base/threading/thread_restrictions.h" | 18 #include "base/threading/thread_restrictions.h" |
| 19 #include "cc/base/switches.h" | 19 #include "cc/base/switches.h" |
| 20 #include "content/browser/gpu/gpu_process_host_ui_shim.h" | 20 #include "content/browser/gpu/gpu_process_host_ui_shim.h" |
| 21 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
| 22 #include "content/public/common/content_constants.h" | 22 #include "content/public/common/content_constants.h" |
| 23 #include "content/public/common/url_constants.h" | 23 #include "content/public/common/url_constants.h" |
| 24 #include "ppapi/features/features.h" | 24 #include "ppapi/features/features.h" |
| 25 #include "ppapi/proxy/ppapi_messages.h" | |
| 26 #include "third_party/kasko/kasko_features.h" | 25 #include "third_party/kasko/kasko_features.h" |
| 27 #include "url/gurl.h" | 26 #include "url/gurl.h" |
| 28 | 27 |
| 29 #if BUILDFLAG(ENABLE_PLUGINS) | 28 #if BUILDFLAG(ENABLE_PLUGINS) |
| 30 #include "content/browser/ppapi_plugin_process_host.h" | 29 #include "content/browser/ppapi_plugin_process_host.h" // nogncheck |
| 30 #include "ppapi/proxy/ppapi_messages.h" // nogncheck |
| 31 #endif | 31 #endif |
| 32 | 32 |
| 33 namespace content { | 33 namespace content { |
| 34 | 34 |
| 35 class ScopedAllowWaitForDebugURL { | 35 class ScopedAllowWaitForDebugURL { |
| 36 private: | 36 private: |
| 37 base::ThreadRestrictions::ScopedAllowWait wait; | 37 base::ThreadRestrictions::ScopedAllowWait wait; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 namespace { | 40 namespace { |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 return url == kChromeUIBadCastCrashURL || | 262 return url == kChromeUIBadCastCrashURL || |
| 263 url == kChromeUICrashURL || | 263 url == kChromeUICrashURL || |
| 264 url == kChromeUIDumpURL || | 264 url == kChromeUIDumpURL || |
| 265 url == kChromeUIKillURL || | 265 url == kChromeUIKillURL || |
| 266 url == kChromeUIHangURL || | 266 url == kChromeUIHangURL || |
| 267 url == kChromeUIShorthangURL || | 267 url == kChromeUIShorthangURL || |
| 268 url == kChromeUIMemoryExhaustURL; | 268 url == kChromeUIMemoryExhaustURL; |
| 269 } | 269 } |
| 270 | 270 |
| 271 } // namespace content | 271 } // namespace content |
| OLD | NEW |