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

Unified Diff: chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc

Issue 408143014: Rename OperationObserver to OperationDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/touch_operation_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc b/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc
index f9e19525eeaee46e13f8a38b48e0fa0be609237d..8478a6a029df2bbe6477cd7c1e07955fc9662efc 100644
--- a/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc
@@ -21,7 +21,7 @@ typedef OperationTestBase TouchOperationTest;
TEST_F(TouchOperationTest, TouchFile) {
TouchOperation operation(blocking_task_runner(),
- observer(),
+ delegate(),
metadata());
const base::FilePath kTestPath(FILE_PATH_LITERAL("drive/root/File 1.txt"));
@@ -49,11 +49,11 @@ TEST_F(TouchOperationTest, TouchFile) {
base::Time::FromInternalValue(entry.file_info().last_modified()));
EXPECT_EQ(ResourceEntry::DIRTY, entry.metadata_edit_state());
- EXPECT_EQ(1U, observer()->get_changed_files().size());
- EXPECT_TRUE(observer()->get_changed_files().count(kTestPath));
+ EXPECT_EQ(1U, delegate()->get_changed_files().size());
+ EXPECT_TRUE(delegate()->get_changed_files().count(kTestPath));
- EXPECT_EQ(1U, observer()->updated_local_ids().size());
- EXPECT_TRUE(observer()->updated_local_ids().count(entry.local_id()));
+ EXPECT_EQ(1U, delegate()->updated_local_ids().size());
+ EXPECT_TRUE(delegate()->updated_local_ids().count(entry.local_id()));
}
} // namespace file_system

Powered by Google App Engine
This is Rietveld 408576698