summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-14 20:49:04 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-14 20:49:04 +0000
commit5c086d79fabc962ec30ed6755e4a379a65681092 (patch)
tree9ff54dfa3e77c2333b30df8570cd9e0bf1d7c0a5 /chrome/browser/views/bookmark_bar_view.cc
parentf017cc9f926a81638e324b51bd418ac7f7feeee0 (diff)
downloadchromium_src-5c086d79fabc962ec30ed6755e4a379a65681092.zip
chromium_src-5c086d79fabc962ec30ed6755e4a379a65681092.tar.gz
chromium_src-5c086d79fabc962ec30ed6755e4a379a65681092.tar.bz2
Add a UI helper method to just get the sync status without needing labels.
Patch by thiago.farina@gmail.com ( original code review: http://codereview.chromium.org/469017 ). BUG=none TEST=trybots Review URL: http://codereview.chromium.org/486044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34487 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view.cc')
-rw-r--r--chrome/browser/views/bookmark_bar_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc
index 59c85c2..2a2cece 100644
--- a/chrome/browser/views/bookmark_bar_view.cc
+++ b/chrome/browser/views/bookmark_bar_view.cc
@@ -1719,6 +1719,7 @@ bool BookmarkBarView::ShouldShowSyncErrorButton() {
if (sync_service_ && sync_service_->HasSyncSetupCompleted()) {
string16 status_text;
string16 link_text;
+ // TODO(akalin): use sync_ui_util::GetStatus instead.
sync_ui_util::MessageType sync_status;
sync_status = sync_ui_util::GetStatusLabels(
sync_service_, &status_text, &link_text);