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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 #include "content/public/common/sandboxed_process_launcher_delegate.h" | 158 #include "content/public/common/sandboxed_process_launcher_delegate.h" |
159 #include "content/public/common/url_constants.h" | 159 #include "content/public/common/url_constants.h" |
160 #include "device/battery/battery_monitor_impl.h" | 160 #include "device/battery/battery_monitor_impl.h" |
161 #include "gpu/GLES2/gl2extchromium.h" | 161 #include "gpu/GLES2/gl2extchromium.h" |
162 #include "gpu/command_buffer/client/gpu_switches.h" | 162 #include "gpu/command_buffer/client/gpu_switches.h" |
163 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 163 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
164 #include "gpu/command_buffer/service/gpu_switches.h" | 164 #include "gpu/command_buffer/service/gpu_switches.h" |
165 #include "ipc/attachment_broker.h" | 165 #include "ipc/attachment_broker.h" |
166 #include "ipc/attachment_broker_privileged.h" | 166 #include "ipc/attachment_broker_privileged.h" |
167 #include "ipc/ipc_channel.h" | 167 #include "ipc/ipc_channel.h" |
| 168 #include "ipc/ipc_channel_mojo.h" |
168 #include "ipc/ipc_logging.h" | 169 #include "ipc/ipc_logging.h" |
169 #include "ipc/ipc_switches.h" | 170 #include "ipc/ipc_switches.h" |
170 #include "ipc/mojo/ipc_channel_mojo.h" | |
171 #include "media/base/media_switches.h" | 171 #include "media/base/media_switches.h" |
172 #include "mojo/edk/embedder/embedder.h" | 172 #include "mojo/edk/embedder/embedder.h" |
173 #include "net/url_request/url_request_context_getter.h" | 173 #include "net/url_request/url_request_context_getter.h" |
174 #include "ppapi/shared_impl/ppapi_switches.h" | 174 #include "ppapi/shared_impl/ppapi_switches.h" |
175 #include "services/shell/runner/common/switches.h" | 175 #include "services/shell/runner/common/switches.h" |
176 #include "storage/browser/fileapi/sandbox_file_system_backend.h" | 176 #include "storage/browser/fileapi/sandbox_file_system_backend.h" |
177 #include "third_party/skia/include/core/SkBitmap.h" | 177 #include "third_party/skia/include/core/SkBitmap.h" |
178 #include "ui/base/ui_base_switches.h" | 178 #include "ui/base/ui_base_switches.h" |
179 #include "ui/display/display_switches.h" | 179 #include "ui/display/display_switches.h" |
180 #include "ui/events/event_switches.h" | 180 #include "ui/events/event_switches.h" |
(...skipping 2633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2814 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 2814 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
2815 | 2815 |
2816 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 2816 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
2817 // enough information here so that we can determine what the bad message was. | 2817 // enough information here so that we can determine what the bad message was. |
2818 base::debug::Alias(&error); | 2818 base::debug::Alias(&error); |
2819 bad_message::ReceivedBadMessage(process.get(), | 2819 bad_message::ReceivedBadMessage(process.get(), |
2820 bad_message::RPH_MOJO_PROCESS_ERROR); | 2820 bad_message::RPH_MOJO_PROCESS_ERROR); |
2821 } | 2821 } |
2822 | 2822 |
2823 } // namespace content | 2823 } // namespace content |
OLD | NEW |