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

Unified Diff: webrtc/audio_send_stream.h

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/quicdatatransport_unittest.cc ('k') | webrtc/base/optional.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio_send_stream.h
diff --git a/webrtc/audio_send_stream.h b/webrtc/audio_send_stream.h
index 24c3d77ab27a30eac58e351381178ca90c27f832..18e71253f1158dfe5681c79000d77f2f7faedc46 100644
--- a/webrtc/audio_send_stream.h
+++ b/webrtc/audio_send_stream.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_AUDIO_SEND_STREAM_H_
#define WEBRTC_AUDIO_SEND_STREAM_H_
+#include <memory>
#include <string>
#include <vector>
@@ -84,7 +85,7 @@ class AudioSendStream : public SendStream {
// Ownership of the encoder object is transferred to Call when the config is
// passed to Call::CreateAudioSendStream().
// TODO(solenberg): Implement, once we configure codecs through the new API.
- // rtc::scoped_ptr<AudioEncoder> encoder;
+ // std::unique_ptr<AudioEncoder> encoder;
int cng_payload_type = -1; // pt, or -1 to disable Comfort Noise Generator.
int red_payload_type = -1; // pt, or -1 to disable REDundant coding.
};
« no previous file with comments | « webrtc/api/quicdatatransport_unittest.cc ('k') | webrtc/base/optional.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698