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 MEDIA_BASE_RENDERER_CLIENT_H_ | |
6 #define MEDIA_BASE_RENDERER_CLIENT_H_ | |
7 | |
8 namespace media { | |
9 | |
10 class RendererClient { | |
xhwang
2016/05/09 18:13:22
Please add some documentation for this interface.
alokp
2016/05/09 21:31:43
Done.
| |
11 public: | |
12 virtual void OnError(PipelineStatus status) = 0; | |
13 virtual void OnEnded() = 0; | |
14 virtual void OnStatisticsUpdate(const PipelineStatistics& stats) = 0; | |
15 virtual void OnBufferingStateChange(BufferingState state) = 0; | |
16 virtual void OnWaitingForDecryptionKey() = 0; | |
17 }; | |
18 | |
19 } // namespace media | |
20 | |
21 #endif // MEDIA_BASE_RENDERER_CLIENT_H_ | |
OLD | NEW |