Index: include/AdblockPlus/Platform.h |
=================================================================== |
--- a/include/AdblockPlus/Platform.h |
+++ b/include/AdblockPlus/Platform.h |
@@ -25,16 +25,36 @@ |
#include "AppInfo.h" |
#include "Scheduler.h" |
#include "FilterEngine.h" |
#include <mutex> |
#include <future> |
namespace AdblockPlus |
{ |
+ /** |
+ * A factory to construct DefaultTimer. |
+ */ |
+ TimerPtr CreateDefaultTimer(); |
+ |
+ /** |
+ * A factory to construct DefaultFileSystem. |
+ */ |
+ FileSystemPtr CreateDefaultFileSystem(const Scheduler& scheduler, const std::string& basePath = std::string()); |
+ |
+ /** |
+ * A factory to construct DefaultWebRequest. |
+ */ |
+ WebRequestPtr CreateDefaultWebRequest(const Scheduler& scheduler, WebRequestSyncPtr syncImpl = nullptr); |
+ |
+ /** |
+ * A factory to construct LogSystem. |
+ */ |
+ LogSystemPtr CreateDefaultLogSystem(); |
+ |
class IV8IsolateProvider; |
sergei
2017/09/05 17:54:51
It seems there had been some conflicts in rebase a
|
class JsEngine; |
/** |
* AdblockPlus platform is the main component providing access to other |
* modules. |
* |
* It manages the functionality modules, e.g. JsEngine and FilterEngine as |