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 <vector> | 10 #include <vector> |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "base/strings/sys_string_conversions.h" | 25 #include "base/strings/sys_string_conversions.h" |
26 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
27 #include "base/threading/simple_thread.h" | 27 #include "base/threading/simple_thread.h" |
28 #include "base/threading/thread_local.h" | 28 #include "base/threading/thread_local.h" |
29 #include "base/threading/thread_restrictions.h" | 29 #include "base/threading/thread_restrictions.h" |
30 #include "base/trace_event/trace_event.h" | 30 #include "base/trace_event/trace_event.h" |
31 #include "base/values.h" | 31 #include "base/values.h" |
32 #include "cc/base/switches.h" | 32 #include "cc/base/switches.h" |
33 #include "cc/blink/web_external_bitmap_impl.h" | 33 #include "cc/blink/web_external_bitmap_impl.h" |
34 #include "cc/blink/web_layer_impl.h" | 34 #include "cc/blink/web_layer_impl.h" |
35 #include "cc/resources/tile_task_worker_pool.h" | 35 #include "cc/raster/task_graph_runner.h" |
36 #include "components/scheduler/renderer/renderer_scheduler.h" | 36 #include "components/scheduler/renderer/renderer_scheduler.h" |
37 #include "content/child/appcache/appcache_dispatcher.h" | 37 #include "content/child/appcache/appcache_dispatcher.h" |
38 #include "content/child/appcache/appcache_frontend_impl.h" | 38 #include "content/child/appcache/appcache_frontend_impl.h" |
39 #include "content/child/child_discardable_shared_memory_manager.h" | 39 #include "content/child/child_discardable_shared_memory_manager.h" |
40 #include "content/child/child_gpu_memory_buffer_manager.h" | 40 #include "content/child/child_gpu_memory_buffer_manager.h" |
41 #include "content/child/child_histogram_message_filter.h" | 41 #include "content/child/child_histogram_message_filter.h" |
42 #include "content/child/child_resource_message_filter.h" | 42 #include "content/child/child_resource_message_filter.h" |
43 #include "content/child/child_shared_bitmap_manager.h" | 43 #include "content/child/child_shared_bitmap_manager.h" |
44 #include "content/child/content_child_helpers.h" | 44 #include "content/child/content_child_helpers.h" |
45 #include "content/child/db_message_filter.h" | 45 #include "content/child/db_message_filter.h" |
(...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1885 } | 1885 } |
1886 | 1886 |
1887 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() { | 1887 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() { |
1888 size_t erased = | 1888 size_t erased = |
1889 RenderThreadImpl::current()->pending_render_frame_connects_.erase( | 1889 RenderThreadImpl::current()->pending_render_frame_connects_.erase( |
1890 routing_id_); | 1890 routing_id_); |
1891 DCHECK_EQ(1u, erased); | 1891 DCHECK_EQ(1u, erased); |
1892 } | 1892 } |
1893 | 1893 |
1894 } // namespace content | 1894 } // namespace content |
OLD | NEW |