Chromium Code Reviews| Index: third_party/WebKit/Source/modules/indexeddb/IDBObservation.idl |
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.idl b/third_party/WebKit/Source/modules/indexeddb/IDBObservation.idl |
| similarity index 75% |
| rename from third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.idl |
| rename to third_party/WebKit/Source/modules/indexeddb/IDBObservation.idl |
| index 6c8d922d2cbe4ce9141943f701caf8d6a52a974a..96b91f2f35bf353abde6fda65154f40c1851914c 100644 |
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBObserverChangesRecord.idl |
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBObservation.idl |
| @@ -4,9 +4,10 @@ |
| // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#records |
| -enum IDBObserverChangesRecordType { |
| +enum IDBObservationType { |
| "add", |
| "put", |
| + // FIXME: Operation type being returned as kDelete instead of delete. |
|
jsbell
2016/07/18 23:38:57
TODO(palakj) not FIXME.
palakj1
2016/07/19 03:53:11
Sorry. Misinterpreted the usage of FIXME
|
| "delete", |
| "clear" |
| }; |
| @@ -14,8 +15,8 @@ enum IDBObserverChangesRecordType { |
| Exposed=(Window,Worker), |
| RuntimeEnabled=IDBObserver |
| ] |
| - interface IDBObserverChangesRecord { |
| - readonly attribute IDBObserverChangesRecordType type; |
| + interface IDBObservation { |
| + readonly attribute IDBObservationType type; |
| // When the record is a "delete" type, this is an IDBKeyRange. |
| [CallWith=ScriptState] readonly attribute any key; |
| [CallWith=ScriptState] readonly attribute any value; |