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

Side by Side Diff: services/video_capture/device_factory_media_to_mojo_adapter.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/device_factory_media_to_mojo_adapter.h" 5 #include "services/video_capture/device_factory_media_to_mojo_adapter.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ptr_util.h"
10 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
11 #include "media/capture/video/fake_video_capture_device.h" 12 #include "media/capture/video/fake_video_capture_device.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
13 #include "services/video_capture/device_media_to_mojo_adapter.h" 14 #include "services/video_capture/device_media_to_mojo_adapter.h"
14 #include "services/video_capture/public/cpp/capture_settings.h" 15 #include "services/video_capture/public/cpp/capture_settings.h"
15 16
16 namespace video_capture { 17 namespace video_capture {
17 18
18 DeviceFactoryMediaToMojoAdapter::ActiveDeviceEntry::ActiveDeviceEntry() = 19 DeviceFactoryMediaToMojoAdapter::ActiveDeviceEntry::ActiveDeviceEntry() =
19 default; 20 default;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 [&device_id](const media::VideoCaptureDeviceDescriptor& descriptor) { 133 [&device_id](const media::VideoCaptureDeviceDescriptor& descriptor) {
133 return descriptor.device_id == device_id; 134 return descriptor.device_id == device_id;
134 }); 135 });
135 if (descriptor_iter == descriptors.end()) 136 if (descriptor_iter == descriptors.end())
136 return false; 137 return false;
137 *descriptor = *descriptor_iter; 138 *descriptor = *descriptor_iter;
138 return true; 139 return true;
139 } 140 }
140 141
141 } // namespace video_capture 142 } // namespace video_capture
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | services/video_capture/device_media_to_mojo_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698