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

Unified Diff: content/browser/notifications/notification_message_filter.h

Issue 2181553003: Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ServiceWorkerContextCore::DidFindRegistrationForCheckHasServiceWorker() Created 4 years, 5 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: content/browser/notifications/notification_message_filter.h
diff --git a/content/browser/notifications/notification_message_filter.h b/content/browser/notifications/notification_message_filter.h
index 5ebce0ecdc76981b129b292619c4cd59e1021566..bc28879cf71664cf40a307a967ef79fc569d0e23 100644
--- a/content/browser/notifications/notification_message_filter.h
+++ b/content/browser/notifications/notification_message_filter.h
@@ -98,7 +98,7 @@ class NotificationMessageFilter : public BrowserMessageFilter {
const NotificationResources& notification_resources,
int64_t persistent_notification_id,
content::ServiceWorkerStatusCode service_worker_status,
- const scoped_refptr<content::ServiceWorkerRegistration>& registration);
+ scoped_refptr<ServiceWorkerRegistration> registration);
// Callback to be invoked when all notifications belonging to a Service Worker
// registration have been read from the database. The |success| argument

Powered by Google App Engine
This is Rietveld 408576698