/external/chromium_org/chrome/browser/chromeos/drive/ |
D | resource_metadata_unittest.cc | 163 resource_metadata_.reset(new ResourceMetadata(metadata_storage_.get(), in SetUp() 171 base::Unretained(resource_metadata_.get())), in SetUp() 179 base::Unretained(resource_metadata_.get()))); in SetUp() 185 resource_metadata_.reset(); in TearDown() 195 resource_metadata_; member in drive::internal::ResourceMetadataTestOnUIThread 202 resource_metadata_->GetResourceEntryByPathOnUIThread( in TEST_F() 213 resource_metadata_->GetResourceEntryByPathOnUIThread( in TEST_F() 223 resource_metadata_->GetResourceEntryByPathOnUIThread( in TEST_F() 233 resource_metadata_->GetResourceEntryByPathOnUIThread( in TEST_F() 243 resource_metadata_->GetResourceEntryByPathOnUIThread( in TEST_F() [all …]
|
D | search_metadata_unittest.cc | 56 resource_metadata_.reset( in SetUp() 59 ASSERT_EQ(FILE_ERROR_OK, resource_metadata_->Initialize()); in SetUp() 73 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(GetDirectoryEntry( in AddEntriesToMetadata() 79 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(GetDirectoryEntry( in AddEntriesToMetadata() 84 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(GetFileEntry( in AddEntriesToMetadata() 93 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(entry, &local_id)); in AddEntriesToMetadata() 96 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(GetDirectoryEntry( in AddEntriesToMetadata() 100 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry( in AddEntriesToMetadata() 106 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(GetFileEntry( in AddEntriesToMetadata() 110 EXPECT_EQ(FILE_ERROR_OK, resource_metadata_->AddEntry(GetFileEntry( in AddEntriesToMetadata() [all …]
|
D | change_list_processor.cc | 85 : resource_metadata_(resource_metadata) { in ChangeListProcessor() 152 error = resource_metadata_->SetLargestChangestamp(largest_changestamp); in Apply() 172 FileError error = resource_metadata_->GetResourceEntryByPath( in ApplyEntryMap() 177 error = resource_metadata_->RefreshEntry(root); in ApplyEntryMap() 186 error = resource_metadata_->AddEntry(root, &local_id); in ApplyEntryMap() 245 FileError error = resource_metadata_->GetIdByResourceId( in ApplyEntryMap() 254 error = resource_metadata_->GetResourceEntryById( in ApplyEntryMap() 288 FileError error = resource_metadata_->GetIdByResourceId( in ApplyEntryMap() 291 error = resource_metadata_->RemoveEntry(local_id); in ApplyEntryMap() 309 FileError error = resource_metadata_->GetIdByResourceId( in ApplyEntry() [all …]
|
D | remove_stale_cache_files_unittest.cc | 40 resource_metadata_.reset(new ResourceMetadata( in SetUp() 45 ASSERT_EQ(FILE_ERROR_OK, resource_metadata_->Initialize()); in SetUp() 55 resource_metadata_; member in drive::internal::RemoveStaleCacheFilesTest 76 resource_metadata_->GetResourceEntryById(local_id, &entry)); in TEST_F() 79 RemoveStaleCacheFiles(cache_.get(), resource_metadata_.get()); in TEST_F() 107 resource_metadata_->AddEntry(entry, &local_id_2); in TEST_F() 115 RemoveStaleCacheFiles(cache_.get(), resource_metadata_.get()); in TEST_F()
|
D | file_system.cc | 219 resource_metadata_(resource_metadata), in FileSystem() 246 base::Bind(&ResetOnBlockingPool, resource_metadata_, cache_), in Reload() 274 resource_metadata_, in ResetComponents() 278 blocking_task_runner_.get(), observer, scheduler_, resource_metadata_)); in ResetComponents() 283 resource_metadata_, in ResetComponents() 288 resource_metadata_)); in ResetComponents() 293 resource_metadata_, in ResetComponents() 299 resource_metadata_, in ResetComponents() 302 blocking_task_runner_.get(), observer, resource_metadata_)); in ResetComponents() 307 resource_metadata_, in ResetComponents() [all …]
|
D | change_list_loader.cc | 319 resource_metadata_(resource_metadata), in ChangeListLoader() 434 base::Unretained(resource_metadata_)), in Load() 731 resource_metadata_->GetResourceEntryByPathOnUIThread( in DoLoadDirectoryFromServer() 805 base::Unretained(resource_metadata_), in DoLoadGrandRootDirectoryFromServerAfterGetAboutResource() 858 resource_metadata_, in DoLoadDirectoryFromServerAfterLoad() 896 new ChangeListProcessor(resource_metadata_); in UpdateFromChangeList()
|
D | file_system_unittest.cc | 117 resource_metadata_.reset(new internal::ResourceMetadata( in SetUpResourceMetadataAndFileSystem() 119 ASSERT_EQ(FILE_ERROR_OK, resource_metadata_->Initialize()); in SetUpResourceMetadataAndFileSystem() 128 resource_metadata_.get(), in SetUpResourceMetadataAndFileSystem() 192 resource_metadata_.reset(); in SetUpTestFileSystem() 287 resource_metadata_; member in drive::FileSystemTest
|
D | drive_integration_service.cc | 258 resource_metadata_.reset(new internal::ResourceMetadata( in DriveIntegrationService() 267 resource_metadata_.get(), in DriveIntegrationService() 473 resource_metadata_.get(), in Initialize()
|
D | change_list_processor.h | 134 ResourceMetadata* resource_metadata_; // Not owned. variable
|
D | drive_integration_service.h | 168 util::DestroyHelper> resource_metadata_; variable
|
D | change_list_loader.h | 275 ResourceMetadata* resource_metadata_; // Not owned. variable
|
D | file_system.h | 265 internal::ResourceMetadata* resource_metadata_; variable
|