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

Unified Diff: remoting/host/security_key/remote_security_key_ipc_server_impl.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
Index: remoting/host/security_key/remote_security_key_ipc_server_impl.h
diff --git a/remoting/host/security_key/remote_security_key_ipc_server_impl.h b/remoting/host/security_key/remote_security_key_ipc_server_impl.h
index 68101140a458bf72cb3872d95a122e0e992967de..c45ff364170e5fb5fb850a5467aec5f405afaa0c 100644
--- a/remoting/host/security_key/remote_security_key_ipc_server_impl.h
+++ b/remoting/host/security_key/remote_security_key_ipc_server_impl.h
@@ -7,10 +7,10 @@
#include "remoting/host/security_key/remote_security_key_ipc_server.h"
+#include <memory>
#include <string>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
@@ -73,7 +73,7 @@ class RemoteSecurityKeyIpcServerImpl : public RemoteSecurityKeyIpcServer,
GnubbyAuthHandler::SendMessageCallback message_callback_;
// Used for sending/receiving security key messages between processes.
- scoped_ptr<IPC::Channel> ipc_channel_;
+ std::unique_ptr<IPC::Channel> ipc_channel_;
// Ensures RemoteSecurityKeyIpcServerImpl methods are called on the same
// thread.
@@ -84,4 +84,4 @@ class RemoteSecurityKeyIpcServerImpl : public RemoteSecurityKeyIpcServer,
} // namespace remoting
-#endif // REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_IPC_SERVER_IMPL_H_
+#endif // REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_IPC_SERVER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698