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

Side by Side Diff: media/capture/capture_resolution_chooser.cc

Issue 1223153003: Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows Created 5 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/capture_resolution_chooser.h" 5 #include "media/capture/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"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 224 }
225 225
226 // Reverse ordering, so that sizes are from smallest to largest. 226 // Reverse ordering, so that sizes are from smallest to largest.
227 std::reverse(snapped_sizes_.begin(), snapped_sizes_.end()); 227 std::reverse(snapped_sizes_.begin(), snapped_sizes_.end());
228 228
229 if (VLOG_IS_ON(1)) { 229 if (VLOG_IS_ON(1)) {
230 std::vector<std::string> stringified_sizes; 230 std::vector<std::string> stringified_sizes;
231 for (const gfx::Size& size : snapped_sizes_) 231 for (const gfx::Size& size : snapped_sizes_)
232 stringified_sizes.push_back(size.ToString()); 232 stringified_sizes.push_back(size.ToString());
233 VLOG_STREAM(1) << "Recomputed snapped frame sizes: " 233 VLOG_STREAM(1) << "Recomputed snapped frame sizes: "
234 << JoinString(stringified_sizes, " <--> "); 234 << base::JoinString(stringified_sizes, " <--> ");
235 } 235 }
236 } 236 }
237 237
238 } // namespace media 238 } // namespace media
OLDNEW
« no previous file with comments | « google_apis/gaia/oauth2_mint_token_flow.cc ('k') | net/websockets/websocket_basic_handshake_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698