OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "content/browser/renderer_host/media/video_capture_device_client.h" | 5 #include "content/browser/renderer_host/media/video_capture_device_client.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
18 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h" | 18 #include "content/browser/renderer_host/media/video_capture_buffer_pool.h" |
19 #include "content/browser/renderer_host/media/video_capture_controller.h" | 19 #include "content/browser/renderer_host/media/video_capture_controller.h" |
20 #include "content/public/test/test_browser_thread_bundle.h" | 20 #include "content/public/test/test_browser_thread_bundle.h" |
21 #include "media/base/limits.h" | 21 #include "media/base/limits.h" |
22 #include "testing/gmock/include/gmock/gmock.h" | 22 #include "testing/gmock/include/gmock/gmock.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
24 | 24 |
25 using ::testing::_; | 25 using ::testing::_; |
26 using ::testing::Mock; | 26 using ::testing::Mock; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 228 |
229 EXPECT_EQ(coded_size.width(), size_and_rotation.output_resolution.width()); | 229 EXPECT_EQ(coded_size.width(), size_and_rotation.output_resolution.width()); |
230 EXPECT_EQ(coded_size.height(), | 230 EXPECT_EQ(coded_size.height(), |
231 size_and_rotation.output_resolution.height()); | 231 size_and_rotation.output_resolution.height()); |
232 | 232 |
233 Mock::VerifyAndClearExpectations(controller_.get()); | 233 Mock::VerifyAndClearExpectations(controller_.get()); |
234 } | 234 } |
235 } | 235 } |
236 | 236 |
237 } // namespace content | 237 } // namespace content |
OLD | NEW |