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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service_unittest.cc

Issue 11602004: Cleanup: Remote metadata parameter from ApplyLocalChange (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/sync_file_system/mock_local_change_processor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc b/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
index 2b77fdfe00ea93d1a53c217e4be154febb5a966d..7339b2a343bf7b2663a2fdfde71c39f8b054fe57 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service_unittest.cc
@@ -105,7 +105,7 @@ ACTION_P(RecordState, states) {
ACTION_P(MockStatusCallback, status) {
base::MessageLoopProxy::current()->PostTask(
- FROM_HERE, base::Bind(arg4, status));
+ FROM_HERE, base::Bind(arg3, status));
}
ACTION_P3(MockSyncOperationCallback, status, url, operation_type) {
@@ -463,7 +463,7 @@ TEST_F(SyncFileSystemServiceTest, SimpleLocalSyncFlow) {
// with ADD_OR_UPDATE change for TYPE_FILE.
const FileChange change(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
fileapi::SYNC_FILE_TYPE_FILE);
- EXPECT_CALL(local_change_processor, ApplyLocalChange(change, _, _, kFile, _))
+ EXPECT_CALL(local_change_processor, ApplyLocalChange(change, _, kFile, _))
.WillOnce(MockStatusCallback(fileapi::SYNC_STATUS_OK));
EXPECT_EQ(base::PLATFORM_FILE_OK, file_system_->CreateFile(kFile));
@@ -528,7 +528,7 @@ TEST_F(SyncFileSystemServiceTest, SimpleSyncFlowWithFileBusy) {
// We might also see an activity for local sync as we're going to make
// a local write operation on kFile.
- EXPECT_CALL(local_change_processor, ApplyLocalChange(_, _, _, kFile, _))
+ EXPECT_CALL(local_change_processor, ApplyLocalChange(_, _, kFile, _))
.Times(AnyNumber());
// This should trigger a remote sync.
« no previous file with comments | « chrome/browser/sync_file_system/mock_local_change_processor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698