diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/Modules/webdatabase/SQLTransactionClient.h | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-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.h | 10 |
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 |