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

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

Issue 2473483012: Move content/child/background_sync to Blink. (Closed)
Patch Set: Update OWNERS to make presubmit happy 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..8353e439ca59fedf3d0a84adf996a0286ba80798 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"
#include "platform/heap/Handle.h"
#include "wtf/text/WTFString.h"
@@ -32,9 +33,13 @@ class SyncManager final : public GarbageCollected<SyncManager>,
DECLARE_TRACE();
+ enum { UNREGISTERED_SYNC_ID = -1 };
jbroman 2016/11/05 22:51:09 nit: kUnregisteredSyncID (Blink name conventions)
adithyas 2016/11/07 19:22:56 Done.
+
private:
explicit SyncManager(ServiceWorkerRegistration*);
+ static BackgroundSyncProvider* backgroundSyncProvider();
+
Member<ServiceWorkerRegistration> m_registration;
};

Powered by Google App Engine
This is Rietveld 408576698