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

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

Issue 29379647: Issue 4948 - add possibility to not send data depending on connection properties (Closed)
Patch Set: felix's comments Created March 24, 2017, 9:46 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 | « libadblockplus-android/jni/Android.mk ('k') | libadblockplus-android/jni/JniFilterEngine.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..81d0c792b1b70de5a439b022a5a47da0e24265e7 100644
--- a/libadblockplus-android/jni/JniCallbacks.h
+++ b/libadblockplus-android/jni/JniCallbacks.h
@@ -101,4 +101,11 @@ private:
jobject NewTuple(JNIEnv* env, const std::string& a, const std::string& b) const;
};
+class JniIsAllowedConnectionTypeCallback : public JniCallbackBase
+{
+public:
+ JniIsAllowedConnectionTypeCallback(JNIEnv* env, jobject callbackObject);
+ bool Callback(const std::string* allowedConnectionType);
+};
+
#endif /* JNICALLBACKS_H */
« no previous file with comments | « libadblockplus-android/jni/Android.mk ('k') | libadblockplus-android/jni/JniFilterEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld