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

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

Issue 118953003: drive: Stop setting dummy resource ID for "drive" and "other" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/resource_metadata_unittest.cc
diff --git a/chrome/browser/chromeos/drive/resource_metadata_unittest.cc b/chrome/browser/chromeos/drive/resource_metadata_unittest.cc
index 00ce26d304e4e2e268cc86fd0f568b26958e9415..f7df3cc14cc7096655f2919095853eaf639ba396 100644
--- a/chrome/browser/chromeos/drive/resource_metadata_unittest.cc
+++ b/chrome/browser/chromeos/drive/resource_metadata_unittest.cc
@@ -420,7 +420,6 @@ TEST_F(ResourceMetadataTest, RefreshEntry) {
// Cannot refresh root.
dir_entry.Clear();
- dir_entry.set_resource_id(util::kDriveGrandRootLocalId);
dir_entry.set_local_id(util::kDriveGrandRootLocalId);
dir_entry.set_title("new-root-name");
dir_entry.set_parent_local_id(dir3_id);
@@ -726,7 +725,7 @@ TEST_F(ResourceMetadataTest, Reset) {
base::FilePath::FromUTF8Unsafe("drive"), &entry));
EXPECT_EQ("drive", entry.base_name());
ASSERT_TRUE(entry.file_info().is_directory());
- EXPECT_EQ(util::kDriveGrandRootLocalId, entry.resource_id());
+ EXPECT_EQ(util::kDriveGrandRootLocalId, entry.local_id());
// There are "other" and "trash" under "drive".
ASSERT_EQ(FILE_ERROR_OK,
« no previous file with comments | « chrome/browser/chromeos/drive/resource_metadata.cc ('k') | chrome/browser/chromeos/drive/sync/entry_update_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698