Searched defs:attachment_ids (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/sync/api/
H A Dsync_data_unittest.cc74 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);
H A Dsync_data.cc30 // 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
31 ContainsDuplicateAttachments( const syncer::AttachmentIdList& attachment_ids) argument
97 CreateLocalDataWithAttachments( const std::string& sync_tag, const std::string& non_unique_title, const sync_pb::EntitySpecifics& specifics, const AttachmentIdList& attachment_ids) argument
118 CreateRemoteData( int64 id, const sync_pb::EntitySpecifics& specifics, const base::Time& modification_time, const AttachmentIdList& attachment_ids, const AttachmentServiceProxy& attachment_service) argument
215 GetOrDownloadAttachments( const AttachmentIdList& attachment_ids, const AttachmentService::GetOrDownloadCallback& callback) argument
221 DropAttachments( const AttachmentIdList& attachment_ids, const AttachmentService::DropCallback& callback) argument
[all...]
/external/chromium_org/sync/internal_api/attachments/
H A Dattachment_service_proxy.cc66 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, callbac
65 GetOrDownloadAttachments( const AttachmentIdList& attachment_ids, const GetOrDownloadCallback& callback) argument
81 DropAttachments( const AttachmentIdList& attachment_ids, const DropCallback& callback) argument
94 UploadAttachments( const AttachmentIdSet& attachment_ids) argument
114 GetOrDownloadAttachments( const AttachmentIdList& attachment_ids, const GetOrDownloadCallback& callback) argument
123 DropAttachments( const AttachmentIdList& attachment_ids, const DropCallback& callback) argument
132 UploadAttachments( const AttachmentIdSet& attachment_ids) argument
[all...]
H A Dattachment_service_impl.cc29 // |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,
61 GetOrDownloadState( const AttachmentIdList& attachment_ids, const GetOrDownloadCallback& callback) argument
168 GetOrDownloadAttachments( const AttachmentIdList& attachment_ids, const GetOrDownloadCallback& callback) argument
180 DropAttachments( const AttachmentIdList& attachment_ids, const DropCallback& callback) argument
274 AttachmentIdList attachment_ids; local
281 UploadAttachments( const AttachmentIdSet& attachment_ids) argument
[all...]
H A Dattachment_service_impl_unittest.cc280 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
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...]
H A Dattachment_uploader_impl_unittest.cc191 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()[
[all...]
/external/chromium_org/components/sync_driver/
H A Dgeneric_change_processor_unittest.cc44 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[
66 UploadAttachments( const syncer::AttachmentIdSet& attachment_ids) argument
428 syncer::AttachmentIdList attachment_ids; local
[all...]
H A Dgeneric_change_processor.cc48 // Replace |write_nodes|'s attachment ids with |attachment_ids|.
49 void SetAttachmentMetadata(const syncer::AttachmentIdList& attachment_ids, argument
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
654 syncer::AttachmentIdList attachment_ids = sync_data_local.GetAttachmentIds(); local
[all...]

Completed in 974 milliseconds