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

Unified Diff: content/child/indexed_db/proxy_webidbdatabase_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_webidbdatabase_impl.h
===================================================================
--- content/child/indexed_db/proxy_webidbdatabase_impl.h (revision 208777)
+++ content/child/indexed_db/proxy_webidbdatabase_impl.h (working copy)
@@ -6,6 +6,7 @@
#define CONTENT_CHILD_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
#include "third_party/WebKit/public/platform/WebIDBDatabase.h"
namespace WebKit {
@@ -15,11 +16,13 @@
}
namespace content {
+class ThreadSafeSender;
class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
public:
- explicit RendererWebIDBDatabaseImpl(int32 ipc_database_id,
- int32 ipc_database_callbacks_id);
+ RendererWebIDBDatabaseImpl(int32 ipc_database_id,
+ int32 ipc_database_callbacks_id,
+ ThreadSafeSender* thread_safe_sender);
virtual ~RendererWebIDBDatabaseImpl();
// WebKit::WebIDBDatabase
@@ -96,6 +99,7 @@
private:
int32 ipc_database_id_;
int32 ipc_database_callbacks_id_;
+ scoped_refptr<ThreadSafeSender> thread_safe_sender_;
};
} // namespace content
« no previous file with comments | « content/child/indexed_db/proxy_webidbcursor_impl_unittest.cc ('k') | content/child/indexed_db/proxy_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698