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

Side by Side Diff: content/renderer/media/video_capture_impl_unittest.cc

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 "base/message_loop.h"
6 #include "content/common/child_process.h" 6 #include "content/child/child_process.h"
7 #include "content/common/media/video_capture_messages.h" 7 #include "content/common/media/video_capture_messages.h"
8 #include "content/renderer/media/video_capture_impl.h" 8 #include "content/renderer/media/video_capture_impl.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 using ::testing::_; 12 using ::testing::_;
13 using ::testing::AtLeast; 13 using ::testing::AtLeast;
14 using ::testing::Return; 14 using ::testing::Return;
15 15
16 #define CAPABILITY_SMALL {176, 144, 30, media::VideoCaptureCapability::kI420, \ 16 #define CAPABILITY_SMALL {176, 144, 30, media::VideoCaptureCapability::kI420, \
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 .WillOnce(Return()); 291 .WillOnce(Return());
292 EXPECT_CALL(*client2, OnRemoved(_)) 292 EXPECT_CALL(*client2, OnRemoved(_))
293 .WillOnce(Return()); 293 .WillOnce(Return());
294 294
295 video_capture_impl_->StopCapture(client1.get()); 295 video_capture_impl_->StopCapture(client1.get());
296 video_capture_impl_->StopCapture(client2.get()); 296 video_capture_impl_->StopCapture(client2.get());
297 message_loop_->RunUntilIdle(); 297 message_loop_->RunUntilIdle();
298 } 298 }
299 299
300 } // namespace content 300 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/webrtc_audio_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698