Commit 2c0ea3a8 authored by Andreas Butler's avatar Andreas Butler Committed by Commit Bot

[IndexedDB]: Add use counter to IDB databases.

Adds a UMA use counter to IDBFactory.databases().

Bug: 909000
Change-Id: I3a45c7cccec208fa8d9227bcfb2cc24a4a688324
Reviewed-on: https://chromium-review.googlesource.com/c/1352484Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
Reviewed-by: default avatarDaniel Murphy <dmurph@chromium.org>
Reviewed-by: default avatarVictor Costan <pwnall@chromium.org>
Commit-Queue: Andreas Butler <andreasbutler@google.com>
Cr-Commit-Position: refs/heads/master@{#612442}
parent 09d533d1
...@@ -2097,6 +2097,7 @@ enum WebFeature { ...@@ -2097,6 +2097,7 @@ enum WebFeature {
kCSSSelectorNotWithValidList = 2645, kCSSSelectorNotWithValidList = 2645,
kCSSSelectorNotWithInvalidList = 2646, kCSSSelectorNotWithInvalidList = 2646,
kCSSSelectorNotWithPartiallyValidList = 2647, kCSSSelectorNotWithPartiallyValidList = 2647,
kV8IDBFactory_Databases_Method = 2648,
// Add new features immediately above this line. Don't change assigned // Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots. // numbers of any item, and don't reuse removed slots.
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
[ [
CallWith=ScriptState, CallWith=ScriptState,
ImplementedAs=GetDatabaseInfo, ImplementedAs=GetDatabaseInfo,
Measure,
RaisesException RaisesException
] Promise<sequence<IDBDatabaseInfo>> databases(); ] Promise<sequence<IDBDatabaseInfo>> databases();
}; };
......
...@@ -20895,6 +20895,7 @@ Called by update_net_error_codes.py.--> ...@@ -20895,6 +20895,7 @@ Called by update_net_error_codes.py.-->
<int value="2645" label="CSSSelectorNotWithValidList"/> <int value="2645" label="CSSSelectorNotWithValidList"/>
<int value="2646" label="CSSSelectorNotWithInvalidList"/> <int value="2646" label="CSSSelectorNotWithInvalidList"/>
<int value="2647" label="CSSSelectorNotWithPartiallyValidList"/> <int value="2647" label="CSSSelectorNotWithPartiallyValidList"/>
<int value="2648" label="V8IDBFactory_Databases_Method"/>
</enum> </enum>
<enum name="FeaturePolicyFeature"> <enum name="FeaturePolicyFeature">
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment