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

Unified Diff: shell/src/SubscriptionsCommand.h

Issue 10016005: Add API calls and stubs for filter matching and subscription management (Closed)
Patch Set: Created April 3, 2013, 12:42 p.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