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

Unified Diff: content/browser/background_sync/background_sync_registration_handle.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_handle.h
diff --git a/content/browser/background_sync/background_sync_registration_handle.h b/content/browser/background_sync/background_sync_registration_handle.h
index 8b2b5a92bb955df55b2d4bad077a7416e18f23cc..22cfdaa85a2718547e608aae84e229cb391c783d 100644
--- a/content/browser/background_sync/background_sync_registration_handle.h
+++ b/content/browser/background_sync/background_sync_registration_handle.h
@@ -50,9 +50,9 @@ class CONTENT_EXPORT BackgroundSyncRegistrationHandle {
// Runs |callback| when the registration associated with |handle_id|
// completes.The provided status is BACKGROUND_SYNC_STATUS_OK if the operation
- // succeeded. The provided state is BACKGROUND_SYNC_STATE_SUCCESS on success,
+ // succeeded. The provided state is BackgroundSyncState::SUCCESS on success,
// BACKGRUOND_SYNC_STATE_FAILED on final failure, and
- // BACKGROUND_SYNC_STATE_UNREGISTERED if the registration was unregistered
+ // BackgroundSyncState::UNREGISTERED if the registration was unregistered
// before it could complete. NotifyWhenFinished should only be called for
// SYNC_ONE_SHOT registrations.
void NotifyWhenFinished(const StatusAndStateCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698