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

Unified Diff: include/AdblockPlus/Platform.h

Issue 29536678: Noissue - fix a warning class 'IV8IsolateProvider' was previously declared as a struct [-Wmismatche… (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Rebased Created Sept. 5, 2017, 5:43 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld