blob: f81e7a117867fc3ee430d5f964d6b508357bab2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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<string, uint32> 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<int32, Incidents> type_to_incidents = 1;
message TypeIncidentsMapFieldEntry {
optional int32 type = 1;
optional Incidents incidents = 2;
}
repeated TypeIncidentsMapFieldEntry type_to_incidents = 1;
}
|