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 78e06954ee00582d06f188a283b7e7cf9af48006..edfd8e9526c9ca9a8f2762bcaea7e7a19b7efa81 100644 |
--- a/content/browser/indexed_db/webidbdatabase_impl.h |
+++ b/content/browser/indexed_db/webidbdatabase_impl.h |
@@ -10,16 +10,15 @@ |
#include "third_party/WebKit/public/platform/WebIDBDatabase.h" |
namespace content { |
-class IndexedDBCallbacksBase; |
+class IndexedDBCallbacks; |
class IndexedDBDatabase; |
class IndexedDBDatabaseCallbacks; |
class IndexedDBDatabaseError; |
class CONTENT_EXPORT WebIDBDatabaseImpl { |
public: |
- WebIDBDatabaseImpl( |
- scoped_refptr<IndexedDBDatabase> db, |
- scoped_refptr<IndexedDBDatabaseCallbacks> callbacks); |
+ WebIDBDatabaseImpl(scoped_refptr<IndexedDBDatabase> db, |
+ scoped_refptr<IndexedDBDatabaseCallbacks> callbacks); |
virtual ~WebIDBDatabaseImpl(); |
typedef std::vector<IndexedDBKey> IndexKeys; |
@@ -46,13 +45,13 @@ class CONTENT_EXPORT WebIDBDatabaseImpl { |
long long index_id, |
const IndexedDBKeyRange& range, |
bool key_only, |
- IndexedDBCallbacksBase* callbacks); |
+ scoped_refptr<IndexedDBCallbacks> callbacks); |
virtual void put(long long transaction_id, |
long long object_store_id, |
std::vector<char>* value, |
const IndexedDBKey& key, |
WebKit::WebIDBDatabase::PutMode mode, |
- IndexedDBCallbacksBase* callbacks, |
+ scoped_refptr<IndexedDBCallbacks> callbacks, |
const std::vector<int64>& index_ids, |
const std::vector<IndexKeys>& index_keys); |
virtual void setIndexKeys(long long transaction_id, |
@@ -70,19 +69,19 @@ class CONTENT_EXPORT WebIDBDatabaseImpl { |
unsigned short direction, |
bool key_only, |
WebKit::WebIDBDatabase::TaskType task_type, |
- IndexedDBCallbacksBase* callbacks); |
+ scoped_refptr<IndexedDBCallbacks> callbacks); |
virtual void count(long long transaction_id, |
long long object_store_id, |
long long index_id, |
const IndexedDBKeyRange& range, |
- IndexedDBCallbacksBase* callbacks); |
+ scoped_refptr<IndexedDBCallbacks> callbacks); |
virtual void deleteRange(long long transaction_id, |
long long object_store_id, |
const IndexedDBKeyRange& range, |
- IndexedDBCallbacksBase* callbacks); |
+ scoped_refptr<IndexedDBCallbacks> callbacks); |
virtual void clear(long long transaction_id, |
long long object_store_id, |
- IndexedDBCallbacksBase* callbacks); |
+ scoped_refptr<IndexedDBCallbacks> callbacks); |
virtual void createIndex(long long transaction_id, |
long long object_store_id, |