| 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 ce186a719ea2cc9919b9b0af0849c31eac3f2258..4fa8f3ffe2ce15960637d4e2ef35662df9674a3e 100644
|
| --- a/third_party/WebKit/Source/modules/budget/BudgetService.idl
|
| +++ b/third_party/WebKit/Source/modules/budget/BudgetService.idl
|
| @@ -5,13 +5,14 @@
|
| // https://beverloo.github.io/budget-api/#budget-service-interface
|
| // TODO(harkness): Link WICG spec when it exists.
|
|
|
| -enum ActionType {
|
| +enum OperationType {
|
| "silent-push"
|
| };
|
|
|
| [
|
| RuntimeEnabled=Budget
|
| ] interface BudgetService {
|
| - [CallWith=ScriptState] Promise<double> getCost(ActionType actionType);
|
| + [CallWith=ScriptState] Promise<double> getCost(OperationType operation);
|
| [CallWith=ScriptState] Promise<FrozenArray<BudgetState>> getBudget();
|
| + [CallWith=ScriptState] Promise<boolean> reserve(OperationType operation);
|
| };
|
|
|