Chromium Code Reviews| 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..98c82cedda4e9a9d1b54a58a9ea87fd9b69d888b 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(); |
|
akalin
2011/08/02 20:16:53
is this const-able?
Andrew T Wilson (Slow)
2011/08/02 22:07:42
Done.
|
| + |
| + // 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(); |