| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module leveldb.mojom; | 5 module leveldb.mojom; |
| 6 | 6 |
| 7 import "components/filesystem/public/interfaces/directory.mojom"; | 7 import "components/filesystem/public/interfaces/directory.mojom"; |
| 8 import "mojo/common/common_custom_types.mojom"; | 8 import "mojo/common/unguessable_token.mojom"; |
| 9 | 9 |
| 10 enum DatabaseError { | 10 enum DatabaseError { |
| 11 OK, | 11 OK, |
| 12 NOT_FOUND, | 12 NOT_FOUND, |
| 13 CORRUPTION, | 13 CORRUPTION, |
| 14 NOT_SUPPORTED, | 14 NOT_SUPPORTED, |
| 15 INVALID_ARGUMENT, | 15 INVALID_ARGUMENT, |
| 16 IO_ERROR | 16 IO_ERROR |
| 17 }; | 17 }; |
| 18 | 18 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // Moves forward or backwards in iterator space. | 136 // Moves forward or backwards in iterator space. |
| 137 [Sync] | 137 [Sync] |
| 138 IteratorNext(mojo.common.mojom.UnguessableToken iterator) | 138 IteratorNext(mojo.common.mojom.UnguessableToken iterator) |
| 139 => (bool valid, DatabaseError status, array<uint8>? key, | 139 => (bool valid, DatabaseError status, array<uint8>? key, |
| 140 array<uint8>? value); | 140 array<uint8>? value); |
| 141 [Sync] | 141 [Sync] |
| 142 IteratorPrev(mojo.common.mojom.UnguessableToken iterator) | 142 IteratorPrev(mojo.common.mojom.UnguessableToken iterator) |
| 143 => (bool valid, DatabaseError status, array<uint8>? key, | 143 => (bool valid, DatabaseError status, array<uint8>? key, |
| 144 array<uint8>? value); | 144 array<uint8>? value); |
| 145 }; | 145 }; |
| OLD | NEW |