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/renderer/media_recorder/video_track_recorder.h" | 5 #include "content/renderer/media_recorder/video_track_recorder.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/message_loop/message_loop.h" |
16 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
17 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
18 #include "content/child/child_process.h" | 19 #include "content/child/child_process.h" |
19 #include "content/renderer/media/media_stream_video_track.h" | 20 #include "content/renderer/media/media_stream_video_track.h" |
20 #include "content/renderer/media/mock_media_stream_video_source.h" | 21 #include "content/renderer/media/mock_media_stream_video_source.h" |
21 #include "media/base/video_frame.h" | 22 #include "media/base/video_frame.h" |
22 #include "testing/gmock/include/gmock/gmock.h" | 23 #include "testing/gmock/include/gmock/gmock.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
24 #include "third_party/WebKit/public/platform/WebString.h" | 25 #include "third_party/WebKit/public/platform/WebString.h" |
25 #include "third_party/WebKit/public/web/WebHeap.h" | 26 #include "third_party/WebKit/public/web/WebHeap.h" |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 Mock::VerifyAndClearExpectations(this); | 325 Mock::VerifyAndClearExpectations(this); |
325 } | 326 } |
326 | 327 |
327 INSTANTIATE_TEST_CASE_P(, | 328 INSTANTIATE_TEST_CASE_P(, |
328 VideoTrackRecorderTest, | 329 VideoTrackRecorderTest, |
329 ::testing::Combine(ValuesIn(kTrackRecorderTestCodec), | 330 ::testing::Combine(ValuesIn(kTrackRecorderTestCodec), |
330 ValuesIn(kTrackRecorderTestSize), | 331 ValuesIn(kTrackRecorderTestSize), |
331 ::testing::Bool())); | 332 ::testing::Bool())); |
332 | 333 |
333 } // namespace content | 334 } // namespace content |
OLD | NEW |