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

Unified Diff: third_party/WebKit/Source/modules/budget/NavigatorBudget.h

Issue 2229283003: Convert Budget to BudgetService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated global interface list Created 4 years, 4 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/NavigatorBudget.h
diff --git a/third_party/WebKit/Source/modules/budget/NavigatorBudget.h b/third_party/WebKit/Source/modules/budget/NavigatorBudget.h
index 53d5e95d66cb379b93835f5a9f3f430cffe04a13..14578ceb984d3cd3f1418dc226433f1f407afdac 100644
--- a/third_party/WebKit/Source/modules/budget/NavigatorBudget.h
+++ b/third_party/WebKit/Source/modules/budget/NavigatorBudget.h
@@ -9,7 +9,7 @@
namespace blink {
-class Budget;
+class BudgetService;
class Navigator;
// This exposes the budget object on the Navigator partial interface.
@@ -22,8 +22,8 @@ class NavigatorBudget final
public:
static NavigatorBudget& from(Navigator&);
- static Budget* budget(Navigator&);
- Budget* budget();
+ static BudgetService* budget(Navigator&);
+ BudgetService* budget();
DECLARE_VIRTUAL_TRACE();
@@ -31,7 +31,7 @@ private:
NavigatorBudget();
static const char* supplementName();
- Member<Budget> m_budget;
+ Member<BudgetService> m_budget;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698