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

Side by Side Diff: media/cast/sender/congestion_control.h

Issue 1905763002: Convert //media/cast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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
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_
OLDNEW
« no previous file with comments | « media/cast/sender/audio_sender_unittest.cc ('k') | media/cast/sender/congestion_control_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698