1// Copyright 2023 The Chromium Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto2"; 6 7package metrics.structured; 8 9option optimize_for = LITE_RUNTIME; 10 11import "structured_data.proto"; 12 13// This proto is used for storing event information for structured 14// metrics. All changes should be backwards-compatible. This file is manually 15// synced between chromium and platform2. Any changes should first be made to 16// chromium and then copied to platform2. 17// 18// chromium path: components/metrics/structured/storage.proto 19// platform2 path: metrics/structured/proto/storage.proto 20 21// On-device storage for events that have been recorded but not yet uploaded. 22message EventsProto { 23 // Events not associated with the UMA client_id. 24 // TODO(b/334983021) rename field on platform2. 25 repeated StructuredEventProto events = 1; 26 27 // Events associated with the UMA client_id. 28 repeated StructuredEventProto uma_events = 2 [deprecated = true]; 29} 30