blob: 9dd30c1494e76b94df9fe03ce72ab2d132dde1d9 [file] [log] [blame]
# Chrome histogram hashes translation rules
packet {
translation_table {
chrome_user_event {
action_hash_to_name { key: 10 value: "action1" }
action_hash_to_name { key: 20 value: "action2" }
}
}
}
# Known action hash, should be translated to a name
packet {
trusted_packet_sequence_id: 1
timestamp: 0
incremental_state_cleared: true
track_event {
categories: "cat1"
type: 3
name_iid: 1
chrome_user_event {
action_hash: 10
}
}
}
# Another known hash, should be translated to a name
packet {
trusted_packet_sequence_id: 1
timestamp: 0
incremental_state_cleared: true
track_event {
categories: "cat2"
type: 3
name_iid: 2
chrome_user_event {
action_hash: 20
}
}
}
# Unknown hash, should not be translated to any name
packet {
trusted_packet_sequence_id: 1
timestamp: 0
incremental_state_cleared: true
track_event {
categories: "cat3"
type: 3
name_iid: 3
chrome_user_event {
action_hash: 30
}
}
}