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 CHROME_GPU_GPU_ARC_VIDEO_SERVICE_H_ | 5 #ifndef CHROME_GPU_GPU_ARC_VIDEO_SERVICE_H_ |
6 #define CHROME_GPU_GPU_ARC_VIDEO_SERVICE_H_ | 6 #define CHROME_GPU_GPU_ARC_VIDEO_SERVICE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/files/scoped_file.h" | 11 #include "base/files/scoped_file.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/threading/thread_checker.h" |
13 #include "chrome/gpu/arc_video_accelerator.h" | 14 #include "chrome/gpu/arc_video_accelerator.h" |
14 #include "components/arc/common/video_accelerator.mojom.h" | 15 #include "components/arc/common/video_accelerator.mojom.h" |
15 #include "components/arc/video_accelerator/video_accelerator.h" | 16 #include "components/arc/video_accelerator/video_accelerator.h" |
16 #include "gpu/command_buffer/service/gpu_preferences.h" | 17 #include "gpu/command_buffer/service/gpu_preferences.h" |
17 | 18 |
18 namespace chromeos { | 19 namespace chromeos { |
19 namespace arc { | 20 namespace arc { |
20 | 21 |
21 // GpuArcVideoService manages life-cycle and IPC message translation for | 22 // GpuArcVideoService manages life-cycle and IPC message translation for |
22 // ArcVideoAccelerator. | 23 // ArcVideoAccelerator. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 std::unique_ptr<ArcVideoAccelerator> accelerator_; | 69 std::unique_ptr<ArcVideoAccelerator> accelerator_; |
69 ::arc::mojom::VideoAcceleratorServiceClientPtr client_; | 70 ::arc::mojom::VideoAcceleratorServiceClientPtr client_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(GpuArcVideoService); | 72 DISALLOW_COPY_AND_ASSIGN(GpuArcVideoService); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace arc | 75 } // namespace arc |
75 } // namespace chromeos | 76 } // namespace chromeos |
76 | 77 |
77 #endif // CHROME_GPU_GPU_ARC_VIDEO_SERVICE_H_ | 78 #endif // CHROME_GPU_GPU_ARC_VIDEO_SERVICE_H_ |
OLD | NEW |