Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Side by Side Diff: services/video_capture/test/mock_device_test.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « services/video_capture/test/mock_device_factory.cc ('k') | storage/browser/fileapi/file_system_operation_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698