Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2238)

Unified Diff: content/child/indexed_db/proxy_webidbfactory_impl.h

Issue 17955002: Fix IndexedDB after r208777. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix unittests Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « content/child/indexed_db/proxy_webidbdatabase_impl.cc ('k') | content/child/indexed_db/proxy_webidbfactory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698