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

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

Issue 1253613002: Updated latency fixture and refactored connection helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Updated naming for accessor of test_chromoting_client_" Created 5 years, 4 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
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 <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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698