OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // ATL headers have to go first. | 5 // ATL headers have to go first. |
6 #include <atlbase.h> | 6 #include <atlbase.h> |
7 #include <atlhost.h> | 7 #include <atlhost.h> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
13 #include "base/guid.h" | 13 #include "base/guid.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
16 #include "base/win/scoped_com_initializer.h" | 16 #include "base/win/scoped_com_initializer.h" |
17 #include "remoting/base/auto_thread_task_runner.h" | 17 #include "remoting/base/auto_thread_task_runner.h" |
18 #include "remoting/host/win/rdp_client.h" | 18 #include "remoting/host/win/rdp_client.h" |
19 #include "remoting/host/win/wts_terminal_monitor.h" | 19 #include "remoting/host/win/wts_terminal_monitor.h" |
20 #include "testing/gmock/include/gmock/gmock.h" | 20 #include "testing/gmock/include/gmock/gmock.h" |
21 #include "testing/gmock_mutant.h" | 21 #include "testing/gmock_mutant.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 | 23 |
24 using testing::_; | 24 using testing::_; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 163 |
164 rdp_client_.reset(new RdpClient(task_runner_, task_runner_, | 164 rdp_client_.reset(new RdpClient(task_runner_, task_runner_, |
165 SkISize::Make(kDefaultWidth, kDefaultHeight), | 165 SkISize::Make(kDefaultWidth, kDefaultHeight), |
166 terminal_id_, &event_handler_)); | 166 terminal_id_, &event_handler_)); |
167 task_runner_ = NULL; | 167 task_runner_ = NULL; |
168 | 168 |
169 run_loop_.Run(); | 169 run_loop_.Run(); |
170 } | 170 } |
171 | 171 |
172 } // namespace remoting | 172 } // namespace remoting |
OLD | NEW |