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

Unified Diff: remoting/host/security_key/remote_security_key_ipc_server_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_server_unittest.cc
diff --git a/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc b/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc
index 0b7b2bff1c4ac73fc1cd52ca8f503219bc8e280b..222335fa15b00055954bee124a6922790ed99b7b 100644
--- a/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc
+++ b/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc
@@ -4,12 +4,12 @@
#include "remoting/host/security_key/remote_security_key_ipc_server.h"
+#include <memory>
#include <string>
#include "base/bind.h"
#include "base/callback.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"
@@ -50,10 +50,10 @@ class RemoteSecurityKeyIpcServerTest : 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.
- scoped_ptr<RemoteSecurityKeyIpcServer> remote_security_key_ipc_server_;
+ std::unique_ptr<RemoteSecurityKeyIpcServer> remote_security_key_ipc_server_;
// Used to validate the object under test uses the correct ID when
// communicating over the IPC channel.

Powered by Google App Engine
This is Rietveld 408576698