Index: include/AdblockPlus/IWebRequest.h |
diff --git a/include/AdblockPlus/IWebRequest.h b/include/AdblockPlus/IWebRequest.h |
index aa34362d9e09250c31532045f02331d76e79b5de..895f0170780f6044e940edd294bb43cc2431617e 100644 |
--- a/include/AdblockPlus/IWebRequest.h |
+++ b/include/AdblockPlus/IWebRequest.h |
@@ -114,6 +114,17 @@ namespace AdblockPlus |
* Unique smart pointer to an instance of `IWebRequest` implementation. |
*/ |
typedef std::unique_ptr<IWebRequest> WebRequestPtr; |
+ |
+ |
+ /** |
+ * Private functionality. |
+ */ |
+ struct IWebRequestSync |
+ { |
+ virtual ~IWebRequestSync() {} |
+ virtual ServerResponse GET(const std::string& url, const HeaderList& requestHeaders) const = 0; |
+ }; |
+ typedef std::unique_ptr<IWebRequestSync> WebRequestSyncPtr; |
} |
#endif |