| Index: chrome/browser/push_messaging/background_budget_service.h
|
| diff --git a/chrome/browser/push_messaging/background_budget_service.h b/chrome/browser/push_messaging/background_budget_service.h
|
| index 717545a02a6ac464045d7268f625bd42b39610d2..2265c5562a3326882fc85c3062d4208f03ec6dd4 100644
|
| --- a/chrome/browser/push_messaging/background_budget_service.h
|
| +++ b/chrome/browser/push_messaging/background_budget_service.h
|
| @@ -33,6 +33,14 @@ class BackgroundBudgetService : public KeyedService {
|
|
|
| static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
|
|
|
| + enum class CostType {
|
| + // The cost of silencing a push message.
|
| + SILENT_PUSH = 0,
|
| + };
|
| +
|
| + // Query for the base cost for any background processing.
|
| + static double GetCost(CostType type);
|
| +
|
| // Get the budget associated with the origin. This is returned as the double
|
| // budget. Budget will be a value between 0.0 and
|
| // SiteEngagementScore::kMaxPoints.
|
|
|