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

Unified Diff: Source/modules/background_sync/SyncRegistration.h

Issue 1220223003: [Background Sync] Add sync registration details to onsync event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix: Missing words in comment 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
« no previous file with comments | « no previous file | Source/modules/background_sync/SyncRegistration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/background_sync/SyncRegistration.h
diff --git a/Source/modules/background_sync/SyncRegistration.h b/Source/modules/background_sync/SyncRegistration.h
index 838b029ec408d96d3d76fbec78b4ae1d8e12fcb3..65c27517b93ea37994bacd755f24b1a9d56c2a9b 100644
--- a/Source/modules/background_sync/SyncRegistration.h
+++ b/Source/modules/background_sync/SyncRegistration.h
@@ -18,9 +18,10 @@ class ScriptPromiseResolver;
class ScriptState;
struct WebSyncRegistration;
-class SyncRegistration final : public GarbageCollectedFinalized<SyncRegistration>, public ScriptWrappable {
+class MODULES_EXPORT SyncRegistration final : public GarbageCollectedFinalized<SyncRegistration>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
+ static SyncRegistration* create(const WebSyncRegistration&, ServiceWorkerRegistration*);
static SyncRegistration* take(ScriptPromiseResolver*, WebSyncRegistration*, ServiceWorkerRegistration*);
static void dispose(WebSyncRegistration* registrationRaw);
« no previous file with comments | « no previous file | Source/modules/background_sync/SyncRegistration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698