| 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 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1203 #endif | 1203 #endif |
| 1204 AddUIThreadInterface( | 1204 AddUIThreadInterface( |
| 1205 registry.get(), | 1205 registry.get(), |
| 1206 base::Bind(&PermissionServiceContext::CreateService, | 1206 base::Bind(&PermissionServiceContext::CreateService, |
| 1207 base::Unretained(permission_service_context_.get()))); | 1207 base::Unretained(permission_service_context_.get()))); |
| 1208 // TODO(mcasas): finalize arguments. | 1208 // TODO(mcasas): finalize arguments. |
| 1209 AddUIThreadInterface(registry.get(), base::Bind(&ImageCaptureImpl::Create)); | 1209 AddUIThreadInterface(registry.get(), base::Bind(&ImageCaptureImpl::Create)); |
| 1210 | 1210 |
| 1211 AddUIThreadInterface( | 1211 AddUIThreadInterface( |
| 1212 registry.get(), | 1212 registry.get(), |
| 1213 base::Bind(&PaymentAppContext::CreateService, | 1213 base::Bind(&PaymentAppContextImpl::CreateService, |
| 1214 base::Unretained( | 1214 base::Unretained( |
| 1215 storage_partition_impl_->GetPaymentAppContext()))); | 1215 storage_partition_impl_->GetPaymentAppContext()))); |
| 1216 | 1216 |
| 1217 AddUIThreadInterface( | 1217 AddUIThreadInterface( |
| 1218 registry.get(), | 1218 registry.get(), |
| 1219 base::Bind(&OffscreenCanvasCompositorFrameSinkProviderImpl::Create)); | 1219 base::Bind(&OffscreenCanvasCompositorFrameSinkProviderImpl::Create)); |
| 1220 AddUIThreadInterface(registry.get(), | 1220 AddUIThreadInterface(registry.get(), |
| 1221 base::Bind(&OffscreenCanvasSurfaceImpl::Create)); | 1221 base::Bind(&OffscreenCanvasSurfaceImpl::Create)); |
| 1222 AddUIThreadInterface( | 1222 AddUIThreadInterface( |
| 1223 registry.get(), | 1223 registry.get(), |
| (...skipping 1782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3006 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; | 3006 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; |
| 3007 | 3007 |
| 3008 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias | 3008 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias |
| 3009 // enough information here so that we can determine what the bad message was. | 3009 // enough information here so that we can determine what the bad message was. |
| 3010 base::debug::Alias(&error); | 3010 base::debug::Alias(&error); |
| 3011 bad_message::ReceivedBadMessage(render_process_id, | 3011 bad_message::ReceivedBadMessage(render_process_id, |
| 3012 bad_message::RPH_MOJO_PROCESS_ERROR); | 3012 bad_message::RPH_MOJO_PROCESS_ERROR); |
| 3013 } | 3013 } |
| 3014 | 3014 |
| 3015 } // namespace content | 3015 } // namespace content |
| OLD | NEW |