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

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

Issue 2405333002: Add remoting::protocol::NetworkStateObserver interface. (Closed)
Patch Set: Created 4 years, 2 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 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 REMOTING_PROTOCOL_NETWORK_STATE_OBSERVER_H_
6 #define REMOTING_PROTOCOL_NETWORK_STATE_OBSERVER_H_
7
8 #include "base/time/time.h"
9
10 namespace remoting {
11 namespace protocol {
12
13 class NetworkStateObserver {
14 public:
15 virtual void OnKeyFrameRequested() = 0;
16 virtual void OnChannelParameters(int packet_loss, base::TimeDelta rtt) = 0;
17 virtual void OnTargetBitrateChanged(int bitrate_kbps) = 0;
18
19 protected:
20 virtual ~NetworkStateObserver() {}
21 };
22
23 } // namespace protocol
24 } // namespace remoting
25
26 #endif // REMOTING_PROTOCOL_NETWORK_STATE_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/protocol/webrtc_dummy_video_encoder.h » ('j') | remoting/protocol/webrtc_dummy_video_encoder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698