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: updated to 4931 code review patch set 3 and later Created March 21, 2017, 10:28 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: 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 */

Powered by Google App Engine
This is Rietveld