Index: components/sync_driver/sync_service.cc |
diff --git a/components/sync_driver/sync_service.cc b/components/sync_driver/sync_service.cc |
index ab73a66a9f6780baef7710a45b6e1733dbb16ac3..8b7a88083948af7df45fcba2d3d29d05500eea41 100644 |
--- a/components/sync_driver/sync_service.cc |
+++ b/components/sync_driver/sync_service.cc |
@@ -9,9 +9,15 @@ |
namespace sync_driver { |
+SyncSetupInProgressHandle::SyncSetupInProgressHandle(base::Closure on_destroy) |
+ : on_destroy_(on_destroy) {} |
+ |
+SyncSetupInProgressHandle::~SyncSetupInProgressHandle() { |
+ on_destroy_.Run(); |
+} |
+ |
SyncService::SyncTokenStatus::SyncTokenStatus() |
: connection_status(syncer::CONNECTION_NOT_ATTEMPTED), |
last_get_token_error(GoogleServiceAuthError::AuthErrorNone()) {} |
-SyncService::SyncTokenStatus::~SyncTokenStatus() {} |
-} |
+} // namespace sync_driver |