OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ | 5 #ifndef MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ |
6 #define MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ | 6 #define MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 |
| 11 #include <memory> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "base/time/tick_clock.h" | 14 #include "base/time/tick_clock.h" |
14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 namespace cast { | 18 namespace cast { |
18 | 19 |
19 class CongestionControl { | 20 class CongestionControl { |
20 public: | 21 public: |
21 virtual ~CongestionControl(); | 22 virtual ~CongestionControl(); |
22 | 23 |
(...skipping 26 matching lines...) Expand all Loading... |
49 int max_bitrate_configured, | 50 int max_bitrate_configured, |
50 int min_bitrate_configured, | 51 int min_bitrate_configured, |
51 double max_frame_rate); | 52 double max_frame_rate); |
52 | 53 |
53 CongestionControl* NewFixedCongestionControl(int bitrate); | 54 CongestionControl* NewFixedCongestionControl(int bitrate); |
54 | 55 |
55 } // namespace cast | 56 } // namespace cast |
56 } // namespace media | 57 } // namespace media |
57 | 58 |
58 #endif // MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ | 59 #endif // MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ |
OLD | NEW |