chromium/components/subresource_filter/core/common/unindexed_ruleset.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/subresource_filter/core/common/unindexed_ruleset.h"

#include "base/check.h"
#include "base/check_op.h"
#include "base/not_fatal_until.h"
#include "base/numerics/safe_conversions.h"

namespace subresource_filter {

proto;

// UnindexedRulesetReader ------------------------------------------------------

UnindexedRulesetReader::UnindexedRulesetReader(
    google::protobuf::io::ZeroCopyInputStream* stream)
    :{}

UnindexedRulesetReader::~UnindexedRulesetReader() = default;

bool UnindexedRulesetReader::ReadNextChunk(proto::FilteringRules* chunk) {}

// UnindexedRulesetWriter ------------------------------------------------------

UnindexedRulesetWriter::UnindexedRulesetWriter(
    google::protobuf::io::ZeroCopyOutputStream* stream,
    int max_rules_per_chunk)
    :{}

UnindexedRulesetWriter::~UnindexedRulesetWriter() {}

bool UnindexedRulesetWriter::AddUrlRule(const proto::UrlRule& rule) {}

bool UnindexedRulesetWriter::Finish() {}

bool UnindexedRulesetWriter::WritePendingChunk() {}

}  // namespace subresource_filter