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 "base/bind.h" |
5 #include "base/message_loop/message_loop.h" | 6 #include "base/message_loop/message_loop.h" |
6 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
7 #include "base/threading/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
8 #include "content/child/child_process.h" | 9 #include "content/child/child_process.h" |
9 #include "content/renderer/media/canvas_capture_handler.h" | 10 #include "content/renderer/media/canvas_capture_handler.h" |
10 #include "content/renderer/media/media_stream_video_capturer_source.h" | 11 #include "content/renderer/media/media_stream_video_capturer_source.h" |
11 #include "media/base/limits.h" | 12 #include "media/base/limits.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" | 15 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 INSTANTIATE_TEST_CASE_P( | 249 INSTANTIATE_TEST_CASE_P( |
249 , | 250 , |
250 CanvasCaptureHandlerTest, | 251 CanvasCaptureHandlerTest, |
251 ::testing::Combine(::testing::Bool(), | 252 ::testing::Combine(::testing::Bool(), |
252 ::testing::Values(kTestCanvasCaptureFrameEvenSize, | 253 ::testing::Values(kTestCanvasCaptureFrameEvenSize, |
253 kTestCanvasCaptureFrameOddSize), | 254 kTestCanvasCaptureFrameOddSize), |
254 ::testing::Values(kTestCanvasCaptureFrameEvenSize, | 255 ::testing::Values(kTestCanvasCaptureFrameEvenSize, |
255 kTestCanvasCaptureFrameOddSize))); | 256 kTestCanvasCaptureFrameOddSize))); |
256 | 257 |
257 } // namespace content | 258 } // namespace content |
OLD | NEW |