| 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> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/time/tick_clock.h" | 12 #include "base/time/tick_clock.h" |
| 10 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 11 | 14 |
| 12 namespace media { | 15 namespace media { |
| 13 namespace cast { | 16 namespace cast { |
| 14 | 17 |
| 15 class CongestionControl { | 18 class CongestionControl { |
| 16 public: | 19 public: |
| 17 virtual ~CongestionControl(); | 20 virtual ~CongestionControl(); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 int max_bitrate_configured, | 46 int max_bitrate_configured, |
| 44 int min_bitrate_configured, | 47 int min_bitrate_configured, |
| 45 double max_frame_rate); | 48 double max_frame_rate); |
| 46 | 49 |
| 47 CongestionControl* NewFixedCongestionControl(int bitrate); | 50 CongestionControl* NewFixedCongestionControl(int bitrate); |
| 48 | 51 |
| 49 } // namespace cast | 52 } // namespace cast |
| 50 } // namespace media | 53 } // namespace media |
| 51 | 54 |
| 52 #endif // MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ | 55 #endif // MEDIA_CAST_CONGESTION_CONTROL_CONGESTION_CONTROL_H_ |
| OLD | NEW |