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 "remoting/base/auto_thread_task_runner.h" | 9 #include "remoting/base/auto_thread_task_runner.h" |
10 #include "remoting/host/client_session_control.h" | 10 #include "remoting/host/client_session_control.h" |
11 #include "remoting/host/host_mock_objects.h" | 11 #include "remoting/host/host_mock_objects.h" |
12 #include "remoting/host/local_input_monitor.h" | 12 #include "remoting/host/local_input_monitor.h" |
13 #include "remoting/protocol/protocol_mock_objects.h" | 13 #include "remoting/protocol/protocol_mock_objects.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "third_party/skia/include/core/SkPoint.h" | |
17 | 16 |
18 namespace remoting { | 17 namespace remoting { |
19 | 18 |
20 using testing::_; | 19 using testing::_; |
21 using testing::AnyNumber; | 20 using testing::AnyNumber; |
22 using testing::ReturnRef; | 21 using testing::ReturnRef; |
23 | 22 |
24 namespace { | 23 namespace { |
25 | 24 |
26 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 task_runner_, | 80 task_runner_, |
82 task_runner_, | 81 task_runner_, |
83 client_session_control_factory_.GetWeakPtr()); | 82 client_session_control_factory_.GetWeakPtr()); |
84 task_runner_ = NULL; | 83 task_runner_ = NULL; |
85 } | 84 } |
86 | 85 |
87 run_loop_.Run(); | 86 run_loop_.Run(); |
88 } | 87 } |
89 | 88 |
90 } // namespace remoting | 89 } // namespace remoting |
OLD | NEW |