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

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

Issue 10918224: Cross-platform plumbing for resize-to-client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments. 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/bind.h" 5 #include "base/bind.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "remoting/base/auto_thread_task_runner.h" 8 #include "remoting/base/auto_thread_task_runner.h"
9 #include "remoting/jingle_glue/mock_objects.h" 9 #include "remoting/jingle_glue/mock_objects.h"
10 #include "remoting/host/audio_capturer.h" 10 #include "remoting/host/audio_capturer.h"
11 #include "remoting/host/chromoting_host_context.h" 11 #include "remoting/host/chromoting_host_context.h"
12 #include "remoting/host/chromoting_host.h" 12 #include "remoting/host/chromoting_host.h"
13 #include "remoting/host/desktop_environment.h" 13 #include "remoting/host/desktop_environment.h"
14 #include "remoting/host/desktop_environment_factory.h" 14 #include "remoting/host/desktop_environment_factory.h"
15 #include "remoting/host/event_executor_fake.h" 15 #include "remoting/host/event_executor_fake.h"
16 #include "remoting/host/desktop_resizer.h"
Wez 2012/09/15 22:39:08 DesktopResizer isn't referred to by this file, so
Jamie 2012/09/19 22:35:07 Done.
16 #include "remoting/host/host_mock_objects.h" 17 #include "remoting/host/host_mock_objects.h"
17 #include "remoting/host/it2me_host_user_interface.h" 18 #include "remoting/host/it2me_host_user_interface.h"
18 #include "remoting/host/video_frame_capturer_fake.h" 19 #include "remoting/host/video_frame_capturer_fake.h"
19 #include "remoting/proto/video.pb.h" 20 #include "remoting/proto/video.pb.h"
20 #include "remoting/protocol/errors.h" 21 #include "remoting/protocol/errors.h"
21 #include "remoting/protocol/protocol_mock_objects.h" 22 #include "remoting/protocol/protocol_mock_objects.h"
22 #include "remoting/protocol/session_config.h" 23 #include "remoting/protocol/session_config.h"
23 #include "testing/gmock_mutant.h" 24 #include "testing/gmock_mutant.h"
24 #include "testing/gmock/include/gmock/gmock.h" 25 #include "testing/gmock/include/gmock/gmock.h"
25 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 ExpectClientDisconnected(0, true, video_packet_sent, 672 ExpectClientDisconnected(0, true, video_packet_sent,
672 InvokeWithoutArgs(this, &ChromotingHostTest::ShutdownHost)); 673 InvokeWithoutArgs(this, &ChromotingHostTest::ShutdownHost));
673 EXPECT_CALL(host_status_observer_, OnShutdown()); 674 EXPECT_CALL(host_status_observer_, OnShutdown());
674 675
675 host_->Start(xmpp_login_); 676 host_->Start(xmpp_login_);
676 SimulateClientConnection(0, true, false); 677 SimulateClientConnection(0, true, false);
677 message_loop_.Run(); 678 message_loop_.Run();
678 } 679 }
679 680
680 } // namespace remoting 681 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698