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

Unified Diff: third_party/WebKit/Source/modules/background_sync/SyncManager.h

Issue 2473483012: Move content/child/background_sync to Blink. (Closed)
Patch Set: Code review changes Created 4 years, 1 month 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: third_party/WebKit/Source/modules/background_sync/SyncManager.h
diff --git a/third_party/WebKit/Source/modules/background_sync/SyncManager.h b/third_party/WebKit/Source/modules/background_sync/SyncManager.h
index aba3118bc638329cbc1e426e72e756050810413a..ebb85b437a897fc3ceafd0b63c2d475d61c9e88b 100644
--- a/third_party/WebKit/Source/modules/background_sync/SyncManager.h
+++ b/third_party/WebKit/Source/modules/background_sync/SyncManager.h
@@ -6,6 +6,7 @@
#define SyncManager_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "modules/background_sync/BackgroundSyncProvider.h"
jbroman 2016/11/07 19:48:10 super-nit: if you only need to refer to the pointe
adithyas 2016/11/08 16:47:47 Done.
#include "platform/heap/Handle.h"
#include "wtf/text/WTFString.h"
@@ -32,9 +33,13 @@ class SyncManager final : public GarbageCollected<SyncManager>,
DECLARE_TRACE();
+ enum { kUnregisteredSyncID = -1 };
+
private:
explicit SyncManager(ServiceWorkerRegistration*);
+ static BackgroundSyncProvider* backgroundSyncProvider();
+
Member<ServiceWorkerRegistration> m_registration;
};

Powered by Google App Engine
This is Rietveld 408576698