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

Unified Diff: content/browser/renderer_host/media/video_capture_host_unittest.cc

Issue 8304017: enable video capture to support sharing across multiple renderer processes (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/media/video_capture_host_unittest.cc
===================================================================
--- content/browser/renderer_host/media/video_capture_host_unittest.cc (revision 107671)
+++ content/browser/renderer_host/media/video_capture_host_unittest.cc (working copy)
@@ -269,18 +269,18 @@
void StartCapture() {
InSequence s;
- // 1. Newly created buffers will arrive.
- EXPECT_CALL(*host_, OnNewBufferCreated(kDeviceId, _, _, _))
- .Times(AnyNumber())
- .WillRepeatedly(Return());
-
- // 2. First - get info about the new resolution
+ // 1. First - get info about the new resolution
EXPECT_CALL(*host_, OnDeviceInfo(kDeviceId));
- // 3. Change state to started
+ // 2. Change state to started
EXPECT_CALL(*host_, OnStateChanged(kDeviceId,
media::VideoCapture::kStarted));
+ // 3. Newly created buffers will arrive.
+ EXPECT_CALL(*host_, OnNewBufferCreated(kDeviceId, _, _, _))
+ .Times(AnyNumber())
+ .WillRepeatedly(Return());
+
// 4. First filled buffer will arrive.
EXPECT_CALL(*host_, OnBufferFilled(kDeviceId, _, _))
.Times(AnyNumber())
« no previous file with comments | « content/browser/renderer_host/media/video_capture_host.cc ('k') | content/browser/renderer_host/media/video_capture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698