Index: content/browser/background_sync/background_sync_registration.h |
diff --git a/content/browser/background_sync/background_sync_registration.h b/content/browser/background_sync/background_sync_registration.h |
index 4e4f1cd3f330d35fdbd840b8ba436f8904a643db..5c0e56c99a169099fd26698e65762458c242c82b 100644 |
--- a/content/browser/background_sync/background_sync_registration.h |
+++ b/content/browser/background_sync/background_sync_registration.h |
@@ -39,8 +39,8 @@ class CONTENT_EXPORT BackgroundSyncRegistration { |
bool IsFiring() const; |
// If the registration is currently firing, sets its state to |
- // BACKGROUND_SYNC_STATE_UNREGISTERED_WHILE_FIRING. If it is firing, it sets |
- // the state to BACKGROUND_SYNC_STATE_UNREGISTERED and calls |
+ // BackgroundSyncState::UNREGISTERED_WHILE_FIRING. If it is firing, it sets |
+ // the state to BackgroundSyncState::UNREGISTERED and calls |
// RunFinishedCallbacks. |
void SetUnregisteredState(); |
@@ -64,7 +64,7 @@ class CONTENT_EXPORT BackgroundSyncRegistration { |
BackgroundSyncRegistrationOptions options_; |
RegistrationId id_ = kInvalidRegistrationId; |
- BackgroundSyncState sync_state_ = BACKGROUND_SYNC_STATE_PENDING; |
+ BackgroundSyncState sync_state_ = BackgroundSyncState::PENDING; |
int num_attempts_ = 0; |
base::Time delay_until_; |