Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6972)

Unified Diff: chrome/browser/safe_browsing/incident_reporting/state_store_data.proto

Issue 1243293003: Platform-specific prune state storage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prune1
Patch Set: moved uninstall cleanup to separate cl Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/incident_reporting/state_store_data.proto
diff --git a/chrome/browser/safe_browsing/incident_reporting/state_store_data.proto b/chrome/browser/safe_browsing/incident_reporting/state_store_data.proto
new file mode 100644
index 0000000000000000000000000000000000000000..f81e7a117867fc3ee430d5f964d6b508357bab2e
--- /dev/null
+++ b/chrome/browser/safe_browsing/incident_reporting/state_store_data.proto
@@ -0,0 +1,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;
+}

Powered by Google App Engine
This is Rietveld 408576698