OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 syntax = "proto2"; |
| 6 |
| 7 option optimize_for = LITE_RUNTIME; |
| 8 |
| 9 package safe_browsing; |
| 10 |
| 11 message StateStoreData { |
| 12 message Incidents { |
| 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; |
| 18 } |
| 19 repeated KeyDigestMapFieldEntry key_to_digest = 1; |
| 20 } |
| 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; |
| 26 } |
| 27 repeated TypeIncidentsMapFieldEntry type_to_incidents = 1; |
| 28 } |
OLD | NEW |