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

Unified Diff: chrome/browser/chromeos/drive/file_cache.h

Issue 55713002: drive: Use base_name recovered from trashed DB when DB corruption happens (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use title Created 7 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 side-by-side diff with in-line comments
Download patch
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 1127ec9934ba2aebfc221e8f36ec118a280ef6e8..cc5953726c403d877082ef90335b092f51203130 100644
--- a/chrome/browser/chromeos/drive/file_cache.h
+++ b/chrome/browser/chromeos/drive/file_cache.h
@@ -157,11 +157,12 @@ class FileCache {
// Moves files in the cache directory which are not manged by FileCache to
// |dest_directory|.
- // |recovered_cache_entries| should contain cache entries recovered from the
- // trashed metadata DB. It is used to ignore non-dirty files.
+ // |recovered_cache_info| should contain cache info 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);
+ const ResourceMetadataStorage::RecoveredCacheInfoMap&
+ recovered_cache_info);
private:
friend class FileCacheTest;
« no previous file with comments | « chrome/browser/chromeos/drive/drive_integration_service.cc ('k') | chrome/browser/chromeos/drive/file_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698