Home
last modified time | relevance | path

Searched refs:IndexedDBBackingStore (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/content/browser/indexed_db/
Dindexed_db_backing_store.h56 class CONTENT_EXPORT IndexedDBBackingStore
57 : public base::RefCounted<IndexedDBBackingStore> {
122 explicit Transaction(IndexedDBBackingStore* backing_store);
224 IndexedDBBackingStore* backing_store_;
274 Cursor(scoped_refptr<IndexedDBBackingStore> backing_store,
278 explicit Cursor(const IndexedDBBackingStore::Cursor* other);
287 IndexedDBBackingStore* backing_store_;
293 IndexedDBBackingStore::RecordIdentifier record_identifier_;
302 base::OneShotTimer<IndexedDBBackingStore>* close_timer() { in close_timer()
309 static scoped_refptr<IndexedDBBackingStore> Open(
[all …]
Dindexed_db_fake_backing_store.cc13 : IndexedDBBackingStore(NULL /* indexed_db_factory */, in IndexedDBFakeBackingStore()
24 : IndexedDBBackingStore(factory, in IndexedDBFakeBackingStore()
81 IndexedDBBackingStore::Transaction* transaction, in PutRecord()
160 scoped_ptr<IndexedDBBackingStore::Cursor>
162 IndexedDBBackingStore::Transaction* transaction, in OpenObjectStoreKeyCursor()
168 return scoped_ptr<IndexedDBBackingStore::Cursor>(); in OpenObjectStoreKeyCursor()
170 scoped_ptr<IndexedDBBackingStore::Cursor>
172 IndexedDBBackingStore::Transaction* transaction, in OpenObjectStoreCursor()
178 return scoped_ptr<IndexedDBBackingStore::Cursor>(); in OpenObjectStoreCursor()
180 scoped_ptr<IndexedDBBackingStore::Cursor>
[all …]
Dindexed_db_backing_store.cc299 int IndexedDBBackingStore::Comparator::Compare(const StringPiece& a, in Compare()
304 const char* IndexedDBBackingStore::Comparator::Name() const { in Name()
351 WARN_UNUSED_RESULT leveldb::Status IndexedDBBackingStore::SetUpMetadata() { in SetUpMetadata()
704 IndexedDBBackingStore::IndexedDBBackingStore( in IndexedDBBackingStore() function in content::IndexedDBBackingStore
723 IndexedDBBackingStore::~IndexedDBBackingStore() { in ~IndexedDBBackingStore()
741 IndexedDBBackingStore::RecordIdentifier::RecordIdentifier( in RecordIdentifier()
747 IndexedDBBackingStore::RecordIdentifier::RecordIdentifier() in RecordIdentifier()
749 IndexedDBBackingStore::RecordIdentifier::~RecordIdentifier() {} in ~RecordIdentifier()
751 IndexedDBBackingStore::Cursor::CursorOptions::CursorOptions() {} in CursorOptions()
752 IndexedDBBackingStore::Cursor::CursorOptions::~CursorOptions() {} in ~CursorOptions()
[all …]
Dindexed_db_index_writer.h30 bool VerifyIndexKeys(IndexedDBBackingStore* store,
31 IndexedDBBackingStore::Transaction* transaction,
39 void WriteIndexKeys(const IndexedDBBackingStore::RecordIdentifier& record,
40 IndexedDBBackingStore* store,
41 IndexedDBBackingStore::Transaction* transaction,
48 bool AddingKeyAllowed(IndexedDBBackingStore* store,
49 IndexedDBBackingStore::Transaction* transaction,
65 IndexedDBBackingStore* store,
Dindexed_db_cleanup_on_io_error_unittest.cc20 using content::IndexedDBBackingStore;
108 scoped_refptr<IndexedDBBackingStore> backing_store = in TEST()
109 IndexedDBBackingStore::Open(factory, in TEST()
149 scoped_refptr<IndexedDBBackingStore> backing_store = in TEST()
150 IndexedDBBackingStore::Open(factory, in TEST()
167 scoped_refptr<IndexedDBBackingStore> backing_store2 = in TEST()
168 IndexedDBBackingStore::Open(factory, in TEST()
183 scoped_refptr<IndexedDBBackingStore> backing_store3 = in TEST()
184 IndexedDBBackingStore::Open(factory, in TEST()
201 scoped_refptr<IndexedDBBackingStore> backing_store4 = in TEST()
[all …]
Dindexed_db_index_writer.cc32 IndexedDBBackingStore* backing_store, in VerifyIndexKeys()
33 IndexedDBBackingStore::Transaction* transaction, in VerifyIndexKeys()
68 const IndexedDBBackingStore::RecordIdentifier& record_identifier, in WriteIndexKeys()
69 IndexedDBBackingStore* backing_store, in WriteIndexKeys()
70 IndexedDBBackingStore::Transaction* transaction, in WriteIndexKeys()
90 IndexedDBBackingStore* backing_store, in AddingKeyAllowed()
91 IndexedDBBackingStore::Transaction* transaction, in AddingKeyAllowed()
123 IndexedDBBackingStore* backing_store, in MakeIndexWriters()
Dindexed_db_factory_unittest.cc32 scoped_refptr<IndexedDBBackingStore> TestOpenBackingStore( in TestOpenBackingStore()
40 scoped_refptr<IndexedDBBackingStore> backing_store = in TestOpenBackingStore()
52 void TestCloseBackingStore(IndexedDBBackingStore* backing_store) { in TestCloseBackingStore()
56 void TestReleaseBackingStore(IndexedDBBackingStore* backing_store, in TestReleaseBackingStore()
102 scoped_refptr<IndexedDBBackingStore> disk_store1 = in TEST_F()
105 scoped_refptr<IndexedDBBackingStore> disk_store2 = in TEST_F()
109 scoped_refptr<IndexedDBBackingStore> disk_store3 = in TEST_F()
128 scoped_refptr<IndexedDBBackingStore> store = in TEST_F()
133 IndexedDBBackingStore* store_ptr = store.get(); in TEST_F()
155 scoped_refptr<IndexedDBBackingStore> mem_store1 = in TEST_F()
[all …]
Dindexed_db_backing_store_unittest.cc62 class TestableIndexedDBBackingStore : public IndexedDBBackingStore {
108 const std::vector<IndexedDBBackingStore::Transaction::WriteDescriptor>&
162 : IndexedDBBackingStore(indexed_db_factory, in TestableIndexedDBBackingStore()
190 scoped_refptr<IndexedDBBackingStore> backing_store = in OpenBackingStoreForTest()
206 virtual scoped_refptr<IndexedDBBackingStore> OpenBackingStoreHelper( in OpenBackingStoreHelper()
307 const IndexedDBBackingStore::Transaction::WriteDescriptor& desc = in CheckBlobWrites()
359 class TestCallback : public IndexedDBBackingStore::BlobWriteCallback {
378 IndexedDBBackingStore::Transaction transaction1(backing_store_.get()); in TEST_F()
381 IndexedDBBackingStore::RecordIdentifier record; in TEST_F()
393 IndexedDBBackingStore::Transaction transaction2(backing_store_.get()); in TEST_F()
[all …]
Dindexed_db_factory_impl.cc117 IndexedDBBackingStore* ptr; in HasLastBackingStoreReference()
188 scoped_refptr<IndexedDBBackingStore> backing_store = in GetDatabaseNames()
242 scoped_refptr<IndexedDBBackingStore> backing_store = in DeleteDatabase()
311 IndexedDBBackingStore::RecordCorruptionInfo( in HandleBackingStoreCorruption()
317 IndexedDBBackingStore::DestroyBackingStore(path_base, saved_origin_url); in HandleBackingStoreCorruption()
340 scoped_refptr<IndexedDBBackingStore>
350 return IndexedDBBackingStore::Open(this, in OpenBackingStoreHelper()
362 scoped_refptr<IndexedDBBackingStore> IndexedDBFactoryImpl::OpenBackingStore( in OpenBackingStore()
378 scoped_refptr<IndexedDBBackingStore> backing_store; in OpenBackingStore()
381 backing_store = IndexedDBBackingStore::OpenInMemory( in OpenBackingStore()
[all …]
Dindexed_db_active_blob_registry.h19 class IndexedDBBackingStore; variable
23 explicit IndexedDBActiveBlobRegistry(IndexedDBBackingStore* backing_store);
67 IndexedDBBackingStore* backing_store_;
Dindexed_db_cursor.h25 IndexedDBCursor(scoped_ptr<IndexedDBBackingStore::Cursor> cursor, in NON_EXPORTED_BASE()
68 scoped_ptr<IndexedDBBackingStore::Cursor> cursor_; in NON_EXPORTED_BASE()
70 scoped_ptr<IndexedDBBackingStore::Cursor> saved_cursor_; in NON_EXPORTED_BASE()
Dindexed_db_factory_impl.h69 virtual scoped_refptr<IndexedDBBackingStore> OpenBackingStore(
78 virtual scoped_refptr<IndexedDBBackingStore> OpenBackingStoreHelper(
109 typedef std::map<GURL, scoped_refptr<IndexedDBBackingStore> >
129 std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_;
Dindexed_db_factory.h29 class IndexedDBBackingStore; variable
86 virtual scoped_refptr<IndexedDBBackingStore> OpenBackingStore( in NON_EXPORTED_BASE()
95 virtual scoped_refptr<IndexedDBBackingStore> OpenBackingStoreHelper( in NON_EXPORTED_BASE()
Dindexed_db_transaction.h47 IndexedDBBackingStore::Transaction* backing_store_transaction); in NON_EXPORTED_BASE()
71 IndexedDBBackingStore::Transaction* BackingStoreTransaction() { in NON_EXPORTED_BASE()
159 scoped_ptr<IndexedDBBackingStore::Transaction> transaction_; in NON_EXPORTED_BASE()
Dmock_indexed_db_factory.h59 scoped_refptr<IndexedDBBackingStore>(
69 scoped_refptr<IndexedDBBackingStore>(
Dindexed_db_fake_backing_store.h20 class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
52 IndexedDBBackingStore::Transaction* transaction,
136 class FakeTransaction : public IndexedDBBackingStore::Transaction {
Dindexed_db_database.h52 IndexedDBBackingStore* backing_store, in NON_EXPORTED_BASE()
58 IndexedDBBackingStore* backing_store() { return backing_store_.get(); } in NON_EXPORTED_BASE()
237 IndexedDBBackingStore* backing_store, in NON_EXPORTED_BASE()
272 scoped_refptr<IndexedDBBackingStore> backing_store_; in NON_EXPORTED_BASE()
Dindexed_db_transaction.cc59 IndexedDBBackingStore::Transaction* backing_store_transaction) in IndexedDBTransaction()
210 class BlobWriteCallbackImpl : public IndexedDBBackingStore::BlobWriteCallback {
265 scoped_refptr<IndexedDBBackingStore::BlobWriteCallback> callback( in Commit()
Dindexed_db_cursor.cc20 scoped_ptr<IndexedDBBackingStore::Cursor> cursor, in IndexedDBCursor()
90 IndexedDBBackingStore::Cursor::SEEK, in CursorIterationOperation()
Dindexed_db_database.cc97 IndexedDBBackingStore* backing_store, in Create()
115 IndexedDBBackingStore* backing_store, in IndexedDBDatabase()
534 scoped_ptr<IndexedDBBackingStore::Cursor> backing_store_cursor; in GetOperation()
680 IndexedDBBackingStore* backing_store, in GenerateKey()
702 static leveldb::Status UpdateKeyGenerator(IndexedDBBackingStore* backing_store, in UpdateKeyGenerator()
793 IndexedDBBackingStore::RecordIdentifier record_identifier; in PutOperation()
910 IndexedDBBackingStore::RecordIdentifier record_identifier; in SetIndexKeys()
1058 scoped_ptr<IndexedDBBackingStore::Cursor> backing_store_cursor; in OpenCursorOperation()
1155 scoped_ptr<IndexedDBBackingStore::Cursor> backing_store_cursor; in CountOperation()
1477 new IndexedDBBackingStore::Transaction(backing_store_.get()))); in CreateTransaction()
Dindexed_db_active_blob_registry.cc17 IndexedDBBackingStore* backing_store) in IndexedDBActiveBlobRegistry()
Dindexed_db_browsertest.cc431 IndexedDBBackingStore* backing_store = db->backing_store(); in CompactIndexedDBBackingStore()