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

Unified Diff: storage/browser/fileapi/file_system_usage_cache.cc

Issue 2236453002: storage: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: storage/browser/fileapi/file_system_usage_cache.cc
diff --git a/storage/browser/fileapi/file_system_usage_cache.cc b/storage/browser/fileapi/file_system_usage_cache.cc
index 8b6ec2236ce65b1696088c14bf5df894c577f241..44d291fc60aa48378beb2df5eca427bc3c751a62 100644
--- a/storage/browser/fileapi/file_system_usage_cache.cc
+++ b/storage/browser/fileapi/file_system_usage_cache.cc
@@ -161,7 +161,7 @@ bool FileSystemUsageCache::Delete(const base::FilePath& usage_file_path) {
void FileSystemUsageCache::CloseCacheFiles() {
TRACE_EVENT0("FileSystem", "UsageCache::CloseCacheFiles");
DCHECK(CalledOnValidThread());
- STLDeleteValues(&cache_files_);
+ base::STLDeleteValues(&cache_files_);
timer_.reset();
}
@@ -300,7 +300,7 @@ bool FileSystemUsageCache::CalledOnValidThread() {
bool FileSystemUsageCache::HasCacheFileHandle(const base::FilePath& file_path) {
DCHECK(CalledOnValidThread());
DCHECK_LE(cache_files_.size(), kMaxHandleCacheSize);
- return ContainsKey(cache_files_, file_path);
+ return base::ContainsKey(cache_files_, file_path);
}
} // namespace storage
« no previous file with comments | « storage/browser/fileapi/file_system_operation_runner.cc ('k') | storage/browser/fileapi/isolated_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698