| 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 1978d720bf7f3a414e671adb6af3645e66ae690c..7153f8be43e2d2b96ba4d52940ccde26ccacb7a6 100644
|
| --- a/content/browser/indexed_db/indexed_db_database_callbacks.h
|
| +++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
|
| @@ -8,22 +8,22 @@
|
| #include <stdint.h>
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/ref_counted.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "content/common/content_export.h"
|
| #include "content/common/indexed_db/indexed_db.mojom.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| namespace content {
|
| +class IndexedDBContextImpl;
|
| class IndexedDBDatabaseError;
|
| -class IndexedDBDispatcherHost;
|
| class IndexedDBTransaction;
|
|
|
| class CONTENT_EXPORT IndexedDBDatabaseCallbacks
|
| : public base::RefCounted<IndexedDBDatabaseCallbacks> {
|
| public:
|
| IndexedDBDatabaseCallbacks(
|
| - scoped_refptr<IndexedDBDispatcherHost> dispatcher_host,
|
| + scoped_refptr<IndexedDBContextImpl> context,
|
| ::indexed_db::mojom::DatabaseCallbacksAssociatedPtrInfo callbacks_info);
|
|
|
| virtual void OnForcedClose();
|
| @@ -43,7 +43,8 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
|
|
|
| class IOThreadHelper;
|
|
|
| - scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
|
| + bool closed = false;
|
| + scoped_refptr<IndexedDBContextImpl> indexed_db_context_;
|
| std::unique_ptr<IOThreadHelper, BrowserThread::DeleteOnIOThread> io_helper_;
|
| base::ThreadChecker thread_checker_;
|
|
|
|
|