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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.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/IDBObjectStore.idl
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.idl b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.idl
index eb57f91985708b9b8d07b4ee8201989e6ae7b998..735f5ac7d796437693b9a2a1a62c7b98868ff650 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.idl
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.idl
@@ -28,26 +28,26 @@
[
Exposed=(Window,Worker),
] interface IDBObjectStore {
- [RaisesException=Setter] attribute DOMString name;
- [CallWith=ScriptState] readonly attribute any keyPath;
- [Measure] readonly attribute DOMStringList indexNames;
- readonly attribute IDBTransaction transaction;
- readonly attribute boolean autoIncrement;
+ [MeasureAs=IndexedDB, RaisesException=Setter] attribute DOMString name;
+ [MeasureAs=IndexedDB, CallWith=ScriptState] readonly attribute any keyPath;
+ [MeasureAs=IndexedDB] readonly attribute DOMStringList indexNames;
+ [MeasureAs=IndexedDB] readonly attribute IDBTransaction transaction;
+ [MeasureAs=IndexedDB] readonly attribute boolean autoIncrement;
- [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [Default=Undefined] optional any key);
- [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [Default=Undefined] optional any key);
- [CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete(any key);
- [CallWith=ScriptState, RaisesException] IDBRequest clear();
- [CallWith=ScriptState, RaisesException] IDBRequest get(any key);
- [CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] IDBRequest getKey(any key);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest put(any value, [Default=Undefined] optional any key);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest add(any value, [Default=Undefined] optional any key);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete(any key);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest clear();
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest get(any key);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] IDBRequest getKey(any key);
// TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed.
- [CallWith=ScriptState, RaisesException] IDBRequest getAll([Default=Undefined] optional any range, optional unsigned long maxCount = 0xFFFFFFFF);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest getAll([Default=Undefined] optional any range, optional unsigned long maxCount = 0xFFFFFFFF);
// TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed.
- [CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([Default=Undefined] optional any range, optional unsigned long maxCount = 0xFFFFFFFF);
- [CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key);
- [CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, optional IDBCursorDirection direction = "next");
- [CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor([Default=Undefined] optional any range, optional IDBCursorDirection direction = "next");
- [CallWith=ScriptState, RaisesException] IDBIndex createIndex(DOMString name, (DOMString or sequence<DOMString>) keyPath, optional IDBIndexParameters options);
- [RaisesException] IDBIndex index(DOMString name);
- [RaisesException] void deleteIndex(DOMString name);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([Default=Undefined] optional any range, optional unsigned long maxCount = 0xFFFFFFFF);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, optional IDBCursorDirection direction = "next");
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor([Default=Undefined] optional any range, optional IDBCursorDirection direction = "next");
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBIndex createIndex(DOMString name, (DOMString or sequence<DOMString>) keyPath, optional IDBIndexParameters options);
+ [MeasureAs=IndexedDB, RaisesException] IDBIndex index(DOMString name);
+ [MeasureAs=IndexedDB, RaisesException] void deleteIndex(DOMString name);
};

Powered by Google App Engine
This is Rietveld 408576698