Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2804373002: Eliminate Connector::Connect(), Connection, etc. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 2890 matching lines...) Expand 10 before | Expand all | Expand 10 after
3087 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3086 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3088 3087
3089 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3088 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3090 // Capture the error message in a crash key value. 3089 // Capture the error message in a crash key value.
3091 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3090 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3092 bad_message::ReceivedBadMessage(render_process_id, 3091 bad_message::ReceivedBadMessage(render_process_id,
3093 bad_message::RPH_MOJO_PROCESS_ERROR); 3092 bad_message::RPH_MOJO_PROCESS_ERROR);
3094 } 3093 }
3095 3094
3096 } // namespace content 3095 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698