Home
last modified time | relevance | path

Searched refs:parent_resource_id (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_entry_conversion_unittest.cc46 std::string parent_resource_id; in TEST() local
48 file_resource, &entry, &parent_resource_id)); in TEST()
53 EXPECT_EQ("", parent_resource_id); in TEST()
93 std::string parent_resource_id; in TEST() local
95 file_resource, &entry, &parent_resource_id)); in TEST()
102 EXPECT_EQ("", parent_resource_id); in TEST()
143 std::string parent_resource_id; in TEST() local
145 file_resource, &entry, &parent_resource_id)); in TEST()
152 EXPECT_EQ(parent.file_id(), parent_resource_id); in TEST()
183 std::string parent_resource_id; in TEST() local
[all …]
Dresource_entry_conversion.cc26 std::string parent_resource_id; in ConvertChangeResourceToResourceEntry() local
29 &parent_resource_id)) in ConvertChangeResourceToResourceEntry()
37 swap(*out_parent_resource_id, parent_resource_id); in ConvertChangeResourceToResourceEntry()
61 std::string parent_resource_id; in ConvertFileResourceToResourceEntry() local
63 parent_resource_id = input.parents()[0].file_id(); in ConvertFileResourceToResourceEntry()
124 swap(*out_parent_resource_id, parent_resource_id); in ConvertFileResourceToResourceEntry()
Dchange_list_processor.cc258 const std::string& parent_resource_id = in ApplyEntryMap() local
261 if (parent_resource_id.empty()) // This entry has no parent. in ApplyEntryMap()
265 entry_map_.find(parent_resource_id); in ApplyEntryMap()
271 parent_resource_id, &parent_local_id); in ApplyEntryMap()
280 LOG(ERROR) << "Failed to get local ID: " << parent_resource_id in ApplyEntryMap()
347 const std::string& parent_resource_id = in ApplyEntry() local
352 parent_resource_id); in ApplyEntry()
416 const std::string& parent_resource_id = in RefreshDirectory() local
423 if (parent_resource_id != directory_fetch_info.resource_id()) { in RefreshDirectory()
459 const std::string& parent_resource_id) { in SetParentLocalIdOfEntry() argument
[all …]
Djob_scheduler.h133 const std::string& parent_resource_id,
140 const std::string& parent_resource_id,
148 void AddResourceToDirectory(const std::string& parent_resource_id,
154 const std::string& parent_resource_id,
161 const std::string& parent_resource_id,
181 void UploadNewFile(const std::string& parent_resource_id,
Dfake_file_system.cc281 std::string parent_resource_id; in GetFileContentAfterGetFileResource() local
283 *gdata_entry, entry.get(), &parent_resource_id); in GetFileContentAfterGetFileResource()
285 entry->set_parent_local_id(parent_resource_id); in GetFileContentAfterGetFileResource()
378 std::string parent_resource_id; in GetResourceEntryAfterGetFileList() local
380 *entries[i], entry.get(), &parent_resource_id); in GetResourceEntryAfterGetFileList()
382 entry->set_parent_local_id(parent_resource_id); in GetResourceEntryAfterGetFileList()
Djob_scheduler.cc71 std::string parent_resource_id; member
84 return uploader->UploadNewFile(params.parent_resource_id, in RunUploadNewFile()
448 const std::string& parent_resource_id, in CopyResource() argument
460 parent_resource_id, in CopyResource()
473 const std::string& parent_resource_id, in UpdateResource() argument
488 parent_resource_id, in UpdateResource()
501 const std::string& parent_resource_id, in AddResourceToDirectory() argument
511 parent_resource_id, in AddResourceToDirectory()
522 const std::string& parent_resource_id, in RemoveResourceFromDirectory() argument
533 parent_resource_id, in RemoveResourceFromDirectory()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dfake_drive_uploader.cc68 const std::string& parent_resource_id, in AddNewDirectory() argument
74 parent_resource_id, in AddNewDirectory()
80 parent_resource_id, directory_name, options, callback); in AddNewDirectory()
91 const std::string& parent_resource_id, in UploadNewFile() argument
105 parent_resource_id, in UploadNewFile()
114 parent_resource_id, in UploadNewFile()
Ddrive_service_wrapper.cc22 const std::string& parent_resource_id, in AddNewDirectory() argument
27 drive_service_->AddNewDirectory(parent_resource_id, in AddNewDirectory()
99 const std::string& parent_resource_id, in RemoveResourceFromDirectory() argument
104 parent_resource_id, resource_id, callback); in RemoveResourceFromDirectory()
Ddrive_service_on_worker.h36 const std::string& parent_resource_id,
79 const std::string& parent_resource_id,
116 const std::string& parent_resource_id,
122 const std::string& parent_resource_id,
128 const std::string& parent_resource_id,
134 const std::string& parent_resource_id,
Ddrive_service_on_worker.cc33 const std::string& parent_resource_id, in AddNewDirectory() argument
43 parent_resource_id, in AddNewDirectory()
197 const std::string& parent_resource_id, in RemoveResourceFromDirectory() argument
206 parent_resource_id, in RemoveResourceFromDirectory()
309 const std::string& parent_resource_id, in CopyResource() argument
319 const std::string& parent_resource_id, in UpdateResource() argument
329 const std::string& parent_resource_id, in AddResourceToDirectory() argument
339 const std::string& parent_resource_id, in InitiateUploadNewFile() argument
Ddrive_uploader_wrapper.cc34 const std::string& parent_resource_id, in UploadNewFile() argument
42 parent_resource_id, in UploadNewFile()
Dfake_drive_uploader.h30 const std::string& parent_resource_id,
54 const std::string& parent_resource_id,
Ddrive_service_wrapper.h24 const std::string& parent_resource_id,
65 const std::string& parent_resource_id,
Ddrive_uploader_on_worker.cc32 const std::string& parent_resource_id, in UploadNewFile() argument
45 parent_resource_id, in UploadNewFile()
/external/chromium_org/chrome/browser/drive/
Dfake_drive_service.h190 const std::string& parent_resource_id,
196 const std::string& parent_resource_id,
202 const std::string& parent_resource_id,
206 const std::string& parent_resource_id,
210 const std::string& parent_resource_id,
217 const std::string& parent_resource_id,
258 const std::string& parent_resource_id,
271 const std::string& parent_resource_id,
280 const std::string& parent_resource_id,
326 const std::string& parent_resource_id,
Ddrive_service_interface.h82 std::string parent_resource_id; member
272 const std::string& parent_resource_id,
287 const std::string& parent_resource_id,
298 const std::string& parent_resource_id,
307 const std::string& parent_resource_id,
320 const std::string& parent_resource_id,
350 const std::string& parent_resource_id,
Dfake_drive_service.cc167 std::string parent_resource_id; member
181 std::string parent_resource_id, in UploadSession()
187 parent_resource_id(parent_resource_id), in UploadSession()
792 const std::string& parent_resource_id = in_parent_resource_id.empty() ? in CopyResource() local
819 parent.set_file_id(parent_resource_id); in CopyResource()
820 parent.set_parent_link(GetFakeLinkUrl(parent_resource_id)); in CopyResource()
848 const std::string& parent_resource_id, in UpdateResource() argument
887 if (!parent_resource_id.empty()) { in UpdateResource()
889 parent.set_file_id(parent_resource_id); in UpdateResource()
890 parent.set_parent_link(GetFakeLinkUrl(parent_resource_id)); in UpdateResource()
[all …]
Ddummy_drive_service.cc116 const std::string& parent_resource_id, in CopyResource() argument
123 const std::string& parent_resource_id, in UpdateResource() argument
132 const std::string& parent_resource_id, in AddResourceToDirectory() argument
137 const std::string& parent_resource_id, in RemoveResourceFromDirectory() argument
142 const std::string& parent_resource_id, in AddNewDirectory() argument
150 const std::string& parent_resource_id, in InitiateUploadNewFile() argument
Ddummy_drive_service.h79 const std::string& parent_resource_id,
85 const std::string& parent_resource_id,
91 const std::string& parent_resource_id,
95 const std::string& parent_resource_id,
99 const std::string& parent_resource_id,
106 const std::string& parent_resource_id,
Ddrive_api_service.h123 const std::string& parent_resource_id,
129 const std::string& parent_resource_id,
135 const std::string& parent_resource_id,
139 const std::string& parent_resource_id,
143 const std::string& parent_resource_id,
150 const std::string& parent_resource_id,
Ddrive_api_service.cc460 const std::string& parent_resource_id, in AddNewDirectory() argument
472 request->add_parent(parent_resource_id); in AddNewDirectory()
480 const std::string& parent_resource_id, in CopyResource() argument
490 request->add_parent(parent_resource_id); in CopyResource()
499 const std::string& parent_resource_id, in UpdateResource() argument
511 if (!parent_resource_id.empty()) in UpdateResource()
512 request->add_parent(parent_resource_id); in UpdateResource()
529 const std::string& parent_resource_id, in AddResourceToDirectory() argument
537 request->set_folder_id(parent_resource_id); in AddResourceToDirectory()
543 const std::string& parent_resource_id, in RemoveResourceFromDirectory() argument
[all …]
Ddrive_uploader.h73 const std::string& parent_resource_id,
122 const std::string& parent_resource_id,
160 const std::string& parent_resource_id,
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dcopy_operation.cc51 parent_resource_id(parent_entry.resource_id()), in TransferJsonGdocParams()
59 const std::string parent_resource_id; member
170 std::string parent_resource_id; in UpdateLocalStateForServerSideOperation() local
172 *file_resource, entry, &parent_resource_id) || in UpdateLocalStateForServerSideOperation()
173 parent_resource_id.empty()) in UpdateLocalStateForServerSideOperation()
177 FileError error = metadata->GetIdByResourceId(parent_resource_id, in UpdateLocalStateForServerSideOperation()
496 params->parent_resource_id, in TransferJsonGdocFileAfterLocalWork()
524 params->parent_resource_id, in TransferJsonGdocFileAfterLocalWork()
538 const std::string& parent_resource_id, in CopyResourceOnServer() argument
546 resource_id, parent_resource_id, new_title, last_modified, in CopyResourceOnServer()
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dremove_performer.cc209 std::string parent_resource_id; in UnparentResourceAfterGetFileResource() local
211 &parent_resource_id)) { in UnparentResourceAfterGetFileResource()
223 if (parent_resource_id.empty()) { in UnparentResourceAfterGetFileResource()
231 parent_resource_id, in UnparentResourceAfterGetFileResource()
Dentry_revert_performer.cc30 std::string parent_resource_id; in FinishRevert() local
35 &parent_resource_id)) in FinishRevert()
65 parent_resource_id); in FinishRevert()

12