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

Unified Diff: include/AdblockPlus/DefaultWebRequest.h

Issue 5728380594946048: Issue 116 - Document the libadblockplus API (Closed)
Patch Set: Address all comments Created Sept. 1, 2014, 4:59 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: include/AdblockPlus/DefaultWebRequest.h
===================================================================
--- a/include/AdblockPlus/DefaultWebRequest.h
+++ b/include/AdblockPlus/DefaultWebRequest.h
@@ -22,6 +22,11 @@
namespace AdblockPlus
{
+ /**
+ * `WebRequest` implementation that uses `WinInet` on Windows and libcurl
+ * on other platforms. A dummy implementation that always reports failure is
+ * used if libcurl is not available.
+ */
class DefaultWebRequest : public WebRequest
{
ServerResponse GET(const std::string& url, const HeaderList& requestHeaders) const;

Powered by Google App Engine
This is Rietveld