Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: content/browser/indexed_db/indexed_db_backing_store.h

Issue 1996443003: Return number of values deleted by IDBObjectStore.delete(range) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return number of values deleted by IDBObjectStore.delete(range) Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698