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

Unified Diff: components/sync/driver/user_selectable_sync_type.h

Issue 2701003002: [Sync] Clean up ModelType code. (Closed)
Patch Set: Now with EnumSet tests. Created 3 years, 10 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
Index: components/sync/driver/user_selectable_sync_type.h
diff --git a/components/sync/driver/user_selectable_sync_type.h b/components/sync/driver/user_selectable_sync_type.h
index 95600c91c89b50f830cb38dcebd1e04cd92cd71b..10fb38134a6381298a8589e25ea3ce52e7f49f90 100644
--- a/components/sync/driver/user_selectable_sync_type.h
+++ b/components/sync/driver/user_selectable_sync_type.h
@@ -31,37 +31,12 @@ enum UserSelectableSyncType {
EXTENSIONS = 6,
PROXY_TABS = 7,
APPS = 8,
- // TODO(petewil): There was talk of removing this from user selectable sync
- // types. Should we?
SYNCED_NOTIFICATIONS = 9,
WIFI_CREDENTIAL = 10,
-
READING_LIST = 11,
- // The datatypes below are implicitly synced, and are not exposed via user
- // selectable checkboxes.
// TODO(lgcheng) ARC_PACKAGE would be selectable.
pavely 2017/02/23 23:23:03 Maybe add comment here that mapping from user sele
skym 2017/02/24 18:59:07 Done.
- // AUTOFILL_PROFILE,
- // NIGORI,
- // DICTIONARY
- // SEARCH_ENGINES,
- // APP_LIST,
- // APP_SETTINGS,
- // EXTENSION_SETTINGS,
- // APP_NOTIFICATIONS,
- // DEVICE_INFO,
- // EXPERIMENTS,
- // PRIORITY_PREFERENCES,
- // SESSIONS,
- // HISTORY_DELETE_DIRECTIVES,
- // FAVICON_IMAGES,
- // FAVICON_TRACKING,
- // ARTICLE,
- // SYNCED_NOTIFICATION_APP_INFO,
- // ARC_PACKAGE,
- // PRINTERS
-
// Number of sync datatypes exposed to the user via checboxes in the UI.
SELECTABLE_DATATYPE_COUNT = 12,
};

Powered by Google App Engine
This is Rietveld 408576698