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

Unified 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698