| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "content/gpu/gpu_child_thread.h" | 5 #include "content/gpu/gpu_child_thread.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 release_pending_requests_closure_.Run(); | 289 release_pending_requests_closure_.Run(); |
| 290 } | 290 } |
| 291 | 291 |
| 292 void GpuChildThread::CreateFrameSinkManager( | 292 void GpuChildThread::CreateFrameSinkManager( |
| 293 cc::mojom::FrameSinkManagerRequest request, | 293 cc::mojom::FrameSinkManagerRequest request, |
| 294 cc::mojom::FrameSinkManagerClientPtr client) { | 294 cc::mojom::FrameSinkManagerClientPtr client) { |
| 295 NOTREACHED(); | 295 NOTREACHED(); |
| 296 } | 296 } |
| 297 | 297 |
| 298 void GpuChildThread::BindServiceFactoryRequest( | 298 void GpuChildThread::BindServiceFactoryRequest( |
| 299 const service_manager::BindSourceInfo& source_info, |
| 299 service_manager::mojom::ServiceFactoryRequest request) { | 300 service_manager::mojom::ServiceFactoryRequest request) { |
| 300 DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest"; | 301 DVLOG(1) << "GPU: Binding service_manager::mojom::ServiceFactoryRequest"; |
| 301 DCHECK(service_factory_); | 302 DCHECK(service_factory_); |
| 302 service_factory_bindings_.AddBinding(service_factory_.get(), | 303 service_factory_bindings_.AddBinding(service_factory_.get(), |
| 303 std::move(request)); | 304 std::move(request)); |
| 304 } | 305 } |
| 305 | 306 |
| 306 } // namespace content | 307 } // namespace content |
| OLD | NEW |