diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-14 20:49:04 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-14 20:49:04 +0000 |
commit | 5c086d79fabc962ec30ed6755e4a379a65681092 (patch) | |
tree | 9ff54dfa3e77c2333b30df8570cd9e0bf1d7c0a5 /chrome/browser/views/bookmark_bar_view.cc | |
parent | f017cc9f926a81638e324b51bd418ac7f7feeee0 (diff) | |
download | chromium_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.cc | 1 |
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); |