// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. syntax = "proto2"; option optimize_for = LITE_RUNTIME; package safe_browsing; message StateStoreData { message Incidents { // The set of (key,digest) pairs for incidents of a specific type. // This is wire-compatible with map key_to_digest = 1; message KeyDigestMapFieldEntry { optional string key = 1; optional uint32 digest = 2; } repeated KeyDigestMapFieldEntry key_to_digest = 1; } // The set of all (key,digest) pairs for all incident types reported. // This is wire-compatible with map type_to_incidents = 1; message TypeIncidentsMapFieldEntry { optional int32 type = 1; optional Incidents incidents = 2; } repeated TypeIncidentsMapFieldEntry type_to_incidents = 1; }