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

Unified Diff: test/WebRequest.cpp

Issue 29535600: Issue 5617 - Provide with async executor bound to Platform in the future (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Sept. 4, 2017, 12:03 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
« src/Platform.cpp ('K') | « test/GlobalJsObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/WebRequest.cpp
diff --git a/test/WebRequest.cpp b/test/WebRequest.cpp
index 4bf1f543fcec1aa1da6f8fcd644b64e5b82a8d28..0ed487d8f92662975aa9a64d5d840dc911f0040a 100644
--- a/test/WebRequest.cpp
+++ b/test/WebRequest.cpp
@@ -18,6 +18,7 @@
#include <sstream>
#include "BaseJsTest.h"
#include "../src/Thread.h"
+#include "../src/DefaultWebRequest.h"
#include <atomic>
#include <mutex>
@@ -25,6 +26,10 @@ using namespace AdblockPlus;
namespace
{
+ WebRequestPtr CreateDefaultWebRequest(const Scheduler& scheduler)
+ {
+ return WebRequestPtr(new DefaultWebRequest(scheduler, WebRequestSyncPtr(new DefaultWebRequestSync())));
+ }
class BaseWebRequestTest : public BaseJsTest
{
protected:
« src/Platform.cpp ('K') | « test/GlobalJsObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld