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

Unified Diff: components/drive/file_cache.h

Issue 1811933004: Reland: Create hard links in file migration if necessary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | components/drive/file_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/file_cache.h
diff --git a/components/drive/file_cache.h b/components/drive/file_cache.h
index c63756637923ef99e51b0405cc875bbb9c8b0499..2dad5da4d80cf8bb9f1851e868157aa6d851bbf2 100644
--- a/components/drive/file_cache.h
+++ b/components/drive/file_cache.h
@@ -157,10 +157,12 @@ class FileCache {
const ResourceMetadataStorage::RecoveredCacheInfoMap&
recovered_cache_info);
- // Migrates cache files from |from| directory to |to| directory. Returns true
- // for success.
+ // Migrates cache files from |from| directory to |to_files| directory with
+ // creating links in |to_links| directory if necessary. Returns true for
+ // success.
static bool MigrateCacheFiles(const base::FilePath& from,
- const base::FilePath& to,
+ const base::FilePath& to_files,
+ const base::FilePath& to_links,
ResourceMetadataStorage* metadata_storage);
private:
« no previous file with comments | « no previous file | components/drive/file_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698