| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _DatabaseSyncWrappingImplementation extends DOMWrapperBase implements Data
baseSync { | 7 class _DatabaseSyncWrappingImplementation extends DOMWrapperBase implements Data
baseSync { |
| 8 _DatabaseSyncWrappingImplementation() : super() {} | 8 _DatabaseSyncWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DatabaseSyncWrappingImplementation() native { | 10 static create__DatabaseSyncWrappingImplementation() native { |
| 11 return new _DatabaseSyncWrappingImplementation(); | 11 return new _DatabaseSyncWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get version() { return _get__DatabaseSync_version(this); } | 14 String get version() { return _get_version(this); } |
| 15 static String _get__DatabaseSync_version(var _this) native; | 15 static String _get_version(var _this) native; |
| 16 | 16 |
| 17 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) { | 17 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) { |
| 18 if (callback === null) { | 18 if (callback === null) { |
| 19 _changeVersion(this, oldVersion, newVersion); | 19 _changeVersion(this, oldVersion, newVersion); |
| 20 return; | 20 return; |
| 21 } else { | 21 } else { |
| 22 _changeVersion_2(this, oldVersion, newVersion, callback); | 22 _changeVersion_2(this, oldVersion, newVersion, callback); |
| 23 return; | 23 return; |
| 24 } | 24 } |
| 25 } | 25 } |
| 26 static void _changeVersion(receiver, oldVersion, newVersion) native; | 26 static void _changeVersion(receiver, oldVersion, newVersion) native; |
| 27 static void _changeVersion_2(receiver, oldVersion, newVersion, callback) nativ
e; | 27 static void _changeVersion_2(receiver, oldVersion, newVersion, callback) nativ
e; |
| 28 | 28 |
| 29 void readTransaction(SQLTransactionSyncCallback callback) { | 29 void readTransaction(SQLTransactionSyncCallback callback) { |
| 30 _readTransaction(this, callback); | 30 _readTransaction(this, callback); |
| 31 return; | 31 return; |
| 32 } | 32 } |
| 33 static void _readTransaction(receiver, callback) native; | 33 static void _readTransaction(receiver, callback) native; |
| 34 | 34 |
| 35 void transaction(SQLTransactionSyncCallback callback) { | 35 void transaction(SQLTransactionSyncCallback callback) { |
| 36 _transaction(this, callback); | 36 _transaction(this, callback); |
| 37 return; | 37 return; |
| 38 } | 38 } |
| 39 static void _transaction(receiver, callback) native; | 39 static void _transaction(receiver, callback) native; |
| 40 | 40 |
| 41 String get typeName() { return "DatabaseSync"; } | 41 String get typeName() { return "DatabaseSync"; } |
| 42 } | 42 } |
| OLD | NEW |