Home
last modified time | relevance | path

Searched refs:about_resource (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/drive/
Ddirectory_loader.cc34 const google_apis::AboutResource& about_resource, in CheckLocalState() argument
46 mydrive.set_resource_id(about_resource.root_folder_id()); in CheckLocalState()
339 scoped_ptr<google_apis::AboutResource> about_resource) { in ReadDirectoryAfterGetAboutResource() argument
348 DCHECK(about_resource); in ReadDirectoryAfterGetAboutResource()
351 google_apis::AboutResource* about_resource_ptr = about_resource.get(); in ReadDirectoryAfterGetAboutResource()
365 base::Passed(&about_resource), in ReadDirectoryAfterGetAboutResource()
372 scoped_ptr<google_apis::AboutResource> about_resource, in ReadDirectoryAfterCheckLocalState() argument
378 DCHECK(about_resource); in ReadDirectoryAfterCheckLocalState()
390 int64 remote_changestamp = about_resource->largest_change_id(); in ReadDirectoryAfterCheckLocalState()
494 const google_apis::AboutResource* about_resource = in LoadDirectoryFromServer() local
[all …]
Dchange_list_loader.cc259 scoped_ptr<google_apis::AboutResource> about_resource) { in UpdateAboutResourceAfterGetAbout() argument
276 about_resource->largest_change_id()) { in UpdateAboutResourceAfterGetAbout()
279 << ", server = " << about_resource->largest_change_id(); in UpdateAboutResourceAfterGetAbout()
281 cached_about_resource_.reset(new google_apis::AboutResource(*about_resource)); in UpdateAboutResourceAfterGetAbout()
286 make_scoped_ptr(new google_apis::AboutResource(*about_resource))); in UpdateAboutResourceAfterGetAbout()
421 scoped_ptr<google_apis::AboutResource> about_resource) { in LoadAfterGetAboutResource() argument
430 DCHECK(about_resource); in LoadAfterGetAboutResource()
432 int64 remote_changestamp = about_resource->largest_change_id(); in LoadAfterGetAboutResource()
515 scoped_ptr<google_apis::AboutResource> about_resource, in LoadChangeListFromServerAfterLoadChangeList() argument
520 DCHECK(about_resource); in LoadChangeListFromServerAfterLoadChangeList()
[all …]
Dchange_list_processor.cc124 scoped_ptr<google_apis::AboutResource> about_resource, in Apply() argument
127 DCHECK(about_resource); in Apply()
138 largest_changestamp = about_resource->largest_change_id(); in Apply()
140 DVLOG(1) << "Root folder ID is " << about_resource->root_folder_id(); in Apply()
141 DCHECK(!about_resource->root_folder_id().empty()); in Apply()
177 FileError error = ApplyEntryMap(largest_changestamp, about_resource.Pass()); in Apply()
199 scoped_ptr<google_apis::AboutResource> about_resource) { in ApplyEntryMap() argument
200 DCHECK(about_resource); in ApplyEntryMap()
212 root.set_resource_id(about_resource->root_folder_id()); in ApplyEntryMap()
Djob_scheduler_unittest.cc196 scoped_ptr<google_apis::AboutResource> about_resource; in TEST_F() local
199 &error, &about_resource)); in TEST_F()
202 ASSERT_TRUE(about_resource); in TEST_F()
267 fake_drive_service_->about_resource().largest_change_id(); in TEST_F()
607 scoped_ptr<google_apis::AboutResource> about_resource; in TEST_F() local
612 &metadata_error, &about_resource)); in TEST_F()
617 ASSERT_TRUE(about_resource); in TEST_F()
660 scoped_ptr<google_apis::AboutResource> about_resource; in TEST_F() local
665 &metadata_error, &about_resource)); in TEST_F()
670 ASSERT_TRUE(about_resource); in TEST_F()
[all …]
Dchange_list_loader.h108 scoped_ptr<google_apis::AboutResource> about_resource);
180 scoped_ptr<google_apis::AboutResource> about_resource);
202 scoped_ptr<google_apis::AboutResource> about_resource,
Dchange_list_processor_unittest.cc121 scoped_ptr<google_apis::AboutResource> about_resource( in ApplyFullResourceList() local
123 about_resource->set_largest_change_id(kBaseResourceListChangestamp); in ApplyFullResourceList()
124 about_resource->set_root_folder_id(kRootId); in ApplyFullResourceList()
127 return processor.Apply(about_resource.Pass(), in ApplyFullResourceList()
136 scoped_ptr<google_apis::AboutResource> about_resource( in ApplyChangeList() local
138 about_resource->set_largest_change_id(kBaseResourceListChangestamp); in ApplyChangeList()
139 about_resource->set_root_folder_id(kRootId); in ApplyChangeList()
142 FileError error = processor.Apply(about_resource.Pass(), in ApplyChangeList()
Ddirectory_loader.h88 scoped_ptr<google_apis::AboutResource> about_resource);
90 scoped_ptr<google_apis::AboutResource> about_resource,
Dchange_list_processor.h115 FileError Apply(scoped_ptr<google_apis::AboutResource> about_resource,
145 scoped_ptr<google_apis::AboutResource> about_resource);
Dfake_file_system.cc324 scoped_ptr<google_apis::AboutResource> about_resource) { in GetResourceEntryAfterGetAboutResource() argument
333 DCHECK(about_resource); in GetResourceEntryAfterGetAboutResource()
336 root->set_resource_id(about_resource->root_folder_id()); in GetResourceEntryAfterGetAboutResource()
Dfile_system.cc673 scoped_ptr<google_apis::AboutResource> about_resource) { in OnGetAboutResource() argument
682 DCHECK(about_resource); in OnGetAboutResource()
685 about_resource->quota_bytes_total(), in OnGetAboutResource()
686 about_resource->quota_bytes_used()); in OnGetAboutResource()
Dfake_file_system.h169 scoped_ptr<google_apis::AboutResource> about_resource);
Ddirectory_loader_unittest.cc192 EXPECT_EQ(drive_service_->about_resource().largest_change_id(), in TEST_F()
Djob_scheduler.h294 scoped_ptr<google_apis::AboutResource> about_resource);
Dfile_system.h212 scoped_ptr<google_apis::AboutResource> about_resource);
/external/chromium_org/chrome/browser/drive/
Dfake_drive_service_unittest.cc105 scoped_ptr<AboutResource> about_resource; in GetLargestChangeByAboutResource() local
107 test_util::CreateCopyResultCallback(&error, &about_resource)); in GetLargestChangeByAboutResource()
109 return about_resource->largest_change_id(); in GetLargestChangeByAboutResource()
376 fake_service_.about_resource().largest_change_id() + 1, in TEST_F()
382 EXPECT_EQ(fake_service_.about_resource().largest_change_id(), in TEST_F()
394 fake_service_.about_resource().largest_change_id(); in TEST_F()
410 EXPECT_EQ(fake_service_.about_resource().largest_change_id(), in TEST_F()
438 fake_service_.about_resource().largest_change_id(); in TEST_F()
458 EXPECT_EQ(fake_service_.about_resource().largest_change_id(), in TEST_F()
473 fake_service_.about_resource().largest_change_id(); in TEST_F()
[all …]
Dfake_drive_service.h81 const google_apis::AboutResource& about_resource() const { in about_resource() function
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_engine_initializer.cc126 scoped_ptr<google_apis::AboutResource> about_resource) { in DidGetAboutResource() argument
137 DCHECK(about_resource); in DidGetAboutResource()
138 root_folder_id_ = about_resource->root_folder_id(); in DidGetAboutResource()
139 largest_change_id_ = about_resource->largest_change_id(); in DidGetAboutResource()
Dsync_engine_initializer.h84 scoped_ptr<google_apis::AboutResource> about_resource);
Dfake_drive_service_helper.h76 scoped_ptr<google_apis::AboutResource>* about_resource);
Dfake_drive_service_helper.cc304 scoped_ptr<AboutResource>* about_resource) { in GetAboutResource() argument
307 CreateResultReceiver(&error, about_resource)); in GetAboutResource()
Ddrive_backend_sync_unittest.cc324 scoped_ptr<google_apis::AboutResource> about_resource; in GetLargestChangeID() local
326 fake_drive_service_helper()->GetAboutResource(&about_resource)); in GetLargestChangeID()
327 if (!about_resource) in GetLargestChangeID()
329 return about_resource->largest_change_id(); in GetLargestChangeID()
/external/chromium_org/google_apis/drive/
Ddrive_api_requests_unittest.cc395 scoped_ptr<AboutResource> about_resource; in TEST_F() local
404 test_util::CreateCopyResultCallback(&error, &about_resource))); in TEST_F()
421 ASSERT_TRUE(about_resource.get()); in TEST_F()
422 EXPECT_EQ(expected->largest_change_id(), about_resource->largest_change_id()); in TEST_F()
423 EXPECT_EQ(expected->quota_bytes_total(), about_resource->quota_bytes_total()); in TEST_F()
424 EXPECT_EQ(expected->quota_bytes_used(), about_resource->quota_bytes_used()); in TEST_F()
425 EXPECT_EQ(expected->root_folder_id(), about_resource->root_folder_id()); in TEST_F()
541 scoped_ptr<AboutResource> about_resource; in TEST_F() local
550 test_util::CreateCopyResultCallback(&error, &about_resource))); in TEST_F()
562 ASSERT_TRUE(about_resource.get()); in TEST_F()
[all …]
Ddrive_common_callbacks.h32 scoped_ptr<AboutResource> about_resource)>
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dentry_update_performer_unittest.cc207 fake_service()->about_resource().largest_change_id(); in TEST_F()
220 fake_service()->about_resource().largest_change_id()); in TEST_F()
251 fake_service()->about_resource().largest_change_id(); in TEST_F()
264 fake_service()->about_resource().largest_change_id()); in TEST_F()
301 original_changestamp = fake_service()->about_resource().largest_change_id(); in TEST_F()
311 fake_service()->about_resource().largest_change_id()); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Ddrive_internals_ui.cc277 scoped_ptr<google_apis::AboutResource> about_resource);
322 base::DictionaryValue about_resource; in OnGetAboutResource() local
323 about_resource.SetDouble("account-quota-total", in OnGetAboutResource()
325 about_resource.SetDouble("account-quota-used", in OnGetAboutResource()
327 about_resource.SetDouble("account-largest-changestamp-remote", in OnGetAboutResource()
329 about_resource.SetString("root-resource-id", in OnGetAboutResource()
332 web_ui()->CallJavascriptFunction("updateAboutResource", about_resource); in OnGetAboutResource()

12