From 94bc8b95d3603afd04120085097fa7a76ab26a1e Mon Sep 17 00:00:00 2001 From: "imcheng@chromium.org" Date: Fri, 6 Jun 2014 21:23:07 +0000 Subject: 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 --- media/cast/logging/proto/raw_events.proto | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'media/cast/logging') 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 { -- cgit v1.1