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

Unified Diff: remoting/host/security_key/fake_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/fake_remote_security_key_ipc_client.h
diff --git a/remoting/host/security_key/fake_remote_security_key_ipc_client.h b/remoting/host/security_key/fake_remote_security_key_ipc_client.h
index 9734470bbb322bda099c9d53ecabbb76b2cbf3f9..adf10db01bea48cccd96debbc54cc60f187cfc79 100644
--- a/remoting/host/security_key/fake_remote_security_key_ipc_client.h
+++ b/remoting/host/security_key/fake_remote_security_key_ipc_client.h
@@ -5,11 +5,11 @@
#ifndef REMOTING_HOST_SECURITY_KEY_FAKE_SECURITY_KEY_IPC_CLIENT_H_
#define REMOTING_HOST_SECURITY_KEY_FAKE_SECURITY_KEY_IPC_CLIENT_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "remoting/host/security_key/remote_security_key_ipc_client.h"
@@ -85,7 +85,7 @@ class FakeRemoteSecurityKeyIpcClient : public RemoteSecurityKeyIpcClient {
base::Closure channel_event_callback_;
// Used for sending/receiving security key messages between processes.
- scoped_ptr<IPC::Channel> client_channel_;
+ std::unique_ptr<IPC::Channel> client_channel_;
// Provides the contents of the last IPC message received.
std::string last_message_received_;
@@ -109,4 +109,4 @@ class FakeRemoteSecurityKeyIpcClient : public RemoteSecurityKeyIpcClient {
} // namespace remoting
-#endif // REMOTING_HOST_SECURITY_KEY_FAKE_SECURITY_KEY_IPC_CLIENT_H_
+#endif // REMOTING_HOST_SECURITY_KEY_FAKE_SECURITY_KEY_IPC_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698