Index: third_party/WebKit/Source/modules/budget/BudgetService.h |
diff --git a/third_party/WebKit/Source/modules/budget/Budget.h b/third_party/WebKit/Source/modules/budget/BudgetService.h |
similarity index 65% |
rename from third_party/WebKit/Source/modules/budget/Budget.h |
rename to third_party/WebKit/Source/modules/budget/BudgetService.h |
index 186f7ca2553e8c4d5b52786dec9f4f86242af652..6d858bc7977e90f5de0f22aaf1fc36c005cadaf8 100644 |
--- a/third_party/WebKit/Source/modules/budget/Budget.h |
+++ b/third_party/WebKit/Source/modules/budget/BudgetService.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef Budget_h |
-#define Budget_h |
+#ifndef BudgetService_h |
+#define BudgetService_h |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "modules/ModulesExport.h" |
@@ -13,16 +13,16 @@ namespace blink { |
class ScriptPromise; |
class ScriptState; |
-// This is the entry point into the browser for the Budget API, which is |
+// This is the entry point into the browser for the BudgetService API, which is |
// designed to give origins the ability to perform background operations |
// on the user's behalf. |
-class Budget final : public GarbageCollected<Budget>, public ScriptWrappable { |
+class BudgetService final : public GarbageCollected<BudgetService>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static Budget* create() |
+ static BudgetService* create() |
{ |
- return new Budget(); |
+ return new BudgetService(); |
} |
ScriptPromise getCost(ScriptState*, const AtomicString& actionType); |
@@ -31,9 +31,9 @@ public: |
DEFINE_INLINE_TRACE() {} |
private: |
- Budget(); |
+ BudgetService(); |
}; |
} // namespace blink |
-#endif // Budget_h |
+#endif // BudgetService_h |