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

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

Issue 2571453002: Expose the BudgetService interface to Workers. (Closed)
Patch Set: 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/budget/BudgetService.idl
diff --git a/third_party/WebKit/Source/modules/budget/BudgetService.idl b/third_party/WebKit/Source/modules/budget/BudgetService.idl
index 2087b9c6f19f8d37caa9156a3c8eb78d981a22ca..aa1d58d84ce295dab750c4780a42ef8ef211f1ed 100644
--- a/third_party/WebKit/Source/modules/budget/BudgetService.idl
+++ b/third_party/WebKit/Source/modules/budget/BudgetService.idl
@@ -9,7 +9,8 @@ enum OperationType {
};
[
- RuntimeEnabled=Budget
+ RuntimeEnabled=Budget,
+ Exposed=(Window,Worker)
] interface BudgetService {
[CallWith=ScriptState] Promise<double> getCost(OperationType operation);
[CallWith=ScriptState] Promise<FrozenArray<BudgetState>> getBudget();

Powered by Google App Engine
This is Rietveld 408576698