summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service.cc
diff options
context:
space:
mode:
authorlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 04:37:47 +0000
committerlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 04:37:47 +0000
commit52d3effc94111150965c9b386ab564e5c04e862b (patch)
tree49e487e574a7871c2aaaafbfe6e1fdd40f146aed /chrome/browser/sync/profile_sync_service.cc
parent5a7a583e86a3503c00a8e07e0b5f315c6a11a03f (diff)
downloadchromium_src-52d3effc94111150965c9b386ab564e5c04e862b.zip
chromium_src-52d3effc94111150965c9b386ab564e5c04e862b.tar.gz
chromium_src-52d3effc94111150965c9b386ab564e5c04e862b.tar.bz2
sync: Make nudge + config jobs reliable in SyncerThread2
We save nudges that are received during config. And execute them when mode changes to normal. We also save nudge and config jobs that fail due to any reason. Then we execute them either during exponential backoff or when we get connection. In short we are making the nudges and configs reliable. BUG=77820 TEST= Review URL: http://codereview.chromium.org/6812004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index dde2a0e..aa95e2a 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -522,6 +522,7 @@ void ProfileSyncService::OnBackendInitialized() {
void ProfileSyncService::OnSyncCycleCompleted() {
UpdateLastSyncedTime();
+ VLOG(2) << "Notifying observers sync cycle completed";
NotifyObservers();
}