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

Unified Diff: Source/modules/webdatabase/Database.h

Issue 103083002: Decouple FileSystem and WebSQL callbacks from VoidCallback and it non-refcounted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/modules/notifications/NotificationClient.h ('k') | Source/modules/webdatabase/Database.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/Database.h
diff --git a/Source/modules/webdatabase/Database.h b/Source/modules/webdatabase/Database.h
index 91fecfb13e2f482f81b4cd9003fe04fa19357733..d17bb20d9b53a0102fe125dcc3bab31577f9d52d 100644
--- a/Source/modules/webdatabase/Database.h
+++ b/Source/modules/webdatabase/Database.h
@@ -46,7 +46,7 @@ class SQLTransaction;
class SQLTransactionBackend;
class SQLTransactionCallback;
class SQLTransactionErrorCallback;
-class VoidCallback;
+class SQLVoidCallback;
class Database : public DatabaseBase, public DatabaseBackend, public ScriptWrappable {
public:
@@ -54,10 +54,9 @@ public:
// Direct support for the DOM API
virtual String version() const;
- void changeVersion(const String& oldVersion, const String& newVersion, PassRefPtr<SQLTransactionCallback>,
- PassRefPtr<SQLTransactionErrorCallback>, PassRefPtr<VoidCallback> successCallback);
- void transaction(PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>, PassRefPtr<VoidCallback> successCallback);
- void readTransaction(PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>, PassRefPtr<VoidCallback> successCallback);
+ void changeVersion(const String& oldVersion, const String& newVersion, PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>, PassRefPtr<SQLVoidCallback> successCallback);
+ void transaction(PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>, PassRefPtr<SQLVoidCallback> successCallback);
+ void readTransaction(PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>, PassRefPtr<SQLVoidCallback> successCallback);
// Internal engine support
static Database* from(DatabaseBackend*);
@@ -78,7 +77,7 @@ private:
static PassRefPtr<Database> create(ExecutionContext*, PassRefPtr<DatabaseBackendBase>);
void runTransaction(PassRefPtr<SQLTransactionCallback>, PassRefPtr<SQLTransactionErrorCallback>,
- PassRefPtr<VoidCallback> successCallback, bool readOnly, const ChangeVersionData* = 0);
+ PassRefPtr<SQLVoidCallback> successCallback, bool readOnly, const ChangeVersionData* = 0);
Vector<String> performGetTableNames();
« no previous file with comments | « Source/modules/notifications/NotificationClient.h ('k') | Source/modules/webdatabase/Database.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698