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

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

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. 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/IDBDatabase.idl
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl
index 2697f2574afe9ac8491970fd5d0305c3da9fb488..091ae339b92734af2ed289f5d40a55b401951345 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl
@@ -31,17 +31,17 @@
DependentLifetime,
Exposed=(Window,Worker),
] interface IDBDatabase : EventTarget {
- readonly attribute DOMString name;
- readonly attribute unsigned long long version;
+ [MeasureAs=IndexedDB] readonly attribute DOMString name;
+ [MeasureAs=IndexedDB] readonly attribute unsigned long long version;
[Measure] readonly attribute DOMStringList objectStoreNames;
- [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional IDBObjectStoreParameters options);
- [RaisesException] void deleteObjectStore(DOMString name);
- [CallWith=ScriptState, RaisesException] IDBTransaction transaction((DOMString or sequence<DOMString> or DOMStringList) storeNames, optional IDBTransactionMode mode = "readonly");
- void close();
+ [MeasureAs=IndexedDB, RaisesException] IDBObjectStore createObjectStore(DOMString name, optional IDBObjectStoreParameters options);
+ [MeasureAs=IndexedDB, RaisesException] void deleteObjectStore(DOMString name);
+ [MeasureAs=IndexedDB, CallWith=ScriptState, RaisesException] IDBTransaction transaction((DOMString or sequence<DOMString> or DOMStringList) storeNames, optional IDBTransactionMode mode = "readonly");
+ [MeasureAs=IndexedDB] void close();
- attribute EventHandler onabort;
- attribute EventHandler onclose;
- attribute EventHandler onerror;
- attribute EventHandler onversionchange;
+ [MeasureAs=IndexedDB] attribute EventHandler onabort;
+ [MeasureAs=IndexedDB] attribute EventHandler onclose;
+ [MeasureAs=IndexedDB] attribute EventHandler onerror;
+ [MeasureAs=IndexedDB] attribute EventHandler onversionchange;
};

Powered by Google App Engine
This is Rietveld 408576698