diff options
author | imcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 21:23:07 +0000 |
---|---|---|
committer | imcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 21:23:07 +0000 |
commit | 94bc8b95d3603afd04120085097fa7a76ab26a1e (patch) | |
tree | 37f05eb8580650e47b540a95071c525c45717311 /media/cast/logging | |
parent | 473eccc8546992855d49b260c2a373ce4c3e98af (diff) | |
download | chromium_src-94bc8b95d3603afd04120085097fa7a76ab26a1e.zip chromium_src-94bc8b95d3603afd04120085097fa7a76ab26a1e.tar.gz chromium_src-94bc8b95d3603afd04120085097fa7a76ab26a1e.tar.bz2 |
Cast: Add GeneralDescription proto to LogMetadata and populate it when
getting the logs. The current fields (os, product, product version) is
populated using chrome_version_info.h.
Review URL: https://codereview.chromium.org/317823008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/logging')
-rw-r--r-- | media/cast/logging/proto/raw_events.proto | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/media/cast/logging/proto/raw_events.proto b/media/cast/logging/proto/raw_events.proto index e94aed3..08bf53d 100644 --- a/media/cast/logging/proto/raw_events.proto +++ b/media/cast/logging/proto/raw_events.proto @@ -68,6 +68,14 @@ enum EventType { PACKET_RECEIVED = 38; } +// Contains information independent of the stream that describes the system +// setup, e.g. OS and hardware info. +message GeneralDescription { + optional string product = 1; + optional string product_version = 2; + optional string os = 3; +} + // Each log will contain one |LogMetadata|. message LogMetadata { // |true| if the events are related to audio. |false| if they are related to @@ -90,9 +98,11 @@ message LogMetadata { // to a real time and date. optional int64 reference_timestamp_ms_at_unix_epoch = 5; - // Extra data to attach to the log, e.g. system info or - // experiment tags, in key-value JSON string format. + // Extra data to attach to the log, e.g. experiment tags, + // in key-value JSON string format. The data is supplied by the application. optional string extra_data = 6; + + optional GeneralDescription general_description = 7; } message AggregatedFrameEvent { |