OLD | NEW |
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/message_loop.h" |
6 #include "content/child/child_process.h" | 6 #include "content/child/child_process.h" |
7 #include "content/common/media/encoded_video_capture_messages.h" | 7 #include "content/common/media/encoded_video_capture_messages.h" |
8 #include "content/common/media/video_capture_messages.h" | 8 #include "content/common/media/video_capture_messages.h" |
9 #include "content/renderer/media/video_capture_impl.h" | 9 #include "content/renderer/media/video_capture_impl.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 | 12 |
13 using ::testing::_; | 13 using ::testing::_; |
14 using ::testing::AtLeast; | 14 using ::testing::AtLeast; |
15 using ::testing::Return; | 15 using ::testing::Return; |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 .WillOnce(Return()); | 316 .WillOnce(Return()); |
317 EXPECT_CALL(*client2, OnRemoved(_)) | 317 EXPECT_CALL(*client2, OnRemoved(_)) |
318 .WillOnce(Return()); | 318 .WillOnce(Return()); |
319 | 319 |
320 video_capture_impl_->StopCapture(client1.get()); | 320 video_capture_impl_->StopCapture(client1.get()); |
321 video_capture_impl_->StopCapture(client2.get()); | 321 video_capture_impl_->StopCapture(client2.get()); |
322 message_loop_->RunUntilIdle(); | 322 message_loop_->RunUntilIdle(); |
323 } | 323 } |
324 | 324 |
325 } // namespace content | 325 } // namespace content |
OLD | NEW |