Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4856)

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 7481023: Adding notifications for new sync types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More changes for review feedback. Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
akalin 2011/08/04 01:26:07 notification is such an overloaded words nowadays.
Andrew T Wilson (Slow) 2011/08/07 02:45:38 I decided I think it's a poor separation of concer
+
+ // 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();
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698