| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 53 #include "content/child/appcache/appcache_dispatcher.h" | 53 #include "content/child/appcache/appcache_dispatcher.h" | 
| 54 #include "content/child/appcache/appcache_frontend_impl.h" | 54 #include "content/child/appcache/appcache_frontend_impl.h" | 
| 55 #include "content/child/blob_storage/blob_message_filter.h" | 55 #include "content/child/blob_storage/blob_message_filter.h" | 
| 56 #include "content/child/child_gpu_memory_buffer_manager.h" | 56 #include "content/child/child_gpu_memory_buffer_manager.h" | 
| 57 #include "content/child/child_histogram_message_filter.h" | 57 #include "content/child/child_histogram_message_filter.h" | 
| 58 #include "content/child/child_resource_message_filter.h" | 58 #include "content/child/child_resource_message_filter.h" | 
| 59 #include "content/child/child_shared_bitmap_manager.h" | 59 #include "content/child/child_shared_bitmap_manager.h" | 
| 60 #include "content/child/content_child_helpers.h" | 60 #include "content/child/content_child_helpers.h" | 
| 61 #include "content/child/db_message_filter.h" | 61 #include "content/child/db_message_filter.h" | 
| 62 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 62 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 
| 63 #include "content/child/indexed_db/indexed_db_message_filter.h" |  | 
| 64 #include "content/child/memory/child_memory_coordinator_impl.h" | 63 #include "content/child/memory/child_memory_coordinator_impl.h" | 
| 65 #include "content/child/resource_dispatcher.h" | 64 #include "content/child/resource_dispatcher.h" | 
| 66 #include "content/child/resource_scheduling_filter.h" | 65 #include "content/child/resource_scheduling_filter.h" | 
| 67 #include "content/child/runtime_features.h" | 66 #include "content/child/runtime_features.h" | 
| 68 #include "content/child/thread_safe_sender.h" | 67 #include "content/child/thread_safe_sender.h" | 
| 69 #include "content/child/web_database_observer_impl.h" | 68 #include "content/child/web_database_observer_impl.h" | 
| 70 #include "content/child/worker_thread_registry.h" | 69 #include "content/child/worker_thread_registry.h" | 
| 71 #include "content/common/child_process_messages.h" | 70 #include "content/common/child_process_messages.h" | 
| 72 #include "content/common/content_constants_internal.h" | 71 #include "content/common/content_constants_internal.h" | 
| 73 #include "content/common/dom_storage/dom_storage_messages.h" | 72 #include "content/common/dom_storage/dom_storage_messages.h" | 
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 712 | 711 | 
| 713   audio_input_message_filter_ = new AudioInputMessageFilter(GetIOTaskRunner()); | 712   audio_input_message_filter_ = new AudioInputMessageFilter(GetIOTaskRunner()); | 
| 714   AddFilter(audio_input_message_filter_.get()); | 713   AddFilter(audio_input_message_filter_.get()); | 
| 715 | 714 | 
| 716   audio_message_filter_ = new AudioMessageFilter(GetIOTaskRunner()); | 715   audio_message_filter_ = new AudioMessageFilter(GetIOTaskRunner()); | 
| 717   AddFilter(audio_message_filter_.get()); | 716   AddFilter(audio_message_filter_.get()); | 
| 718 | 717 | 
| 719   midi_message_filter_ = new MidiMessageFilter(GetIOTaskRunner()); | 718   midi_message_filter_ = new MidiMessageFilter(GetIOTaskRunner()); | 
| 720   AddFilter(midi_message_filter_.get()); | 719   AddFilter(midi_message_filter_.get()); | 
| 721 | 720 | 
| 722   AddFilter((new IndexedDBMessageFilter(thread_safe_sender()))->GetFilter()); |  | 
| 723 |  | 
| 724   AddFilter((new CacheStorageMessageFilter(thread_safe_sender()))->GetFilter()); | 721   AddFilter((new CacheStorageMessageFilter(thread_safe_sender()))->GetFilter()); | 
| 725 | 722 | 
| 726   AddFilter((new ServiceWorkerContextMessageFilter())->GetFilter()); | 723   AddFilter((new ServiceWorkerContextMessageFilter())->GetFilter()); | 
| 727 | 724 | 
| 728 #if defined(USE_AURA) | 725 #if defined(USE_AURA) | 
| 729   if (base::CommandLine::ForCurrentProcess()->HasSwitch( | 726   if (base::CommandLine::ForCurrentProcess()->HasSwitch( | 
| 730           switches::kUseMusInRenderer)) { | 727           switches::kUseMusInRenderer)) { | 
| 731     CreateRenderWidgetWindowTreeClientFactory(GetServiceManagerConnection()); | 728     CreateRenderWidgetWindowTreeClientFactory(GetServiceManagerConnection()); | 
| 732   } | 729   } | 
| 733 #endif | 730 #endif | 
| (...skipping 1751 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2485   } | 2482   } | 
| 2486 } | 2483 } | 
| 2487 | 2484 | 
| 2488 void RenderThreadImpl::OnRendererInterfaceRequest( | 2485 void RenderThreadImpl::OnRendererInterfaceRequest( | 
| 2489     mojom::RendererAssociatedRequest request) { | 2486     mojom::RendererAssociatedRequest request) { | 
| 2490   DCHECK(!renderer_binding_.is_bound()); | 2487   DCHECK(!renderer_binding_.is_bound()); | 
| 2491   renderer_binding_.Bind(std::move(request)); | 2488   renderer_binding_.Bind(std::move(request)); | 
| 2492 } | 2489 } | 
| 2493 | 2490 | 
| 2494 }  // namespace content | 2491 }  // namespace content | 
| OLD | NEW | 
|---|