Index: content/child/indexed_db/webidbfactory_impl.h |
diff --git a/content/child/indexed_db/webidbfactory_impl.h b/content/child/indexed_db/webidbfactory_impl.h |
index 7e2fca92496dbc46154268aa1575e570c6c33d28..9c09addc87440162a2e5592697aaec959799b2cd 100644 |
--- a/content/child/indexed_db/webidbfactory_impl.h |
+++ b/content/child/indexed_db/webidbfactory_impl.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ |
#include "base/memory/ref_counted.h" |
+#include "content/common/indexed_db/indexed_db.mojom.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h" |
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h" |
@@ -16,12 +17,20 @@ class WebSecurityOrigin; |
class WebString; |
} |
+namespace IPC { |
+class SyncMessageFilter; |
+} |
+ |
namespace content { |
+class IndexedDBCallbacksImpl; |
+class IndexedDBDatabaseCallbacksImpl; |
class ThreadSafeSender; |
class WebIDBFactoryImpl : public blink::WebIDBFactory { |
public: |
- explicit WebIDBFactoryImpl(ThreadSafeSender* thread_safe_sender); |
+ WebIDBFactoryImpl(scoped_refptr<IPC::SyncMessageFilter> sync_message_filter, |
+ scoped_refptr<ThreadSafeSender> thread_safe_sender, |
+ scoped_refptr<base::SingleThreadTaskRunner> io_runner); |
~WebIDBFactoryImpl() override; |
// See WebIDBFactory.h for documentation on these functions. |
@@ -38,7 +47,11 @@ class WebIDBFactoryImpl : public blink::WebIDBFactory { |
const blink::WebSecurityOrigin& origin) override; |
private: |
+ class IOThreadHelper; |
+ |
+ IOThreadHelper* io_helper_; |
scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
+ scoped_refptr<base::SingleThreadTaskRunner> io_runner_; |
}; |
} // namespace content |