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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge Created 4 years 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/IDBCursor.idl
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl
index 5f2613d75ddd63851f3d5edc225fa82015aeba88..94edbdfd1f8c6f29c9fbf4f726f2c126f170b80b 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl
@@ -37,15 +37,15 @@ enum IDBCursorDirection {
[
Exposed=(Window,Worker),
] interface IDBCursor {
- [CallWith=ScriptState] readonly attribute any source;
- readonly attribute IDBCursorDirection direction;
- [CallWith=ScriptState, CachedAttribute=isKeyDirty] readonly attribute any key;
- [CallWith=ScriptState, CachedAttribute=isPrimaryKeyDirty] readonly attribute any primaryKey;
+ [MeasureAs=IndexedDB, CallWith=ScriptState] readonly attribute any source;
+ [MeasureAs=IndexedDB] readonly attribute IDBCursorDirection direction;
+ [MeasureAs=IndexedDB, CallWith=ScriptState, CachedAttribute=isKeyDirty] readonly attribute any key;
+ [MeasureAs=IndexedDB, CallWith=ScriptState, CachedAttribute=isPrimaryKeyDirty] readonly attribute any primaryKey;
- [CallWith=ScriptState, RaisesException] IDBRequest update(any value);
- [RaisesException] void advance([EnforceRange] unsigned long count);
- [CallWith=ScriptState, ImplementedAs=continueFunction, RaisesException] void continue([Default=Undefined] optional any key);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest update(any value);
+ [MeasureAs=IndexedDB, RaisesException] void advance([EnforceRange] unsigned long count);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, ImplementedAs=continueFunction, RaisesException] void continue([Default=Undefined] optional any key);
// TODO(jsbell): Proposal: https://github.com/w3c/IndexedDB/issues/14
- [CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] void continuePrimaryKey(any key, any primaryKey);
- [CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete();
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] void continuePrimaryKey(any key, any primaryKey);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete();
};

Powered by Google App Engine
This is Rietveld 408576698