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

Unified Diff: content/browser/background_sync/background_sync_manager.h

Issue 2183783002: Revert of Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/background_sync/background_sync_manager.h
diff --git a/content/browser/background_sync/background_sync_manager.h b/content/browser/background_sync/background_sync_manager.h
index f31a83a72910d4bd4c9f404853117ae4a45d6fb5..52391a20f5b05b7063f4cbe804c4e747bdbe7e9e 100644
--- a/content/browser/background_sync/background_sync_manager.h
+++ b/content/browser/background_sync/background_sync_manager.h
@@ -249,7 +249,8 @@
const base::Closure& event_fired_callback,
const base::Closure& event_completed_callback,
ServiceWorkerStatusCode service_worker_status,
- scoped_refptr<ServiceWorkerRegistration> service_worker_registration);
+ const scoped_refptr<ServiceWorkerRegistration>&
+ service_worker_registration);
void FireReadyEventsAllEventsFiring(const base::Closure& callback);
// Called when a sync event has completed.

Powered by Google App Engine
This is Rietveld 408576698