Do not hardcode always enabled types into settings |
||
Issue descriptionAlways-enabled user types need to be hardcoded into settings code: https://cs.chromium.org/chromium/src/components/sync/base/sync_prefs.cc?q=" == DEVICE_INFO"&sq=package:chromium&dr=C This feels odd because we have ModelType sets for everything else in model_type.h (including user selectable types). WE should either add a new model type set or infer it from existing ones.
,
Jul 4
Nope, USER_CONSENTS as well. Actually, I did create a set (AlwaysPreferredUserTypes) already in https://chromium-review.googlesource.com/c/chromium/src/+/1124330. Thus, technically this bug is fixed. However, I am not happy with existing sets. I feel like AlwaysPreferredUserTypes can be inferred and there are at least one odd comment ("and include ControlTypes()" about core types), I filled issue 860244 for this. |
||
►
Sign in to add a comment |
||
Comment 1 by jkrcal@chromium.org
, Jul 4