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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.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/IDBTransaction.idl
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.idl b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.idl
index 59d2ea6013891f7c58da0cb9abe87ecc1d5bd6d6..e583437ad37fa31481db3b99e9b270f1be8727bd 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.idl
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.idl
@@ -41,17 +41,17 @@ enum IDBTransactionMode {
] interface IDBTransaction : EventTarget {
// Properties
- [Measure] readonly attribute DOMStringList objectStoreNames;
- readonly attribute IDBTransactionMode mode;
- readonly attribute IDBDatabase db;
- readonly attribute DOMException error;
+ [MeasureAs=IndexedDB] readonly attribute DOMStringList objectStoreNames;
+ [MeasureAs=IndexedDB] readonly attribute IDBTransactionMode mode;
+ [MeasureAs=IndexedDB] readonly attribute IDBDatabase db;
+ [MeasureAs=IndexedDB] readonly attribute DOMException error;
// Methods
- [RaisesException] IDBObjectStore objectStore (DOMString name);
- [RaisesException] void abort ();
+ [MeasureAs=IndexedDB, RaisesException] IDBObjectStore objectStore (DOMString name);
+ [MeasureAs=IndexedDB, RaisesException] void abort ();
// Events
- attribute EventHandler onabort;
- attribute EventHandler oncomplete;
- attribute EventHandler onerror;
+ [MeasureAs=IndexedDB] attribute EventHandler onabort;
+ [MeasureAs=IndexedDB] attribute EventHandler oncomplete;
+ [MeasureAs=IndexedDB] attribute EventHandler onerror;
};

Powered by Google App Engine
This is Rietveld 408576698