| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // TODO: This will move to //third_party/WebKit when //content/child/indexed_db | 5 // TODO: This will move to //third_party/WebKit when //content/child/indexed_db |
| 6 // is deleted but for now this will depend on //content/common types and so | 6 // is deleted but for now this will depend on //content/common types and so |
| 7 // so belongs here. | 7 // so belongs here. |
| 8 | 8 |
| 9 module indexed_db.mojom; | 9 module indexed_db.mojom; |
| 10 | 10 |
| 11 import "mojo/common/common_custom_types.mojom"; | 11 import "mojo/common/file_path.mojom"; |
| 12 import "mojo/common/string16.mojom"; |
| 13 import "mojo/common/time.mojom"; |
| 12 import "url/mojo/origin.mojom"; | 14 import "url/mojo/origin.mojom"; |
| 13 | 15 |
| 14 enum CursorDirection { | 16 enum CursorDirection { |
| 15 Next, | 17 Next, |
| 16 NextNoDuplicate, | 18 NextNoDuplicate, |
| 17 Prev, | 19 Prev, |
| 18 PrevNoDuplicate, | 20 PrevNoDuplicate, |
| 19 }; | 21 }; |
| 20 | 22 |
| 21 enum DataLoss { | 23 enum DataLoss { |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 }; | 317 }; |
| 316 | 318 |
| 317 interface Factory { | 319 interface Factory { |
| 318 GetDatabaseNames(associated Callbacks callbacks, url.mojom.Origin origin); | 320 GetDatabaseNames(associated Callbacks callbacks, url.mojom.Origin origin); |
| 319 Open(associated Callbacks callbacks, | 321 Open(associated Callbacks callbacks, |
| 320 associated DatabaseCallbacks database_callbacks, url.mojom.Origin origin, | 322 associated DatabaseCallbacks database_callbacks, url.mojom.Origin origin, |
| 321 mojo.common.mojom.String16 name, int64 version, int64 transaction_id); | 323 mojo.common.mojom.String16 name, int64 version, int64 transaction_id); |
| 322 DeleteDatabase(associated Callbacks callbacks, url.mojom.Origin origin, | 324 DeleteDatabase(associated Callbacks callbacks, url.mojom.Origin origin, |
| 323 mojo.common.mojom.String16 name); | 325 mojo.common.mojom.String16 name); |
| 324 }; | 326 }; |
| OLD | NEW |