Home
last modified time | relevance | path

Searched refs:ChangeResource (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/google_apis/drive/
Ddrive_api_parser.cc548 ChangeResource::ChangeResource() : change_id_(0), deleted_(false) {} in ChangeResource() function in google_apis::ChangeResource
550 ChangeResource::~ChangeResource() {} in ~ChangeResource()
553 void ChangeResource::RegisterJSONConverter( in RegisterJSONConverter()
554 base::JSONValueConverter<ChangeResource>* converter) { in RegisterJSONConverter()
556 &ChangeResource::change_id_, in RegisterJSONConverter()
558 converter->RegisterStringField(kFileId, &ChangeResource::file_id_); in RegisterJSONConverter()
559 converter->RegisterBoolField(kDeleted, &ChangeResource::deleted_); in RegisterJSONConverter()
560 converter->RegisterCustomValueField(kFile, &ChangeResource::file_, in RegisterJSONConverter()
563 kModificationDate, &ChangeResource::modification_date_, in RegisterJSONConverter()
568 scoped_ptr<ChangeResource>
[all …]
Ddrive_api_parser.h561 friend class ChangeResource; variable
632 class ChangeResource {
634 ChangeResource();
635 ~ChangeResource();
640 base::JSONValueConverter<ChangeResource>* converter);
643 static scoped_ptr<ChangeResource> CreateFrom(const base::Value& value);
679 friend class base::internal::RepeatedMessageConverter<ChangeResource>;
692 DISALLOW_COPY_AND_ASSIGN(ChangeResource);
721 const ScopedVector<ChangeResource>& items() const { return items_; } in items()
722 ScopedVector<ChangeResource>* mutable_items() { return &items_; } in mutable_items()
[all …]
Ddrive_api_parser_unittest.cc226 const ChangeResource& change1 = *changelist->items()[0]; in TEST()
234 const ChangeResource& change2 = *changelist->items()[1]; in TEST()
242 const ChangeResource& change3 = *changelist->items()[2]; in TEST()
251 const ChangeResource& change4 = *changelist->items()[3]; in TEST()
/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_entry_conversion.h13 class ChangeResource; variable
36 const google_apis::ChangeResource& input,
Dresource_entry_conversion_unittest.cc214 google_apis::ChangeResource change_resource; in TEST()
243 google_apis::ChangeResource change_resource; in TEST()
273 google_apis::ChangeResource change_resource; in TEST()
Dresource_entry_conversion.cc19 const google_apis::ChangeResource& input, in ConvertChangeResourceToResourceEntry()
Dchange_list_processor.cc79 const ScopedVector<google_apis::ChangeResource>& items = change_list.items(); in ChangeList()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dlist_changes_task.h20 class ChangeResource; variable
49 ScopedVector<google_apis::ChangeResource> change_list_;
Dmetadata_database.h29 class ChangeResource; variable
258 ScopedVector<google_apis::ChangeResource> changes);
Ddrive_backend_util.h20 class ChangeResource; variable
Dmetadata_database_unittest.cc407 scoped_ptr<google_apis::ChangeResource> CreateChangeResourceFromMetadata( in CreateChangeResourceFromMetadata()
409 scoped_ptr<google_apis::ChangeResource> change( in CreateChangeResourceFromMetadata()
410 new google_apis::ChangeResource); in CreateChangeResourceFromMetadata()
447 void PushToChangeList(scoped_ptr<google_apis::ChangeResource> change, in PushToChangeList()
448 ScopedVector<google_apis::ChangeResource>* changes) { in PushToChangeList()
572 ScopedVector<google_apis::ChangeResource> changes) { in UpdateByChangeList()
903 ScopedVector<google_apis::ChangeResource> changes; in TEST_P()
Dlist_changes_task.cc78 std::vector<google_apis::ChangeResource*> changes; in DidListChanges()
Dmetadata_database.cc132 const google_apis::ChangeResource& change) { in CreateFileMetadataFromChangeResource()
878 ScopedVector<google_apis::ChangeResource> changes) { in UpdateByChangeList()
882 const google_apis::ChangeResource& change = *changes[i]; in UpdateByChangeList()
/external/chromium_org/chrome/browser/drive/
Ddrive_api_util.h23 class ChangeResource; variable
74 const google_apis::ChangeResource& change_resource);
Dfake_drive_service.cc38 using google_apis::ChangeResource;
74 bool EntryMatchWithQuery(const ChangeResource& entry, in EntryMatchWithQuery()
131 const ChangeResource& entry = *change_list->items()[i]; in FileListCallbackAdapter()
155 google_apis::ChangeResource change_resource;
626 ChangeResource* change = &entry->change_resource; in DeleteResource()
677 ChangeResource* change = &entry->change_resource; in TrashResource()
811 ChangeResource* new_change = &copied_entry->change_resource; in CopyResource()
880 ChangeResource* change = &entry->change_resource; in UpdateResource()
937 ChangeResource* change = &entry->change_resource; in AddResourceToDirectory()
977 ChangeResource* change = &entry->change_resource; in RemoveResourceFromDirectory()
[all …]
Ddrive_api_util.cc216 const google_apis::ChangeResource& change_resource) { in ConvertChangeResourceToResourceEntry()
258 const ScopedVector<google_apis::ChangeResource>& items = change_list.items(); in ConvertChangeListToResourceList()
Dfake_drive_service.h17 class ChangeResource; variable
314 void AddNewChangestamp(google_apis::ChangeResource* change);
Dfake_drive_service_unittest.cc26 using google_apis::ChangeResource;
462 const ChangeResource& item = *change_list->items()[0]; in TEST_F()
496 const ChangeResource& item = *change_list->items()[0]; in TEST_F()