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: |