Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: shell/src/SubscriptionsCommand.h

Issue 9987009: Interface for the libadblockplus API (Closed)
Patch Set: Reduce redundant redundancy Created March 27, 2013, 6:45 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: shell/src/SubscriptionsCommand.h
===================================================================
--- a/shell/src/SubscriptionsCommand.h
+++ b/shell/src/SubscriptionsCommand.h
@@ -9,18 +9,19 @@
class SubscriptionsCommand : public Command
{
public:
- explicit SubscriptionsCommand(AdblockPlus::JsEngine& jsEngine);
+ explicit SubscriptionsCommand(AdblockPlus::FilterEngine& filterEngine);
void operator()(const std::string& arguments);
std::string GetDescription() const;
std::string GetUsage() const;
private:
- AdblockPlus::JsEngine& jsEngine;
+ AdblockPlus::FilterEngine& filterEngine;
void ShowSubscriptions();
- void AddSubscription(const std::string& url);
+ void AddSubscription(const std::string& url, const std::string& title);
void RemoveSubscription(const std::string& url);
void UpdateSubscriptions();
+ void FetchSubscriptions();
};
#endif

Powered by Google App Engine
This is Rietveld