OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 int64_t object_store_id) WARN_UNUSED_RESULT; | 477 int64_t object_store_id) WARN_UNUSED_RESULT; |
478 virtual leveldb::Status DeleteRecord( | 478 virtual leveldb::Status DeleteRecord( |
479 IndexedDBBackingStore::Transaction* transaction, | 479 IndexedDBBackingStore::Transaction* transaction, |
480 int64_t database_id, | 480 int64_t database_id, |
481 int64_t object_store_id, | 481 int64_t object_store_id, |
482 const RecordIdentifier& record) WARN_UNUSED_RESULT; | 482 const RecordIdentifier& record) WARN_UNUSED_RESULT; |
483 virtual leveldb::Status DeleteRange( | 483 virtual leveldb::Status DeleteRange( |
484 IndexedDBBackingStore::Transaction* transaction, | 484 IndexedDBBackingStore::Transaction* transaction, |
485 int64_t database_id, | 485 int64_t database_id, |
486 int64_t object_store_id, | 486 int64_t object_store_id, |
487 const IndexedDBKeyRange&, | 487 const IndexedDBKeyRange&) WARN_UNUSED_RESULT; |
488 size_t* delete_count) WARN_UNUSED_RESULT; | |
489 virtual leveldb::Status GetKeyGeneratorCurrentNumber( | 488 virtual leveldb::Status GetKeyGeneratorCurrentNumber( |
490 IndexedDBBackingStore::Transaction* transaction, | 489 IndexedDBBackingStore::Transaction* transaction, |
491 int64_t database_id, | 490 int64_t database_id, |
492 int64_t object_store_id, | 491 int64_t object_store_id, |
493 int64_t* current_number) WARN_UNUSED_RESULT; | 492 int64_t* current_number) WARN_UNUSED_RESULT; |
494 virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( | 493 virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( |
495 IndexedDBBackingStore::Transaction* transaction, | 494 IndexedDBBackingStore::Transaction* transaction, |
496 int64_t database_id, | 495 int64_t database_id, |
497 int64_t object_store_id, | 496 int64_t object_store_id, |
498 int64_t new_state, | 497 int64_t new_state, |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 // complete. While > 0, temporary journal entries may exist so out-of-band | 693 // complete. While > 0, temporary journal entries may exist so out-of-band |
695 // journal cleaning must be deferred. | 694 // journal cleaning must be deferred. |
696 size_t committing_transaction_count_; | 695 size_t committing_transaction_count_; |
697 | 696 |
698 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); | 697 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); |
699 }; | 698 }; |
700 | 699 |
701 } // namespace content | 700 } // namespace content |
702 | 701 |
703 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ | 702 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ |
OLD | NEW |