Index: content/child/background_sync/background_sync_provider.h |
diff --git a/content/child/background_sync/background_sync_provider.h b/content/child/background_sync/background_sync_provider.h |
index 3d5aea289a6ef5626efa281a706bf5caf9365b60..0d8e6b9b5377b49be97350fd3d7e8abd41ef80f5 100644 |
--- a/content/child/background_sync/background_sync_provider.h |
+++ b/content/child/background_sync/background_sync_provider.h |
@@ -22,12 +22,12 @@ class SingleThreadTaskRunner; |
namespace content { |
// The BackgroundSyncProvider is called by the SyncManager and SyncRegistration |
-// objects (and their Periodic counterparts) and communicates with the |
-// BackgroundSyncManager object in the browser process. Each thread will have |
-// its own instance (e.g. main thread, worker threads), instantiated as needed |
-// by BlinkPlatformImpl. Each instance of the provider creates a new mojo |
-// connection to a new BackgroundSyncManagerImpl, which then talks to the |
-// BackgroundSyncManager object. |
+// objects and communicates with the BackgroundSyncManager object in the browser |
+// process. Each thread will have its own instance (e.g. main thread, worker |
+// threads), instantiated as needed by BlinkPlatformImpl. Each instance of |
+// the provider creates a new mojo connection to a new |
+// BackgroundSyncManagerImpl, which then talks to the BackgroundSyncManager |
+// object. |
class BackgroundSyncProvider : public blink::WebSyncProvider, |
public WorkerThread::Observer { |
public: |
@@ -55,16 +55,13 @@ class BackgroundSyncProvider : public blink::WebSyncProvider, |
blink::WebServiceWorkerRegistration* service_worker_registration, |
blink::WebSyncUnregistrationCallbacks* callbacks) override; |
void getRegistration( |
- blink::WebSyncRegistration::Periodicity, |
const blink::WebString& tag, |
blink::WebServiceWorkerRegistration* service_worker_registration, |
blink::WebSyncRegistrationCallbacks* callbacks) override; |
void getRegistrations( |
- blink::WebSyncRegistration::Periodicity periodicity, |
blink::WebServiceWorkerRegistration* service_worker_registration, |
blink::WebSyncGetRegistrationsCallbacks* callbacks) override; |
void getPermissionStatus( |
- blink::WebSyncRegistration::Periodicity periodicity, |
blink::WebServiceWorkerRegistration* service_worker_registration, |
blink::WebSyncGetPermissionStatusCallbacks* callbacks) override; |
// TODO(jkarlin): Rename to releaseRegistrationHandle. |