| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 286 |
| 287 // In single process the single process is all there is. | 287 // In single process the single process is all there is. |
| 288 suspend_webkit_shared_timer_ = true; | 288 suspend_webkit_shared_timer_ = true; |
| 289 notify_webkit_of_modal_loop_ = true; | 289 notify_webkit_of_modal_loop_ = true; |
| 290 widget_count_ = 0; | 290 widget_count_ = 0; |
| 291 hidden_widget_count_ = 0; | 291 hidden_widget_count_ = 0; |
| 292 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; | 292 idle_notification_delay_in_ms_ = kInitialIdleHandlerDelayMs; |
| 293 idle_notifications_to_skip_ = 0; | 293 idle_notifications_to_skip_ = 0; |
| 294 compositor_initialized_ = false; | 294 compositor_initialized_ = false; |
| 295 | 295 |
| 296 appcache_dispatcher_.reset(new AppCacheDispatcher(Get())); | 296 appcache_dispatcher_.reset(new content::AppCacheDispatcher(Get())); |
| 297 dom_storage_dispatcher_.reset(new DomStorageDispatcher()); | 297 dom_storage_dispatcher_.reset(new DomStorageDispatcher()); |
| 298 main_thread_indexed_db_dispatcher_.reset(new IndexedDBDispatcher()); | 298 main_thread_indexed_db_dispatcher_.reset(new content::IndexedDBDispatcher()); |
| 299 | 299 |
| 300 browser_plugin_registry_.reset(new old::BrowserPluginRegistry()); | 300 browser_plugin_registry_.reset(new old::BrowserPluginRegistry()); |
| 301 browser_plugin_channel_manager_.reset( | 301 browser_plugin_channel_manager_.reset( |
| 302 new old::BrowserPluginChannelManager()); | 302 new old::BrowserPluginChannelManager()); |
| 303 AddObserver(browser_plugin_channel_manager_.get()); | 303 AddObserver(browser_plugin_channel_manager_.get()); |
| 304 | 304 |
| 305 media_stream_center_ = NULL; | 305 media_stream_center_ = NULL; |
| 306 | 306 |
| 307 db_message_filter_ = new DBMessageFilter(); | 307 db_message_filter_ = new DBMessageFilter(); |
| 308 AddFilter(db_message_filter_.get()); | 308 AddFilter(db_message_filter_.get()); |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1149 RenderThreadImpl::GetFileThreadMessageLoopProxy() { | 1149 RenderThreadImpl::GetFileThreadMessageLoopProxy() { |
| 1150 DCHECK(message_loop() == MessageLoop::current()); | 1150 DCHECK(message_loop() == MessageLoop::current()); |
| 1151 if (!file_thread_.get()) { | 1151 if (!file_thread_.get()) { |
| 1152 file_thread_.reset(new base::Thread("Renderer::FILE")); | 1152 file_thread_.reset(new base::Thread("Renderer::FILE")); |
| 1153 file_thread_->Start(); | 1153 file_thread_->Start(); |
| 1154 } | 1154 } |
| 1155 return file_thread_->message_loop_proxy(); | 1155 return file_thread_->message_loop_proxy(); |
| 1156 } | 1156 } |
| 1157 | 1157 |
| 1158 } // namespace content | 1158 } // namespace content |
| OLD | NEW |