Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: remoting/test/test_chromoting_client.cc

Issue 1559023003: Move VideoRenderer to remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/test/test_chromoting_client.h ('k') | remoting/test/test_video_renderer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « remoting/test/test_chromoting_client.h ('k') | remoting/test/test_video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698