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 #include "remoting/host/security_key/fake_ipc_gnubby_auth_handler.h" | 5 #include "remoting/host/security_key/fake_ipc_gnubby_auth_handler.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include <memory> |
| 8 |
8 #include "base/time/time.h" | 9 #include "base/time/time.h" |
9 #include "ipc/ipc_channel.h" | 10 #include "ipc/ipc_channel.h" |
10 #include "ipc/ipc_listener.h" | 11 #include "ipc/ipc_listener.h" |
11 #include "ipc/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
12 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
13 #include "remoting/host/chromoting_messages.h" | 14 #include "remoting/host/chromoting_messages.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
15 | 16 |
16 namespace remoting { | 17 namespace remoting { |
17 | 18 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 54 |
54 void FakeIpcGnubbyAuthHandler::OnChannelConnected(int32_t peer_pid) { | 55 void FakeIpcGnubbyAuthHandler::OnChannelConnected(int32_t peer_pid) { |
55 ASSERT_TRUE(ipc_server_channel_->Send( | 56 ASSERT_TRUE(ipc_server_channel_->Send( |
56 new ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails( | 57 new ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails( |
57 ipc_security_key_channel_name_))); | 58 ipc_security_key_channel_name_))); |
58 } | 59 } |
59 | 60 |
60 void FakeIpcGnubbyAuthHandler::OnChannelError() {} | 61 void FakeIpcGnubbyAuthHandler::OnChannelError() {} |
61 | 62 |
62 } // namespace remoting | 63 } // namespace remoting |
OLD | NEW |