Index: include/AdblockPlus/WebRequest.h |
diff --git a/include/AdblockPlus/WebRequest.h b/include/AdblockPlus/WebRequest.h |
deleted file mode 100644 |
index a98ab092d1d1f3d7e90a03d6c6551429c7955f9d..0000000000000000000000000000000000000000 |
--- a/include/AdblockPlus/WebRequest.h |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-/* |
- * This file is part of Adblock Plus <https://adblockplus.org/>, |
- * Copyright (C) 2006-2017 eyeo GmbH |
- * |
- * Adblock Plus is free software: you can redistribute it and/or modify |
- * it under the terms of the GNU General Public License version 3 as |
- * published by the Free Software Foundation. |
- * |
- * Adblock Plus is distributed in the hope that it will be useful, |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
- * GNU General Public License for more details. |
- * |
- * You should have received a copy of the GNU General Public License |
- * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
- */ |
- |
-#ifndef ADBLOCK_PLUS_WEB_REQUEST_H |
-#define ADBLOCK_PLUS_WEB_REQUEST_H |
- |
-#include "IWebRequest.h" |
- |
-namespace AdblockPlus |
-{ |
- /** |
- * Web request interface. |
- */ |
- class WebRequest |
- { |
- public: |
- virtual inline ~WebRequest() {}; |
- |
- /** |
- * Performs a GET request. |
- * @param url Request URL. |
- * @param requestHeaders Request headers. |
- * @return HTTP response. |
- */ |
- virtual ServerResponse GET(const std::string& url, const HeaderList& requestHeaders) const = 0; |
- }; |
- |
- /** |
- * Shared smart pointer to a `WebRequest` instance. |
- */ |
- typedef std::shared_ptr<WebRequest> WebRequestSharedPtr; |
-} |
- |
-#endif |