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

Unified Diff: webrtc/voice_engine/network_predictor.h

Issue 1702983002: Replace scoped_ptr with unique_ptr in webrtc/voice_engine/ (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
« no previous file with comments | « webrtc/voice_engine/channel_proxy.cc ('k') | webrtc/voice_engine/network_predictor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/network_predictor.h
diff --git a/webrtc/voice_engine/network_predictor.h b/webrtc/voice_engine/network_predictor.h
index b35ccd8756849c11ebb0a6aa183f9acc3d0aa407..bf08fe98ce2dbd000734310aa10b6cc05d506aa5 100644
--- a/webrtc/voice_engine/network_predictor.h
+++ b/webrtc/voice_engine/network_predictor.h
@@ -11,6 +11,8 @@
#ifndef WEBRTC_VOICE_ENGINE_NETWORK_PREDICTOR_H_
#define WEBRTC_VOICE_ENGINE_NETWORK_PREDICTOR_H_
+#include <memory>
+
#include "webrtc/base/exp_filter.h"
#include "webrtc/system_wrappers/include/clock.h"
@@ -38,7 +40,7 @@ class NetworkPredictor {
int64_t last_loss_rate_update_time_ms_;
// An exponential filter is used to predict packet loss rate.
- rtc::scoped_ptr<rtc::ExpFilter> loss_rate_filter_;
+ std::unique_ptr<rtc::ExpFilter> loss_rate_filter_;
};
} // namespace voe
« no previous file with comments | « webrtc/voice_engine/channel_proxy.cc ('k') | webrtc/voice_engine/network_predictor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698