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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 #include "ipc/ipc_channel_mojo.h" | 176 #include "ipc/ipc_channel_mojo.h" |
177 #include "ipc/ipc_logging.h" | 177 #include "ipc/ipc_logging.h" |
178 #include "media/base/media_switches.h" | 178 #include "media/base/media_switches.h" |
179 #include "media/media_features.h" | 179 #include "media/media_features.h" |
180 #include "mojo/edk/embedder/embedder.h" | 180 #include "mojo/edk/embedder/embedder.h" |
181 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" | 181 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
182 #include "net/url_request/url_request_context_getter.h" | 182 #include "net/url_request/url_request_context_getter.h" |
183 #include "ppapi/features/features.h" | 183 #include "ppapi/features/features.h" |
184 #include "services/resource_coordinator/memory/coordinator/coordinator_impl.h" | 184 #include "services/resource_coordinator/memory/coordinator/coordinator_impl.h" |
185 #include "services/service_manager/public/cpp/binder_registry.h" | 185 #include "services/service_manager/public/cpp/binder_registry.h" |
186 #include "services/service_manager/public/cpp/connection.h" | |
187 #include "services/service_manager/public/cpp/connector.h" | 186 #include "services/service_manager/public/cpp/connector.h" |
188 #include "services/service_manager/public/cpp/interface_provider.h" | 187 #include "services/service_manager/public/cpp/interface_provider.h" |
189 #include "services/service_manager/runner/common/client_util.h" | 188 #include "services/service_manager/runner/common/client_util.h" |
190 #include "services/service_manager/runner/common/switches.h" | 189 #include "services/service_manager/runner/common/switches.h" |
191 #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" | 190 #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" |
192 #include "services/shape_detection/public/interfaces/constants.mojom.h" | 191 #include "services/shape_detection/public/interfaces/constants.mojom.h" |
193 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo
m.h" | 192 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo
m.h" |
194 #include "services/shape_detection/public/interfaces/textdetection.mojom.h" | 193 #include "services/shape_detection/public/interfaces/textdetection.mojom.h" |
195 #include "storage/browser/fileapi/sandbox_file_system_backend.h" | 194 #include "storage/browser/fileapi/sandbox_file_system_backend.h" |
196 #include "third_party/WebKit/public/public_features.h" | 195 #include "third_party/WebKit/public/public_features.h" |
(...skipping 2861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3058 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3057 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
3059 | 3058 |
3060 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. | 3059 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. |
3061 // Capture the error message in a crash key value. | 3060 // Capture the error message in a crash key value. |
3062 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); | 3061 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); |
3063 bad_message::ReceivedBadMessage(render_process_id, | 3062 bad_message::ReceivedBadMessage(render_process_id, |
3064 bad_message::RPH_MOJO_PROCESS_ERROR); | 3063 bad_message::RPH_MOJO_PROCESS_ERROR); |
3065 } | 3064 } |
3066 | 3065 |
3067 } // namespace content | 3066 } // namespace content |
OLD | NEW |