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

Unified Diff: src/DefaultWebRequestDummy.cpp

Issue 29428650: Issue 5180 - introduce asynchronous web request (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 3, 2017, 2:21 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
« no previous file with comments | « src/DefaultWebRequestCurl.cpp ('k') | src/DefaultWebRequestWinInet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/DefaultWebRequestDummy.cpp
diff --git a/src/DefaultWebRequestDummy.cpp b/src/DefaultWebRequestDummy.cpp
index 4e5fbb5d6cde1ef151fbd8defa6a051ed9751429..e772cba0a3b02632ce94fd5b0f01a27a87cb734a 100644
--- a/src/DefaultWebRequestDummy.cpp
+++ b/src/DefaultWebRequestDummy.cpp
@@ -17,11 +17,11 @@
#include <AdblockPlus/DefaultWebRequest.h>
-AdblockPlus::ServerResponse AdblockPlus::DefaultWebRequest::GET(
+AdblockPlus::ServerResponse AdblockPlus::DefaultWebRequestSync::GET(
const std::string& url, const HeaderList& requestHeaders) const
{
AdblockPlus::ServerResponse result;
- result.status = NS_ERROR_FAILURE;
+ result.status = IWebRequest::NS_ERROR_FAILURE;
result.responseStatus = 0;
return result;
}
« no previous file with comments | « src/DefaultWebRequestCurl.cpp ('k') | src/DefaultWebRequestWinInet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld