Index: content/child/indexed_db/proxy_webidbfactory_impl.h |
=================================================================== |
--- content/child/indexed_db/proxy_webidbfactory_impl.h (revision 208777) |
+++ content/child/indexed_db/proxy_webidbfactory_impl.h (working copy) |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_ |
#define CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_ |
+#include "base/memory/ref_counted.h" |
#include "third_party/WebKit/public/platform/WebIDBCallbacks.h" |
#include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h" |
#include "third_party/WebKit/public/platform/WebIDBFactory.h" |
@@ -15,10 +16,11 @@ |
} |
namespace content { |
+class ThreadSafeSender; |
class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { |
public: |
- RendererWebIDBFactoryImpl(); |
+ explicit RendererWebIDBFactoryImpl(ThreadSafeSender* thread_safe_sender); |
virtual ~RendererWebIDBFactoryImpl(); |
// See WebIDBFactory.h for documentation on these functions. |
@@ -39,6 +41,9 @@ |
WebKit::WebIDBCallbacks* callbacks, |
const WebKit::WebString& database_identifier, |
const WebKit::WebString& data_dir); |
+ |
+ private: |
+ scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
}; |
} // namespace content |