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

Unified Diff: src/DefaultFileSystem.h

Issue 29731562: Issue 6477 - separate done and error callbacks in IFileSystem::Read (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git@c0a6434596a83383e37678ef3b6ecef00ed6a261
Patch Set: Created March 23, 2018, 10:58 a.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
Index: src/DefaultFileSystem.h
diff --git a/src/DefaultFileSystem.h b/src/DefaultFileSystem.h
index 204be06a5651491211cdfe218bbc5b828c505061..60dcb5aa8cd6ea2f6f05fd3c299cf9f22b1ffbfb 100644
--- a/src/DefaultFileSystem.h
+++ b/src/DefaultFileSystem.h
@@ -54,7 +54,8 @@ namespace AdblockPlus
public:
explicit DefaultFileSystem(const Scheduler& scheduler, std::unique_ptr<DefaultFileSystemSync> syncImpl);
void Read(const std::string& fileName,
- const ReadCallback& callback) const override;
+ const ReadCallback& doneCallback,
+ const Callback& errorCallback) const override;
void Write(const std::string& fileName,
const IOBuffer& data,
const Callback& callback) override;
« no previous file with comments | « lib/prefs.js ('k') | src/DefaultFileSystem.cpp » ('j') | src/FileSystemJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld