| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 /** | 130 /** |
| 131 * Creates a wrapper for an existing JavaScript subscription object. | 131 * Creates a wrapper for an existing JavaScript subscription object. |
| 132 * Normally you shouldn't call this directly, but use | 132 * Normally you shouldn't call this directly, but use |
| 133 * FilterEngine::GetSubscription() instead. | 133 * FilterEngine::GetSubscription() instead. |
| 134 * @param value JavaScript subscription object. | 134 * @param value JavaScript subscription object. |
| 135 */ | 135 */ |
| 136 Subscription(JsValue&& value); | 136 Subscription(JsValue&& value); |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 /** | 139 /** |
| 140 * Shared smart pointer to a `Filter` instance. | 140 * A smart pointer to a `Filter` instance. |
| 141 */ | 141 */ |
| 142 typedef std::unique_ptr<Filter> FilterPtr; | 142 typedef std::unique_ptr<Filter> FilterPtr; |
| 143 | 143 |
| 144 /** | 144 /** |
| 145 * Shared smart pointer to a `Subscription` instance. | 145 * Shared smart pointer to a `Subscription` instance. |
| 146 */ | 146 */ |
| 147 typedef std::shared_ptr<Subscription> SubscriptionPtr; | 147 typedef std::shared_ptr<Subscription> SubscriptionPtr; |
| 148 | 148 |
| 149 /** | 149 /** |
| 150 * Main component of libadblockplus. | 150 * Main component of libadblockplus. |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 const JsValueList& param) const; | 542 const JsValueList& param) const; |
| 543 FilterPtr GetWhitelistingFilter(const std::string& url, | 543 FilterPtr GetWhitelistingFilter(const std::string& url, |
| 544 ContentTypeMask contentTypeMask, const std::string& documentUrl) const; | 544 ContentTypeMask contentTypeMask, const std::string& documentUrl) const; |
| 545 FilterPtr GetWhitelistingFilter(const std::string& url, | 545 FilterPtr GetWhitelistingFilter(const std::string& url, |
| 546 ContentTypeMask contentTypeMask, | 546 ContentTypeMask contentTypeMask, |
| 547 const std::vector<std::string>& documentUrls) const; | 547 const std::vector<std::string>& documentUrls) const; |
| 548 }; | 548 }; |
| 549 } | 549 } |
| 550 | 550 |
| 551 #endif | 551 #endif |
| OLD | NEW |