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

Unified Diff: chrome/browser/chromeos/drive/change_list_processor_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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/change_list_processor_unittest.cc
diff --git a/chrome/browser/chromeos/drive/change_list_processor_unittest.cc b/chrome/browser/chromeos/drive/change_list_processor_unittest.cc
index eefb76dd99166322602c28da77dcbd1de46bd2db..07ab4f6ca20205e742ea8b0616db6e4a717d3f21 100644
--- a/chrome/browser/chromeos/drive/change_list_processor_unittest.cc
+++ b/chrome/browser/chromeos/drive/change_list_processor_unittest.cc
@@ -139,7 +139,7 @@ TEST_F(ChangeListProcessorTest, ApplyFullResourceList) {
const EntryExpectation kExpected[] = {
// Root files
- {"drive/root", kRootId, util::kDriveGrandRootLocalId, DIRECTORY},
+ {"drive/root", kRootId, "", DIRECTORY},
{"drive/root/File 1.txt",
"file:2_file_resource_id", kRootId, FILE},
{"drive/root/Slash _ in file 1.txt",
@@ -170,7 +170,7 @@ TEST_F(ChangeListProcessorTest, ApplyFullResourceList) {
"folder:sub_dir_folder_resource_id", DIRECTORY},
// Orphan
{"drive/other/Orphan File 1.txt", "file:1_orphanfile_resource_id",
- util::kDriveOtherDirLocalId, FILE},
+ "", FILE},
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kExpected); ++i) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698