[core] Eliminate RequestBase

HTTPRequestBase can now itself be the base class.
This commit is contained in:
John Firebaugh
2016-01-15 12:36:15 -08:00
parent 0a2e4af4c5
commit 1766d7dcbf
7 changed files with 24 additions and 49 deletions

View File

@@ -25,7 +25,7 @@ public:
~HTTPAndroidContext();
HTTPRequestBase* createRequest(const std::string& url,
RequestBase::Callback,
HTTPRequestBase::Callback,
std::shared_ptr<const Response>) final;
JavaVM *vm = nullptr;
@@ -110,7 +110,7 @@ HTTPAndroidContext::~HTTPAndroidContext() {
}
HTTPRequestBase* HTTPAndroidContext::createRequest(const std::string& url,
RequestBase::Callback callback,
HTTPRequestBase::Callback callback,
std::shared_ptr<const Response> response) {
return new HTTPAndroidRequest(this, url, callback, response);
}