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

Unified Diff: content/browser/service_worker/service_worker_version.h

Issue 1230213004: [Background Sync] Sent sync registration details to worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bgsync-event-mek
Patch Set: Use constref rather than pointer for FireOneShotSync Created 5 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/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index e9f258f143b2f289795dc5474817767149267bf2..9177a0c4c078c6ced66d470937ad64c8b2381e5e 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -207,7 +207,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
// notify completion.
//
// This must be called when the status() is ACTIVATED.
- void DispatchSyncEvent(const StatusCallback& callback);
+ void DispatchSyncEvent(SyncRegistrationPtr registration,
+ const StatusCallback& callback);
// Sends notificationclick event to the associated embedded worker and
// asynchronously calls |callback| when it errors out or it gets a response

Powered by Google App Engine
This is Rietveld 408576698