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

Unified Diff: content/browser/indexed_db/webidbdatabase_impl.h

Issue 18224002: IndexedDB: Eliminate IndexedDBDatabaseCallbacksWrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include fix for win 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/browser/indexed_db/webidbdatabase_impl.h
diff --git a/content/browser/indexed_db/webidbdatabase_impl.h b/content/browser/indexed_db/webidbdatabase_impl.h
index 3420b07f0ae40e5047fe40c52c7db4b154cd444a..78e06954ee00582d06f188a283b7e7cf9af48006 100644
--- a/content/browser/indexed_db/webidbdatabase_impl.h
+++ b/content/browser/indexed_db/webidbdatabase_impl.h
@@ -7,21 +7,19 @@
#include "base/memory/ref_counted.h"
#include "content/browser/indexed_db/indexed_db_database.h"
-#include "content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h"
#include "third_party/WebKit/public/platform/WebIDBDatabase.h"
namespace content {
class IndexedDBCallbacksBase;
class IndexedDBDatabase;
class IndexedDBDatabaseCallbacks;
-class IndexedDBDatabaseCallbacksWrapper;
class IndexedDBDatabaseError;
class CONTENT_EXPORT WebIDBDatabaseImpl {
public:
WebIDBDatabaseImpl(
scoped_refptr<IndexedDBDatabase> db,
- scoped_refptr<IndexedDBDatabaseCallbacksWrapper> callbacks);
+ scoped_refptr<IndexedDBDatabaseCallbacks> callbacks);
virtual ~WebIDBDatabaseImpl();
typedef std::vector<IndexedDBKey> IndexKeys;
@@ -34,7 +32,6 @@ class CONTENT_EXPORT WebIDBDatabaseImpl {
virtual void deleteObjectStore(long long object_store_id,
long long transaction_id);
virtual void createTransaction(long long id,
- IndexedDBDatabaseCallbacks* callbacks,
const std::vector<int64>& scope,
unsigned short mode);
virtual void forceClose();
@@ -100,7 +97,7 @@ class CONTENT_EXPORT WebIDBDatabaseImpl {
private:
scoped_refptr<IndexedDBDatabase> database_backend_;
- scoped_refptr<IndexedDBDatabaseCallbacksWrapper> database_callbacks_;
+ scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks_;
};
} // namespace content
« no previous file with comments | « content/browser/indexed_db/indexed_db_transaction.cc ('k') | content/browser/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698