chromium/components/optimization_guide/core/optimization_filter.h

// 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_OPTIMIZATION_FILTER_H_
#define COMPONENTS_OPTIMIZATION_GUIDE_CORE_OPTIMIZATION_FILTER_H_

#include <memory>
#include <vector>

#include "base/sequence_checker.h"
#include "components/optimization_guide/core/bloom_filter.h"
#include "components/optimization_guide/proto/hints.pb.h"
#include "third_party/re2/src/re2/re2.h"
#include "url/gurl.h"

namespace optimization_guide {

RegexpList;

// OptimizationFilter represents a filter with two underlying implementations: a
// Bloom filter and sets of regexps. This class has a 1:1 mapping with an
// OptimizationFilter protobuf message where this is the logical implementation
// of the proto data.
class OptimizationFilter {};

}  // namespace optimization_guide

#endif  // COMPONENTS_OPTIMIZATION_GUIDE_CORE_OPTIMIZATION_FILTER_H_