| 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 interface IDBObjectStore { | 7 interface IDBObjectStore { |
| 8 | 8 |
| 9 String get keyPath(); | 9 String get keyPath(); |
| 10 | 10 |
| 11 String get name(); | 11 String get name(); |
| 12 | 12 |
| 13 IDBTransaction get transaction(); |
| 14 |
| 13 IDBRequest add(String value, [IDBKey key]); | 15 IDBRequest add(String value, [IDBKey key]); |
| 14 | 16 |
| 15 IDBRequest clear(); | 17 IDBRequest clear(); |
| 16 | 18 |
| 17 IDBIndex createIndex(String name, String keyPath); | 19 IDBIndex createIndex(String name, String keyPath); |
| 18 | 20 |
| 19 IDBRequest delete(IDBKey key); | 21 IDBRequest delete(IDBKey key); |
| 20 | 22 |
| 21 void deleteIndex(String name); | 23 void deleteIndex(String name); |
| 22 | 24 |
| 23 IDBRequest getObject(IDBKey key); | 25 IDBRequest getObject(IDBKey key); |
| 24 | 26 |
| 25 IDBIndex index(String name); | 27 IDBIndex index(String name); |
| 26 | 28 |
| 27 IDBRequest openCursor([IDBKeyRange range, int direction]); | 29 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 28 | 30 |
| 29 IDBRequest put(String value, [IDBKey key]); | 31 IDBRequest put(String value, [IDBKey key]); |
| 30 } | 32 } |
| OLD | NEW |