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

Unified Diff: content/browser/background_sync/background_sync_registration.h

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 months 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: 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_;

Powered by Google App Engine
This is Rietveld 408576698