summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_ui_util.h
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/sync/sync_ui_util.h
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/sync/sync_ui_util.h')
-rw-r--r--chrome/browser/sync/sync_ui_util.h2
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(