Index: chrome/browser/sync/sync_ui_util.cc |
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc |
index 8cf7b78b9bfa7bd08f2b74ee37ad649245890702..2137f85dfc6e8cb0e576f53a52f041cede7808b4 100644 |
--- a/chrome/browser/sync/sync_ui_util.cc |
+++ b/chrome/browser/sync/sync_ui_util.cc |
@@ -510,6 +510,13 @@ void ConstructAboutInformation(ProfileSyncService* service, |
strings->SetString("summary", |
ProfileSyncService::BuildSyncStatusSummaryText( |
full_status.summary)); |
+ if (full_status.summary == sync_api::SyncManager::Status::UNININITIALIZED) { |
rlarocque
2012/02/02 22:44:13
I'm not sure this is a good idea.
What is the p
lipalani1
2012/02/03 01:55:39
Answer in the previous comment.
On 2012/02/02 22:4
rlarocque
2012/02/03 18:55:03
I still think this is unusual.
We have plenty o
|
+ strings->Set("summary_explanation_needed", |
+ new base::FundamentalValue(true)); |
+ std::string message = "A sync has not happened since restart. "; |
+ message += "The following values are speculative."; |
+ strings->SetString("summary_explanation_message", message); |
+ } |
strings->SetString("version", GetVersionString()); |
strings->Set("authenticated", |
@@ -560,7 +567,7 @@ void ConstructAboutInformation(ProfileSyncService* service, |
sync_ui_util::AddBoolSyncDetail(details, "Syncing", full_status.syncing); |
sync_ui_util::AddBoolSyncDetail(details, |
"Initial Sync Ended", |
- full_status.initial_sync_ended); |
+ full_status.sync_count > 0); |
rlarocque
2012/02/02 22:44:13
That's not what initial_sync_ended used to mean.
lipalani1
2012/02/03 01:55:39
code reverted. I kind of don't like that piece of
|
sync_ui_util::AddIntSyncDetail(details, |
"Updates Available", |
full_status.updates_available); |