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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h

Issue 1750533002: Replace scoped_ptr with unique_ptr in webrtc/modules/remote_bitrate_estimator/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h
index 9832eb2d289d66a5c33bd108ed58de46922a41bc..51e29e34c220a65b557b8cf0c4d20cc209a9cd96 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_
#define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_
+#include <memory>
#include <vector>
#include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h"
@@ -34,9 +35,9 @@ class FullBweSender : public BweSender, public RemoteBitrateObserver {
void Process() override;
protected:
- rtc::scoped_ptr<BitrateController> bitrate_controller_;
- rtc::scoped_ptr<RemoteBitrateEstimator> rbe_;
- rtc::scoped_ptr<RtcpBandwidthObserver> feedback_observer_;
+ std::unique_ptr<BitrateController> bitrate_controller_;
+ std::unique_ptr<RemoteBitrateEstimator> rbe_;
+ std::unique_ptr<RtcpBandwidthObserver> feedback_observer_;
private:
Clock* const clock_;

Powered by Google App Engine
This is Rietveld 408576698