OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
| 9 #include "build/build_config.h" |
9 #include "remoting/base/auto_thread_task_runner.h" | 10 #include "remoting/base/auto_thread_task_runner.h" |
10 #include "remoting/host/client_session_control.h" | 11 #include "remoting/host/client_session_control.h" |
11 #include "remoting/host/host_mock_objects.h" | 12 #include "remoting/host/host_mock_objects.h" |
12 #include "remoting/host/local_input_monitor.h" | 13 #include "remoting/host/local_input_monitor.h" |
13 #include "remoting/protocol/protocol_mock_objects.h" | 14 #include "remoting/protocol/protocol_mock_objects.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 | 17 |
17 namespace remoting { | 18 namespace remoting { |
18 | 19 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 task_runner_, | 81 task_runner_, |
81 task_runner_, | 82 task_runner_, |
82 client_session_control_factory_.GetWeakPtr()); | 83 client_session_control_factory_.GetWeakPtr()); |
83 task_runner_ = nullptr; | 84 task_runner_ = nullptr; |
84 } | 85 } |
85 | 86 |
86 run_loop_.Run(); | 87 run_loop_.Run(); |
87 } | 88 } |
88 | 89 |
89 } // namespace remoting | 90 } // namespace remoting |
OLD | NEW |