Index: chrome/browser/sync/profile_sync_service.h |
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h |
index cef7d6185025d8c6c84b7868bacfea5f25ec6cad..f459541f597a9c1ee48dc81066e79bff3ddfc056 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -464,6 +464,14 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
SigninManager* signin() { return signin_.get(); } |
const std::string& cros_user() const { return cros_user_; } |
+ // Returns any promo text the sync engine wants to display on the NTP, or an |
+ // empty string if no promo is needed. |
+ string16 GetSyncNotification() const; |
+ |
+ // Marks all currently registered types as "acknowledged" so we won't prompt |
+ // the user about them any more. |
+ void AcknowledgeSyncedTypes(); |
+ |
protected: |
// Used by test classes that derive from ProfileSyncService. |
virtual browser_sync::SyncBackendHost* GetBackendForTest(); |