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

Unified Diff: content/browser/indexed_db/indexed_db_database.h

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expected test results changed Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_database.h
diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h
index bcbdb538770f051a9cbcb00f08f27b4eea066a06..07be1500fbdcc2cf4e0009c7e5bcc90f0c78316b 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -125,6 +125,10 @@ class CONTENT_EXPORT IndexedDBDatabase
// Called by transactions to report failure committing to the backing store.
void TransactionCommitFailed(const leveldb::Status& status);
+ void AddPendingObserver(int64_t transaction_id, int32_t observer_id);
+ void RemovePendingObservers(IndexedDBConnection*,
cmumford 2016/07/01 18:35:00 Nit: Blink style says to "Leave meaningless variab
palakj1 2016/07/02 00:48:13 Done.
+ const std::vector<int32_t>& pending_observer_ids);
+
void Get(int64_t transaction_id,
int64_t object_store_id,
int64_t index_id,

Powered by Google App Engine
This is Rietveld 408576698