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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_ 5 #ifndef REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_
6 #define REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_ 6 #define REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_
7 7
8 #include "remoting/host/security_key/gnubby_auth_handler.h" 8 #include "remoting/host/security_key/gnubby_auth_handler.h"
9 9
10 #include <memory>
10 #include <string> 11 #include <string>
11 12
12 #include "base/memory/scoped_ptr.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "ipc/ipc_listener.h" 14 #include "ipc/ipc_listener.h"
15 15
16 namespace IPC { 16 namespace IPC {
17 class Channel; 17 class Channel;
18 class Message; 18 class Message;
19 } // IPC 19 } // IPC
20 20
21 namespace remoting { 21 namespace remoting {
22 22
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // The name used when creating the well-known IPC Server channel. 56 // The name used when creating the well-known IPC Server channel.
57 std::string ipc_server_channel_name_; 57 std::string ipc_server_channel_name_;
58 58
59 // The channel name returned in the test connection details message and used 59 // The channel name returned in the test connection details message and used
60 // to exchange security key messages over IPC. 60 // to exchange security key messages over IPC.
61 std::string ipc_security_key_channel_name_; 61 std::string ipc_security_key_channel_name_;
62 62
63 // IPC Clients connect to this channel first to receive their own unique IPC 63 // IPC Clients connect to this channel first to receive their own unique IPC
64 // channel to start a security key forwarding session on. 64 // channel to start a security key forwarding session on.
65 scoped_ptr<IPC::Channel> ipc_server_channel_; 65 std::unique_ptr<IPC::Channel> ipc_server_channel_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(FakeIpcGnubbyAuthHandler); 67 DISALLOW_COPY_AND_ASSIGN(FakeIpcGnubbyAuthHandler);
68 }; 68 };
69 69
70 } // namespace remoting 70 } // namespace remoting
71 71
72 #endif // REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_ 72 #endif // REMOTING_HOST_SECURITY_KEY_FAKE_IPC_GNUBBY_AUTH_HANDLER_H_
OLDNEW
« 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