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

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

Issue 13586012: drive: Enable a hook to update the default download directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update tests. Created 7 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
Index: chrome/browser/chromeos/drive/drive_file_system_util_unittest.cc
diff --git a/chrome/browser/chromeos/drive/drive_file_system_util_unittest.cc b/chrome/browser/chromeos/drive/drive_file_system_util_unittest.cc
index 668a181c183dd3c564a73d918f27841c7b572f71..db3dea8bf3b02b6aaa52512489220cc0f2442a62 100644
--- a/chrome/browser/chromeos/drive/drive_file_system_util_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_file_system_util_unittest.cc
@@ -125,13 +125,12 @@ TEST(DriveFileSystemUtilTest, NeedsNamespaceMigration) {
EXPECT_FALSE(NeedsNamespaceMigration(
base::FilePath::FromUTF8Unsafe("special/drivex/foo.txt")));
- // Before migration. TODO(haruki): These cases should be EXPECT_TRUE.
- // Update this along with http://crbug.com/174233.
- EXPECT_FALSE(NeedsNamespaceMigration(
+ // Before migration.
+ EXPECT_TRUE(NeedsNamespaceMigration(
base::FilePath::FromUTF8Unsafe("/special/drive")));
- EXPECT_FALSE(NeedsNamespaceMigration(
+ EXPECT_TRUE(NeedsNamespaceMigration(
base::FilePath::FromUTF8Unsafe("/special/drive/foo.txt")));
- EXPECT_FALSE(NeedsNamespaceMigration(
+ EXPECT_TRUE(NeedsNamespaceMigration(
base::FilePath::FromUTF8Unsafe("/special/drive/subdir/foo.txt")));
// Already migrated.

Powered by Google App Engine
This is Rietveld 408576698