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

Unified Diff: remoting/host/security_key/remote_security_key_ipc_client.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_client.h
diff --git a/remoting/host/security_key/remote_security_key_ipc_client.h b/remoting/host/security_key/remote_security_key_ipc_client.h
index 46cabe1583066d215fefd185fad7cce5c3a0146e..fcde9a88734e3dc2548831e1103a37bf8c999b1b 100644
--- a/remoting/host/security_key/remote_security_key_ipc_client.h
+++ b/remoting/host/security_key/remote_security_key_ipc_client.h
@@ -5,10 +5,10 @@
#ifndef REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_IPC_CLIENT_H_
#define REMOTING_HOST_SECURITY_KEY_REMOTE_SECURITY_KEY_IPC_CLIENT_H_
+#include <memory>
#include <string>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
#include "ipc/ipc_listener.h"
@@ -98,7 +98,7 @@ class RemoteSecurityKeyIpcClient : public IPC::Listener {
ResponseCallback response_callback_;
// Used for sending/receiving security key messages between processes.
- scoped_ptr<IPC::Channel> ipc_channel_;
+ std::unique_ptr<IPC::Channel> ipc_channel_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « remoting/host/security_key/gnubby_socket.cc ('k') | remoting/host/security_key/remote_security_key_ipc_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698