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

Side by Side Diff: remoting/host/client_session_unittest.cc

Issue 10829467: [Chromoting] Introducing refcount-based life time management of the message loops in the service (d… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/message_loop.h"
5 #include "remoting/base/constants.h" 6 #include "remoting/base/constants.h"
6 #include "remoting/host/client_session.h" 7 #include "remoting/host/client_session.h"
7 #include "remoting/host/host_mock_objects.h" 8 #include "remoting/host/host_mock_objects.h"
8 #include "remoting/protocol/protocol_mock_objects.h" 9 #include "remoting/protocol/protocol_mock_objects.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace remoting { 12 namespace remoting {
12 13
13 using protocol::MockClipboardStub; 14 using protocol::MockClipboardStub;
14 using protocol::MockConnectionToClient; 15 using protocol::MockConnectionToClient;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 EXPECT_CALL(host_input_stub_, InjectMouseEvent(EqualsMouseEvent( 278 EXPECT_CALL(host_input_stub_, InjectMouseEvent(EqualsMouseEvent(
278 expected_x[i], expected_y[j]))); 279 expected_x[i], expected_y[j])));
279 connection_->input_stub()->InjectMouseEvent(event); 280 connection_->input_stub()->InjectMouseEvent(event);
280 } 281 }
281 } 282 }
282 283
283 DisconnectClientSession(); 284 DisconnectClientSession();
284 } 285 }
285 286
286 } // namespace remoting 287 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698