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

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

Issue 1144443004: Revert of [Sync] Refactoring polling to be reliable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 c184308b88e86571f4c92811ab06745099790824..4e7a2b11b9148802a43bed46095ec0ff6c9eb3f1 100644
--- a/sync/internal_api/public/sessions/sync_session_snapshot.cc
+++ b/sync/internal_api/public/sessions/sync_session_snapshot.cc
@@ -34,7 +34,6 @@
bool notifications_enabled,
size_t num_entries,
base::Time sync_start_time,
- base::Time poll_finish_time,
const std::vector<int>& num_entries_by_type,
const std::vector<int>& num_to_delete_entries_by_type,
sync_pb::GetUpdatesCallerInfo::GetUpdatesSource legacy_updates_source)
@@ -47,7 +46,6 @@
notifications_enabled_(notifications_enabled),
num_entries_(num_entries),
sync_start_time_(sync_start_time),
- poll_finish_time_(poll_finish_time),
num_entries_by_type_(num_entries_by_type),
num_to_delete_entries_by_type_(num_to_delete_entries_by_type),
legacy_updates_source_(legacy_updates_source),
@@ -144,10 +142,6 @@
return sync_start_time_;
}
-base::Time SyncSessionSnapshot::poll_finish_time() const {
- return poll_finish_time_;
-}
-
bool SyncSessionSnapshot::is_initialized() const {
return is_initialized_;
}

Powered by Google App Engine
This is Rietveld 408576698