Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#chang es-argument | |
| 6 | |
| 7 [ | |
| 8 RuntimeEnabled=IDBObserver | |
| 9 ] // TODO (palakj) : change dictionary to interface. | |
| 10 dictionary IDBObserverChanges { | |
| 11 IDBDatabase db; | |
| 12 // Transaction contains the same object stores as the transaction on which I DBTransaction.observe was called. | |
| 13 IDBTransaction transaction; | |
| 14 // This is the javascript Map<String, sequence<IDBObserverChangesRecord>>, | |
| 15 // where the key is the object store name. | |
| 16 any records; | |
|
bashi
2016/06/10 00:36:45
I'd prefer to define a new interface for this map
| |
| 17 }; | |
| 18 | |
| OLD | NEW |