Searched refs:MockAppCacheStorage (Results 1 – 9 of 9) sorted by relevance
37 MockAppCacheStorage::MockAppCacheStorage(AppCacheServiceImpl* service) in MockAppCacheStorage() function in content::MockAppCacheStorage52 MockAppCacheStorage::~MockAppCacheStorage() { in ~MockAppCacheStorage()55 void MockAppCacheStorage::GetAllInfo(Delegate* delegate) { in GetAllInfo()57 base::Bind(&MockAppCacheStorage::ProcessGetAllInfo, in GetAllInfo()62 void MockAppCacheStorage::LoadCache(int64 id, Delegate* delegate) { in LoadCache()67 base::Bind(&MockAppCacheStorage::ProcessLoadCache, in LoadCache()75 void MockAppCacheStorage::LoadOrCreateGroup( in LoadOrCreateGroup()81 base::Bind(&MockAppCacheStorage::ProcessLoadOrCreateGroup, in LoadOrCreateGroup()90 void MockAppCacheStorage::StoreGroupAndNewestCache( in StoreGroupAndNewestCache()96 base::Bind(&MockAppCacheStorage::ProcessStoreGroupAndNewestCache, in StoreGroupAndNewestCache()[all …]
130 MockAppCacheStorage* storage = in TEST_F()131 reinterpret_cast<MockAppCacheStorage*>(service.storage()); in TEST_F()176 MockAppCacheStorage* storage = in TEST_F()177 reinterpret_cast<MockAppCacheStorage*>(service.storage()); in TEST_F()227 MockAppCacheStorage* storage = in TEST_F()228 reinterpret_cast<MockAppCacheStorage*>(service.storage()); in TEST_F()259 MockAppCacheStorage* storage = in TEST_F()260 reinterpret_cast<MockAppCacheStorage*>(service.storage()); in TEST_F()304 MockAppCacheStorage* storage = in TEST_F()305 reinterpret_cast<MockAppCacheStorage*>(service.storage()); in TEST_F()[all …]
58 class MockAppCacheStorage : public AppCacheStorage {60 explicit MockAppCacheStorage(AppCacheServiceImpl* service);61 virtual ~MockAppCacheStorage();226 base::WeakPtrFactory<MockAppCacheStorage> weak_factory_;249 DISALLOW_COPY_AND_ASSIGN(MockAppCacheStorage);
104 service_->storage_.reset(new MockAppCacheStorage(service_.get())); in AppCacheServiceImplTest()112 MockAppCacheStorage* mock_storage() { in mock_storage()113 return static_cast<MockAppCacheStorage*>(service_->storage()); in mock_storage()117 service_->storage_.reset(new MockAppCacheStorage(service_.get())); in ResetStorage()
24 storage_.reset(new MockAppCacheStorage(this)); in MockAppCacheService()
1869 MockAppCacheStorage* storage = in FailStoreNewestCacheTest()1870 reinterpret_cast<MockAppCacheStorage*>(service_->storage()); in FailStoreNewestCacheTest()1898 MockAppCacheStorage* storage = in UpgradeFailStoreNewestCacheTest()1899 reinterpret_cast<MockAppCacheStorage*>(service_->storage()); in UpgradeFailStoreNewestCacheTest()1944 MockAppCacheStorage* storage = in MasterEntryFailStoreNewestCacheTest()1945 reinterpret_cast<MockAppCacheStorage*>(service_->storage()); in MasterEntryFailStoreNewestCacheTest()1994 MockAppCacheStorage* storage = in UpgradeFailMakeGroupObsoleteTest()1995 reinterpret_cast<MockAppCacheStorage*>(service_->storage()); in UpgradeFailMakeGroupObsoleteTest()3155 MockAppCacheStorage* storage = in VerifyExpectations()3156 reinterpret_cast<MockAppCacheStorage*>(service_->storage()); in VerifyExpectations()
915 MockAppCacheStorage* mock_storage() { in mock_storage()916 return reinterpret_cast<MockAppCacheStorage*>(mock_service_->storage()); in mock_storage()
23 class MockAppCacheStorage; variable177 friend class content::MockAppCacheStorage;241 friend class content::MockAppCacheStorage;
27 class MockAppCacheStorage; variable109 friend class content::MockAppCacheStorage; // for old_caches()