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

Unified Diff: Source/modules/webdatabase/SQLTransaction.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/webdatabase/Database.idl ('k') | Source/modules/webdatabase/SQLTransaction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/SQLTransaction.h
diff --git a/Source/modules/webdatabase/SQLTransaction.h b/Source/modules/webdatabase/SQLTransaction.h
index e891d553504e6604c0c19c69d1b4d99740c951c5..29e2a175929203b7cad8f5f9ab2e2fa5921b9c12 100644
--- a/Source/modules/webdatabase/SQLTransaction.h
+++ b/Source/modules/webdatabase/SQLTransaction.h
@@ -48,12 +48,12 @@ class SQLStatementErrorCallback;
class SQLTransactionCallback;
class SQLTransactionErrorCallback;
class SQLValue;
-class VoidCallback;
+class SQLVoidCallback;
class SQLTransaction : public SQLTransactionStateMachine<SQLTransaction>, public AbstractSQLTransaction, public ScriptWrappable {
public:
static PassRefPtr<SQLTransaction> create(Database*, PassRefPtr<SQLTransactionCallback>,
- PassRefPtr<VoidCallback> successCallback, PassRefPtr<SQLTransactionErrorCallback>,
+ PassRefPtr<SQLVoidCallback> successCallback, PassRefPtr<SQLTransactionErrorCallback>,
bool readOnly);
void performPendingCallback();
@@ -65,7 +65,7 @@ public:
private:
SQLTransaction(Database*, PassRefPtr<SQLTransactionCallback>,
- PassRefPtr<VoidCallback> successCallback, PassRefPtr<SQLTransactionErrorCallback>,
+ PassRefPtr<SQLVoidCallback> successCallback, PassRefPtr<SQLTransactionErrorCallback>,
bool readOnly);
void clearCallbackWrappers();
@@ -96,7 +96,7 @@ private:
RefPtr<Database> m_database;
RefPtr<AbstractSQLTransactionBackend> m_backend;
SQLCallbackWrapper<SQLTransactionCallback> m_callbackWrapper;
- SQLCallbackWrapper<VoidCallback> m_successCallbackWrapper;
+ SQLCallbackWrapper<SQLVoidCallback> m_successCallbackWrapper;
SQLCallbackWrapper<SQLTransactionErrorCallback> m_errorCallbackWrapper;
bool m_executeSqlAllowed;
« no previous file with comments | « Source/modules/webdatabase/Database.idl ('k') | Source/modules/webdatabase/SQLTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698