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

Unified Diff: sync/internal_api/public/sessions/sync_session_snapshot.h

Issue 11342008: Revert 164565 - sync: make scheduling logic and job ownership more obvious. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1311/src/
Patch Set: Created 8 years, 2 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: sync/internal_api/public/sessions/sync_session_snapshot.h
===================================================================
--- sync/internal_api/public/sessions/sync_session_snapshot.h (revision 164641)
+++ sync/internal_api/public/sessions/sync_session_snapshot.h (working copy)
@@ -43,7 +43,8 @@
const SyncSourceInfo& source,
bool notifications_enabled,
size_t num_entries,
- base::Time sync_start_time);
+ base::Time sync_start_time,
+ bool retry_scheduled);
~SyncSessionSnapshot();
// Caller takes ownership of the returned dictionary.
@@ -68,6 +69,7 @@
bool notifications_enabled() const;
size_t num_entries() const;
base::Time sync_start_time() const;
+ bool retry_scheduled() const;
// Set iff this snapshot was not built using the default constructor.
bool is_initialized() const;
@@ -87,6 +89,7 @@
bool notifications_enabled_;
size_t num_entries_;
base::Time sync_start_time_;
+ bool retry_scheduled_;
bool is_initialized_;
};
« no previous file with comments | « sync/internal_api/public/sessions/model_neutral_state.cc ('k') | sync/internal_api/public/sessions/sync_session_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698