Chromium Code Reviews| 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; |
| }; |