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

Side by Side Diff: chrome/browser/media_galleries/fileapi/itunes_data_provider.cc

Issue 16667014: Use a direct include of strings headers in chrome/browser/media_galleries/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/itunes_finder_win.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/media_galleries/fileapi/itunes_data_provider.h" 5 #include "chrome/browser/media_galleries/fileapi/itunes_data_provider.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "base/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/threading/thread_restrictions.h" 13 #include "base/threading/thread_restrictions.h"
14 #include "chrome/browser/media_galleries/fileapi/itunes_library_parser.h" 14 #include "chrome/browser/media_galleries/fileapi/itunes_library_parser.h"
15 15
16 namespace itunes { 16 namespace itunes {
17 17
18 namespace { 18 namespace {
19 19
20 // A "reasonable" artificial limit. 20 // A "reasonable" artificial limit.
21 // TODO(vandebo): Add a UMA to figure out what common values are. 21 // TODO(vandebo): Add a UMA to figure out what common values are.
22 const int64 kMaxLibraryFileSize = 150 * 1024 * 1024; 22 const int64 kMaxLibraryFileSize = 150 * 1024 * 1024;
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 for (album_it = artist_it->second.begin(); 200 for (album_it = artist_it->second.begin();
201 album_it != artist_it->second.end(); 201 album_it != artist_it->second.end();
202 ++album_it) { 202 ++album_it) {
203 library_[artist_it->first][album_it->first] = 203 library_[artist_it->first][album_it->first] =
204 MakeUniqueTrackNames(album_it->second); 204 MakeUniqueTrackNames(album_it->second);
205 } 205 }
206 } 206 }
207 } 207 }
208 208
209 } // namespace itunes 209 } // namespace itunes
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/itunes_finder_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698