| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 #include "content/child/thread_safe_sender.h" | 68 #include "content/child/thread_safe_sender.h" |
| 69 #include "content/child/web_database_observer_impl.h" | 69 #include "content/child/web_database_observer_impl.h" |
| 70 #include "content/child/worker_thread_registry.h" | 70 #include "content/child/worker_thread_registry.h" |
| 71 #include "content/common/child_process_messages.h" | 71 #include "content/common/child_process_messages.h" |
| 72 #include "content/common/content_constants_internal.h" | 72 #include "content/common/content_constants_internal.h" |
| 73 #include "content/common/database_messages.h" | 73 #include "content/common/database_messages.h" |
| 74 #include "content/common/dom_storage/dom_storage_messages.h" | 74 #include "content/common/dom_storage/dom_storage_messages.h" |
| 75 #include "content/common/frame_messages.h" | 75 #include "content/common/frame_messages.h" |
| 76 #include "content/common/gpu/client/context_provider_command_buffer.h" | 76 #include "content/common/gpu/client/context_provider_command_buffer.h" |
| 77 #include "content/common/gpu/client/gpu_channel_host.h" | 77 #include "content/common/gpu/client/gpu_channel_host.h" |
| 78 #include "content/common/gpu/gpu_messages.h" | 78 #include "content/common/gpu/gpu_browser_messages.h" |
| 79 #include "content/common/gpu/gpu_process_launch_causes.h" | 79 #include "content/common/gpu/gpu_process_launch_causes.h" |
| 80 #include "content/common/render_frame_setup.mojom.h" | 80 #include "content/common/render_frame_setup.mojom.h" |
| 81 #include "content/common/render_process_messages.h" | 81 #include "content/common/render_process_messages.h" |
| 82 #include "content/common/resource_messages.h" | 82 #include "content/common/resource_messages.h" |
| 83 #include "content/common/service_worker/embedded_worker_setup.mojom.h" | 83 #include "content/common/service_worker/embedded_worker_setup.mojom.h" |
| 84 #include "content/common/view_messages.h" | 84 #include "content/common/view_messages.h" |
| 85 #include "content/common/worker_messages.h" | 85 #include "content/common/worker_messages.h" |
| 86 #include "content/public/common/content_constants.h" | 86 #include "content/public/common/content_constants.h" |
| 87 #include "content/public/common/content_paths.h" | 87 #include "content/public/common/content_paths.h" |
| 88 #include "content/public/common/content_switches.h" | 88 #include "content/public/common/content_switches.h" |
| (...skipping 2082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2171 } | 2171 } |
| 2172 | 2172 |
| 2173 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() { | 2173 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() { |
| 2174 size_t erased = | 2174 size_t erased = |
| 2175 RenderThreadImpl::current()->pending_render_frame_connects_.erase( | 2175 RenderThreadImpl::current()->pending_render_frame_connects_.erase( |
| 2176 routing_id_); | 2176 routing_id_); |
| 2177 DCHECK_EQ(1u, erased); | 2177 DCHECK_EQ(1u, erased); |
| 2178 } | 2178 } |
| 2179 | 2179 |
| 2180 } // namespace content | 2180 } // namespace content |
| OLD | NEW |