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

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

Issue 2281673002: Full hookup of BudgetManager interfaces to BudgetDatabase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manager
Patch Set: Fixed hang and cleaned up browsertests Created 4 years, 3 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 6a5256b0c3a9e45dfbbae1abdc8428dc5a2cd9df..298831e5b993ea16ded9352c39e751408e601093 100644
--- a/chrome/browser/push_messaging/push_messaging_notification_manager.h
+++ b/chrome/browser/push_messaging/push_messaging_notification_manager.h
@@ -73,10 +73,10 @@ class PushMessagingNotificationManager {
content::WebContents* active_web_contents,
const GURL& origin);
- void CheckForMissedNotification(const GURL& origin,
- int64_t service_worker_registration_id,
- const base::Closure& message_handled_closure,
- const double budget);
+ void ProcessSilentPush(const GURL& origin,
+ int64_t service_worker_registration_id,
+ const base::Closure& message_handled_closure,
+ bool silent_push_allowed);
static void DidWriteNotificationDataIOProxy(
const base::WeakPtr<PushMessagingNotificationManager>& ui_weak_ptr,
@@ -93,13 +93,6 @@ 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