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

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

Issue 1348603003: [BackgroundSync] Move BackgroundSyncState from proto to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android fix Created 5 years, 3 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 575ecf91e7e41b85a11bbbcc56f92c54a5b4b7f4..91f5ded13b2dfde6495600ab926bc17d8ba680a9 100644
--- a/content/browser/background_sync/background_sync_registration.h
+++ b/content/browser/background_sync/background_sync_registration.h
@@ -32,15 +32,15 @@ class CONTENT_EXPORT BackgroundSyncRegistration {
RegistrationId id() const { return id_; }
void set_id(RegistrationId id) { id_ = id; }
- SyncState sync_state() const { return sync_state_; }
- void set_sync_state(SyncState state) { sync_state_ = state; }
+ BackgroundSyncState sync_state() const { return sync_state_; }
+ void set_sync_state(BackgroundSyncState state) { sync_state_ = state; }
private:
static const RegistrationId kInvalidRegistrationId;
BackgroundSyncRegistrationOptions options_;
RegistrationId id_ = kInvalidRegistrationId;
- SyncState sync_state_ = SYNC_STATE_PENDING;
+ BackgroundSyncState sync_state_ = BACKGROUND_SYNC_STATE_PENDING;
DISALLOW_COPY_AND_ASSIGN(BackgroundSyncRegistration);
};

Powered by Google App Engine
This is Rietveld 408576698