| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/test/test_chromoting_client.h" | 5 #include "remoting/test/test_chromoting_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 } // namespace | 64 } // namespace |
| 65 | 65 |
| 66 namespace remoting { | 66 namespace remoting { |
| 67 namespace test { | 67 namespace test { |
| 68 | 68 |
| 69 TestChromotingClient::TestChromotingClient() | 69 TestChromotingClient::TestChromotingClient() |
| 70 : TestChromotingClient(nullptr) {} | 70 : TestChromotingClient(nullptr) {} |
| 71 | 71 |
| 72 TestChromotingClient::TestChromotingClient( | 72 TestChromotingClient::TestChromotingClient( |
| 73 scoped_ptr<VideoRenderer> video_renderer) | 73 scoped_ptr<protocol::VideoRenderer> video_renderer) |
| 74 : connection_to_host_state_(protocol::ConnectionToHost::INITIALIZING), | 74 : connection_to_host_state_(protocol::ConnectionToHost::INITIALIZING), |
| 75 connection_error_code_(protocol::OK), | 75 connection_error_code_(protocol::OK), |
| 76 video_renderer_(std::move(video_renderer)) {} | 76 video_renderer_(std::move(video_renderer)) {} |
| 77 | 77 |
| 78 TestChromotingClient::~TestChromotingClient() { | 78 TestChromotingClient::~TestChromotingClient() { |
| 79 // Ensure any connections are closed and the members are destroyed in the | 79 // Ensure any connections are closed and the members are destroyed in the |
| 80 // appropriate order. | 80 // appropriate order. |
| 81 EndConnection(); | 81 EndConnection(); |
| 82 } | 82 } |
| 83 | 83 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 VLOG(1) << "TestChromotingClient::InjectClipboardEvent() Called"; | 276 VLOG(1) << "TestChromotingClient::InjectClipboardEvent() Called"; |
| 277 } | 277 } |
| 278 | 278 |
| 279 void TestChromotingClient::SetCursorShape( | 279 void TestChromotingClient::SetCursorShape( |
| 280 const protocol::CursorShapeInfo& cursor_shape) { | 280 const protocol::CursorShapeInfo& cursor_shape) { |
| 281 VLOG(1) << "TestChromotingClient::SetCursorShape() Called"; | 281 VLOG(1) << "TestChromotingClient::SetCursorShape() Called"; |
| 282 } | 282 } |
| 283 | 283 |
| 284 } // namespace test | 284 } // namespace test |
| 285 } // namespace remoting | 285 } // namespace remoting |
| OLD | NEW |