| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 class _DatabaseSyncWrappingImplementation extends DOMWrapperBase implements Data
baseSync { | |
| 8 _DatabaseSyncWrappingImplementation() : super() {} | |
| 9 | |
| 10 static create__DatabaseSyncWrappingImplementation() native { | |
| 11 return new _DatabaseSyncWrappingImplementation(); | |
| 12 } | |
| 13 | |
| 14 String get lastErrorMessage() { return _get_lastErrorMessage(this); } | |
| 15 static String _get_lastErrorMessage(var _this) native; | |
| 16 | |
| 17 String get version() { return _get_version(this); } | |
| 18 static String _get_version(var _this) native; | |
| 19 | |
| 20 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) { | |
| 21 _changeVersion(this, oldVersion, newVersion, callback); | |
| 22 return; | |
| 23 } | |
| 24 static void _changeVersion(receiver, oldVersion, newVersion, callback) native; | |
| 25 | |
| 26 void readTransaction(SQLTransactionSyncCallback callback) { | |
| 27 _readTransaction(this, callback); | |
| 28 return; | |
| 29 } | |
| 30 static void _readTransaction(receiver, callback) native; | |
| 31 | |
| 32 void transaction(SQLTransactionSyncCallback callback) { | |
| 33 _transaction(this, callback); | |
| 34 return; | |
| 35 } | |
| 36 static void _transaction(receiver, callback) native; | |
| 37 | |
| 38 String get typeName() { return "DatabaseSync"; } | |
| 39 } | |
| OLD | NEW |