Chromium Code Reviews| 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..3a161d002e20bca50e84da8d4a4e969a03a3f1ca 100644 |
| --- a/content/child/indexed_db/webidbdatabase_impl.h |
| +++ b/content/child/indexed_db/webidbdatabase_impl.h |
| @@ -10,9 +10,11 @@ |
| #include "base/memory/ref_counted.h" |
| #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h" |
| #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h" |
| +#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h" |
| #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
| namespace blink { |
| +class IDBObserver; |
| class WebBlobInfo; |
| class WebIDBCallbacks; |
| class WebIDBDatabaseCallbacks; |
| @@ -45,6 +47,9 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase { |
| void close() override; |
| void versionChangeIgnored() override; |
| + void observe(blink::WebIDBObserver*, long long transactionId) override; |
| + void unobserve(blink::WebIDBObserver*) override; |
| + |
| void get(long long transactionId, |
| long long objectStoreId, |
| long long indexId, |
| @@ -114,6 +119,7 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase { |
| int32_t ipc_database_id_; |
| int32_t ipc_database_callbacks_id_; |
| scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| + std::vector<int32_t> observers_id_; |
|
dmurph
2016/06/22 01:09:50
ids_
palakj1
2016/06/23 20:56:30
Done.
|
| }; |
| } // namespace content |