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#recor ds | |
| 6 | |
| 7 enum IDBObserverChangesRecordType { | |
| 8 "add", "put", "delete", "clear" | |
| 9 }; | |
| 10 | |
| 11 [ | |
| 12 RuntimeEnabled=IDBObserver | |
| 13 ] dictionary IDBObserverChangesRecord { | |
| 14 IDBObserverChangesRecordType type; | |
| 15 // When the record is a "delete" type, this is an IDBKeyRange. | |
| 16 any key; | |
| 17 any value; | |
|
haraken
2016/06/07 00:21:42
+bashi: Should this be 'any' or 'object'?
dmurph
2016/06/07 18:42:16
This needs to be 'any', as we're anything that's s
| |
| 18 }; | |
| OLD | NEW |