Index: content/browser/indexed_db/indexed_db_database_callbacks.h |
diff --git a/content/browser/indexed_db/indexed_db_database_callbacks.h b/content/browser/indexed_db/indexed_db_database_callbacks.h |
index 0ee97afccf61c7e16b59a7be917baff24148830a..95ee9a865f03fb0e08da1f1167fe23a44006f4c6 100644 |
--- a/content/browser/indexed_db/indexed_db_database_callbacks.h |
+++ b/content/browser/indexed_db/indexed_db_database_callbacks.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
+#include "content/common/indexed_db/indexed_db.mojom.h" |
namespace content { |
class IndexedDBDatabaseError; |
@@ -19,9 +20,10 @@ class IndexedDBObserverChanges; |
class CONTENT_EXPORT IndexedDBDatabaseCallbacks |
: public base::RefCounted<IndexedDBDatabaseCallbacks> { |
public: |
- IndexedDBDatabaseCallbacks(IndexedDBDispatcherHost* dispatcher_host, |
- int ipc_thread_id, |
- int ipc_database_callbacks_id); |
+ IndexedDBDatabaseCallbacks( |
+ scoped_refptr<IndexedDBDispatcherHost> dispatcher_host, |
+ int32_t ipc_thread_id, |
+ ::indexed_db::mojom::DatabaseCallbacksAssociatedPtrInfo callbacks_info); |
virtual void OnForcedClose(); |
virtual void OnVersionChange(int64_t old_version, int64_t new_version); |
@@ -39,9 +41,11 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks |
private: |
friend class base::RefCounted<IndexedDBDatabaseCallbacks>; |
+ class IOThreadHelper; |
+ |
scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_; |
- int ipc_thread_id_; |
- int ipc_database_callbacks_id_; |
+ int32_t ipc_thread_id_; |
+ IOThreadHelper* helper_; |
DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabaseCallbacks); |
}; |