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

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

Issue 949193002: [bindings] Remove SQLTransaction's usage of custom binding. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed exception Created 5 years, 9 months 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/bindings/modules/v8/v8.gypi ('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 c104b60c5743824b4d40dbdf29834bf7152e8189..b48e64ecef75d1c4db0c2045a1084697833c030b 100644
--- a/Source/modules/webdatabase/SQLTransaction.h
+++ b/Source/modules/webdatabase/SQLTransaction.h
@@ -29,7 +29,9 @@
#ifndef SQLTransaction_h
#define SQLTransaction_h
+#include "bindings/core/v8/Nullable.h"
#include "bindings/core/v8/ScriptWrappable.h"
+#include "bindings/modules/v8/V8BindingForModules.h"
#include "modules/webdatabase/SQLStatement.h"
#include "modules/webdatabase/SQLTransactionStateMachine.h"
#include "platform/heap/Handle.h"
@@ -45,6 +47,7 @@ class SQLTransactionBackend;
class SQLTransactionCallback;
class SQLTransactionErrorCallback;
class SQLValue;
+class ScriptValue;
class VoidCallback;
class SQLTransaction final
@@ -62,6 +65,9 @@ public:
void executeSQL(const String& sqlStatement, const Vector<SQLValue>& arguments,
SQLStatementCallback*, SQLStatementErrorCallback*, ExceptionState&);
+ void executeSql(ScriptState*, const String& sqlStatement, ExceptionState&);
+ void executeSql(ScriptState*, const String& sqlStatement, const Nullable<Vector<ScriptValue>>& arguments,
+ SQLStatementCallback*, SQLStatementErrorCallback*, ExceptionState&);
Database* database() { return m_database.get(); }
« no previous file with comments | « Source/bindings/modules/v8/v8.gypi ('k') | Source/modules/webdatabase/SQLTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698