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

Unified Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart

Issue 13444007: Removing all Worker-related APIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
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 4af5263935e7b328e51ee762ee98478df4e2cfb4..b8257d1f688fb6b46df5ffb0c33bc02b474d528e 100644
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
@@ -70,7 +70,7 @@ typedef void SqlTransactionErrorCallback(SqlError error);
// WARNING: Do not edit - generated code.
-typedef void SqlTransactionSyncCallback(SqlTransactionSync transaction);
+typedef void _SQLTransactionSyncCallback(_SQLTransactionSync transaction);
Emily Fortuna 2013/04/05 16:21:08 why not delete these types instead of making them
blois 2013/04/05 16:43:09 Typedefs were treated as all other interfaces- ren
Emily Fortuna 2013/04/05 16:47:58 Yeah, this way we reduce the library size (very sl
// 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.
@@ -120,38 +120,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" {
@@ -470,13 +438,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" {
}

Powered by Google App Engine
This is Rietveld 408576698