summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/webdatabase/SQLTransactionClient.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/Modules/webdatabase/SQLTransactionClient.h
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/Modules/webdatabase/SQLTransactionClient.h')
-rw-r--r--Source/WebCore/Modules/webdatabase/SQLTransactionClient.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/WebCore/Modules/webdatabase/SQLTransactionClient.h b/Source/WebCore/Modules/webdatabase/SQLTransactionClient.h
index 5aa050984..cd65eafa6 100644
--- a/Source/WebCore/Modules/webdatabase/SQLTransactionClient.h
+++ b/Source/WebCore/Modules/webdatabase/SQLTransactionClient.h
@@ -31,12 +31,14 @@
#ifndef SQLTransactionClient_h
#define SQLTransactionClient_h
+#if ENABLE(SQL_DATABASE)
+
#include <wtf/FastMalloc.h>
#include <wtf/Noncopyable.h>
namespace WebCore {
-class Database;
+class DatabaseBackendBase;
// A client to the SQLTransaction class. Allows SQLTransaction to notify interested
// parties that certain things have happened in a transaction.
@@ -44,10 +46,12 @@ class SQLTransactionClient {
WTF_MAKE_NONCOPYABLE(SQLTransactionClient); WTF_MAKE_FAST_ALLOCATED;
public:
SQLTransactionClient() { }
- void didCommitWriteTransaction(Database*);
- bool didExceedQuota(Database*);
+ void didCommitWriteTransaction(DatabaseBackendBase*);
+ bool didExceedQuota(DatabaseBackendBase*);
};
}
+#endif // ENABLE(SQL_DATABASE)
+
#endif // SQLTransactionClient_h