Searched refs:prop_change (Results 1 – 3 of 3) sorted by relevance
94 void ActivityLog::LogPropChange(const PropChangeEntry& prop_change) { in LogPropChange() argument97 entry->details.prop_change = prop_change; in LogPropChange()359 Json::Value ActivityLog::EncodePropChange(const PropChangeEntry& prop_change) { in EncodePropChange() argument362 ret[kKeyPropChangeName] = Json::Value(prop_change.name); in EncodePropChange()365 switch (prop_change.type) { in EncodePropChange()367 val = Json::Value(static_cast<bool>(prop_change.value.bool_val)); in EncodePropChange()371 val = Json::Value(prop_change.value.double_val); in EncodePropChange()375 val = Json::Value(prop_change.value.int_val); in EncodePropChange()379 val = Json::Value(prop_change.value.short_val); in EncodePropChange()423 entries.append(EncodePropChange(entry.details.prop_change)); in EncodeCommonInfo()
592 ActivityLog::PropChangeEntry prop_change; in ParsePropChange() local600 prop_change.type = ActivityLog::PropChangeEntry::kBoolProp; in ParsePropChange()605 prop_change.value.bool_val = in ParsePropChange()608 prop_change.type = ActivityLog::PropChangeEntry::kDoubleProp; in ParsePropChange()613 prop_change.value.double_val = in ParsePropChange()616 prop_change.type = ActivityLog::PropChangeEntry::kIntProp; in ParsePropChange()621 prop_change.value.int_val = in ParsePropChange()624 prop_change.type = ActivityLog::PropChangeEntry::kIntProp; in ParsePropChange()629 prop_change.value.short_val = in ParsePropChange()643 prop_change.name = stored_name->c_str(); in ParsePropChange()[all …]
58 PropChangeEntry prop_change; // kPropChange member70 void LogPropChange(const PropChangeEntry& prop_change);211 Json::Value EncodePropChange(const PropChangeEntry& prop_change);