| 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 5c8892e5f9b1342cccb7ff3590b13a47cf9e979e..277c1884a5c6efd89d8cccbb70a615d8f045159d 100644
|
| --- a/content/browser/indexed_db/indexed_db_database_callbacks.h
|
| +++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
|
| @@ -10,17 +10,16 @@
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "content/common/content_export.h"
|
| +#include "third_party/WebKit/public/platform/modules/indexeddb/indexed_db.mojom.h"
|
|
|
| namespace content {
|
| class IndexedDBDatabaseError;
|
| -class IndexedDBDispatcherHost;
|
|
|
| class CONTENT_EXPORT IndexedDBDatabaseCallbacks
|
| : public base::RefCounted<IndexedDBDatabaseCallbacks> {
|
| public:
|
| - IndexedDBDatabaseCallbacks(IndexedDBDispatcherHost* dispatcher_host,
|
| - int ipc_thread_id,
|
| - int ipc_database_callbacks_id);
|
| + IndexedDBDatabaseCallbacks(
|
| + ::indexed_db::mojom::DatabaseObserverPtr database_observer);
|
|
|
| virtual void OnForcedClose();
|
| virtual void OnVersionChange(int64_t old_version, int64_t new_version);
|
| @@ -35,9 +34,7 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
|
| private:
|
| friend class base::RefCounted<IndexedDBDatabaseCallbacks>;
|
|
|
| - scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
|
| - int ipc_thread_id_;
|
| - int ipc_database_callbacks_id_;
|
| + ::indexed_db::mojom::DatabaseObserverPtr database_observer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabaseCallbacks);
|
| };
|
|
|