Index: components/arc/video/video_host_delegate.h |
diff --git a/components/arc/video/video_host_delegate.h b/components/arc/video/video_host_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0720a12bf3ae7acd9558301fecef51d2ea0cfdf6 |
--- /dev/null |
+++ b/components/arc/video/video_host_delegate.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H |
+#define COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H |
+ |
+#include "components/arc/common/video.mojom.h" |
+ |
+namespace arc { |
+ |
+// VideoHostDelegate is an abstract class providing video decoding/encoding |
+// acceleration service. |
+// |
+// The purpose of this interface is to create a channel into the GPU process |
+// only, which then handles video decoding/encoding, without going through |
+// VideoHostDelegate anymore. |
+class VideoHostDelegate : public VideoHost { |
+ public: |
+ // Shutdowns all video accelerator in GPU process. |
+ virtual void Shutdown() = 0; |
+}; |
+ |
+} // namespace arc |
+ |
+#endif // COMPONENTS_ARC_VIDEO_VIDEO_HOST_DELEGATE_H |