blob: 61e393dfb3371b15cef1fb165903100ae5020f98 (
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
29
30
31
32
33
34
35
36
|
// 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 uint8_t kMaxNumberOfBitsInFloc;
extern const char kManifestFlocComponentFormatKey[];
extern const int kCurrentFlocComponentFormatVersion;
extern const uint8_t kSortingLshMaxBits;
extern const uint32_t kSortingLshBlockedMask;
extern const uint32_t kSortingLshSizeMask;
// 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 sorting-lsh clusters.
extern const base::FilePath::CharType kSortingLshClustersFileName[];
} // namespace federated_learning
#endif // COMPONENTS_FEDERATED_LEARNING_FLOC_CONSTANTS_H_
|