| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef COMPONENTS_MUS_GPU_GPU_SERVICE_IMPL_H_ | 5 #ifndef SERVICES_UI_GPU_GPU_SERVICE_IMPL_H_ |
| 6 #define COMPONENTS_MUS_GPU_GPU_SERVICE_IMPL_H_ | 6 #define SERVICES_UI_GPU_GPU_SERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include "components/mus/public/interfaces/gpu_memory_buffer.mojom.h" | |
| 9 #include "components/mus/public/interfaces/gpu_service.mojom.h" | |
| 10 #include "mojo/public/cpp/bindings/interface_request.h" | 8 #include "mojo/public/cpp/bindings/interface_request.h" |
| 11 #include "mojo/public/cpp/bindings/strong_binding.h" | 9 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 10 #include "services/ui/public/interfaces/gpu_memory_buffer.mojom.h" |
| 11 #include "services/ui/public/interfaces/gpu_service.mojom.h" |
| 12 | 12 |
| 13 namespace shell { | 13 namespace shell { |
| 14 class Connection; | 14 class Connection; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace mus { | 17 namespace mus { |
| 18 | 18 |
| 19 class GpuServiceImpl : public mojom::GpuService { | 19 class GpuServiceImpl : public mojom::GpuService { |
| 20 public: | 20 public: |
| 21 GpuServiceImpl(mojo::InterfaceRequest<mojom::GpuService> request, | 21 GpuServiceImpl(mojo::InterfaceRequest<mojom::GpuService> request, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 39 const gpu::SyncToken& sync_token) override; | 39 const gpu::SyncToken& sync_token) override; |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 mojo::StrongBinding<GpuService> binding_; | 42 mojo::StrongBinding<GpuService> binding_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(GpuServiceImpl); | 44 DISALLOW_COPY_AND_ASSIGN(GpuServiceImpl); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace mus | 47 } // namespace mus |
| 48 | 48 |
| 49 #endif // COMPONENTS_MUS_GPU_GPU_SERVICE_IMPL_H_ | 49 #endif // SERVICES_UI_GPU_GPU_SERVICE_IMPL_H_ |
| OLD | NEW |