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

Unified Diff: components/sync_driver/sync_service.h

Issue 1304933010: [Sync] Move data type logic from PSSA to PSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update OnUserChoseDatatypes() comment. Created 5 years, 3 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/sync/test/integration/sync_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/sync_service.h
diff --git a/components/sync_driver/sync_service.h b/components/sync_driver/sync_service.h
index 5e30509a9319cf580c3a4a6d5c791ac1a145c012..22ba44111595efa7d9fbe7710dcb7dc13848700b 100644
--- a/components/sync_driver/sync_service.h
+++ b/components/sync_driver/sync_service.h
@@ -141,11 +141,11 @@ class SyncService : public DataTypeEncryptionHandler {
// superset of the active types (see GetActiveDataTypes()).
virtual syncer::ModelTypeSet GetPreferredDataTypes() const = 0;
- // Called when a user chooses which data types to sync as part of the sync
- // setup wizard. |sync_everything| represents whether they chose the
- // "keep everything synced" option; if true, |chosen_types| will be ignored
- // and all data types will be synced. |sync_everything| means "sync all
- // current and future data types."
+ // Called when a user chooses which data types to sync. |sync_everything|
+ // represents whether they chose the "keep everything synced" option; if
+ // true, |chosen_types| will be ignored and all data types will be synced.
+ // |sync_everything| means "sync all current and future data types."
+ // |chosen_types| must be a subset of syncer::UserSelectableTypes().
virtual void OnUserChoseDatatypes(bool sync_everything,
syncer::ModelTypeSet chosen_types) = 0;
« no previous file with comments | « chrome/browser/sync/test/integration/sync_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698