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

Unified Diff: remoting/host/audio_capturer_win.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/audio_capturer_mac.cc ('k') | remoting/host/audio_capturer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_capturer_win.h
diff --git a/remoting/host/audio_capturer_win.h b/remoting/host/audio_capturer_win.h
index 11070bef23bdd0c4e06f14b28842a51cd9bab6e4..832cddce2be0e88a24e69b482afaf5d14f9f356e 100644
--- a/remoting/host/audio_capturer_win.h
+++ b/remoting/host/audio_capturer_win.h
@@ -8,8 +8,9 @@
#include <audioclient.h>
#include <mmdeviceapi.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "base/timer/timer.h"
#include "base/win/scoped_co_mem.h"
@@ -47,7 +48,7 @@ class AudioCapturerWin : public AudioCapturer {
AudioPacket::SamplingRate sampling_rate_;
- scoped_ptr<base::RepeatingTimer> capture_timer_;
+ std::unique_ptr<base::RepeatingTimer> capture_timer_;
base::TimeDelta audio_device_period_;
AudioSilenceDetector silence_detector_;
« no previous file with comments | « remoting/host/audio_capturer_mac.cc ('k') | remoting/host/audio_capturer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698