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

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: 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 dbad83a6c776dfd6eaed490be34d4cf47bef14f1..04dcfc0715eb91beb8ce8fce3f21312e7faad001 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -173,14 +173,13 @@ 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;
}
}
+
lipalani1 2011/09/22 20:20:22 I dont think the comment is still valid.
+ // First machine, or there is no error. Don't show promotion, just show
+ // everything normal.
+ 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