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

Unified Diff: Source/modules/indexeddb/IDBDatabaseCallbacks.h

Issue 78053006: [oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related clas… (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years 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: Source/modules/indexeddb/IDBDatabaseCallbacks.h
diff --git a/Source/modules/indexeddb/IDBDatabaseCallbacks.h b/Source/modules/indexeddb/IDBDatabaseCallbacks.h
index 9b9c168d0062aa0c6c6e8a284058a5206bb1d10c..19e04ef7f43f28991762c55a0099809dafe385d8 100644
--- a/Source/modules/indexeddb/IDBDatabaseCallbacks.h
+++ b/Source/modules/indexeddb/IDBDatabaseCallbacks.h
@@ -26,13 +26,15 @@
#ifndef IDBDatabaseCallbacks_h
#define IDBDatabaseCallbacks_h
+#include "heap/Handle.h"
#include "modules/indexeddb/IDBDatabaseError.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
-class IDBDatabaseCallbacks : public RefCounted<IDBDatabaseCallbacks> {
+class IDBDatabaseCallbacks : public HeapAllocatedFinalized<IDBDatabaseCallbacks> {
+ DECLARE_GC_INFO
public:
virtual ~IDBDatabaseCallbacks() { }
@@ -41,6 +43,8 @@ public:
virtual void onAbort(int64_t transactionId, PassRefPtr<IDBDatabaseError>) = 0;
virtual void onComplete(int64_t transactionId) = 0;
+
+ virtual void trace(Visitor*) = 0;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/indexeddb/IDBDatabaseBackendInterface.h ('k') | Source/modules/indexeddb/IDBDatabaseCallbacksImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698