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

Unified Diff: remoting/codec/audio_decoder_verbatim.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_opus.cc ('k') | remoting/codec/audio_decoder_verbatim.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/audio_decoder_verbatim.h
diff --git a/remoting/codec/audio_decoder_verbatim.h b/remoting/codec/audio_decoder_verbatim.h
index 2aabe4a50321190457344fe876c18a6faa1c781d..9c085d805234c7fc0369a65cd308b02109878926 100644
--- a/remoting/codec/audio_decoder_verbatim.h
+++ b/remoting/codec/audio_decoder_verbatim.h
@@ -5,10 +5,10 @@
#ifndef REMOTING_CODEC_AUDIO_DECODER_VERBATIM_H_
#define REMOTING_CODEC_AUDIO_DECODER_VERBATIM_H_
-#include "remoting/codec/audio_decoder.h"
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
+#include "remoting/codec/audio_decoder.h"
namespace remoting {
@@ -20,7 +20,8 @@ class AudioDecoderVerbatim : public AudioDecoder {
AudioDecoderVerbatim();
~AudioDecoderVerbatim() override;
- scoped_ptr<AudioPacket> Decode(scoped_ptr<AudioPacket> packet) override;
+ std::unique_ptr<AudioPacket> Decode(
+ std::unique_ptr<AudioPacket> packet) override;
private:
DISALLOW_COPY_AND_ASSIGN(AudioDecoderVerbatim);
« no previous file with comments | « remoting/codec/audio_decoder_opus.cc ('k') | remoting/codec/audio_decoder_verbatim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698