| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 #include "content/browser/speech/speech_recognition_dispatcher_host.h" | 128 #include "content/browser/speech/speech_recognition_dispatcher_host.h" |
| 129 #include "content/browser/storage_partition_impl.h" | 129 #include "content/browser/storage_partition_impl.h" |
| 130 #include "content/browser/streams/stream_context.h" | 130 #include "content/browser/streams/stream_context.h" |
| 131 #include "content/browser/tracing/trace_message_filter.h" | 131 #include "content/browser/tracing/trace_message_filter.h" |
| 132 #include "content/browser/websockets/websocket_manager.h" | 132 #include "content/browser/websockets/websocket_manager.h" |
| 133 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 133 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
| 134 #include "content/common/child_process_host_impl.h" | 134 #include "content/common/child_process_host_impl.h" |
| 135 #include "content/common/child_process_messages.h" | 135 #include "content/common/child_process_messages.h" |
| 136 #include "content/common/content_switches_internal.h" | 136 #include "content/common/content_switches_internal.h" |
| 137 #include "content/common/frame_messages.h" | 137 #include "content/common/frame_messages.h" |
| 138 #include "content/common/gpu_host_messages.h" | |
| 139 #include "content/common/in_process_child_thread_params.h" | 138 #include "content/common/in_process_child_thread_params.h" |
| 140 #include "content/common/render_process_messages.h" | 139 #include "content/common/render_process_messages.h" |
| 141 #include "content/common/resource_messages.h" | 140 #include "content/common/resource_messages.h" |
| 142 #include "content/common/service_manager/child_connection.h" | 141 #include "content/common/service_manager/child_connection.h" |
| 143 #include "content/common/service_manager/service_manager_connection_impl.h" | 142 #include "content/common/service_manager/service_manager_connection_impl.h" |
| 144 #include "content/common/site_isolation_policy.h" | 143 #include "content/common/site_isolation_policy.h" |
| 145 #include "content/common/view_messages.h" | 144 #include "content/common/view_messages.h" |
| 146 #include "content/public/browser/browser_context.h" | 145 #include "content/public/browser/browser_context.h" |
| 147 #include "content/public/browser/browser_thread.h" | 146 #include "content/public/browser/browser_thread.h" |
| 148 #include "content/public/browser/content_browser_client.h" | 147 #include "content/public/browser/content_browser_client.h" |
| (...skipping 2911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3060 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3059 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3061 | 3060 |
| 3062 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3061 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
| 3063 // Capture the error message in a crash key value. | 3062 // Capture the error message in a crash key value. |
| 3064 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3063 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
| 3065 bad_message::ReceivedBadMessage(render_process_id, | 3064 bad_message::ReceivedBadMessage(render_process_id, |
| 3066 bad_message::RPH_MOJO_PROCESS_ERROR); | 3065 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3067 } | 3066 } |
| 3068 | 3067 |
| 3069 } // namespace content | 3068 } // namespace content |
| OLD | NEW |