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

Unified Diff: include/AdblockPlus/FilterEngine.h

Issue 5739415347396608: Expose extractHostFromURL to API (Closed)
Patch Set: Created April 22, 2014, 7:39 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
« no previous file with comments | « no previous file | lib/api.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/FilterEngine.h
===================================================================
--- a/include/AdblockPlus/FilterEngine.h
+++ b/include/AdblockPlus/FilterEngine.h
@@ -88,6 +88,7 @@
std::vector<std::string> GetElementHidingSelectors(const std::string& domain) const;
JsValuePtr GetPref(const std::string& pref) const;
void SetPref(const std::string& pref, JsValuePtr value);
+ std::string GetHostFromURL(const std::string& url);
void ForceUpdateCheck(UpdaterCallback callback = 0);
void SetFilterChangeCallback(FilterChangeCallback callback);
void RemoveFilterChangeCallback();
« no previous file with comments | « no previous file | lib/api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld