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

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: Merged with trunk. Created 9 years, 4 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 f94faa598b7f5c3a1b4dcf3176c1e3a53a2e32aa..c79565940cc3b4b986f39d8cce133234f33634df 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -471,6 +471,14 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
SigninManager* signin() { return signin_.get(); }
const std::string& cros_user() const { return cros_user_; }
+ // Returns the set of unacknowledged types (new data types added since the
+ // last call to AcknowledgedSyncTypes())..
+ syncable::ModelTypeBitSet GetUnacknowledgedTypes() 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();
« 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