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

Unified Diff: remoting/host/ipc_audio_capturer.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/host/input_injector_x11.cc ('k') | remoting/host/ipc_audio_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_audio_capturer.h
diff --git a/remoting/host/ipc_audio_capturer.h b/remoting/host/ipc_audio_capturer.h
index 56a578a4e6aa606e9a945e38f42aa70a375b781e..aac678da99e7321ae0fc0d0b61b47472a8b66f66 100644
--- a/remoting/host/ipc_audio_capturer.h
+++ b/remoting/host/ipc_audio_capturer.h
@@ -5,9 +5,10 @@
#ifndef REMOTING_HOST_IPC_AUDIO_CAPTURER_H_
#define REMOTING_HOST_IPC_AUDIO_CAPTURER_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "remoting/host/audio_capturer.h"
@@ -26,7 +27,7 @@ class IpcAudioCapturer : public AudioCapturer {
bool Start(const PacketCapturedCallback& callback) override;
// Called by DesktopSessionProxy when an audio packet is received.
- void OnAudioPacket(scoped_ptr<AudioPacket> packet);
+ void OnAudioPacket(std::unique_ptr<AudioPacket> packet);
private:
// Invoked when an audio packet was received.
« no previous file with comments | « remoting/host/input_injector_x11.cc ('k') | remoting/host/ipc_audio_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698