OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_PACING_BITRATE_PROBER_H_ | 11 #ifndef WEBRTC_MODULES_PACING_BITRATE_PROBER_H_ |
12 #define WEBRTC_MODULES_PACING_BITRATE_PROBER_H_ | 12 #define WEBRTC_MODULES_PACING_BITRATE_PROBER_H_ |
13 | 13 |
14 #include <queue> | 14 #include <queue> |
15 | 15 |
| 16 #include "webrtc/base/basictypes.h" |
16 #include "webrtc/modules/include/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
17 #include "webrtc/rtc_base/basictypes.h" | |
18 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 class RtcEventLog; | 21 class RtcEventLog; |
22 | 22 |
23 // Note that this class isn't thread-safe by itself and therefore relies | 23 // Note that this class isn't thread-safe by itself and therefore relies |
24 // on being protected by the caller. | 24 // on being protected by the caller. |
25 class BitrateProber { | 25 class BitrateProber { |
26 public: | 26 public: |
27 BitrateProber(); | 27 BitrateProber(); |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Time the next probe should be sent when in kActive state. | 101 // Time the next probe should be sent when in kActive state. |
102 int64_t next_probe_time_ms_; | 102 int64_t next_probe_time_ms_; |
103 | 103 |
104 int next_cluster_id_; | 104 int next_cluster_id_; |
105 RtcEventLog* const event_log_; | 105 RtcEventLog* const event_log_; |
106 }; | 106 }; |
107 | 107 |
108 } // namespace webrtc | 108 } // namespace webrtc |
109 | 109 |
110 #endif // WEBRTC_MODULES_PACING_BITRATE_PROBER_H_ | 110 #endif // WEBRTC_MODULES_PACING_BITRATE_PROBER_H_ |
OLD | NEW |