Index: sdk/lib/web_sql/dartium/web_sql_dartium.dart |
diff --git a/sdk/lib/web_sql/dartium/web_sql_dartium.dart b/sdk/lib/web_sql/dartium/web_sql_dartium.dart |
index 2fca22d108bc2db86ed41b956e0812b32928ca98..a155bbd4543fde7934d7bbc8ff85fc2024f41377 100644 |
--- a/sdk/lib/web_sql/dartium/web_sql_dartium.dart |
+++ b/sdk/lib/web_sql/dartium/web_sql_dartium.dart |
@@ -69,14 +69,6 @@ typedef void SqlTransactionErrorCallback(SqlError error); |
// 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. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
@DocsEditable |
@DomName('Database') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -125,42 +117,6 @@ class SqlDatabase extends NativeFieldWrapperClass1 { |
@DocsEditable |
-@DomName('DatabaseSync') |
-@SupportedBrowser(SupportedBrowser.CHROME) |
-@SupportedBrowser(SupportedBrowser.SAFARI) |
-@Experimental |
-class SqlDatabaseSync extends NativeFieldWrapperClass1 { |
- SqlDatabaseSync.internal(); |
- |
- @DomName('DatabaseSync.lastErrorMessage') |
- @DocsEditable |
- String get lastErrorMessage native "DatabaseSync_lastErrorMessage_Getter"; |
- |
- @DomName('DatabaseSync.version') |
- @DocsEditable |
- String get version native "DatabaseSync_version_Getter"; |
- |
- @DomName('DatabaseSync.changeVersion') |
- @DocsEditable |
- void changeVersion(String oldVersion, String newVersion, [SqlTransactionSyncCallback callback]) native "DatabaseSync_changeVersion_Callback"; |
- |
- @DomName('DatabaseSync.readTransaction') |
- @DocsEditable |
- void readTransaction(SqlTransactionSyncCallback callback) native "DatabaseSync_readTransaction_Callback"; |
- |
- @DomName('DatabaseSync.transaction') |
- @DocsEditable |
- void transaction(SqlTransactionSyncCallback callback) native "DatabaseSync_transaction_Callback"; |
- |
-} |
-// 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. |
- |
-// WARNING: Do not edit - generated code. |
- |
- |
-@DocsEditable |
@DomName('SQLError') |
class SqlError extends NativeFieldWrapperClass1 { |
SqlError.internal(); |
@@ -495,15 +451,27 @@ class SqlTransaction extends NativeFieldWrapperClass1 { |
@DocsEditable |
-@DomName('SQLTransactionSync') |
+@DomName('DatabaseSync') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Experimental |
-class SqlTransactionSync extends NativeFieldWrapperClass1 { |
- SqlTransactionSync.internal(); |
+class _DatabaseSync extends NativeFieldWrapperClass1 { |
+ _DatabaseSync.internal(); |
- @DomName('SQLTransactionSync.executeSql') |
- @DocsEditable |
- SqlResultSet executeSql(String sqlStatement, List arguments) native "SQLTransactionSync_executeSql_Callback"; |
+} |
+// 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. |
+ |
+// WARNING: Do not edit - generated code. |
+ |
+ |
+@DocsEditable |
+@DomName('SQLTransactionSync') |
+@SupportedBrowser(SupportedBrowser.CHROME) |
+@SupportedBrowser(SupportedBrowser.SAFARI) |
+@Experimental |
+class _SQLTransactionSync extends NativeFieldWrapperClass1 { |
+ _SQLTransactionSync.internal(); |
} |