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

Unified Diff: remoting/host/security_key/remote_security_key_ipc_server.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.h
diff --git a/remoting/host/security_key/remote_security_key_ipc_server.h b/remoting/host/security_key/remote_security_key_ipc_server.h
index cd85541a17a715dfca0b481526f099dee40c40e6..9c754f65b23ebc0b7a2859110eabdb642abc5a49 100644
--- a/remoting/host/security_key/remote_security_key_ipc_server.h
+++ b/remoting/host/security_key/remote_security_key_ipc_server.h
@@ -5,10 +5,10 @@
#ifndef REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_IPC_SERVER_H_
#define REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_IPC_SERVER_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "remoting/host/security_key/gnubby_auth_handler.h"
@@ -23,7 +23,7 @@ class RemoteSecurityKeyIpcServer {
virtual ~RemoteSecurityKeyIpcServer() {}
// Creates a new RemoteSecurityKeyIpcServer instance.
- static scoped_ptr<RemoteSecurityKeyIpcServer> Create(
+ static std::unique_ptr<RemoteSecurityKeyIpcServer> Create(
int connection_id,
base::TimeDelta initial_connect_timeout,
const GnubbyAuthHandler::SendMessageCallback& message_callback,
@@ -46,7 +46,7 @@ class RemoteSecurityKeyIpcServerFactory {
public:
virtual ~RemoteSecurityKeyIpcServerFactory() {}
- virtual scoped_ptr<RemoteSecurityKeyIpcServer> Create(
+ virtual std::unique_ptr<RemoteSecurityKeyIpcServer> Create(
int connection_id,
base::TimeDelta connect_timeout,
const GnubbyAuthHandler::SendMessageCallback& message_callback,

Powered by Google App Engine
This is Rietveld 408576698