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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 int64_t object_store_id) WARN_UNUSED_RESULT; | 460 int64_t object_store_id) WARN_UNUSED_RESULT; |
461 virtual leveldb::Status DeleteRecord( | 461 virtual leveldb::Status DeleteRecord( |
462 IndexedDBBackingStore::Transaction* transaction, | 462 IndexedDBBackingStore::Transaction* transaction, |
463 int64_t database_id, | 463 int64_t database_id, |
464 int64_t object_store_id, | 464 int64_t object_store_id, |
465 const RecordIdentifier& record) WARN_UNUSED_RESULT; | 465 const RecordIdentifier& record) WARN_UNUSED_RESULT; |
466 virtual leveldb::Status DeleteRange( | 466 virtual leveldb::Status DeleteRange( |
467 IndexedDBBackingStore::Transaction* transaction, | 467 IndexedDBBackingStore::Transaction* transaction, |
468 int64_t database_id, | 468 int64_t database_id, |
469 int64_t object_store_id, | 469 int64_t object_store_id, |
470 const IndexedDBKeyRange&) WARN_UNUSED_RESULT; | 470 const IndexedDBKeyRange&, |
| 471 size_t* delete_count) WARN_UNUSED_RESULT; |
471 virtual leveldb::Status GetKeyGeneratorCurrentNumber( | 472 virtual leveldb::Status GetKeyGeneratorCurrentNumber( |
472 IndexedDBBackingStore::Transaction* transaction, | 473 IndexedDBBackingStore::Transaction* transaction, |
473 int64_t database_id, | 474 int64_t database_id, |
474 int64_t object_store_id, | 475 int64_t object_store_id, |
475 int64_t* current_number) WARN_UNUSED_RESULT; | 476 int64_t* current_number) WARN_UNUSED_RESULT; |
476 virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( | 477 virtual leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber( |
477 IndexedDBBackingStore::Transaction* transaction, | 478 IndexedDBBackingStore::Transaction* transaction, |
478 int64_t database_id, | 479 int64_t database_id, |
479 int64_t object_store_id, | 480 int64_t object_store_id, |
480 int64_t new_state, | 481 int64_t new_state, |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 // complete. While > 0, temporary journal entries may exist so out-of-band | 668 // complete. While > 0, temporary journal entries may exist so out-of-band |
668 // journal cleaning must be deferred. | 669 // journal cleaning must be deferred. |
669 size_t committing_transaction_count_; | 670 size_t committing_transaction_count_; |
670 | 671 |
671 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); | 672 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); |
672 }; | 673 }; |
673 | 674 |
674 } // namespace content | 675 } // namespace content |
675 | 676 |
676 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ | 677 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ |
OLD | NEW |