summaryrefslogtreecommitdiff
path: root/chromium/components/federated_learning/proto
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/federated_learning/proto')
-rw-r--r--chromium/components/federated_learning/proto/BUILD.gn9
-rw-r--r--chromium/components/federated_learning/proto/blocklist.proto13
2 files changed, 22 insertions, 0 deletions
diff --git a/chromium/components/federated_learning/proto/BUILD.gn b/chromium/components/federated_learning/proto/BUILD.gn
new file mode 100644
index 00000000000..e3154e9be25
--- /dev/null
+++ b/chromium/components/federated_learning/proto/BUILD.gn
@@ -0,0 +1,9 @@
+# Copyright 2020 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.
+
+import("//third_party/protobuf/proto_library.gni")
+
+proto_library("federated_learning") {
+ sources = [ "blocklist.proto" ]
+}
diff --git a/chromium/components/federated_learning/proto/blocklist.proto b/chromium/components/federated_learning/proto/blocklist.proto
new file mode 100644
index 00000000000..f31f26712c4
--- /dev/null
+++ b/chromium/components/federated_learning/proto/blocklist.proto
@@ -0,0 +1,13 @@
+// Copyright 2020 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 federated_learning.proto;
+option java_package = "org.chromium.components.federated_learning.proto";
+
+message Blocklist {
+ repeated int64 entries = 1 [packed = true];
+}