OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H |
| 6 #define COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H |
| 7 |
| 8 #include "components/arc/common/video.mojom.h" |
| 9 |
| 10 namespace arc { |
| 11 |
| 12 // VideoHostDelegate is an abstract class providing video decoding/encoding |
| 13 // acceleration service. |
| 14 // |
| 15 // The purpose of this interface is to create a channel into the GPU process |
| 16 // only, which then handles video decoding/encoding, without going through |
| 17 // VideoHostDelegate anymore. |
| 18 class VideoHostDelegate : public VideoHost { |
| 19 public: |
| 20 // Called when the video service is stopping. |
| 21 virtual void OnStopping() = 0; |
| 22 }; |
| 23 |
| 24 } // namespace arc |
| 25 |
| 26 #endif // COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H |
OLD | NEW |