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

Unified Diff: remoting/codec/audio_encoder.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_verbatim.cc ('k') | remoting/codec/audio_encoder_opus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/codec/audio_encoder.h
diff --git a/remoting/codec/audio_encoder.h b/remoting/codec/audio_encoder.h
index c33a4d218c097a0ba4174535be7465e261c2b4da..e534892e571dae85046e569b323502b32c549328 100644
--- a/remoting/codec/audio_encoder.h
+++ b/remoting/codec/audio_encoder.h
@@ -5,7 +5,7 @@
#ifndef REMOTING_CODEC_AUDIO_ENCODER_H_
#define REMOTING_CODEC_AUDIO_ENCODER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
namespace remoting {
@@ -15,7 +15,8 @@ class AudioEncoder {
public:
virtual ~AudioEncoder() {}
- virtual scoped_ptr<AudioPacket> Encode(scoped_ptr<AudioPacket> packet) = 0;
+ virtual std::unique_ptr<AudioPacket> Encode(
+ std::unique_ptr<AudioPacket> packet) = 0;
// Returns average bitrate for the stream in bits per second.
virtual int GetBitrate() = 0;
« no previous file with comments | « remoting/codec/audio_decoder_verbatim.cc ('k') | remoting/codec/audio_encoder_opus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698