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

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

Issue 2324133002: Replace GURL in BudgetDatabase/BudgetManager with url::Origin (Closed)
Patch Set: 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
« no previous file with comments | « chrome/browser/budget_service/budget_service_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/push_messaging/push_messaging_notification_manager.cc
diff --git a/chrome/browser/push_messaging/push_messaging_notification_manager.cc b/chrome/browser/push_messaging/push_messaging_notification_manager.cc
index 1568a412865ec0a6a58f3744178b4053c562a15c..55ba4522b92dcc968473e10a16a09c8da2f2f76f 100644
--- a/chrome/browser/push_messaging/push_messaging_notification_manager.cc
+++ b/chrome/browser/push_messaging/push_messaging_notification_manager.cc
@@ -192,7 +192,7 @@ void PushMessagingNotificationManager::DidGetNotificationsFromDatabase(
// push was allowed.
BudgetManager* manager = BudgetManagerFactory::GetForProfile(profile_);
manager->Consume(
- origin, blink::mojom::BudgetOperationType::SILENT_PUSH,
+ url::Origin(origin), blink::mojom::BudgetOperationType::SILENT_PUSH,
base::Bind(&PushMessagingNotificationManager::ProcessSilentPush,
weak_factory_.GetWeakPtr(), origin,
service_worker_registration_id, message_handled_closure));
« no previous file with comments | « chrome/browser/budget_service/budget_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698