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

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

Issue 2891953002: Ship and experiment with the Budget API (Closed)
Patch Set: one more result file 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
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 a716869824b2d7b96d48a6592e849708e470e185..3f893197aba13d57649e8eb8305e59305b93d64c 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 {
- [CallWith=ScriptState] Promise<double> getCost(OperationType operation);
- [CallWith=ScriptState] Promise<sequence<BudgetState>> getBudget();
+ [OriginTrialEnabled=BudgetQuery, CallWith=ScriptState] Promise<double> getCost(OperationType operation);
+ [OriginTrialEnabled=BudgetQuery, CallWith=ScriptState] Promise<sequence<BudgetState>> getBudget();
[CallWith=ScriptState] Promise<boolean> reserve(OperationType operation);
};

Powered by Google App Engine
This is Rietveld 408576698