| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 } | 126 } |
| 127 } | 127 } |
| 128 | 128 |
| 129 } // namespace | 129 } // namespace |
| 130 | 130 |
| 131 namespace remoting { | 131 namespace remoting { |
| 132 namespace test { | 132 namespace test { |
| 133 | 133 |
| 134 TestChromotingClient::TestChromotingClient() | 134 TestChromotingClient::TestChromotingClient() |
| 135 : connection_to_host_state_(protocol::ConnectionToHost::INITIALIZING), | 135 : connection_to_host_state_(protocol::ConnectionToHost::INITIALIZING), |
| 136 connection_error_code_(protocol::OK) { | 136 connection_error_code_(protocol::OK) {} |
| 137 } | |
| 138 | 137 |
| 139 TestChromotingClient::TestChromotingClient( | 138 TestChromotingClient::TestChromotingClient( |
| 140 scoped_ptr<VideoRenderer> video_renderer) | 139 scoped_ptr<VideoRenderer> video_renderer) |
| 141 : video_renderer_(video_renderer.Pass()) { | 140 : video_renderer_(video_renderer.Pass()) { |
| 142 TestChromotingClient(); | 141 TestChromotingClient(); |
| 143 } | 142 } |
| 144 | 143 |
| 145 TestChromotingClient::~TestChromotingClient() { | 144 TestChromotingClient::~TestChromotingClient() { |
| 146 // Ensure any connections are closed and the members are destroyed in the | 145 // Ensure any connections are closed and the members are destroyed in the |
| 147 // appropriate order. | 146 // appropriate order. |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 VLOG(1) << "TestChromotingClient::InjectClipboardEvent() Called"; | 339 VLOG(1) << "TestChromotingClient::InjectClipboardEvent() Called"; |
| 341 } | 340 } |
| 342 | 341 |
| 343 void TestChromotingClient::SetCursorShape( | 342 void TestChromotingClient::SetCursorShape( |
| 344 const protocol::CursorShapeInfo& cursor_shape) { | 343 const protocol::CursorShapeInfo& cursor_shape) { |
| 345 VLOG(1) << "TestChromotingClient::SetCursorShape() Called"; | 344 VLOG(1) << "TestChromotingClient::SetCursorShape() Called"; |
| 346 } | 345 } |
| 347 | 346 |
| 348 } // namespace test | 347 } // namespace test |
| 349 } // namespace remoting | 348 } // namespace remoting |
| OLD | NEW |