| 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/memory/ptr_util.h" |
| 8 #include "base/message_loop/message_loop.h" |
| 8 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 9 #include "media/capture/video/video_capture_jpeg_decoder.h" | 10 #include "media/capture/video/video_capture_jpeg_decoder.h" |
| 10 #include "media/capture/video/video_capture_system_impl.h" | 11 #include "media/capture/video/video_capture_system_impl.h" |
| 11 | 12 |
| 12 using testing::_; | 13 using testing::_; |
| 13 using testing::Invoke; | 14 using testing::Invoke; |
| 14 using testing::InvokeWithoutArgs; | 15 using testing::InvokeWithoutArgs; |
| 15 | 16 |
| 16 namespace { | 17 namespace { |
| 17 | 18 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 requested_settings_.resolution_change_policy = | 109 requested_settings_.resolution_change_policy = |
| 109 media::RESOLUTION_POLICY_FIXED_RESOLUTION; | 110 media::RESOLUTION_POLICY_FIXED_RESOLUTION; |
| 110 requested_settings_.power_line_frequency = | 111 requested_settings_.power_line_frequency = |
| 111 media::PowerLineFrequency::FREQUENCY_DEFAULT; | 112 media::PowerLineFrequency::FREQUENCY_DEFAULT; |
| 112 | 113 |
| 113 mock_receiver_ = | 114 mock_receiver_ = |
| 114 base::MakeUnique<MockReceiver>(mojo::MakeRequest(&mock_receiver_proxy_)); | 115 base::MakeUnique<MockReceiver>(mojo::MakeRequest(&mock_receiver_proxy_)); |
| 115 } | 116 } |
| 116 | 117 |
| 117 } // namespace video_capture | 118 } // namespace video_capture |
| OLD | NEW |