Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBObservation.idl

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Options constrcutor modified Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#recor ds 5 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#recor ds
6 6
7 enum IDBObserverChangesRecordType { 7 enum IDBObservationType {
8 "add", 8 "add",
9 "put", 9 "put",
10 // 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
10 "delete", 11 "delete",
11 "clear" 12 "clear"
12 }; 13 };
13 [ 14 [
14 Exposed=(Window,Worker), 15 Exposed=(Window,Worker),
15 RuntimeEnabled=IDBObserver 16 RuntimeEnabled=IDBObserver
16 ] 17 ]
17 interface IDBObserverChangesRecord { 18 interface IDBObservation {
18 readonly attribute IDBObserverChangesRecordType type; 19 readonly attribute IDBObservationType type;
19 // When the record is a "delete" type, this is an IDBKeyRange. 20 // When the record is a "delete" type, this is an IDBKeyRange.
20 [CallWith=ScriptState] readonly attribute any key; 21 [CallWith=ScriptState] readonly attribute any key;
21 [CallWith=ScriptState] readonly attribute any value; 22 [CallWith=ScriptState] readonly attribute any value;
22 }; 23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698