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