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/remote_security_key_ipc_client.h" | 5 #include "remoting/host/security_key/remote_security_key_ipc_client.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/callback_helpers.h" | 11 #include "base/callback_helpers.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "ipc/ipc_channel.h" | 13 #include "ipc/ipc_channel.h" |
14 #include "ipc/ipc_listener.h" | 14 #include "ipc/ipc_listener.h" |
15 #include "ipc/ipc_message.h" | 15 #include "ipc/ipc_message.h" |
16 #include "ipc/ipc_message_macros.h" | 16 #include "ipc/ipc_message_macros.h" |
17 #include "remoting/host/chromoting_messages.h" | 17 #include "remoting/host/chromoting_messages.h" |
18 #include "remoting/host/ipc_constants.h" | 18 #include "remoting/host/ipc_constants.h" |
19 #include "remoting/host/security_key/remote_security_key_ipc_constants.h" | 19 #include "remoting/host/security_key/remote_security_key_ipc_constants.h" |
20 | 20 |
21 namespace remoting { | 21 namespace remoting { |
22 | 22 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 ipc_channel_.reset(); | 213 ipc_channel_.reset(); |
214 base::PlatformThread::Sleep(kPerIterationWaitTime); | 214 base::PlatformThread::Sleep(kPerIterationWaitTime); |
215 } | 215 } |
216 | 216 |
217 if (!connection_error_callback_.is_null()) { | 217 if (!connection_error_callback_.is_null()) { |
218 base::ResetAndReturn(&connection_error_callback_).Run(); | 218 base::ResetAndReturn(&connection_error_callback_).Run(); |
219 } | 219 } |
220 } | 220 } |
221 | 221 |
222 } // namespace remoting | 222 } // namespace remoting |
OLD | NEW |