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

Unified Diff: remoting/protocol/audio_stub.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/protocol/audio_reader.cc ('k') | remoting/protocol/audio_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/audio_stub.h
diff --git a/remoting/protocol/audio_stub.h b/remoting/protocol/audio_stub.h
index d8db7463e8442c7bcb1e159216e20a1f50932cff..715110c96d3692b686f92bfcdcbae9b510f61fc6 100644
--- a/remoting/protocol/audio_stub.h
+++ b/remoting/protocol/audio_stub.h
@@ -5,9 +5,10 @@
#ifndef REMOTING_PROTOCOL_AUDIO_STUB_H_
#define REMOTING_PROTOCOL_AUDIO_STUB_H_
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace remoting {
@@ -19,7 +20,7 @@ class AudioStub {
public:
virtual ~AudioStub() { }
- virtual void ProcessAudioPacket(scoped_ptr<AudioPacket> audio_packet,
+ virtual void ProcessAudioPacket(std::unique_ptr<AudioPacket> audio_packet,
const base::Closure& done) = 0;
protected:
« no previous file with comments | « remoting/protocol/audio_reader.cc ('k') | remoting/protocol/audio_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698