// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_OPTIMIZATION_GUIDE_CORE_BLOOM_FILTER_H_ #define COMPONENTS_OPTIMIZATION_GUIDE_CORE_BLOOM_FILTER_H_ #include <stdint.h> #include <string> #include <vector> #include "base/sequence_checker.h" namespace optimization_guide { // A vector of bytes (or 8-bit integers). ByteVector; // BloomFilter is a simple Bloom filter for keeping track of a set of strings. // The implementation is specifically defined to be compatible with data // and details provided from a server using the OptimizationGuide hints.proto. class BloomFilter { … }; } // namespace optimization_guide #endif // COMPONENTS_OPTIMIZATION_GUIDE_CORE_BLOOM_FILTER_H_