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

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

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: IDBDatabase weakptr introduced on IDBObserver 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#chang es-argument 5 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#chang es-argument
6 6
7 [ 7 [
8 Exposed=(Window, Worker), 8 Exposed=(Window, Worker),
9 RuntimeEnabled=IDBObserver 9 RuntimeEnabled=IDBObserver
10 ] interface IDBObserverChanges { 10 ] interface IDBObserverChanges {
11 readonly attribute IDBDatabase database; 11 readonly attribute IDBDatabase database;
12 // Transaction contains the same object stores as the transaction on which I DBTransaction.observe was called. 12 // Transaction contains the same object stores as the transaction on which I DBTransaction.observe was called.
13 readonly attribute IDBTransaction transaction; 13 readonly attribute IDBTransaction transaction;
14 // This is the javascript Map<String, sequence<IDBObserverChangesRecord>>, 14 // This is the javascript Map<String, sequence<IDBObserverChangesRecord>>,
15 // where the key is the object store name. 15 // where the key is the object store name.
16 // TODO(palakj) : Replace 'any' with maplike<DOMString, sequence<IDBObserver ChangesRecord>>. 16 // TODO(palakj) : Replace sequence<IDBObservation> with maplike<DOMString, s equence<IDBObserverChangesRecord>>.
17 [CallWith=ScriptState] readonly attribute any records; 17 [CallWith=ScriptState] readonly attribute sequence<IDBObservation> records;
Marijn Kruisselbrink 2016/07/11 23:10:40 (maybe not relevant if you're somehow changing thi
palakj1 2016/07/13 00:43:51 Changed this to 'any'.
18 }; 18 };
19 19
20 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698