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

Side by Side Diff: webrtc/video/send_statistics_proxy.h

Issue 1751903002: Replace scoped_ptr with unique_ptr in webrtc/video/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « webrtc/video/replay.cc ('k') | webrtc/video/send_statistics_proxy_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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_VIDEO_SEND_STATISTICS_PROXY_H_ 11 #ifndef WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
12 #define WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 12 #define WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
13 13
14 #include <map> 14 #include <map>
15 #include <memory>
15 #include <string> 16 #include <string>
16 17
17 #include "webrtc/base/criticalsection.h" 18 #include "webrtc/base/criticalsection.h"
18 #include "webrtc/base/exp_filter.h" 19 #include "webrtc/base/exp_filter.h"
19 #include "webrtc/base/ratetracker.h" 20 #include "webrtc/base/ratetracker.h"
20 #include "webrtc/base/scoped_ptr.h"
21 #include "webrtc/base/thread_annotations.h" 21 #include "webrtc/base/thread_annotations.h"
22 #include "webrtc/common_types.h" 22 #include "webrtc/common_types.h"
23 #include "webrtc/modules/video_coding/include/video_codec_interface.h" 23 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
24 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 24 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
25 #include "webrtc/system_wrappers/include/clock.h" 25 #include "webrtc/system_wrappers/include/clock.h"
26 #include "webrtc/video/overuse_frame_detector.h" 26 #include "webrtc/video/overuse_frame_detector.h"
27 #include "webrtc/video/report_block_stats.h" 27 #include "webrtc/video/report_block_stats.h"
28 #include "webrtc/video/vie_encoder.h" 28 #include "webrtc/video/vie_encoder.h"
29 #include "webrtc/video_send_stream.h" 29 #include "webrtc/video_send_stream.h"
30 30
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 SampleCounter delay_counter_; 167 SampleCounter delay_counter_;
168 SampleCounter max_delay_counter_; 168 SampleCounter max_delay_counter_;
169 rtc::RateTracker input_frame_rate_tracker_; 169 rtc::RateTracker input_frame_rate_tracker_;
170 rtc::RateTracker sent_frame_rate_tracker_; 170 rtc::RateTracker sent_frame_rate_tracker_;
171 int64_t first_rtcp_stats_time_ms_; 171 int64_t first_rtcp_stats_time_ms_;
172 int64_t first_rtp_stats_time_ms_; 172 int64_t first_rtp_stats_time_ms_;
173 ReportBlockStats report_block_stats_; 173 ReportBlockStats report_block_stats_;
174 const VideoSendStream::Stats start_stats_; 174 const VideoSendStream::Stats start_stats_;
175 }; 175 };
176 176
177 rtc::scoped_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); 177 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_);
178 }; 178 };
179 179
180 } // namespace webrtc 180 } // namespace webrtc
181 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 181 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/video/replay.cc ('k') | webrtc/video/send_statistics_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698