summaryrefslogtreecommitdiff
path: root/chromium/components/federated_learning/floc_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/federated_learning/floc_constants.h')
-rw-r--r--chromium/components/federated_learning/floc_constants.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/components/federated_learning/floc_constants.h b/chromium/components/federated_learning/floc_constants.h
new file mode 100644
index 00000000000..1e9a129de0f
--- /dev/null
+++ b/chromium/components/federated_learning/floc_constants.h
@@ -0,0 +1,27 @@
+// 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.
+
+#ifndef COMPONENTS_FEDERATED_LEARNING_FLOC_CONSTANTS_H_
+#define COMPONENTS_FEDERATED_LEARNING_FLOC_CONSTANTS_H_
+
+#include "base/files/file_path.h"
+
+namespace federated_learning {
+
+extern const char kManifestBlocklistFormatKey[];
+
+extern const int kCurrentBlocklistFormatVersion;
+
+// The name of the top-level directory under the user data directory that
+// contains all files and subdirectories related to the floc.
+extern const base::FilePath::CharType kTopLevelDirectoryName[];
+
+// Paths under |kTopLevelDirectoryName|
+
+// The name of the file that stores the blocklist.
+extern const base::FilePath::CharType kBlocklistFileName[];
+
+} // namespace federated_learning
+
+#endif // COMPONENTS_FEDERATED_LEARNING_FLOC_CONSTANTS_H_ \ No newline at end of file