Index: sync/internal_api/attachments/attachment_store_handle_unittest.cc |
diff --git a/sync/internal_api/attachments/attachment_store_handle_unittest.cc b/sync/internal_api/attachments/attachment_store_handle_unittest.cc |
index a282c607977ab5719acf04bba0ab6175f255056f..0ce411f0b5d97b79a27059f7a6d630fbab103352 100644 |
--- a/sync/internal_api/attachments/attachment_store_handle_unittest.cc |
+++ b/sync/internal_api/attachments/attachment_store_handle_unittest.cc |
@@ -79,17 +79,13 @@ class AttachmentStoreHandleTest : public testing::Test { |
backend.Pass(), base::ThreadTaskRunnerHandle::Get()); |
} |
- static void ReadDone(const AttachmentStore::Result& result, |
- scoped_ptr<AttachmentMap> attachments, |
- scoped_ptr<AttachmentIdList> unavailable_attachments) { |
+ static void DoneWithResult(const AttachmentStore::Result& result) { |
NOTREACHED(); |
} |
- static void WriteDone(const AttachmentStore::Result& result) { |
- NOTREACHED(); |
- } |
- |
- static void DropDone(const AttachmentStore::Result& result) { |
+ static void ReadDone(const AttachmentStore::Result& result, |
+ scoped_ptr<AttachmentMap> attachments, |
+ scoped_ptr<AttachmentIdList> unavailable_attachments) { |
NOTREACHED(); |
} |
@@ -126,13 +122,13 @@ TEST_F(AttachmentStoreHandleTest, MethodsCalled) { |
EXPECT_EQ(read_call_count_, 1); |
attachment_store_handle_->Write( |
- attachments, base::Bind(&AttachmentStoreHandleTest::WriteDone)); |
+ attachments, base::Bind(&AttachmentStoreHandleTest::DoneWithResult)); |
EXPECT_EQ(write_call_count_, 0); |
RunMessageLoop(); |
EXPECT_EQ(write_call_count_, 1); |
attachment_store_handle_->Drop( |
- ids, base::Bind(&AttachmentStoreHandleTest::DropDone)); |
+ ids, base::Bind(&AttachmentStoreHandleTest::DoneWithResult)); |
EXPECT_EQ(drop_call_count_, 0); |
RunMessageLoop(); |
EXPECT_EQ(drop_call_count_, 1); |