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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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/picasa_data_provider.h" 5 #include "chrome/browser/media_galleries/fileapi/picasa_data_provider.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/basictypes.h"
10 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
13 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
14 #include "chrome/browser/media_galleries/fileapi/file_path_watcher_util.h" 13 #include "chrome/browser/media_galleries/fileapi/file_path_watcher_util.h"
15 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 14 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
16 #include "chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader. h" 15 #include "chrome/browser/media_galleries/fileapi/safe_picasa_album_table_reader. h"
17 #include "chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.h" 16 #include "chrome/browser/media_galleries/fileapi/safe_picasa_albums_indexer.h"
18 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h" 17 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h"
19 #include "storage/browser/fileapi/file_system_operation_context.h" 18 #include "storage/browser/fileapi/file_system_operation_context.h"
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 if (total_counts[name] != 1) { 257 if (total_counts[name] != 1) {
259 name = base::StringPrintf("%s (%d)", name.c_str(), 258 name = base::StringPrintf("%s (%d)", name.c_str(),
260 ++current_counts[name]); 259 ++current_counts[name]);
261 } 260 }
262 261
263 result_map->insert(std::pair<std::string, AlbumInfo>(name, info_list[i])); 262 result_map->insert(std::pair<std::string, AlbumInfo>(name, info_list[i]));
264 } 263 }
265 } 264 }
266 265
267 } // namespace picasa 266 } // namespace picasa
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698