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

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

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/linux/certificate_watcher.h ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/linux/certificate_watcher_unittest.cc
diff --git a/remoting/host/linux/certificate_watcher_unittest.cc b/remoting/host/linux/certificate_watcher_unittest.cc
index bf08c3db2629c28e179292d9e3375a206aa8b6b8..97c3b2ae7f75af9bcd1b8d0a81dd90e64dad24d8 100644
--- a/remoting/host/linux/certificate_watcher_unittest.cc
+++ b/remoting/host/linux/certificate_watcher_unittest.cc
@@ -5,6 +5,7 @@
#include "remoting/host/linux/certificate_watcher.h"
#include <cstdlib>
+#include <memory>
#include <string>
#include "base/bind.h"
@@ -90,7 +91,7 @@ class CertificateWatcherTest : public testing::Test {
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
base::ScopedTempDir temp_dir_;
base::FilePath watch_path_;
- scoped_ptr<CertificateWatcher> watcher_;
+ std::unique_ptr<CertificateWatcher> watcher_;
int restart_count_ = 0;
base::TimeDelta loop_wait_ =
base::TimeDelta::FromMilliseconds(kMessageLoopWaitMsecs);
« no previous file with comments | « remoting/host/linux/certificate_watcher.h ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698