OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "content/browser/background_sync/background_sync_service_impl.h" | 51 #include "content/browser/background_sync/background_sync_service_impl.h" |
52 #include "content/browser/bad_message.h" | 52 #include "content/browser/bad_message.h" |
53 #include "content/browser/blob_storage/blob_dispatcher_host.h" | 53 #include "content/browser/blob_storage/blob_dispatcher_host.h" |
54 #include "content/browser/blob_storage/chrome_blob_storage_context.h" | 54 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
55 #include "content/browser/browser_child_process_host_impl.h" | 55 #include "content/browser/browser_child_process_host_impl.h" |
56 #include "content/browser/browser_main.h" | 56 #include "content/browser/browser_main.h" |
57 #include "content/browser/browser_main_loop.h" | 57 #include "content/browser/browser_main_loop.h" |
58 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" | 58 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" |
59 #include "content/browser/cache_storage/cache_storage_context_impl.h" | 59 #include "content/browser/cache_storage/cache_storage_context_impl.h" |
60 #include "content/browser/cache_storage/cache_storage_dispatcher_host.h" | 60 #include "content/browser/cache_storage/cache_storage_dispatcher_host.h" |
61 #include "content/browser/child_process_security_policy_impl.h" | |
62 #include "content/browser/device_sensors/device_light_message_filter.h" | 61 #include "content/browser/device_sensors/device_light_message_filter.h" |
63 #include "content/browser/device_sensors/device_motion_message_filter.h" | 62 #include "content/browser/device_sensors/device_motion_message_filter.h" |
64 #include "content/browser/device_sensors/device_orientation_absolute_message_fil
ter.h" | 63 #include "content/browser/device_sensors/device_orientation_absolute_message_fil
ter.h" |
65 #include "content/browser/device_sensors/device_orientation_message_filter.h" | 64 #include "content/browser/device_sensors/device_orientation_message_filter.h" |
66 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 65 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
67 #include "content/browser/dom_storage/dom_storage_message_filter.h" | 66 #include "content/browser/dom_storage/dom_storage_message_filter.h" |
68 #include "content/browser/fileapi/fileapi_message_filter.h" | 67 #include "content/browser/fileapi/fileapi_message_filter.h" |
69 #include "content/browser/frame_host/render_frame_message_filter.h" | 68 #include "content/browser/frame_host/render_frame_message_filter.h" |
70 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" | 69 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" |
71 #include "content/browser/gpu/compositor_util.h" | 70 #include "content/browser/gpu/compositor_util.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 #include "content/browser/renderer_host/render_message_filter.h" | 107 #include "content/browser/renderer_host/render_message_filter.h" |
109 #include "content/browser/renderer_host/render_view_host_delegate.h" | 108 #include "content/browser/renderer_host/render_view_host_delegate.h" |
110 #include "content/browser/renderer_host/render_view_host_impl.h" | 109 #include "content/browser/renderer_host/render_view_host_impl.h" |
111 #include "content/browser/renderer_host/render_widget_helper.h" | 110 #include "content/browser/renderer_host/render_widget_helper.h" |
112 #include "content/browser/renderer_host/render_widget_host_impl.h" | 111 #include "content/browser/renderer_host/render_widget_host_impl.h" |
113 #include "content/browser/renderer_host/text_input_client_message_filter.h" | 112 #include "content/browser/renderer_host/text_input_client_message_filter.h" |
114 #include "content/browser/renderer_host/websocket_dispatcher_host.h" | 113 #include "content/browser/renderer_host/websocket_dispatcher_host.h" |
115 #include "content/browser/resolve_proxy_msg_helper.h" | 114 #include "content/browser/resolve_proxy_msg_helper.h" |
116 #include "content/browser/service_worker/service_worker_context_wrapper.h" | 115 #include "content/browser/service_worker/service_worker_context_wrapper.h" |
117 #include "content/browser/service_worker/service_worker_dispatcher_host.h" | 116 #include "content/browser/service_worker/service_worker_dispatcher_host.h" |
| 117 #include "content/browser/shared/child_process_security_policy_helper.h" |
118 #include "content/browser/shared_worker/shared_worker_message_filter.h" | 118 #include "content/browser/shared_worker/shared_worker_message_filter.h" |
119 #include "content/browser/shared_worker/worker_storage_partition.h" | 119 #include "content/browser/shared_worker/worker_storage_partition.h" |
120 #include "content/browser/speech/speech_recognition_dispatcher_host.h" | 120 #include "content/browser/speech/speech_recognition_dispatcher_host.h" |
121 #include "content/browser/storage_partition_impl.h" | 121 #include "content/browser/storage_partition_impl.h" |
122 #include "content/browser/streams/stream_context.h" | 122 #include "content/browser/streams/stream_context.h" |
123 #include "content/browser/tracing/trace_message_filter.h" | 123 #include "content/browser/tracing/trace_message_filter.h" |
124 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 124 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
125 #include "content/common/child_process_host_impl.h" | 125 #include "content/common/child_process_host_impl.h" |
126 #include "content/common/child_process_messages.h" | 126 #include "content/common/child_process_messages.h" |
127 #include "content/common/content_switches_internal.h" | 127 #include "content/common/content_switches_internal.h" |
(...skipping 2693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2821 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2821 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
2822 | 2822 |
2823 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2823 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
2824 // enough information here so that we can determine what the bad message was. | 2824 // enough information here so that we can determine what the bad message was. |
2825 base::debug::Alias(&error); | 2825 base::debug::Alias(&error); |
2826 bad_message::ReceivedBadMessage(process.get(), | 2826 bad_message::ReceivedBadMessage(process.get(), |
2827 bad_message::RPH_MOJO_PROCESS_ERROR); | 2827 bad_message::RPH_MOJO_PROCESS_ERROR); |
2828 } | 2828 } |
2829 | 2829 |
2830 } // namespace content | 2830 } // namespace content |
OLD | NEW |