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

Unified Diff: sync/internal_api/attachments/attachment_service_proxy_unittest.cc

Issue 1035573002: [Sync] Replace AttachmentIdSet with AttachmentIdList in interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes after Nick's feedback. Created 5 years, 9 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: sync/internal_api/attachments/attachment_service_proxy_unittest.cc
diff --git a/sync/internal_api/attachments/attachment_service_proxy_unittest.cc b/sync/internal_api/attachments/attachment_service_proxy_unittest.cc
index a66b39f4858fc278c327bab10a694319a529e5d2..fe52f469fba7881ab5211397d976ba6d4dfc6ae7 100644
--- a/sync/internal_api/attachments/attachment_service_proxy_unittest.cc
+++ b/sync/internal_api/attachments/attachment_service_proxy_unittest.cc
@@ -46,7 +46,7 @@ class StubAttachmentService : public AttachmentService,
base::Passed(&attachments)));
}
- void UploadAttachments(const AttachmentIdSet& attachments_ids) override {
+ void UploadAttachments(const AttachmentIdList& attachments_ids) override {
CalledOnValidThread();
Increment();
}
@@ -135,7 +135,7 @@ class AttachmentServiceProxyTest : public testing::Test,
// thread.
TEST_F(AttachmentServiceProxyTest, MethodsAreProxied) {
proxy->GetOrDownloadAttachments(AttachmentIdList(), callback_get_or_download);
- proxy->UploadAttachments(AttachmentIdSet());
+ proxy->UploadAttachments(AttachmentIdList());
// Wait for the posted calls to execute in the stub thread.
WaitForStubThread();
EXPECT_EQ(2, stub->GetCallCount());
« no previous file with comments | « sync/internal_api/attachments/attachment_service_proxy.cc ('k') | sync/internal_api/public/attachments/attachment_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698