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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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/iapps_data_provider.h" 5 #include "chrome/browser/media_galleries/fileapi/iapps_data_provider.h"
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/format_macros.h" 12 #include "base/format_macros.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/stringprintf.h"
18 #include "base/threading/thread_restrictions.h" 17 #include "base/threading/thread_restrictions.h"
19 #include "chrome/browser/media_galleries/fileapi/file_path_watcher_util.h" 18 #include "chrome/browser/media_galleries/fileapi/file_path_watcher_util.h"
20 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 19 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
21 #include "chrome/common/media_galleries/itunes_library.h" 20 #include "chrome/common/media_galleries/itunes_library.h"
22 #include "storage/browser/fileapi/native_file_util.h" 21 #include "storage/browser/fileapi/native_file_util.h"
23 #include "third_party/icu/source/common/unicode/locid.h" 22 #include "third_party/icu/source/common/unicode/locid.h"
24 23
25 namespace iapps { 24 namespace iapps {
26 25
27 IAppsDataProvider::IAppsDataProvider(const base::FilePath& library_path) 26 IAppsDataProvider::IAppsDataProvider(const base::FilePath& library_path)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void IAppsDataProvider::OnLibraryChanged(const base::FilePath& path, 76 void IAppsDataProvider::OnLibraryChanged(const base::FilePath& path,
78 bool error) { 77 bool error) {
79 MediaFileSystemBackend::AssertCurrentlyOnMediaSequence(); 78 MediaFileSystemBackend::AssertCurrentlyOnMediaSequence();
80 DCHECK_EQ(library_path_.value(), path.value()); 79 DCHECK_EQ(library_path_.value(), path.value());
81 if (error) 80 if (error)
82 LOG(ERROR) << "Error watching " << library_path_.value(); 81 LOG(ERROR) << "Error watching " << library_path_.value();
83 needs_refresh_ = true; 82 needs_refresh_ = true;
84 } 83 }
85 84
86 } // namespace iapps 85 } // namespace iapps
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_perf_browsertest.cc ('k') | chrome/browser/media_galleries/fileapi/picasa_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698