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

Unified Diff: remoting/host/security_key/remote_security_key_ipc_client_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
Index: remoting/host/security_key/remote_security_key_ipc_client_unittest.cc
diff --git a/remoting/host/security_key/remote_security_key_ipc_client_unittest.cc b/remoting/host/security_key/remote_security_key_ipc_client_unittest.cc
index 2191d718706fa56a31b92137e2e18009bf405bee..b37d4f411f3348fd00762d3aa4a07c3e5e4409a9 100644
--- a/remoting/host/security_key/remote_security_key_ipc_client_unittest.cc
+++ b/remoting/host/security_key/remote_security_key_ipc_client_unittest.cc
@@ -4,11 +4,11 @@
#include "remoting/host/security_key/remote_security_key_ipc_client.h"
+#include <memory>
#include <string>
#include "base/bind.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "ipc/ipc_channel.h"
@@ -68,7 +68,7 @@ class RemoteSecurityKeyIpcClientTest : public testing::Test {
// Used to allow |message_loop_| to run during tests. The instance is reset
// after each stage of the tests has been completed.
- scoped_ptr<base::RunLoop> run_loop_;
+ std::unique_ptr<base::RunLoop> run_loop_;
// The object under test.
RemoteSecurityKeyIpcClient remote_security_key_ipc_client_;

Powered by Google App Engine
This is Rietveld 408576698