@mas...@chromium.org - My (heavily jetski assisted) attempt at adding to the DeviceInfo proto. I didn't realize quite how painful touching the constructor would be, and I don't have an iOS build to test the failures so its doubly painful.
Does this seem like the right direction to you?
"guid", "iPhone", "Chrome 100", "User Agent",
syncer::DeviceInfo::DeviceType::kPhone, syncer::DeviceInfo::OsType::kIOS,
syncer::DeviceInfo::FormFactor::kPhone, "device_id", "manufacturer",
"model", "full_hardware_class", base::Time::Now(), base::TimeDelta(),I will revert this. Gemini getting excited.
specific_include_rules = {
".*unittest\\.mm": [
"+components/desktop_to_mobile_promos/features.h",
],
}I will have to figure out how to unwind this in a much less ugly way. Any tips much appreciated!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Tracks whether the device has been opted into experimental triggering.
optional bool experimental_triggering_opted_in = 6;I simplified this down to a bool instead of an ENUM, I think the semantics are clearer and we can avoid doing anything on the server that required a more nuanced distiction.
| Code-Review | +1 |
LGTM.
bool GetExperimentalTriggeringOptedIn() const override;Here and throughout this patch (proto field, variables names etc.): can we add something like `glic` to this name to make it more specific? I mean in Sync code, where the filename or namespace doesn't already imply this.
"guid", "iPhone", "Chrome 100", "User Agent",
syncer::DeviceInfo::DeviceType::kPhone, syncer::DeviceInfo::OsType::kIOS,
syncer::DeviceInfo::FormFactor::kPhone, "device_id", "manufacturer",
"model", "full_hardware_class", base::Time::Now(), base::TimeDelta(),Mikel AstizI will revert this. Gemini getting excited.
Acknowledged
// Tracks whether the device has been opted into experimental triggering.
optional bool experimental_triggering_opted_in = 6;I simplified this down to a bool instead of an ENUM, I think the semantics are clearer and we can avoid doing anything on the server that required a more nuanced distiction.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |