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

Unified Diff: chrome/browser/push_messaging/push_messaging_notification_manager.h

Issue 2058523003: Make BackgroundBudgetService calls asynchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More test code cleanup Created 4 years, 6 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: chrome/browser/push_messaging/push_messaging_notification_manager.h
diff --git a/chrome/browser/push_messaging/push_messaging_notification_manager.h b/chrome/browser/push_messaging/push_messaging_notification_manager.h
index 60a2edb78d70cbec4412ac0207cf14054751f412..6a5256b0c3a9e45dfbbae1abdc8428dc5a2cd9df 100644
--- a/chrome/browser/push_messaging/push_messaging_notification_manager.h
+++ b/chrome/browser/push_messaging/push_messaging_notification_manager.h
@@ -93,6 +93,13 @@ class PushMessagingNotificationManager {
bool success,
int64_t persistent_notification_id);
+ void DidGetBudget(const GURL& origin,
+ int64_t service_worker_registration_id,
+ const base::Closure& message_handled_closure,
+ bool notification_needed,
+ bool notification_shown,
+ double budget);
+
// Weak. This manager is owned by a keyed service on this profile.
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698