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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_impl.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
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_core.cc ('k') | components/sync_driver/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host_impl.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl.cc b/chrome/browser/sync/glue/sync_backend_host_impl.cc
index b84389c8fe64faa338bb32179f684e8ae36f4231..fa0ba02baa3b337efda2115451c2a6894b6bc7db 100644
--- a/chrome/browser/sync/glue/sync_backend_host_impl.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_impl.cc
@@ -187,7 +187,7 @@
registrar_->sync_thread()->message_loop()->PostTask(FROM_HERE,
base::Bind(&SyncBackendHostCore::DoStartSyncing,
- core_.get(), routing_info, sync_prefs_->GetLastPollTime()));
+ core_.get(), routing_info));
}
void SyncBackendHostImpl::SetEncryptionPassphrase(const std::string& passphrase,
@@ -719,9 +719,6 @@
SDVLOG(1) << "Got snapshot " << snapshot.ToString();
- if (!snapshot.poll_finish_time().is_null())
- sync_prefs_->SetLastPollTime(snapshot.poll_finish_time());
-
// Process any changes to the datatypes we're syncing.
// TODO(sync): add support for removing types.
if (initialized())
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_core.cc ('k') | components/sync_driver/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698