Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: remoting/protocol/video_stats_stub.h

Issue 2176443002: Add client and host dispatchers for video_stats channel to send video stats from host to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple_channel
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698