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

Unified Diff: remoting/client/audio_player.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/client/audio_decode_scheduler.cc ('k') | remoting/client/audio_player.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/audio_player.h
diff --git a/remoting/client/audio_player.h b/remoting/client/audio_player.h
index 94de1b4297e25d9ef2bc092ca3819f63f7580e76..f88e66335cddfa2aad432311f1bc320884724c94 100644
--- a/remoting/client/audio_player.h
+++ b/remoting/client/audio_player.h
@@ -9,9 +9,9 @@
#include <stdint.h>
#include <list>
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "remoting/proto/audio.pb.h"
@@ -21,7 +21,7 @@ class AudioPlayer {
public:
virtual ~AudioPlayer();
- void ProcessAudioPacket(scoped_ptr<AudioPacket> packet);
+ void ProcessAudioPacket(std::unique_ptr<AudioPacket> packet);
protected:
AudioPlayer();
« no previous file with comments | « remoting/client/audio_decode_scheduler.cc ('k') | remoting/client/audio_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698