OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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 REMOTING_PROTOCOL_VIDEO_STATE_STUB_H_ |
| 6 #define REMOTING_PROTOCOL_VIDEO_STATE_STUB_H_ |
| 7 |
| 8 #include <cstdint> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 namespace remoting { |
| 13 namespace protocol { |
| 14 |
| 15 struct HostFrameStats; |
| 16 |
| 17 // Interface used to send video frame stats from host to client. |
| 18 class VideoStatsStub { |
| 19 public: |
| 20 virtual void OnVideoFrameStats(uint32_t frame_id, |
| 21 const HostFrameStats& frame_stats) = 0; |
| 22 |
| 23 protected: |
| 24 VideoStatsStub() {} |
| 25 virtual ~VideoStatsStub() {} |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(VideoStatsStub); |
| 29 }; |
| 30 |
| 31 } // namespace protocol |
| 32 } // namespace remoting |
| 33 |
| 34 #endif // REMOTING_PROTOCOL_VIDEO_SSTATE_TUB_H_ |
OLD | NEW |