Searched refs:parent_resource_id (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Dfake_api_util.cc21 if (left.parent_resource_id != right.parent_resource_id)
22 return left.parent_resource_id < right.parent_resource_id;
47 const std::string& parent_resource_id,
55 : parent_resource_id(parent_resource_id),
188 void FakeAPIUtil::CreateDirectory(const std::string& parent_resource_id, argument
207 PushRemoteChange(deleted_directory.parent_resource_id,
230 void FakeAPIUtil::PushRemoteChange(const std::string& parent_resource_id, argument
46 RemoteResource( const std::string& parent_resource_id, const std::string& parent_title, const std::string& title, const std::string& resource_id, const std::string& md5_checksum, SyncFileType type, bool deleted, int64 changestamp) argument
[all...]
H A Dfake_api_util.h30 std::string parent_resource_id; member in struct:sync_file_system::drive_backend::FakeAPIUtil::RemoteResource
40 RemoteResource(const std::string& parent_resource_id,
91 virtual void CreateDirectory(const std::string& parent_resource_id,
103 void PushRemoteChange(const std::string& parent_resource_id,
H A Dapi_util.cc53 const std::string& parent_resource_id,
62 parent_resource_id)
73 const std::string& parent_resource_id,
76 parent_resource_id(parent_resource_id),
81 HasParentLinkTo(entry->links(), parent_resource_id, parent_type);
85 const std::string& parent_resource_id; member in struct:sync_file_system::drive_backend::__anon5868::TitleAndParentQuery
92 const std::string& parent_resource_id,
98 parent_resource_id,
106 const std::string& parent_resource_id,
52 HasParentLinkTo(const ScopedVector<google_apis::Link>& links, const std::string& parent_resource_id, ParentType parent_type) argument
72 TitleAndParentQuery(const std::string& title, const std::string& parent_resource_id, ParentType parent_type) argument
89 FilterEntriesByTitleAndParent( ScopedVector<google_apis::ResourceEntry>* entries, const std::string& title, const std::string& parent_resource_id, ParentType parent_type) argument
103 GetDocumentByTitleAndParent( const ScopedVector<google_apis::ResourceEntry>& entries, const std::string& title, const std::string& parent_resource_id, ParentType parent_type) argument
323 DidGetDirectory(const std::string& parent_resource_id, const std::string& directory_name, const ResourceIdCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceList> feed) argument
372 DidCreateDirectory(const std::string& parent_resource_id, const std::string& title, const ResourceIdCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> entry) argument
569 CreateDirectory(const std::string& parent_resource_id, const std::string& title, const ResourceIdCallback& callback) argument
807 DidUploadNewFile(const std::string& parent_resource_id, const std::string& title, UploadKey upload_key, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> entry) argument
973 EnsureTitleUniqueness(const std::string& parent_resource_id, const std::string& expected_title, const EnsureUniquenessCallback& callback) argument
989 DidListEntriesToEnsureUniqueness( const std::string& parent_resource_id, const std::string& expected_title, const EnsureUniquenessCallback& callback, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceList> feed) argument
[all...]
H A Dapi_util.h87 virtual void CreateDirectory(const std::string& parent_resource_id,
133 void DidGetDirectory(const std::string& parent_resource_id,
139 void DidCreateDirectory(const std::string& parent_resource_id,
191 void DidUploadNewFile(const std::string& parent_resource_id,
222 void EnsureTitleUniqueness(const std::string& parent_resource_id,
226 const std::string& parent_resource_id,
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dcreate_file_operation.cc34 std::string* parent_resource_id,
37 DCHECK(parent_resource_id);
60 // In the request, parent_resource_id and mime_type are needed.
62 *parent_resource_id = parent.resource_id();
147 std::string* parent_resource_id = new std::string; local
156 parent_resource_id,
162 base::Owned(parent_resource_id),
169 std::string* parent_resource_id,
174 DCHECK(parent_resource_id);
185 *parent_resource_id,
31 CheckPreConditionForCreateFile(internal::ResourceMetadata* metadata, const base::FilePath& file_path, bool is_exclusive, std::string* parent_resource_id, std::string* mime_type) argument
166 CreateFileAfterCheckPreCondition( const base::FilePath& file_path, const FileOperationCallback& callback, std::string* parent_resource_id, std::string* mime_type, FileError error) argument
[all...]
H A Dcreate_directory_operation.h81 // with |parent_resource_id|.
86 const std::string& parent_resource_id,
H A Dcreate_file_operation.h64 std::string* parent_resource_id,
/external/chromium_org/chrome/browser/google_apis/
H A Dgdata_wapi_url_generator.h106 // the directory specified by the given |parent_resource_id|.
107 GURL GenerateResourceUrlForRemoval(const std::string& parent_resource_id,
111 // specified by |parent_resource_id|.
113 const std::string& parent_resource_id) const;
H A Dgdata_wapi_url_generator.cc197 const std::string& parent_resource_id,
199 if (resource_id.empty() || parent_resource_id.empty()) {
200 // Both |resource_id| and |parent_resource_id| must be non-empty.
207 net::EscapePath(parent_resource_id).c_str(),
213 const std::string& parent_resource_id) const {
216 net::EscapePath(parent_resource_id).c_str()));
196 GenerateResourceUrlForRemoval( const std::string& parent_resource_id, const std::string& resource_id) const argument
H A Ddrive_api_requests.cc196 const std::string& parent_resource_id,
202 parent_resource_id_(parent_resource_id),
344 const std::string& parent_resource_id,
351 parent_resource_id_(parent_resource_id),
418 const std::string& parent_resource_id,
423 parent_resource_id_(parent_resource_id),
456 const std::string& parent_resource_id,
461 parent_resource_id_(parent_resource_id),
484 const std::string& parent_resource_id,
492 parent_resource_id_(parent_resource_id),
193 CreateDirectoryRequest( RequestSender* sender, const DriveApiUrlGenerator& url_generator, const std::string& parent_resource_id, const std::string& directory_title, const FileResourceCallback& callback) argument
340 CopyResourceRequest( RequestSender* sender, const DriveApiUrlGenerator& url_generator, const std::string& resource_id, const std::string& parent_resource_id, const std::string& new_title, const FileResourceCallback& callback) argument
415 InsertResourceRequest( RequestSender* sender, const DriveApiUrlGenerator& url_generator, const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
453 DeleteResourceRequest( RequestSender* sender, const DriveApiUrlGenerator& url_generator, const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
479 InitiateUploadNewFileRequest( RequestSender* sender, const DriveApiUrlGenerator& url_generator, const std::string& content_type, int64 content_length, const std::string& parent_resource_id, const std::string& title, const InitiateUploadCallback& callback) argument
[all...]
H A Dgdata_wapi_requests.cc287 const std::string& parent_resource_id,
291 parent_resource_id_(parent_resource_id),
484 const std::string& parent_resource_id,
488 parent_resource_id_(parent_resource_id),
529 const std::string& parent_resource_id,
534 parent_resource_id_(parent_resource_id) {
566 const std::string& parent_resource_id,
573 parent_resource_id_(parent_resource_id),
283 CreateDirectoryRequest( RequestSender* sender, const GDataWapiUrlGenerator& url_generator, const GetDataCallback& callback, const std::string& parent_resource_id, const std::string& directory_title) argument
480 AddResourceToDirectoryRequest( RequestSender* sender, const GDataWapiUrlGenerator& url_generator, const EntryActionCallback& callback, const std::string& parent_resource_id, const std::string& resource_id) argument
525 RemoveResourceFromDirectoryRequest( RequestSender* sender, const GDataWapiUrlGenerator& url_generator, const EntryActionCallback& callback, const std::string& parent_resource_id, const std::string& document_resource_id) argument
560 InitiateUploadNewFileRequest( RequestSender* sender, const GDataWapiUrlGenerator& url_generator, const InitiateUploadCallback& callback, const std::string& content_type, int64 content_length, const std::string& parent_resource_id, const std::string& title) argument
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dresource_metadata_storage.h141 std::string GetChild(const std::string& parent_resource_id,
145 void GetChildren(const std::string& parent_resource_id,
171 static std::string GetChildEntryKey(const std::string& parent_resource_id,
H A Dresource_metadata_storage.cc361 !old_entry.parent_resource_id().empty()) {
362 batch.Delete(GetChildEntryKey(old_entry.parent_resource_id(),
367 if (!entry.parent_resource_id().empty()) {
368 batch.Put(GetChildEntryKey(entry.parent_resource_id(), entry.base_name()),
403 if (!entry.parent_resource_id().empty()) {
404 batch.Delete(GetChildEntryKey(entry.parent_resource_id(),
425 const std::string& parent_resource_id,
432 leveldb::Slice(GetChildEntryKey(parent_resource_id, child_name)),
437 void ResourceMetadataStorage::GetChildren(const std::string& parent_resource_id, argument
441 // Iterate over all entries with keys starting with |parent_resource_id|
424 GetChild( const std::string& parent_resource_id, const std::string& child_name) argument
512 GetChildEntryKey( const std::string& parent_resource_id, const std::string& child_name) argument
[all...]
H A Dchange_list_processor_unittest.cc154 EXPECT_EQ(kExpected[i].parent_id, entry->parent_resource_id());
178 EXPECT_EQ(kRootId, entry_map[kNewFolderId].parent_resource_id());
179 EXPECT_EQ(kNewFolderId, entry_map[kNewFileId].parent_resource_id());
218 EXPECT_EQ(kDestId, entry_map[kMovedId].parent_resource_id());
260 EXPECT_EQ(kRootId, entry_map[kMovedId].parent_resource_id());
296 EXPECT_EQ(kParentId, entry_map[kRenamedId].parent_resource_id());
334 EXPECT_EQ(kParentId, entry_map[kFileId].parent_resource_id());
354 EXPECT_EQ(kParentId, entry_map[kFileId].parent_resource_id());
385 EXPECT_EQ(kParentId, entry_map[kFileId].parent_resource_id());
408 EXPECT_EQ(kParentId, entry_map[kFileId].parent_resource_id());
[all...]
H A Djob_scheduler.h118 const std::string& parent_resource_id,
140 void AddResourceToDirectory(const std::string& parent_resource_id,
146 const std::string& parent_resource_id,
151 void AddNewDirectory(const std::string& parent_resource_id,
165 void UploadNewFile(const std::string& parent_resource_id,
184 void CreateFile(const std::string& parent_resource_id,
H A Djob_scheduler.cc35 std::string parent_resource_id; member in struct:drive::__anon4395::UploadNewFileParams
47 return uploader->UploadNewFile(params.parent_resource_id,
388 const std::string& parent_resource_id,
399 parent_resource_id,
475 const std::string& parent_resource_id,
485 parent_resource_id,
496 const std::string& parent_resource_id,
505 parent_resource_id,
516 const std::string& parent_resource_id,
525 parent_resource_id,
386 CopyResource( const std::string& resource_id, const std::string& parent_resource_id, const std::string& new_title, const google_apis::GetResourceEntryCallback& callback) argument
474 AddResourceToDirectory( const std::string& parent_resource_id, const std::string& resource_id, const google_apis::EntryActionCallback& callback) argument
495 RemoveResourceFromDirectory( const std::string& parent_resource_id, const std::string& resource_id, const google_apis::EntryActionCallback& callback) argument
515 AddNewDirectory( const std::string& parent_resource_id, const std::string& directory_title, const google_apis::GetResourceEntryCallback& callback) argument
566 UploadNewFile( const std::string& parent_resource_id, const base::FilePath& drive_file_path, const base::FilePath& local_file_path, const std::string& title, const std::string& content_type, const ClientContext& context, const google_apis::GetResourceEntryCallback& callback) argument
640 CreateFile( const std::string& parent_resource_id, const base::FilePath& drive_file_path, const std::string& title, const std::string& content_type, const ClientContext& context, const google_apis::GetResourceEntryCallback& callback) argument
[all...]
/external/chromium_org/chrome/browser/drive/
H A Dfake_drive_service.h150 const std::string& parent_resource_id,
169 const std::string& parent_resource_id,
173 const std::string& parent_resource_id,
177 const std::string& parent_resource_id,
183 const std::string& parent_resource_id,
215 const std::string& parent_resource_id,
253 const std::string& parent_resource_id,
H A Ddrive_api_service.h119 const std::string& parent_resource_id,
136 const std::string& parent_resource_id,
140 const std::string& parent_resource_id,
144 const std::string& parent_resource_id,
150 const std::string& parent_resource_id,
H A Ddrive_service_interface.h188 // The new resource will be put under a directory with |parent_resource_id|,
196 const std::string& parent_resource_id,
234 // |resource_id| to a collection represented by the |parent_resource_id|.
238 const std::string& parent_resource_id,
243 // |resource_id| from a collection represented by the |parent_resource_id|.
247 const std::string& parent_resource_id,
252 // identified with |parent_resource_id|. |parent_resource_id| can be the
260 const std::string& parent_resource_id,
289 const std::string& parent_resource_id,
[all...]
H A Ddummy_drive_service.cc110 const std::string& parent_resource_id,
131 const std::string& parent_resource_id,
136 const std::string& parent_resource_id,
141 const std::string& parent_resource_id,
148 const std::string& parent_resource_id,
108 CopyResource( const std::string& resource_id, const std::string& parent_resource_id, const std::string& new_title, const GetResourceEntryCallback& callback) argument
130 AddResourceToDirectory( const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
135 RemoveResourceFromDirectory( const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
140 AddNewDirectory( const std::string& parent_resource_id, const std::string& directory_title, const GetResourceEntryCallback& callback) argument
145 InitiateUploadNewFile( const std::string& content_type, int64 content_length, const std::string& parent_resource_id, const std::string& title, const InitiateUploadCallback& callback) argument
H A Ddummy_drive_service.h75 const std::string& parent_resource_id,
92 const std::string& parent_resource_id,
96 const std::string& parent_resource_id,
100 const std::string& parent_resource_id,
106 const std::string& parent_resource_id,
H A Dgdata_wapi_service.h115 const std::string& parent_resource_id,
132 const std::string& parent_resource_id,
136 const std::string& parent_resource_id,
140 const std::string& parent_resource_id,
146 const std::string& parent_resource_id,
H A Ddrive_uploader.h49 // parent_resource_id:
69 const std::string& parent_resource_id,
117 const std::string& parent_resource_id,
154 const std::string& parent_resource_id,
H A Dgdata_wapi_service.cc389 const std::string& parent_resource_id,
400 parent_resource_id,
406 const std::string& parent_resource_id,
470 const std::string& parent_resource_id,
480 parent_resource_id,
485 const std::string& parent_resource_id,
495 parent_resource_id,
502 const std::string& parent_resource_id,
507 DCHECK(!parent_resource_id.empty());
515 parent_resource_id,
388 AddNewDirectory( const std::string& parent_resource_id, const std::string& directory_title, const GetResourceEntryCallback& callback) argument
404 CopyResource( const std::string& resource_id, const std::string& parent_resource_id, const std::string& new_title, const GetResourceEntryCallback& callback) argument
469 AddResourceToDirectory( const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
484 RemoveResourceFromDirectory( const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
499 InitiateUploadNewFile( const std::string& content_type, int64 content_length, const std::string& parent_resource_id, const std::string& title, const InitiateUploadCallback& callback) argument
[all...]
H A Dfake_drive_service.cc134 std::string parent_resource_id; member in struct:drive::FakeDriveService::UploadSession
148 std::string parent_resource_id,
154 parent_resource_id(parent_resource_id),
725 const std::string& parent_resource_id = in_parent_resource_id.empty() ? local
754 link->SetString("href", GetFakeLinkUrl(parent_resource_id).spec());
860 const std::string& parent_resource_id,
887 "href", GetFakeLinkUrl(parent_resource_id).spec());
902 const std::string& parent_resource_id,
918 GURL parent_content_url = GetFakeLinkUrl(parent_resource_id);
145 UploadSession( std::string content_type, int64 content_length, std::string parent_resource_id, std::string resource_id, std::string etag, std::string title) argument
859 AddResourceToDirectory( const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
901 RemoveResourceFromDirectory( const std::string& parent_resource_id, const std::string& resource_id, const EntryActionCallback& callback) argument
943 AddNewDirectory( const std::string& parent_resource_id, const std::string& directory_title, const GetResourceEntryCallback& callback) argument
982 InitiateUploadNewFile( const std::string& content_type, int64 content_length, const std::string& parent_resource_id, const std::string& title, const InitiateUploadCallback& callback) argument
1194 AddNewFile(const std::string& content_type, const std::string& content_data, const std::string& parent_resource_id, const std::string& title, bool shared_with_me, const GetResourceEntryCallback& callback) argument
1338 AddNewEntry( const std::string& content_type, const std::string& content_data, const std::string& parent_resource_id, const std::string& title, bool shared_with_me, const std::string& entry_kind) argument
1481 std::string parent_resource_id; local
[all...]

Completed in 1182 milliseconds

12