blob: 775b72ce4d64d23ceb6c24a37b469ee29bdabd61 [file] [log] [blame]
// 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 EXTENSIONS_BROWSER_API_DECLARATIVE_NET_REQUEST_RULESET_CHECKSUM_H_
#define EXTENSIONS_BROWSER_API_DECLARATIVE_NET_REQUEST_RULESET_CHECKSUM_H_
#include <vector>
namespace extensions {
namespace declarative_net_request {
struct RulesetChecksum {
RulesetChecksum(int ruleset_id, int checksum)
: ruleset_id(ruleset_id), checksum(checksum) {}
// ID of the ruleset.
int ruleset_id;
// Checksum of the indexed ruleset.
int checksum;
};
using RulesetChecksums = std::vector<RulesetChecksum>;
} // namespace declarative_net_request
} // namespace extensions
#endif // EXTENSIONS_BROWSER_API_DECLARATIVE_NET_REQUEST_RULESET_CHECKSUM_H_