1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 option optimize_for = LITE_RUNTIME;
11 message StateStoreData {
13 // The set of (key,digest) pairs for incidents of a specific type.
14 // This is wire-compatible with map<string, uint32> key_to_digest = 1;
15 message KeyDigestMapFieldEntry {
16 optional string key = 1;
17 optional uint32 digest = 2;
19 repeated KeyDigestMapFieldEntry key_to_digest = 1;
21 // The set of all (key,digest) pairs for all incident types reported.
22 // This is wire-compatible with map<int32, Incidents> type_to_incidents = 1;
23 message TypeIncidentsMapFieldEntry {
24 optional int32 type = 1;
25 optional Incidents incidents = 2;
27 repeated TypeIncidentsMapFieldEntry type_to_incidents = 1;