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&) WARN_UNUSED_RESULT; | 487 const IndexedDBKeyRange&, |
| 488 size_t* delete_count) WARN_UNUSED_RESULT; |
488 virtual leveldb::Status GetKeyGeneratorCurrentNumber( | 489 virtual leveldb::Status GetKeyGeneratorCurrentNumber( |
489 IndexedDBBackingStore::Transaction* transaction, | 490 IndexedDBBackingStore::Transaction* transaction, |
490 int64_t database_id, | 491 int64_t database_id, |
491 int64_t object_store_id, | 492 int64_t object_store_id, |
492 int64_t* current_number) WARN_UNUSED_RESULT; | 493 int64_t* current_number) WARN_UNUSED_RESULT; |
493 virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( | 494 virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( |
494 IndexedDBBackingStore::Transaction* transaction, | 495 IndexedDBBackingStore::Transaction* transaction, |
495 int64_t database_id, | 496 int64_t database_id, |
496 int64_t object_store_id, | 497 int64_t object_store_id, |
497 int64_t new_state, | 498 int64_t new_state, |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 // complete. While > 0, temporary journal entries may exist so out-of-band | 694 // complete. While > 0, temporary journal entries may exist so out-of-band |
694 // journal cleaning must be deferred. | 695 // journal cleaning must be deferred. |
695 size_t committing_transaction_count_; | 696 size_t committing_transaction_count_; |
696 | 697 |
697 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); | 698 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); |
698 }; | 699 }; |
699 | 700 |
700 } // namespace content | 701 } // namespace content |
701 | 702 |
702 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ | 703 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ |
OLD | NEW |