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/sync/sync_ui_util.h | |
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/sync/sync_ui_util.h')
-rw-r--r-- | chrome/browser/sync/sync_ui_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/sync/sync_ui_util.h b/chrome/browser/sync/sync_ui_util.h index a80359b..53f0036 100644 --- a/chrome/browser/sync/sync_ui_util.h +++ b/chrome/browser/sync/sync_ui_util.h @@ -26,6 +26,8 @@ MessageType GetStatusLabels(ProfileSyncService* service, string16* status_label, string16* link_label); +MessageType GetStatus(ProfileSyncService* service); + // Open the appropriate sync dialog for the given profile (which can be // incognito). |code| should be one of the START_FROM_* codes. void OpenSyncMyBookmarksDialog( |