OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "services/video_capture/test/mock_device_test.h" | 5 #include "services/video_capture/test/mock_device_test.h" |
6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
7 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
8 #include "media/capture/video/video_capture_jpeg_decoder.h" | 9 #include "media/capture/video/video_capture_jpeg_decoder.h" |
9 | 10 |
10 namespace { | 11 namespace { |
11 | 12 |
12 std::unique_ptr<media::VideoCaptureJpegDecoder> CreateJpegDecoder() { | 13 std::unique_ptr<media::VideoCaptureJpegDecoder> CreateJpegDecoder() { |
13 return nullptr; | 14 return nullptr; |
14 } | 15 } |
15 | 16 |
16 } // anonymous namespace | 17 } // anonymous namespace |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 requested_settings_.resolution_change_policy = | 72 requested_settings_.resolution_change_policy = |
72 media::RESOLUTION_POLICY_FIXED_RESOLUTION; | 73 media::RESOLUTION_POLICY_FIXED_RESOLUTION; |
73 requested_settings_.power_line_frequency = | 74 requested_settings_.power_line_frequency = |
74 media::PowerLineFrequency::FREQUENCY_DEFAULT; | 75 media::PowerLineFrequency::FREQUENCY_DEFAULT; |
75 | 76 |
76 mock_receiver_ = | 77 mock_receiver_ = |
77 base::MakeUnique<MockReceiver>(mojo::MakeRequest(&mock_receiver_proxy_)); | 78 base::MakeUnique<MockReceiver>(mojo::MakeRequest(&mock_receiver_proxy_)); |
78 } | 79 } |
79 | 80 |
80 } // namespace video_capture | 81 } // namespace video_capture |
OLD | NEW |