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

Unified Diff: remoting/host/security_key/fake_ipc_gnubby_auth_handler.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
« no previous file with comments | « remoting/host/sas_injector_win.cc ('k') | remoting/host/security_key/fake_ipc_gnubby_auth_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/security_key/fake_ipc_gnubby_auth_handler.h
diff --git a/remoting/host/security_key/fake_ipc_gnubby_auth_handler.h b/remoting/host/security_key/fake_ipc_gnubby_auth_handler.h
index d4ef5b2c68b6cab411e3d4eefbf3af5b0714090e..73b5377f516a71bcff9f79159d1789459433d07e 100644
--- a/remoting/host/security_key/fake_ipc_gnubby_auth_handler.h
+++ b/remoting/host/security_key/fake_ipc_gnubby_auth_handler.h
@@ -7,9 +7,9 @@
#include "remoting/host/security_key/gnubby_auth_handler.h"
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "ipc/ipc_listener.h"
@@ -62,11 +62,11 @@ class FakeIpcGnubbyAuthHandler : public GnubbyAuthHandler,
// IPC Clients connect to this channel first to receive their own unique IPC
// channel to start a security key forwarding session on.
- scoped_ptr<IPC::Channel> ipc_server_channel_;
+ std::unique_ptr<IPC::Channel> ipc_server_channel_;
DISALLOW_COPY_AND_ASSIGN(FakeIpcGnubbyAuthHandler);
};
} // namespace remoting
-#endif // REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_
+#endif // REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_
« no previous file with comments | « remoting/host/sas_injector_win.cc ('k') | remoting/host/security_key/fake_ipc_gnubby_auth_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698