forked from brave-experiments/ad-block
/
filter_list.cc
29 lines (24 loc) · 1000 Bytes
/
filter_list.cc
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
/* Copyright (c) 2015 Brian R. Bondy. Distributed under the MPL2 license.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <string>
#include <vector>
#include "./filter_list.h"
FilterList::FilterList(const std::string& uuid,
const std::string& url,
const std::string& title,
const std::vector<std::string>& langs,
const std::string& support_url,
const std::string& component_id,
const std::string& base64_public_key)
: uuid(uuid),
url(url),
title(title),
langs(langs),
support_url(support_url),
component_id(component_id),
base64_public_key(base64_public_key) {}
FilterList::FilterList(const FilterList& other) = default;
FilterList::~FilterList() {
}