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

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

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 "remoting/host/video_scheduler.h" 5 #include "remoting/host/video_scheduler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "remoting/base/capture_data.h" 10 #include "remoting/capturer/capture_data.h"
11 #include "remoting/capturer/capturer_mock_objects.h"
11 #include "remoting/codec/video_encoder.h" 12 #include "remoting/codec/video_encoder.h"
12 #include "remoting/host/host_mock_objects.h"
13 #include "remoting/proto/video.pb.h" 13 #include "remoting/proto/video.pb.h"
14 #include "remoting/protocol/protocol_mock_objects.h" 14 #include "remoting/protocol/protocol_mock_objects.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 using ::remoting::protocol::MockClientStub; 18 using ::remoting::protocol::MockClientStub;
19 using ::remoting::protocol::MockVideoStub; 19 using ::remoting::protocol::MockVideoStub;
20 20
21 using ::testing::_; 21 using ::testing::_;
22 using ::testing::AtLeast; 22 using ::testing::AtLeast;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 EXPECT_CALL(capturer_, Stop()) 168 EXPECT_CALL(capturer_, Stop())
169 .After(capturer_capture); 169 .After(capturer_capture);
170 170
171 // Start video frame capture. 171 // Start video frame capture.
172 StartVideoScheduler(); 172 StartVideoScheduler();
173 run_loop.Run(); 173 run_loop.Run();
174 } 174 }
175 175
176 } // namespace remoting 176 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698