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

Unified Diff: include/AdblockPlus/Platform.h

Issue 29533641: Issue 5569 - add the possibility to use synchronous WebRequest and base path in File System (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Sept. 1, 2017, 3:32 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 | « include/AdblockPlus/IWebRequest.h ('k') | src/DefaultFileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/Platform.h
diff --git a/include/AdblockPlus/Platform.h b/include/AdblockPlus/Platform.h
index 7956b2ee10553d719cea9e3be780ba1ac394204c..be1302b725aee0c0fe9654923328fabf575665b5 100644
--- a/include/AdblockPlus/Platform.h
+++ b/include/AdblockPlus/Platform.h
@@ -38,12 +38,12 @@ namespace AdblockPlus
/**
* A factory to construct DefaultFileSystem.
*/
- FileSystemPtr CreateDefaultFileSystem(const Scheduler& scheduler);
+ FileSystemPtr CreateDefaultFileSystem(const Scheduler& scheduler, const std::string& basePath = std::string());
/**
* A factory to construct DefaultWebRequest.
*/
- WebRequestPtr CreateDefaultWebRequest(const Scheduler& scheduler);
+ WebRequestPtr CreateDefaultWebRequest(const Scheduler& scheduler, WebRequestSyncPtr syncImpl = nullptr);
/**
* A factory to construct LogSystem.
« no previous file with comments | « include/AdblockPlus/IWebRequest.h ('k') | src/DefaultFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld