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

Unified Diff: libadblockplus-android/jni/JniCallbacks.h

Issue 29397600: Issue 5031 - Avoid double deletion of C++ objects (Closed)
Patch Set: Created March 29, 2017, 11:02 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
« no previous file with comments | « no previous file | libadblockplus-android/jni/JniLogSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libadblockplus-android/jni/JniCallbacks.h
diff --git a/libadblockplus-android/jni/JniCallbacks.h b/libadblockplus-android/jni/JniCallbacks.h
index 4a112fdfdccf773a45a6d99ce92bc17740a47ddd..4566f5cff747ee0c14a8db9dc6ffb1abdeec3e4c 100644
--- a/libadblockplus-android/jni/JniCallbacks.h
+++ b/libadblockplus-android/jni/JniCallbacks.h
@@ -84,6 +84,11 @@ public:
void operator()(AdblockPlus::LogSystem::LogLevel logLevel, const std::string& message, const std::string& source);
};
+/**
+ * Shared smart pointer to a `JniLogSystemCallback` instance.
+ */
+typedef std::shared_ptr<JniLogSystemCallback> JniLogSystemCallbackPtr;
sergei 2017/03/29 11:21:55 BTW, it seems you are not working with JniCallback
+
class JniShowNotificationCallback : public JniCallbackBase
{
public:
« no previous file with comments | « no previous file | libadblockplus-android/jni/JniLogSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld