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 93d4fefbd732db5e6b161b7ded6305d2d9665859..25d6f28ddb2226975716b7ab23030429c819a19d 100644 |
--- a/content/child/background_sync/background_sync_provider.h |
+++ b/content/child/background_sync/background_sync_provider.h |
@@ -52,12 +52,18 @@ class BackgroundSyncProvider : public blink::WebSyncProvider { |
// Callback handlers |
void RegisterCallback( |
scoped_ptr<blink::WebSyncRegistrationCallbacks> callbacks, |
+ BackgroundSyncError error, |
const SyncRegistrationPtr& options); |
void UnregisterCallback( |
scoped_ptr<blink::WebSyncUnregistrationCallbacks> callbacks, |
- bool success); |
+ BackgroundSyncError error); |
+ void GetRegistrationCallback( |
+ scoped_ptr<blink::WebSyncRegistrationCallbacks> callbacks, |
+ BackgroundSyncError error, |
+ const SyncRegistrationPtr& options); |
void GetRegistrationsCallback( |
scoped_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks, |
+ BackgroundSyncError error, |
const mojo::Array<SyncRegistrationPtr>& registrations); |
// Helper method that returns an initialized BackgroundSyncServicePtr. |