| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BudgetService_h | 5 #ifndef BudgetService_h |
| 6 #define BudgetService_h | 6 #define BudgetService_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "modules/ModulesExport.h" | 8 #include "modules/ModulesExport.h" |
| 9 #include "platform/bindings/ScriptWrappable.h" |
| 10 #include "public/platform/modules/budget_service/budget_service.mojom-blink.h" | 10 #include "public/platform/modules/budget_service/budget_service.mojom-blink.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class ScriptPromise; | 14 class ScriptPromise; |
| 15 class ScriptPromiseResolver; | 15 class ScriptPromiseResolver; |
| 16 class ScriptState; | 16 class ScriptState; |
| 17 | 17 |
| 18 // This is the entry point into the browser for the BudgetService API, which is | 18 // This is the entry point into the browser for the BudgetService API, which is |
| 19 // designed to give origins the ability to perform background operations | 19 // designed to give origins the ability to perform background operations |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 BudgetService(); | 51 BudgetService(); |
| 52 | 52 |
| 53 // Pointer to the Mojo service which will proxy calls to the browser. | 53 // Pointer to the Mojo service which will proxy calls to the browser. |
| 54 mojom::blink::BudgetServicePtr service_; | 54 mojom::blink::BudgetServicePtr service_; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace blink | 57 } // namespace blink |
| 58 | 58 |
| 59 #endif // BudgetService_h | 59 #endif // BudgetService_h |
| OLD | NEW |