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; |