commit | 037ad04df72ee0c826c8370e1b755dadaf9fd9d8 | [log] [tgz] |
---|---|---|
author | Yao Chen <yaochen@google.com> | Wed Jan 09 15:41:50 2019 -0800 |
committer | Yao Chen <yaochen@google.com> | Thu Jan 10 17:26:26 2019 -0800 |
tree | 131585b3026b9e508ef7426a64453e86c91b38a1 | |
parent | 5c6e4acbe1c0e8db56a605f73d94f0b19b614f8f [diff] |
Add a struct wrapper for bytes fields in stats_log cpp APIs. To avoid conflict between statslog.write() function signatures for Atom1 { Foo foo = 1 [logMode=bytes]; } and Atom2 { string bar = 1; int64 arg2 = 2; } Bug: 122571213 Test: manually tested with new atoms. Change-Id: Ied0f0bd81cef8d0964f571e921f47022301157d9 Merged-In: Ied0f0bd81cef8d0964f571e921f47022301157d9 (cherry picked from Ied0f0bd81cef8d0964f571e921f47022301157d9)