Searched refs:resource_entry (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/chrome/browser/drive/
H A Dfake_drive_service_unittest.cc52 scoped_ptr<ResourceEntry> resource_entry; local
55 test_util::CreateCopyResultCallback(&error, &resource_entry));
57 return resource_entry.Pass();
62 scoped_ptr<ResourceEntry> resource_entry = FindEntry(resource_id); local
63 return resource_entry && !resource_entry->deleted();
71 scoped_ptr<ResourceEntry> resource_entry; local
75 test_util::CreateCopyResultCallback(&error, &resource_entry));
84 scoped_ptr<ResourceEntry> resource_entry = FindEntry(resource_id); local
85 if (resource_entry
821 scoped_ptr<ResourceEntry> resource_entry; local
839 scoped_ptr<ResourceEntry> resource_entry; local
856 scoped_ptr<ResourceEntry> resource_entry; local
1109 scoped_ptr<ResourceEntry> resource_entry; local
1137 scoped_ptr<ResourceEntry> resource_entry; local
1159 scoped_ptr<ResourceEntry> resource_entry; local
1186 scoped_ptr<ResourceEntry> resource_entry; local
1213 scoped_ptr<ResourceEntry> resource_entry; local
1244 scoped_ptr<ResourceEntry> resource_entry; local
1271 scoped_ptr<ResourceEntry> resource_entry; local
1299 scoped_ptr<ResourceEntry> resource_entry; local
1331 scoped_ptr<ResourceEntry> resource_entry = FindEntry(kResourceId); local
1514 scoped_ptr<ResourceEntry> resource_entry = FindEntry(kResourceId); local
1601 scoped_ptr<ResourceEntry> resource_entry; local
1629 scoped_ptr<ResourceEntry> resource_entry; local
1657 scoped_ptr<ResourceEntry> resource_entry; local
1687 scoped_ptr<ResourceEntry> resource_entry; local
1712 scoped_ptr<ResourceEntry> resource_entry; local
1729 scoped_ptr<ResourceEntry> resource_entry; local
2082 scoped_ptr<ResourceEntry> resource_entry; local
2121 scoped_ptr<ResourceEntry> resource_entry; local
2161 scoped_ptr<ResourceEntry> resource_entry; local
2196 scoped_ptr<ResourceEntry> resource_entry; local
2220 scoped_ptr<ResourceEntry> resource_entry; local
2247 scoped_ptr<ResourceEntry> resource_entry; local
2284 scoped_ptr<ResourceEntry> resource_entry; local
2305 scoped_ptr<ResourceEntry> resource_entry; local
2326 scoped_ptr<ResourceEntry> resource_entry; local
[all...]
H A Ddrive_uploader_unittest.cc325 scoped_ptr<ResourceEntry> resource_entry; local
337 &error, &upload_location, &resource_entry),
346 ASSERT_TRUE(resource_entry);
347 EXPECT_EQ(kTestDummyId, resource_entry->id());
360 scoped_ptr<ResourceEntry> resource_entry; local
372 &error, &upload_location, &resource_entry),
382 ASSERT_TRUE(resource_entry);
383 EXPECT_EQ(kTestDummyId, resource_entry->id());
397 scoped_ptr<ResourceEntry> resource_entry; local
407 &error, &upload_location, &resource_entry),
424 scoped_ptr<ResourceEntry> resource_entry; local
451 scoped_ptr<ResourceEntry> resource_entry; local
477 scoped_ptr<ResourceEntry> resource_entry; local
503 scoped_ptr<ResourceEntry> resource_entry; local
523 scoped_ptr<ResourceEntry> resource_entry; local
550 scoped_ptr<ResourceEntry> resource_entry; local
[all...]
H A Ddrive_api_util_unittest.cc249 scoped_ptr<google_apis::ResourceEntry> resource_entry(
252 EXPECT_EQ(640, resource_entry->image_width());
253 EXPECT_EQ(480, resource_entry->image_height());
254 EXPECT_EQ(90, resource_entry->image_rotation());
257 scoped_ptr<google_apis::ResourceEntry> resource_entry(
260 EXPECT_EQ(0, resource_entry->image_width());
261 EXPECT_EQ(0, resource_entry->image_height());
262 EXPECT_EQ(0, resource_entry->image_rotation());
265 scoped_ptr<google_apis::ResourceEntry> resource_entry(
268 EXPECT_EQ(-1, resource_entry
[all...]
H A Ddrive_uploader.h39 scoped_ptr<google_apis::ResourceEntry> resource_entry)>
/external/chromium_org/chrome/browser/chromeos/drive/sync/
H A Dentry_revert_performer.cc23 scoped_ptr<google_apis::ResourceEntry> resource_entry,
30 if (!ConvertToResourceEntry(*resource_entry, &entry, &parent_resource_id))
127 scoped_ptr<google_apis::ResourceEntry> resource_entry) {
136 base::Passed(&resource_entry), changed_directories),
20 FinishRevert(ResourceMetadata* metadata, const std::string& local_id, google_apis::GDataErrorCode status, scoped_ptr<google_apis::ResourceEntry> resource_entry, std::set<base::FilePath>* changed_directories) argument
123 RevertEntryAfterGetResourceEntry( const FileOperationCallback& callback, const std::string& local_id, google_apis::GDataErrorCode status, scoped_ptr<google_apis::ResourceEntry> resource_entry) argument
H A Dentry_revert_performer.h65 scoped_ptr<google_apis::ResourceEntry> resource_entry);
H A Dentry_update_performer.h66 scoped_ptr<google_apis::ResourceEntry> resource_entry);
H A Dremove_performer.h81 scoped_ptr<google_apis::ResourceEntry> resource_entry);
H A Dremove_performer.cc170 scoped_ptr<google_apis::ResourceEntry> resource_entry) {
188 if (!ConvertToResourceEntry(*resource_entry, &entry, &parent_resource_id)) {
166 UnparentResourceAfterGetResourceEntry( const FileOperationCallback& callback, const std::string& local_id, google_apis::GDataErrorCode status, scoped_ptr<google_apis::ResourceEntry> resource_entry) argument
H A Dentry_update_performer.cc162 scoped_ptr<google_apis::ResourceEntry> resource_entry) {
158 UpdateEntryAfterUpdateResource( const FileOperationCallback& callback, const std::string& local_id, google_apis::GDataErrorCode status, scoped_ptr<google_apis::ResourceEntry> resource_entry) argument
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Dcreate_directory_operation.cc28 scoped_ptr<google_apis::ResourceEntry> resource_entry,
35 if (!ConvertToResourceEntry(*resource_entry, &entry, &parent_resource_id))
200 scoped_ptr<google_apis::ResourceEntry> resource_entry) {
209 DCHECK(resource_entry);
210 const std::string& resource_id = resource_entry->resource_id();
222 base::Passed(&resource_entry),
26 UpdateLocalStateForCreateDirectoryRecursively( internal::ResourceMetadata* metadata, scoped_ptr<google_apis::ResourceEntry> resource_entry, base::FilePath* file_path) argument
196 CreateDirectoryRecursivelyAfterAddNewDirectory( const base::FilePath& remaining_path, const FileOperationCallback& callback, google_apis::GDataErrorCode gdata_error, scoped_ptr<google_apis::ResourceEntry> resource_entry) argument
H A Dcreate_file_operation.cc80 scoped_ptr<google_apis::ResourceEntry> resource_entry,
84 DCHECK(resource_entry);
90 if (!ConvertToResourceEntry(*resource_entry, &entry, &parent_resource_id))
212 scoped_ptr<google_apis::ResourceEntry> resource_entry) {
221 DCHECK(resource_entry);
230 base::Passed(&resource_entry),
77 UpdateLocalStateForCreateFile( internal::ResourceMetadata* metadata, internal::FileCache* cache, scoped_ptr<google_apis::ResourceEntry> resource_entry, base::FilePath* file_path) argument
209 CreateFileAfterUpload( const FileOperationCallback& callback, google_apis::GDataErrorCode gdata_error, scoped_ptr<google_apis::ResourceEntry> resource_entry) argument
H A Dcreate_directory_operation.h96 scoped_ptr<google_apis::ResourceEntry> resource_entry);
H A Dcreate_file_operation.h76 scoped_ptr<google_apis::ResourceEntry> resource_entry);
H A Dtruncate_operation.h61 scoped_ptr<ResourceEntry> resource_entry);
H A Dupdate_operation.cc75 scoped_ptr<google_apis::ResourceEntry> resource_entry,
79 if (!ConvertToResourceEntry(*resource_entry, &entry, &parent_resource_id))
178 scoped_ptr<google_apis::ResourceEntry> resource_entry) {
196 base::Passed(&resource_entry),
71 UpdateFileLocalState( internal::ResourceMetadata* metadata, internal::FileCache* cache, const std::string& local_id, scoped_ptr<google_apis::ResourceEntry> resource_entry, base::FilePath* drive_file_path) argument
174 UpdateFileAfterUpload( const FileOperationCallback& callback, const std::string& local_id, google_apis::GDataErrorCode error, scoped_ptr<google_apis::ResourceEntry> resource_entry) argument
H A Dupdate_operation.h81 scoped_ptr<google_apis::ResourceEntry> resource_entry);
H A Dsearch_operation_unittest.cc62 scoped_ptr<google_apis::ResourceEntry> resource_entry; local
67 &gdata_error, &resource_entry));
H A Dcopy_operation.cc65 scoped_ptr<google_apis::ResourceEntry> resource_entry,
67 DCHECK(resource_entry);
71 if (!ConvertToResourceEntry(*resource_entry, &entry, &parent_resource_id))
318 scoped_ptr<google_apis::ResourceEntry> resource_entry) {
335 metadata_, base::Passed(&resource_entry), file_path),
63 UpdateLocalStateForServerSideCopy( internal::ResourceMetadata* metadata, scoped_ptr<google_apis::ResourceEntry> resource_entry, base::FilePath* file_path) argument
315 CopyResourceOnServerAfterServerSideCopy( const FileOperationCallback& callback, google_apis::GDataErrorCode status, scoped_ptr<google_apis::ResourceEntry> resource_entry) argument
H A Dcopy_operation.h110 scoped_ptr<google_apis::ResourceEntry> resource_entry);
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_manager_browsertest.cc322 scoped_ptr<google_apis::ResourceEntry> resource_entry; local
327 &resource_entry));
330 ASSERT_TRUE(resource_entry);
333 resource_entry->resource_id(),
336 &resource_entry));
339 ASSERT_TRUE(resource_entry);
361 scoped_ptr<google_apis::ResourceEntry> resource_entry; local
369 &resource_entry));
372 ASSERT_TRUE(resource_entry);
375 resource_entry
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dsync_client_unittest.cc291 scoped_ptr<google_apis::ResourceEntry> resource_entry; local
295 &resource_entry));
298 ASSERT_TRUE(resource_entry);
299 EXPECT_TRUE(resource_entry->deleted());
306 &resource_entry));
309 ASSERT_TRUE(resource_entry);
310 EXPECT_EQ("moved_new_title", resource_entry->title());
H A Dfileapi_worker.cc85 const ResourceEntry& resource_entry = (*resource_entries)[i]; local
87 entry.name = resource_entry.base_name();
89 const PlatformFileInfoProto& file_info = resource_entry.file_info();
H A Djob_scheduler.h327 scoped_ptr<google_apis::ResourceEntry> resource_entry);
336 scoped_ptr<google_apis::ResourceEntry> resource_entry);
/external/chromium_org/google_apis/drive/
H A Dgdata_wapi_parser_unittest.cc134 const ResourceEntry* resource_entry = feed->entries()[2]; local
135 ASSERT_TRUE(resource_entry);
136 EXPECT_EQ(ENTRY_KIND_DOCUMENT, resource_entry->kind());
137 EXPECT_TRUE(resource_entry->is_hosted_document());
138 EXPECT_TRUE(resource_entry->is_google_document());
139 EXPECT_FALSE(resource_entry->is_external_document());

Completed in 819 milliseconds

12