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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.h

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding Observer 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/child/indexed_db/webidbdatabase_impl.h
diff --git a/content/child/indexed_db/webidbdatabase_impl.h b/content/child/indexed_db/webidbdatabase_impl.h
index 7d214bbd6c51f50ea8c7e7aeab5b3c6f8c7f530b..5b04f6bf7205b61217013dadd9399cb1a51c495c 100644
--- a/content/child/indexed_db/webidbdatabase_impl.h
+++ b/content/child/indexed_db/webidbdatabase_impl.h
@@ -13,6 +13,7 @@
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
namespace blink {
+class IDBObserver;
class WebBlobInfo;
class WebIDBCallbacks;
class WebIDBDatabaseCallbacks;
@@ -45,6 +46,8 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
void close() override;
void versionChangeIgnored() override;
dmurph 2016/06/15 12:49:44 You'll also want to store a collection (vector is
palakj1 2016/06/16 07:05:41 Is it okay to introduce a vector and do something
+ void observe(blink::IDBObserver* observer, long long transactionId) override;
+
void get(long long transactionId,
long long objectStoreId,
long long indexId,

Powered by Google App Engine
This is Rietveld 408576698