Index: remoting/codec/audio_decoder.h |
diff --git a/remoting/codec/audio_decoder.h b/remoting/codec/audio_decoder.h |
index f5088bceb5c3a2c9b8b21aca3d7ad3b69d81c89a..46a464cf252c6145f9a6efae582d32dced7f3608 100644 |
--- a/remoting/codec/audio_decoder.h |
+++ b/remoting/codec/audio_decoder.h |
@@ -5,7 +5,7 @@ |
#ifndef REMOTING_CODEC_AUDIO_DECODER_H_ |
#define REMOTING_CODEC_AUDIO_DECODER_H_ |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
namespace remoting { |
@@ -17,14 +17,15 @@ class AudioPacket; |
class AudioDecoder { |
public: |
- static scoped_ptr<AudioDecoder> CreateAudioDecoder( |
+ static std::unique_ptr<AudioDecoder> CreateAudioDecoder( |
const protocol::SessionConfig& config); |
virtual ~AudioDecoder() {} |
// Returns the decoded packet. If the packet is invalid, then a NULL |
// scoped_ptr is returned. |
- virtual scoped_ptr<AudioPacket> Decode(scoped_ptr<AudioPacket> packet) = 0; |
+ virtual std::unique_ptr<AudioPacket> Decode( |
+ std::unique_ptr<AudioPacket> packet) = 0; |
}; |
} // namespace remoting |