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

Side by Side Diff: device/capture/content/capture_resolution_chooser.cc

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "media/capture/content/capture_resolution_chooser.h" 5 #include "device/capture/content/capture_resolution_chooser.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "media/base/limits.h" 11 #include "media/base/limits.h"
12 #include "media/base/video_util.h" 12 #include "media/base/video_util.h"
13 13
14 namespace media { 14 namespace media {
15 15
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 if (VLOG_IS_ON(1)) { 230 if (VLOG_IS_ON(1)) {
231 std::vector<std::string> stringified_sizes; 231 std::vector<std::string> stringified_sizes;
232 for (const gfx::Size& size : snapped_sizes_) 232 for (const gfx::Size& size : snapped_sizes_)
233 stringified_sizes.push_back(size.ToString()); 233 stringified_sizes.push_back(size.ToString());
234 VLOG_STREAM(1) << "Recomputed snapped frame sizes: " 234 VLOG_STREAM(1) << "Recomputed snapped frame sizes: "
235 << base::JoinString(stringified_sizes, " <--> "); 235 << base::JoinString(stringified_sizes, " <--> ");
236 } 236 }
237 } 237 }
238 238
239 } // namespace media 239 } // namespace media
OLDNEW
« no previous file with comments | « device/capture/content/capture_resolution_chooser.h ('k') | device/capture/content/capture_resolution_chooser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698