Home
last modified time | relevance | path

Searched refs:ResourceMetadataStorage (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_storage.cc143 header.set_version(ResourceMetadataStorage::kDBVersion); in GetDefaultHeaderEntry()
153 ResourceMetadataStorage::Iterator::Iterator(scoped_ptr<leveldb::Iterator> it) in Iterator()
166 ResourceMetadataStorage::Iterator::~Iterator() { in ~Iterator()
170 bool ResourceMetadataStorage::Iterator::IsAtEnd() const { in IsAtEnd()
175 std::string ResourceMetadataStorage::Iterator::GetID() const { in GetID()
179 const ResourceEntry& ResourceMetadataStorage::Iterator::GetValue() const { in GetValue()
185 bool ResourceMetadataStorage::Iterator::GetCacheEntry( in GetCacheEntry()
207 void ResourceMetadataStorage::Iterator::Advance() { in Advance()
220 bool ResourceMetadataStorage::Iterator::HasError() const { in HasError()
225 ResourceMetadataStorage::CacheEntryIterator::CacheEntryIterator( in CacheEntryIterator()
[all …]
Dresource_metadata_storage_unittest.cc27 storage_.reset(new ResourceMetadataStorage( in SetUp()
52 ResourceMetadataStorage::GetChildEntryKey(parent_id, child_base_name), in PutChild()
61 ResourceMetadataStorage::GetChildEntryKey(parent_id, child_base_name)); in RemoveChild()
66 scoped_ptr<ResourceMetadataStorage,
163 scoped_ptr<ResourceMetadataStorage::Iterator> it = storage_->GetIterator(); in TEST_F()
240 scoped_ptr<ResourceMetadataStorage::CacheEntryIterator> it = in TEST_F()
350 storage_.reset(new ResourceMetadataStorage( in TEST_F()
389 EXPECT_TRUE(ResourceMetadataStorage::UpgradeOldDB( in TEST_F()
391 storage_.reset(new ResourceMetadataStorage( in TEST_F()
433 EXPECT_TRUE(ResourceMetadataStorage::UpgradeOldDB( in TEST_F()
[all …]
Dfile_cache.h47 typedef ResourceMetadataStorage::CacheEntryIterator Iterator;
59 FileCache(ResourceMetadataStorage* storage,
134 const ResourceMetadataStorage::RecoveredCacheInfoMap&
167 ResourceMetadataStorage* storage_;
Dresource_metadata_storage.h36 class ResourceMetadataStorage {
123 ResourceMetadataStorage(const base::FilePath& directory_path,
186 ~ResourceMetadataStorage();
214 DISALLOW_COPY_AND_ASSIGN(ResourceMetadataStorage);
Dresource_metadata.h45 typedef ResourceMetadataStorage::Iterator Iterator;
48 ResourceMetadataStorage* storage,
147 ResourceMetadataStorage* storage_;
Dfile_cache.cc40 FileCache::FileCache(ResourceMetadataStorage* storage, in FileCache()
94 scoped_ptr<ResourceMetadataStorage::CacheEntryIterator> it = in FreeDiskSpaceIfNeededFor()
323 scoped_ptr<ResourceMetadataStorage::CacheEntryIterator> it = in ClearAll()
373 const ResourceMetadataStorage::RecoveredCacheInfoMap& in RecoverFilesFromCacheDirectory()
392 ResourceMetadataStorage::RecoveredCacheInfoMap::const_iterator it = in RecoverFilesFromCacheDirectory()
Dremove_stale_cache_files_unittest.cc32 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
51 scoped_ptr<ResourceMetadataStorage,
Ddrive_integration_service.h37 class ResourceMetadataStorage; variable
161 scoped_ptr<internal::ResourceMetadataStorage,
Ddrive_integration_service.cc99 internal::ResourceMetadataStorage* metadata_storage, in InitializeMetadata()
122 internal::ResourceMetadataStorage::UpgradeOldDB( in InitializeMetadata()
147 internal::ResourceMetadataStorage::RecoveredCacheInfoMap in InitializeMetadata()
248 metadata_storage_.reset(new internal::ResourceMetadataStorage( in DriveIntegrationService()
Dresource_metadata_unittest.cc151 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
157 base::Bind(&ResourceMetadataStorage::Initialize, in SetUp()
192 scoped_ptr<ResourceMetadataStorage, test_util::DestroyHelperForTests>
295 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
309 scoped_ptr<ResourceMetadataStorage, test_util::DestroyHelperForTests>
Dfile_cache_unittest.cc70 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
78 base::Bind(&ResourceMetadataStorage::Initialize, in SetUp()
383 scoped_ptr<ResourceMetadataStorage, test_util::DestroyHelperForTests>
745 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
766 scoped_ptr<ResourceMetadataStorage, test_util::DestroyHelperForTests>
790 ResourceMetadataStorage::RecoveredCacheInfoMap recovered_cache_info; in TEST_F()
Dfile_system_unittest.cc104 metadata_storage_.reset(new internal::ResourceMetadataStorage( in SetUpResourceMetadataAndFileSystem()
196 scoped_ptr<internal::ResourceMetadataStorage, in SetUpTestFileSystem()
198 new internal::ResourceMetadataStorage( in SetUpTestFileSystem()
283 scoped_ptr<internal::ResourceMetadataStorage,
Dchange_list_loader_unittest.cc88 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
130 scoped_ptr<ResourceMetadataStorage,
Dsync_client_unittest.cc127 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
261 scoped_ptr<ResourceMetadataStorage,
Dsearch_metadata_unittest.cc46 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
152 scoped_ptr<ResourceMetadataStorage,
Dchange_list_processor_unittest.cc65 metadata_storage_.reset(new ResourceMetadataStorage( in SetUp()
129 scoped_ptr<ResourceMetadataStorage,
Dresource_metadata.cc66 ResourceMetadataStorage* storage, in ResourceMetadata()
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Doperation_test_base.h33 class ResourceMetadataStorage; variable
129 scoped_ptr<internal::ResourceMetadataStorage,
Doperation_test_base.cc76 metadata_storage_.reset(new internal::ResourceMetadataStorage( in SetUp()
82 base::Bind(&internal::ResourceMetadataStorage::Initialize, in SetUp()