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

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

Issue 2473483012: Move content/child/background_sync to Blink. (Closed)
Patch Set: Fix nits 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..0cf8708794361c19d3326b96ead5ca4c9305ea92 100644
--- a/third_party/WebKit/Source/modules/background_sync/SyncManager.h
+++ b/third_party/WebKit/Source/modules/background_sync/SyncManager.h
@@ -11,6 +11,7 @@
namespace blink {
+class BackgroundSyncProvider;
class ExecutionContext;
class ScriptPromise;
class ScriptState;
@@ -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