| Index: chrome/browser/chromeos/drive/file_cache.h
|
| diff --git a/chrome/browser/chromeos/drive/file_cache.h b/chrome/browser/chromeos/drive/file_cache.h
|
| index 66a34a281929afa82c982f4892a79aae4bc02c8c..1127ec9934ba2aebfc221e8f36ec118a280ef6e8 100644
|
| --- a/chrome/browser/chromeos/drive/file_cache.h
|
| +++ b/chrome/browser/chromeos/drive/file_cache.h
|
| @@ -157,7 +157,11 @@ class FileCache {
|
|
|
| // Moves files in the cache directory which are not manged by FileCache to
|
| // |dest_directory|.
|
| - bool RecoverFilesFromCacheDirectory(const base::FilePath& dest_directory);
|
| + // |recovered_cache_entries| should contain cache entries recovered from the
|
| + // trashed metadata DB. It is used to ignore non-dirty files.
|
| + bool RecoverFilesFromCacheDirectory(
|
| + const base::FilePath& dest_directory,
|
| + const std::map<std::string, FileCacheEntry>& recovered_cache_entries);
|
|
|
| private:
|
| friend class FileCacheTest;
|
|
|