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

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

Issue 10917234: sync: make scheduling logic and job ownership more obvious. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: eof 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.cc
diff --git a/sync/internal_api/public/sessions/sync_session_snapshot.cc b/sync/internal_api/public/sessions/sync_session_snapshot.cc
index 0f6fb016cba6244fd32de0e56c6607045efbac11..193a5afafa77bc09a8790a1b4c1adbf93edfcdc3 100644
--- a/sync/internal_api/public/sessions/sync_session_snapshot.cc
+++ b/sync/internal_api/public/sessions/sync_session_snapshot.cc
@@ -21,7 +21,6 @@ SyncSessionSnapshot::SyncSessionSnapshot()
num_server_conflicts_(0),
notifications_enabled_(false),
num_entries_(0),
- retry_scheduled_(false),
is_initialized_(false) {
}
@@ -39,8 +38,7 @@ SyncSessionSnapshot::SyncSessionSnapshot(
const SyncSourceInfo& source,
bool notifications_enabled,
size_t num_entries,
- base::Time sync_start_time,
- bool retry_scheduled)
+ base::Time sync_start_time)
: model_neutral_state_(model_neutral_state),
is_share_usable_(is_share_usable),
initial_sync_ended_(initial_sync_ended),
@@ -55,7 +53,6 @@ SyncSessionSnapshot::SyncSessionSnapshot(
notifications_enabled_(notifications_enabled),
num_entries_(num_entries),
sync_start_time_(sync_start_time),
- retry_scheduled_(retry_scheduled),
is_initialized_(true) {
}
@@ -168,10 +165,6 @@ base::Time SyncSessionSnapshot::sync_start_time() const {
return sync_start_time_;
}
-bool SyncSessionSnapshot::retry_scheduled() const {
- return retry_scheduled_;
-}
-
bool SyncSessionSnapshot::is_initialized() const {
return is_initialized_;
}
« no previous file with comments | « sync/internal_api/public/sessions/sync_session_snapshot.h ('k') | sync/internal_api/public/util/syncer_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698