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

Unified Diff: chrome/browser/chromeos/drive/file_system_util_unittest.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
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/file_system_util_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util_unittest.cc b/chrome/browser/chromeos/drive/file_system_util_unittest.cc
index 00f63a6e621d5b95bc531e89b78143c505ca6480..789f2f065508779b2dec951040b6f7b21e4a94cd 100644
--- a/chrome/browser/chromeos/drive/file_system_util_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system_util_unittest.cc
@@ -188,7 +188,7 @@ TEST(FileSystemUtilTest, MigrateCacheFilesFromOldDirectories) {
temp_dir.path().AppendASCII("persistent");
const base::FilePath tmp_directory = temp_dir.path().AppendASCII("tmp");
const base::FilePath files_directory =
- temp_dir.path().Append(kCacheFileDirectory);
+ temp_dir.path().AppendASCII("files");
// Prepare directories.
ASSERT_TRUE(file_util::CreateDirectory(persistent_directory));
@@ -202,7 +202,8 @@ TEST(FileSystemUtilTest, MigrateCacheFilesFromOldDirectories) {
tmp_directory.AppendASCII("bar.123"), "bar"));
// Migrate.
- MigrateCacheFilesFromOldDirectories(temp_dir.path());
+ MigrateCacheFilesFromOldDirectories(temp_dir.path(),
+ FILE_PATH_LITERAL("files"));
EXPECT_FALSE(base::PathExists(persistent_directory));
EXPECT_TRUE(base::PathExists(files_directory.AppendASCII("foo.abc")));
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698