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

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

Issue 29536629: Issue 5556 - Update to use libadblockplus revision hg:566f64c8a2a8 (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: address comments Created Sept. 8, 2017, 9:39 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/JniFilter.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 684b563214019272ab2981b146949f32f3696edd..73014c16af999afa512df53b2be55c11c74cb0f7 100644
--- a/libadblockplus-android/jni/JniCallbacks.h
+++ b/libadblockplus-android/jni/JniCallbacks.h
@@ -91,11 +91,11 @@ public:
void Callback(AdblockPlus::Notification&&);
};
-class JniWebRequest : public JniCallbackBase, public AdblockPlus::WebRequest
+class JniWebRequest : public JniCallbackBase, public AdblockPlus::IWebRequestSync
{
public:
JniWebRequest(JNIEnv* env, jobject callbackObject);
- AdblockPlus::ServerResponse GET(const std::string& url, const AdblockPlus::HeaderList& requestHeaders) const;
+ AdblockPlus::ServerResponse GET(const std::string& url, const AdblockPlus::HeaderList& requestHeaders) const override;
private:
jobject NewTuple(JNIEnv* env, const std::string& a, const std::string& b) const;
« no previous file with comments | « libadblockplus-android/jni/Android.mk ('k') | libadblockplus-android/jni/JniFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld