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

Unified Diff: chrome/browser/storage_monitor/media_storage_util.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/storage_monitor/media_storage_util.cc
diff --git a/chrome/browser/storage_monitor/media_storage_util.cc b/chrome/browser/storage_monitor/media_storage_util.cc
index 785440c470e40bb00bd0c4ff0a9c18ac49a0e559..76d39f703f54d1547a5743b02ef4dd59a2a57c86 100644
--- a/chrome/browser/storage_monitor/media_storage_util.cc
+++ b/chrome/browser/storage_monitor/media_storage_util.cc
@@ -44,7 +44,7 @@ void ValidatePathOnFileThread(
const base::Callback<void(bool)>& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- base::Bind(callback, file_util::PathExists(path)));
+ base::Bind(callback, base::PathExists(path)));
}
typedef std::vector<StorageInfo> StorageInfoList;
@@ -79,7 +79,7 @@ void FilterAttachedDevicesOnFileThread(MediaStorageUtil::DeviceIdSet* devices) {
if (type == StorageInfo::FIXED_MASS_STORAGE ||
type == StorageInfo::ITUNES ||
type == StorageInfo::PICASA) {
- if (!file_util::PathExists(base::FilePath::FromUTF8Unsafe(unique_id)))
+ if (!base::PathExists(base::FilePath::FromUTF8Unsafe(unique_id)))
missing_devices.insert(*it);
continue;
}
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_service_browsertest.cc ('k') | chrome/browser/sync/profile_sync_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698