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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.cc

Issue 23462021: Move out Drive cache file path constants outside of file_system_util.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: chrome/browser/chromeos/drive/file_system_util.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
index a7ead1e0ec36c2651665e071c6baca05dec239e1..4a292f0d091ed57376970188b51a1dc7f9adc607 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -323,7 +323,8 @@ std::string NormalizeFileName(const std::string& input) {
}
void MigrateCacheFilesFromOldDirectories(
- const base::FilePath& cache_root_directory) {
+ const base::FilePath& cache_root_directory,
+ const base::FilePath::StringType& cache_file_directory_name) {
const base::FilePath persistent_directory =
cache_root_directory.AppendASCII("persistent");
const base::FilePath tmp_directory =
@@ -332,7 +333,7 @@ void MigrateCacheFilesFromOldDirectories(
return;
const base::FilePath cache_file_directory =
- cache_root_directory.Append(kCacheFileDirectory);
+ cache_root_directory.Append(cache_file_directory_name);
// Move all files inside "persistent" to "files".
MoveAllFilesFromDirectory(persistent_directory, cache_file_directory);
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_util.h ('k') | chrome/browser/chromeos/drive/file_system_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698