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 IDBFactoryWrappingImplementation extends DOMWrapperBase implements IDBFact
ory { | |
8 IDBFactoryWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 int cmp(IDBKey first, IDBKey second) { | |
11 return _ptr.cmp(LevelDom.unwrap(first), LevelDom.unwrap(second)); | |
12 } | |
13 | |
14 IDBVersionChangeRequest deleteDatabase(String name) { | |
15 return LevelDom.wrapIDBVersionChangeRequest(_ptr.deleteDatabase(name)); | |
16 } | |
17 | |
18 IDBRequest getDatabaseNames() { | |
19 return LevelDom.wrapIDBRequest(_ptr.getDatabaseNames()); | |
20 } | |
21 | |
22 IDBRequest open(String name) { | |
23 return LevelDom.wrapIDBRequest(_ptr.open(name)); | |
24 } | |
25 } | |
OLD | NEW |