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

Unified Diff: remoting/host/linux/audio_pipe_reader_unittest.cc

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/it2me_desktop_environment.cc ('k') | remoting/host/local_input_monitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/linux/audio_pipe_reader_unittest.cc
diff --git a/remoting/host/linux/audio_pipe_reader_unittest.cc b/remoting/host/linux/audio_pipe_reader_unittest.cc
index a624a20056e2d3b8f7bf891af35618d624b9caef..dc39676896dd86f011bef70ece0c7c1a43915931 100644
--- a/remoting/host/linux/audio_pipe_reader_unittest.cc
+++ b/remoting/host/linux/audio_pipe_reader_unittest.cc
@@ -8,10 +8,11 @@
#include <sys/types.h>
#include <unistd.h>
+#include <memory>
+
#include "base/files/file.h"
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/threading/thread.h"
@@ -74,11 +75,11 @@ class AudioPipeReaderTest : public testing::Test,
protected:
base::MessageLoop message_loop_;
- scoped_ptr<base::RunLoop> run_loop_;
- scoped_ptr<base::Thread> audio_thread_;
+ std::unique_ptr<base::RunLoop> run_loop_;
+ std::unique_ptr<base::Thread> audio_thread_;
base::ScopedTempDir test_dir_;
base::FilePath pipe_path_;
- scoped_ptr<base::File> output_;
+ std::unique_ptr<base::File> output_;
scoped_refptr<AudioPipeReader> reader_;
« no previous file with comments | « remoting/host/it2me_desktop_environment.cc ('k') | remoting/host/local_input_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698