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

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

Issue 29422558: Issue 5167 - Update to use libadblockplus revision dca8df9af1a7 (Closed)
Patch Set: removed unneeded intermediate variable Created April 26, 2017, 6:57 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 27269b7cb59419fcc46188a56605d0d60bdc2924..20b30fe0df14dabbfd79242c6f78dff8833858d1 100644
--- a/libadblockplus-android/jni/JniCallbacks.h
+++ b/libadblockplus-android/jni/JniCallbacks.h
@@ -53,7 +53,7 @@ class JniEventCallback : public JniCallbackBase
{
public:
JniEventCallback(JNIEnv* env, jobject callbackObject);
- void Callback(AdblockPlus::JsValueList& params);
+ void Callback(const AdblockPlus::JsValueList& params);
};
class JniUpdateAvailableCallback : public JniCallbackBase
@@ -74,7 +74,7 @@ class JniFilterChangeCallback : public JniCallbackBase
{
public:
JniFilterChangeCallback(JNIEnv* env, jobject callbackObject);
- void Callback(const std::string& arg, const AdblockPlus::JsValuePtr jsValue);
+ void Callback(const std::string& arg, const AdblockPlus::JsValue& jsValue);
};
class JniLogSystemCallback : public JniCallbackBase, public AdblockPlus::LogSystem
@@ -88,7 +88,7 @@ class JniShowNotificationCallback : public JniCallbackBase
{
public:
JniShowNotificationCallback(JNIEnv* env, jobject callbackObject);
- void Callback(const AdblockPlus::NotificationPtr&);
+ void Callback(AdblockPlus::Notification&);
};
class JniWebRequest : public JniCallbackBase, public AdblockPlus::WebRequest
« no previous file with comments | « no previous file | libadblockplus-android/jni/JniEventCallback.cpp » ('j') | libadblockplus-android/jni/JniEventCallback.cpp » ('J')

Powered by Google App Engine
This is Rietveld