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

Unified Diff: third_party/WebKit/Source/modules/budget/BudgetService.idl

Issue 2917053003: Add use counters for the experimental Budget API methods (Closed)
Patch Set: rebase Created 3 years, 7 months 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
« no previous file with comments | « no previous file | third_party/WebKit/public/platform/UseCounterFeature.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/budget/BudgetService.idl
diff --git a/third_party/WebKit/Source/modules/budget/BudgetService.idl b/third_party/WebKit/Source/modules/budget/BudgetService.idl
index 3f893197aba13d57649e8eb8305e59305b93d64c..e0235e2bd30f4f2bfd76414dae2f7d33fe7d4272 100644
--- a/third_party/WebKit/Source/modules/budget/BudgetService.idl
+++ b/third_party/WebKit/Source/modules/budget/BudgetService.idl
@@ -12,7 +12,7 @@ enum OperationType {
RuntimeEnabled=Budget,
Exposed=(Window,Worker)
] interface BudgetService {
- [OriginTrialEnabled=BudgetQuery, CallWith=ScriptState] Promise<double> getCost(OperationType operation);
- [OriginTrialEnabled=BudgetQuery, CallWith=ScriptState] Promise<sequence<BudgetState>> getBudget();
+ [OriginTrialEnabled=BudgetQuery, CallWith=ScriptState, MeasureAs=BudgetAPIGetCost] Promise<double> getCost(OperationType operation);
+ [OriginTrialEnabled=BudgetQuery, CallWith=ScriptState, MeasureAs=BudgetAPIGetBudget] Promise<sequence<BudgetState>> getBudget();
[CallWith=ScriptState] Promise<boolean> reserve(OperationType operation);
};
« no previous file with comments | « no previous file | third_party/WebKit/public/platform/UseCounterFeature.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698