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

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

Issue 2389583002: Remove stl_util's deletion functions from storage/. (Closed)
Patch Set: nits Created 4 years, 2 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.h
diff --git a/storage/browser/fileapi/file_system_usage_cache.h b/storage/browser/fileapi/file_system_usage_cache.h
index 2ce570cbe310094fe82a431be761a84d8d04294c..98dd922704847813ece4557581e8a46feb2bc3bd 100644
--- a/storage/browser/fileapi/file_system_usage_cache.h
+++ b/storage/browser/fileapi/file_system_usage_cache.h
@@ -63,8 +63,6 @@ class STORAGE_EXPORT FileSystemUsageCache {
static const int kUsageFileHeaderSize;
private:
- typedef std::map<base::FilePath, base::File*> CacheFiles;
-
// Read the size, validity and the "dirty" entry described in the .usage file.
// Returns less than zero if no .usage file is available.
bool Read(const base::FilePath& usage_file_path,
@@ -93,7 +91,7 @@ class STORAGE_EXPORT FileSystemUsageCache {
bool CalledOnValidThread();
std::unique_ptr<TimedTaskHelper> timer_;
- CacheFiles cache_files_;
+ std::map<base::FilePath, std::unique_ptr<base::File>> cache_files_;
scoped_refptr<base::SequencedTaskRunner> task_runner_;
« no previous file with comments | « storage/browser/fileapi/copy_or_move_operation_delegate.cc ('k') | storage/browser/fileapi/file_system_usage_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698