diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 19:23:14 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 19:23:14 +0000 |
commit | a68dfce63e3ea34605e423f9fa1f8787f3d213ff (patch) | |
tree | 45c0099857202dfff3e50484dd1b23a5691b3533 /chrome/browser/sync/sync_ui_util.h | |
parent | 9e63fded0cfe8c190294f5f26137afda39cbf3f2 (diff) | |
download | chromium_src-a68dfce63e3ea34605e423f9fa1f8787f3d213ff.zip chromium_src-a68dfce63e3ea34605e423f9fa1f8787f3d213ff.tar.gz chromium_src-a68dfce63e3ea34605e423f9fa1f8787f3d213ff.tar.bz2 |
Create a new code path to generate sync strings for the new tab page different from those used on the settings' page.
This will allow us to show on the settings page the current sync status as well as a message regarding passwords.
BUG=69622
TEST=see bug
Review URL: http://codereview.chromium.org/6350008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72171 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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/sync/sync_ui_util.h b/chrome/browser/sync/sync_ui_util.h index 95e3ac7..5ea41f3 100644 --- a/chrome/browser/sync/sync_ui_util.h +++ b/chrome/browser/sync/sync_ui_util.h @@ -39,6 +39,11 @@ MessageType GetStatusLabels(ProfileSyncService* service, string16* status_label, string16* link_label); +// Same as above but for use specifically on the New Tab Page. +MessageType GetStatusLabelsForNewTabPage(ProfileSyncService* service, + string16* status_label, + string16* link_label); + MessageType GetStatus(ProfileSyncService* service); // Determines whether or not the sync error button should be visible. |