Index: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
diff --git a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
index 00a594735539f6dd5af79a711a6051d765bc66ac..0f0c8e0550aa867607251df3cbf61f73463ecae6 100644 |
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
@@ -67,14 +67,6 @@ typedef void SqlTransactionErrorCallback(SqlError error); |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// WARNING: Do not edit - generated code. |
- |
- |
-typedef void SqlTransactionSyncCallback(SqlTransactionSync transaction); |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
@DocsEditable |
@DomName('Database') |
@@ -120,38 +112,6 @@ class SqlDatabase native "*Database" { |
@DocsEditable |
-@DomName('DatabaseSync') |
-@SupportedBrowser(SupportedBrowser.CHROME) |
-@SupportedBrowser(SupportedBrowser.SAFARI) |
-@Experimental |
-class SqlDatabaseSync native "*DatabaseSync" { |
- |
- @DomName('DatabaseSync.lastErrorMessage') |
- @DocsEditable |
- final String lastErrorMessage; |
- |
- @DomName('DatabaseSync.version') |
- @DocsEditable |
- final String version; |
- |
- @DomName('DatabaseSync.changeVersion') |
- @DocsEditable |
- void changeVersion(String oldVersion, String newVersion, [SqlTransactionSyncCallback callback]) native; |
- |
- @DomName('DatabaseSync.readTransaction') |
- @DocsEditable |
- void readTransaction(SqlTransactionSyncCallback callback) native; |
- |
- @DomName('DatabaseSync.transaction') |
- @DocsEditable |
- void transaction(SqlTransactionSyncCallback callback) native; |
-} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
- |
-@DocsEditable |
@DomName('SQLError') |
class SqlError native "*SQLError" { |
@@ -474,13 +434,21 @@ class SqlTransaction native "*SQLTransaction" { |
@DocsEditable |
-@DomName('SQLTransactionSync') |
+@DomName('DatabaseSync') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Experimental |
-class SqlTransactionSync native "*SQLTransactionSync" { |
+class _DatabaseSync native "*DatabaseSync" { |
+} |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
- @DomName('SQLTransactionSync.executeSql') |
- @DocsEditable |
- SqlResultSet executeSql(String sqlStatement, List arguments) native; |
+ |
+@DocsEditable |
+@DomName('SQLTransactionSync') |
+@SupportedBrowser(SupportedBrowser.CHROME) |
+@SupportedBrowser(SupportedBrowser.SAFARI) |
+@Experimental |
+class _SQLTransactionSync native "*SQLTransactionSync" { |
} |