Home
last modified time | relevance | path

Searched refs:resource_metadata_ (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_unittest.cc163 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 …]
Dsearch_metadata_unittest.cc56 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 …]
Dchange_list_processor.cc85 : 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 …]
Dremove_stale_cache_files_unittest.cc40 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()
Dfile_system.cc219 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 …]
Dchange_list_loader.cc319 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()
Dfile_system_unittest.cc117 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
Ddrive_integration_service.cc258 resource_metadata_.reset(new internal::ResourceMetadata( in DriveIntegrationService()
267 resource_metadata_.get(), in DriveIntegrationService()
473 resource_metadata_.get(), in Initialize()
Dchange_list_processor.h134 ResourceMetadata* resource_metadata_; // Not owned. variable
Ddrive_integration_service.h168 util::DestroyHelper> resource_metadata_; variable
Dchange_list_loader.h275 ResourceMetadata* resource_metadata_; // Not owned. variable
Dfile_system.h265 internal::ResourceMetadata* resource_metadata_; variable