summaryrefslogtreecommitdiff
path: root/chromium/components/federated_learning/floc_constants.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/federated_learning/floc_constants.cc')
-rw-r--r--chromium/components/federated_learning/floc_constants.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/components/federated_learning/floc_constants.cc b/chromium/components/federated_learning/floc_constants.cc
new file mode 100644
index 00000000000..65afb017fc2
--- /dev/null
+++ b/chromium/components/federated_learning/floc_constants.cc
@@ -0,0 +1,19 @@
+// 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.
+
+#include "components/federated_learning/floc_constants.h"
+
+namespace federated_learning {
+
+const char kManifestBlocklistFormatKey[] = "blocklist_format";
+
+const int kCurrentBlocklistFormatVersion = 1;
+
+const base::FilePath::CharType kTopLevelDirectoryName[] =
+ FILE_PATH_LITERAL("Floc");
+
+const base::FilePath::CharType kBlocklistFileName[] =
+ FILE_PATH_LITERAL("Blocklist");
+
+} // namespace federated_learning