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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 #include "ipc/attachment_broker_privileged.h" | 170 #include "ipc/attachment_broker_privileged.h" |
171 #include "ipc/ipc.mojom.h" | 171 #include "ipc/ipc.mojom.h" |
172 #include "ipc/ipc_channel.h" | 172 #include "ipc/ipc_channel.h" |
173 #include "ipc/ipc_channel_mojo.h" | 173 #include "ipc/ipc_channel_mojo.h" |
174 #include "ipc/ipc_logging.h" | 174 #include "ipc/ipc_logging.h" |
175 #include "media/base/media_switches.h" | 175 #include "media/base/media_switches.h" |
176 #include "mojo/edk/embedder/embedder.h" | 176 #include "mojo/edk/embedder/embedder.h" |
177 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" | 177 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
178 #include "net/url_request/url_request_context_getter.h" | 178 #include "net/url_request/url_request_context_getter.h" |
179 #include "ppapi/shared_impl/ppapi_switches.h" | 179 #include "ppapi/shared_impl/ppapi_switches.h" |
180 #include "services/shell/public/cpp/connection.h" | 180 #include "services/service_manager/public/cpp/connection.h" |
181 #include "services/shell/public/cpp/interface_provider.h" | 181 #include "services/service_manager/public/cpp/interface_provider.h" |
182 #include "services/shell/public/cpp/interface_registry.h" | 182 #include "services/service_manager/public/cpp/interface_registry.h" |
183 #include "services/shell/runner/common/switches.h" | 183 #include "services/service_manager/runner/common/switches.h" |
184 #include "storage/browser/fileapi/sandbox_file_system_backend.h" | 184 #include "storage/browser/fileapi/sandbox_file_system_backend.h" |
185 #include "third_party/skia/include/core/SkBitmap.h" | 185 #include "third_party/skia/include/core/SkBitmap.h" |
186 #include "ui/base/ui_base_switches.h" | 186 #include "ui/base/ui_base_switches.h" |
187 #include "ui/display/display_switches.h" | 187 #include "ui/display/display_switches.h" |
188 #include "ui/events/event_switches.h" | 188 #include "ui/events/event_switches.h" |
189 #include "ui/gfx/switches.h" | 189 #include "ui/gfx/switches.h" |
190 #include "ui/gl/gl_switches.h" | 190 #include "ui/gl/gl_switches.h" |
191 #include "ui/gl/gpu_switching_manager.h" | 191 #include "ui/gl/gpu_switching_manager.h" |
192 #include "ui/native_theme/native_theme_switches.h" | 192 #include "ui/native_theme/native_theme_switches.h" |
193 | 193 |
(...skipping 2840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3034 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3034 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3035 | 3035 |
3036 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 3036 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
3037 // enough information here so that we can determine what the bad message was. | 3037 // enough information here so that we can determine what the bad message was. |
3038 base::debug::Alias(&error); | 3038 base::debug::Alias(&error); |
3039 bad_message::ReceivedBadMessage(render_process_id, | 3039 bad_message::ReceivedBadMessage(render_process_id, |
3040 bad_message::RPH_MOJO_PROCESS_ERROR); | 3040 bad_message::RPH_MOJO_PROCESS_ERROR); |
3041 } | 3041 } |
3042 | 3042 |
3043 } // namespace content | 3043 } // namespace content |
OLD | NEW |