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

Unified Diff: src/plugin/AdblockPlusClient.h

Issue 10824027: Implement better marshaling (Closed)
Patch Set: Created May 31, 2013, 8:26 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: src/plugin/AdblockPlusClient.h
===================================================================
--- a/src/plugin/AdblockPlusClient.h
+++ b/src/plugin/AdblockPlusClient.h
@@ -41,17 +41,17 @@ public:
bool ShouldBlock(CString src, int contentType, const CString& domain, bool addDebug=false);
bool IsElementHidden(const CString& tag, IHTMLElement* pEl, const CString& domain, const CString& indent, CPluginFilter* filter);
bool IsUrlWhiteListed(const CString& url);
int GetIEVersion();
bool Matches(const std::string& url, const std::string& contentType, const std::string& domain);
- std::vector<std::string> GetElementHidingSelectors(std::string domain);
+ std::vector<std::string> GetElementHidingSelectors(const std::string& domain);
std::vector<AdblockPlus::SubscriptionPtr> FetchAvailableSubscriptions();
std::vector<AdblockPlus::FilterPtr> GetListedFilters();
AdblockPlus::FilterPtr GetFilter(std::string text);
std::vector<AdblockPlus::SubscriptionPtr> GetListedSubscriptions();
AdblockPlus::SubscriptionPtr GetSubscription(std::string url);
};
#endif // _SIMPLE_ADBLOCK_CLIENT_H_

Powered by Google App Engine
This is Rietveld