| 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 WorkerNavigatorBudget_h | 5 #ifndef WorkerNavigatorBudget_h |
| 6 #define WorkerNavigatorBudget_h | 6 #define WorkerNavigatorBudget_h |
| 7 | 7 |
| 8 #include "core/workers/WorkerNavigator.h" |
| 8 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
| 9 #include "platform/heap/GarbageCollected.h" | 10 #include "platform/heap/GarbageCollected.h" |
| 10 #include "wtf/Noncopyable.h" | 11 #include "wtf/Noncopyable.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class BudgetService; | 15 class BudgetService; |
| 15 class WorkerNavigator; | 16 class WorkerNavigator; |
| 16 | 17 |
| 17 // This exposes the budget object on the WorkerNavigator partial interface. | 18 // This exposes the budget object on the WorkerNavigator partial interface. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 private: | 33 private: |
| 33 WorkerNavigatorBudget(); | 34 WorkerNavigatorBudget(); |
| 34 static const char* supplementName(); | 35 static const char* supplementName(); |
| 35 | 36 |
| 36 Member<BudgetService> m_budget; | 37 Member<BudgetService> m_budget; |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 } // namespace blink | 40 } // namespace blink |
| 40 | 41 |
| 41 #endif // WorkerNavigatorBudget_h | 42 #endif // WorkerNavigatorBudget_h |
| OLD | NEW |