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

Unified Diff: remoting/codec/audio_decoder_opus.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/codec/audio_decoder.cc ('k') | remoting/codec/audio_decoder_opus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/audio_decoder_opus.h
diff --git a/remoting/codec/audio_decoder_opus.h b/remoting/codec/audio_decoder_opus.h
index 553f77f3a0ae54358fb6bbb00143f011a6fd0f68..5fb7d5d6d71a46021e6f18df01c982cca6eb6909 100644
--- a/remoting/codec/audio_decoder_opus.h
+++ b/remoting/codec/audio_decoder_opus.h
@@ -5,8 +5,9 @@
#ifndef REMOTING_CODEC_AUDIO_DECODER_OPUS_H_
#define REMOTING_CODEC_AUDIO_DECODER_OPUS_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "remoting/codec/audio_decoder.h"
struct OpusDecoder;
@@ -21,7 +22,8 @@ class AudioDecoderOpus : public AudioDecoder {
~AudioDecoderOpus() override;
// AudioDecoder interface.
- scoped_ptr<AudioPacket> Decode(scoped_ptr<AudioPacket> packet) override;
+ std::unique_ptr<AudioPacket> Decode(
+ std::unique_ptr<AudioPacket> packet) override;
private:
void InitDecoder();
« no previous file with comments | « remoting/codec/audio_decoder.cc ('k') | remoting/codec/audio_decoder_opus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698