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

Unified Diff: chrome/browser/sync/sync_ui_util.cc

Issue 7976018: [Sync Setup UI] Fix display of "Last Synced as..." in Personal Stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge + nit Created 9 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3ab4e7419ae08226f8a4eee450038172f0a89c26..51926f270fd2604fe1aa6b01a91120d70e90a570 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -231,14 +231,12 @@ MessageType GetStatusInfo(ProfileSyncService* service,
l10n_util::GetStringUTF16(IDS_SYNC_PASSWORD_SYNC_ATTENTION));
}
return SYNC_PROMO;
- } else {
- // First machine. Don't show promotion, just show everything
- // normal.
- if (status_label)
- status_label->assign(GetSyncedStateStatusLabel(service));
- return SYNCED;
}
}
+
+ // There is no error. Display "Last synced..." message.
+ if (status_label)
+ status_label->assign(GetSyncedStateStatusLabel(service));
return SYNCED;
} else {
// Either show auth error information with a link to re-login, auth in prog,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698