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

Side by Side Diff: client/html/generated/html/dartium/DatabaseSync.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 class _DatabaseSyncImpl extends _DOMTypeBase implements DatabaseSync {
3 _DatabaseSyncImpl._wrap(ptr) : super._wrap(ptr);
4
5 String get lastErrorMessage() => _wrap(_ptr.lastErrorMessage);
6
7 String get version() => _wrap(_ptr.version);
8
9 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) {
10 if (callback === null) {
11 _ptr.changeVersion(_unwrap(oldVersion), _unwrap(newVersion));
12 return;
13 } else {
14 _ptr.changeVersion(_unwrap(oldVersion), _unwrap(newVersion), _unwrap(callb ack));
15 return;
16 }
17 }
18
19 void readTransaction(SQLTransactionSyncCallback callback) {
20 _ptr.readTransaction(_unwrap(callback));
21 return;
22 }
23
24 void transaction(SQLTransactionSyncCallback callback) {
25 _ptr.transaction(_unwrap(callback));
26 return;
27 }
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698