| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |