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

Unified Diff: include/AdblockPlus/JsEngine.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: include/AdblockPlus/JsEngine.h
diff --git a/include/AdblockPlus/JsEngine.h b/include/AdblockPlus/JsEngine.h
index d45e731d2eb89106607b7498658ae0476bb1ab35..4309044e0aecb8c026a20f50aa2a70216b161341 100644
--- a/include/AdblockPlus/JsEngine.h
+++ b/include/AdblockPlus/JsEngine.h
@@ -218,6 +218,14 @@ namespace AdblockPlus
*/
JsValueList TakeJsValues(const JsWeakValuesID& id);
+ /**
+ * Extracts earlier stored `JsValue`s from `JsEgnine` but does not remove
+ * them, one still must call `TakeJsValues`.
+ * @param id `JsWeakValuesID` of values.
+ * @return `JsValueList` of stored values.
+ */
+ JsValueList GetJsValues(const JsWeakValuesID& id);
+
/*
* Private functionality required to implement timers.
* @param arguments `v8::FunctionCallbackInfo` is the arguments received in C++
« no previous file with comments | « include/AdblockPlus/IFileSystem.h ('k') | lib/io.js » ('j') | src/FileSystemJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld