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 30 matching lines...) Expand all Loading... |
41 #include "content/common/view_messages.h" | 41 #include "content/common/view_messages.h" |
42 #include "content/common/web_database_observer_impl.h" | 42 #include "content/common/web_database_observer_impl.h" |
43 #include "content/public/common/content_constants.h" | 43 #include "content/public/common/content_constants.h" |
44 #include "content/public/common/content_paths.h" | 44 #include "content/public/common/content_paths.h" |
45 #include "content/public/common/content_switches.h" | 45 #include "content/public/common/content_switches.h" |
46 #include "content/public/common/renderer_preferences.h" | 46 #include "content/public/common/renderer_preferences.h" |
47 #include "content/public/common/url_constants.h" | 47 #include "content/public/common/url_constants.h" |
48 #include "content/public/renderer/content_renderer_client.h" | 48 #include "content/public/renderer/content_renderer_client.h" |
49 #include "content/public/renderer/render_process_observer.h" | 49 #include "content/public/renderer/render_process_observer.h" |
50 #include "content/public/renderer/render_view_visitor.h" | 50 #include "content/public/renderer/render_view_visitor.h" |
51 #include "content/renderer/devtools_agent_filter.h" | 51 #include "content/renderer/devtools/devtools_agent_filter.h" |
52 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" | 52 #include "content/renderer/dom_storage/dom_storage_dispatcher.h" |
53 #include "content/renderer/dom_storage/webstoragearea_impl.h" | 53 #include "content/renderer/dom_storage/webstoragearea_impl.h" |
54 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" | 54 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" |
55 #include "content/renderer/gpu/compositor_thread.h" | 55 #include "content/renderer/gpu/compositor_thread.h" |
56 #include "content/renderer/gpu/compositor_output_surface.h" | 56 #include "content/renderer/gpu/compositor_output_surface.h" |
57 #include "content/renderer/gpu/gpu_benchmarking_extension.h" | 57 #include "content/renderer/gpu/gpu_benchmarking_extension.h" |
58 #include "content/renderer/media/audio_hardware.h" | 58 #include "content/renderer/media/audio_hardware.h" |
59 #include "content/renderer/media/audio_input_message_filter.h" | 59 #include "content/renderer/media/audio_input_message_filter.h" |
60 #include "content/renderer/media/audio_message_filter.h" | 60 #include "content/renderer/media/audio_message_filter.h" |
61 #include "content/renderer/media/audio_renderer_mixer_manager.h" | 61 #include "content/renderer/media/audio_renderer_mixer_manager.h" |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1143 RenderThreadImpl::GetFileThreadMessageLoopProxy() { | 1143 RenderThreadImpl::GetFileThreadMessageLoopProxy() { |
1144 DCHECK(message_loop() == MessageLoop::current()); | 1144 DCHECK(message_loop() == MessageLoop::current()); |
1145 if (!file_thread_.get()) { | 1145 if (!file_thread_.get()) { |
1146 file_thread_.reset(new base::Thread("Renderer::FILE")); | 1146 file_thread_.reset(new base::Thread("Renderer::FILE")); |
1147 file_thread_->Start(); | 1147 file_thread_->Start(); |
1148 } | 1148 } |
1149 return file_thread_->message_loop_proxy(); | 1149 return file_thread_->message_loop_proxy(); |
1150 } | 1150 } |
1151 | 1151 |
1152 } // namespace content | 1152 } // namespace content |
OLD | NEW |