Index: media/base/renderer_client.h |
diff --git a/media/base/renderer_client.h b/media/base/renderer_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c25d9a0fbb4b5f8b1bd7f02f82c4be3790dedd31 |
--- /dev/null |
+++ b/media/base/renderer_client.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2016 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 MEDIA_BASE_RENDERER_CLIENT_H_ |
+#define MEDIA_BASE_RENDERER_CLIENT_H_ |
+ |
+namespace media { |
+ |
+class RendererClient { |
xhwang
2016/05/09 18:13:22
Please add some documentation for this interface.
alokp
2016/05/09 21:31:43
Done.
|
+ public: |
+ virtual void OnError(PipelineStatus status) = 0; |
+ virtual void OnEnded() = 0; |
+ virtual void OnStatisticsUpdate(const PipelineStatistics& stats) = 0; |
+ virtual void OnBufferingStateChange(BufferingState state) = 0; |
+ virtual void OnWaitingForDecryptionKey() = 0; |
+}; |
+ |
+} // namespace media |
+ |
+#endif // MEDIA_BASE_RENDERER_CLIENT_H_ |