/external/chromium_org/sync/internal_api/attachments/ |
attachment_service_proxy.cc | 66 const AttachmentIdList& attachment_ids, 77 attachment_ids, 82 const AttachmentIdList& attachment_ids, 90 attachment_ids, 95 const AttachmentIdSet& attachment_ids) { 99 base::Bind(&AttachmentService::UploadAttachments, core_, attachment_ids)); 115 const AttachmentIdList& attachment_ids, 120 wrapped_->GetOrDownloadAttachments(attachment_ids, callback); 124 const AttachmentIdList& attachment_ids, 129 wrapped_->DropAttachments(attachment_ids, callback) [all...] |
attachment_service_impl_unittest.cc | 280 AttachmentIdList attachment_ids; local 281 attachment_service()->GetOrDownloadAttachments(attachment_ids, 291 AttachmentIdList attachment_ids; local 292 attachment_ids.push_back(AttachmentId::Create()); 293 attachment_service()->GetOrDownloadAttachments(attachment_ids, 296 local_attachments.insert(attachment_ids[0]); 302 EXPECT_TRUE(last_download_attachments().find(attachment_ids[0]) != 308 AttachmentIdList attachment_ids; local 309 attachment_ids.push_back(AttachmentId::Create()); 310 attachment_ids.push_back(AttachmentId::Create()) 356 AttachmentIdList attachment_ids; local 371 AttachmentIdSet attachment_ids; local 407 AttachmentIdSet attachment_ids; local 424 AttachmentIdSet attachment_ids; local 449 AttachmentIdSet attachment_ids; local 475 AttachmentIdSet attachment_ids; local 485 AttachmentIdSet attachment_ids; local 517 AttachmentIdSet attachment_ids; local [all...] |
attachment_service_impl.cc | 29 // |attachment_ids| is a list of attachmens to retrieve. 32 GetOrDownloadState(const AttachmentIdList& attachment_ids, 62 const AttachmentIdList& attachment_ids, 66 attachment_ids.begin(), 67 attachment_ids.end(), 169 const AttachmentIdList& attachment_ids, 173 new GetOrDownloadState(attachment_ids, callback)); 174 attachment_store_->Read(attachment_ids, 181 const AttachmentIdList& attachment_ids, 184 attachment_store_->Drop(attachment_ids, 274 AttachmentIdList attachment_ids; local [all...] |
attachment_uploader_impl_unittest.cc | 191 std::vector<AttachmentId>& attachment_ids(); 319 AttachmentUploaderImplTest::attachment_ids() { function in class:syncer::AttachmentUploaderImplTest 436 ASSERT_EQ(1U, attachment_ids().size()); 437 EXPECT_EQ(attachment.GetId(), attachment_ids()[0]); 513 ASSERT_EQ(1U, attachment_ids().size()); 514 EXPECT_EQ(attachment.GetId(), attachment_ids()[0]); 535 ASSERT_EQ(1U, attachment_ids().size()); 536 EXPECT_EQ(attachment.GetId(), attachment_ids()[0]); 572 ASSERT_EQ(1U, attachment_ids().size()); 573 EXPECT_EQ(attachment.GetId(), attachment_ids()[0]) [all...] |
attachment_service_proxy_unittest.cc | 39 virtual void GetOrDownloadAttachments(const AttachmentIdList& attachment_ids, 52 virtual void DropAttachments(const AttachmentIdList& attachment_ids,
|
/external/chromium_org/sync/internal_api/public/attachments/ |
attachment_service.h | 71 const AttachmentIdList& attachment_ids, 75 virtual void DropAttachments(const AttachmentIdList& attachment_ids, 78 // Schedules the attachments identified by |attachment_ids| to be uploaded to 89 virtual void UploadAttachments(const AttachmentIdSet& attachment_ids) = 0;
|
attachment_service_proxy.h | 58 const AttachmentIdList& attachment_ids, 60 virtual void DropAttachments(const AttachmentIdList& attachment_ids, 63 const AttachmentIdSet& attachment_ids) OVERRIDE; 88 const AttachmentIdList& attachment_ids, 90 virtual void DropAttachments(const AttachmentIdList& attachment_ids, 93 const AttachmentIdSet& attachment_ids) OVERRIDE;
|
attachment_service_impl.h | 64 const AttachmentIdList& attachment_ids, 66 virtual void DropAttachments(const AttachmentIdList& attachment_ids, 69 const AttachmentIdSet& attachment_ids) OVERRIDE;
|
/external/chromium_org/sync/api/ |
sync_data.cc | 30 // Return true iff |attachment_ids| contains duplicates. 32 const syncer::AttachmentIdList& attachment_ids) { 34 id_set.insert(attachment_ids.begin(), attachment_ids.end()); 35 return id_set.size() != attachment_ids.size(); 91 syncer::AttachmentIdList attachment_ids; local 93 sync_tag, non_unique_title, specifics, attachment_ids); 101 const AttachmentIdList& attachment_ids) { 102 DCHECK(!ContainsDuplicateAttachments(attachment_ids)); 107 std::transform(attachment_ids.begin() [all...] |
sync_data_unittest.cc | 74 AttachmentIdList attachment_ids; local 75 attachment_ids.push_back(AttachmentId::Create()); 76 attachment_ids.push_back(AttachmentId::Create()); 77 attachment_ids.push_back(AttachmentId::Create()); 80 kSyncTag, kNonUniqueTitle, specifics, attachment_ids); 87 attachment_ids = data.GetAttachmentIds(); 88 EXPECT_EQ(3U, attachment_ids.size()); 93 AttachmentIdList attachment_ids; local 95 kSyncTag, kNonUniqueTitle, specifics, attachment_ids);
|
sync_data.h | 58 // For data with attachments: |attachment_ids| must not contain duplicates. 70 const AttachmentIdList& attachment_ids); 77 const AttachmentIdList& attachment_ids, 181 // Retrieve the attachments indentified by |attachment_ids|. Invoke 191 const AttachmentIdList& attachment_ids, 195 // SyncData specified in |attachment_ids|. This method will not delete 200 void DropAttachments(const AttachmentIdList& attachment_ids,
|
/external/chromium_org/components/sync_driver/ |
generic_change_processor_unittest.cc | 44 const syncer::AttachmentIdSet& attachment_ids) OVERRIDE; 67 const syncer::AttachmentIdSet& attachment_ids) { 68 attachment_id_sets_.push_back(attachment_ids); 69 AttachmentServiceImpl::UploadAttachments(attachment_ids); 374 syncer::AttachmentIdList attachment_ids; local 375 attachment_ids.push_back(syncer::AttachmentId::Create()); 376 attachment_ids.push_back(syncer::AttachmentId::Create()); 384 tag, title, specifics, attachment_ids))); 395 testing::UnorderedElementsAre(attachment_ids[0], attachment_ids[1])) 428 syncer::AttachmentIdList attachment_ids; local [all...] |
generic_change_processor.cc | 48 // Replace |write_nodes|'s attachment ids with |attachment_ids|. 49 void SetAttachmentMetadata(const syncer::AttachmentIdList& attachment_ids, 54 attachment_ids.begin(), 55 attachment_ids.end(), 65 const syncer::AttachmentIdList& attachment_ids = read_node.GetAttachmentIds(); local 72 attachment_ids, 84 attachment_ids, 553 syncer::AttachmentIdList attachment_ids = sync_data_local.GetAttachmentIds(); local 554 SetAttachmentMetadata(attachment_ids, sync_node); 557 new_attachments->insert(attachment_ids.begin(), attachment_ids.end()) 654 syncer::AttachmentIdList attachment_ids = sync_data_local.GetAttachmentIds(); local [all...] |