File indexing completed on 2024-11-24 04:54:31

0001 /*
0002     SPDX-License-Identifier: MPL-2.0
0003 */
0004 
0005 /* Copyright (c) 2015 Brian R. Bondy. Distributed under the MPL2 license.
0006  * This Source Code Form is subject to the terms of the Mozilla Public
0007  * License, v. 2.0. If a copy of the MPL was not distributed with this
0008  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
0009 
0010 #ifndef LISTS_DEFAULT_H_
0011 #define LISTS_DEFAULT_H_
0012 
0013 #include <vector>
0014 #include <string>
0015 #include "../filter_list.h"
0016 
0017 const std::string kAdBlockDefaultComponentId("cffkpbalmllkdoenhmdmpbkajipdjfam");  // NOLINT
0018 const std::string kAdBlockDefaultBase64PublicKey =
0019     "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs0qzJmHSgIiw7IGFCxij"
0020     "1NnB5hJ5ZQ1LKW9htL4EBOaMJvmqaDs/wfq0nw/goBHWsqqkMBynRTu2Hxxirvdb"
0021     "cugn1Goys5QKPgAvKwDHJp9jlnADWm5xQvPQ4GE1mK1/I3ka9cEOCzPW6GI+wGLi"
0022     "VPx9VZrxHHsSBIJRaEB5Tyi5bj0CZ+kcfMnRTsXIBw3C6xJgCVKISQUkd8mawVvG"
0023     "vqOhBOogCdb9qza5eJ1Cgx8RWKucFfaWWxKLOelCiBMT1Hm1znAoVBHG/blhJJOD"
0024     "5HcH/heRrB4MvrE1J76WF3fvZ03aHVcnlLtQeiNNOZ7VbBDXdie8Nomf/QswbBGa"
0025     "VwIDAQAB";
0026 
0027 const std::vector<FilterList> default_lists = {
0028   {
0029     "67F880F5-7602-4042-8A3D-01481FD7437A",
0030     "https://easylist.to/easylist/easylist.txt",
0031     "EasyList",
0032     {},
0033     "https://easylist.to/",
0034     "",
0035     ""
0036   }, {
0037     "48010209-AD34-4DF5-A80C-3D2A7C3920C0",
0038     "https://easylist.to/easylist/easyprivacy.txt",
0039     "EasyPrivacy",
0040     {},
0041     "https://easylist.to/",
0042     "",
0043     ""
0044   }, {
0045     "200392E7-9A0F-40DF-86EB-6AF7E4071322",
0046     "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/unbreak.txt", // NOLINT
0047     "uBlock Unbreak",
0048     {},
0049     "https://github.com/gorhill/uBlock",
0050     "",
0051     ""
0052   }, {
0053     "2FBEB0BC-E2E1-4170-BAA9-05E76AAB5BA5",
0054     "https://raw.githubusercontent.com/brave/adblock-lists/master/brave-unbreak.txt", // NOLINT
0055     "Brave Unblock",
0056     {},
0057     "https://github.com/brave/adblock-lists",
0058     "",
0059     ""
0060   }, {
0061     "BCDF774A-7845-4121-B7EB-77EB66CEDF84",
0062     "https://raw.githubusercontent.com/brave/adblock-lists/master/coin-miners.txt", // NOLINT
0063     "NoCoin Filter List",
0064     {},
0065     "https://github.com/brave/adblock-lists",
0066     "",
0067     ""
0068   }
0069 };
0070 
0071 #endif  // LISTS_DEFAULT_H_