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

Side by Side Diff: services/video_capture/test/mock_device_factory.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
« no previous file with comments | « services/video_capture/service_impl.cc ('k') | services/video_capture/test/mock_device_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/memory/ptr_util.h"
5 #include "services/video_capture/test/mock_device_factory.h" 6 #include "services/video_capture/test/mock_device_factory.h"
6 7
7 namespace { 8 namespace {
8 9
9 // Report a single hard-coded supported format to clients. 10 // Report a single hard-coded supported format to clients.
10 media::VideoCaptureFormat kSupportedFormat(gfx::Size(), 11 media::VideoCaptureFormat kSupportedFormat(gfx::Size(),
11 25.0f, 12 25.0f,
12 media::PIXEL_FORMAT_I420, 13 media::PIXEL_FORMAT_I420,
13 media::PIXEL_STORAGE_CPU); 14 media::PIXEL_STORAGE_CPU);
14 15
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 device_descriptors->push_back(entry.first); 68 device_descriptors->push_back(entry.first);
68 } 69 }
69 70
70 void MockDeviceFactory::GetSupportedFormats( 71 void MockDeviceFactory::GetSupportedFormats(
71 const media::VideoCaptureDeviceDescriptor& device_descriptor, 72 const media::VideoCaptureDeviceDescriptor& device_descriptor,
72 media::VideoCaptureFormats* supported_formats) { 73 media::VideoCaptureFormats* supported_formats) {
73 supported_formats->push_back(kSupportedFormat); 74 supported_formats->push_back(kSupportedFormat);
74 } 75 }
75 76
76 } // namespace video_capture 77 } // namespace video_capture
OLDNEW
« no previous file with comments | « services/video_capture/service_impl.cc ('k') | services/video_capture/test/mock_device_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698