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

Unified Diff: include/AdblockPlus/DefaultWebRequest.h

Issue 29537555: Issue 5556 - Update to use libadblockplus revision hg:566f64c8a2a8 (Closed)
Patch Set: Created Sept. 6, 2017, 8:11 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 | « include/AdblockPlus/DefaultLogSystem.h ('k') | include/AdblockPlus/FileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/DefaultWebRequest.h
diff --git a/include/AdblockPlus/DefaultWebRequest.h b/include/AdblockPlus/DefaultWebRequest.h
deleted file mode 100644
index 0c7e8721f04e6f01080a10c220c6011b4c399765..0000000000000000000000000000000000000000
--- a/include/AdblockPlus/DefaultWebRequest.h
+++ /dev/null
@@ -1,47 +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_DEFAULT_WEB_REQUEST_H
-#define ADBLOCK_PLUS_DEFAULT_WEB_REQUEST_H
-
-#include "WebRequest.h"
-
-namespace AdblockPlus
-{
- /**
- * `WebRequest` implementation that uses `WinInet` on Windows and libcurl
- * on other platforms. A dummy implementation that always reports failure is
- * used if libcurl is not available.
- */
- class DefaultWebRequestSync : public WebRequest
- {
- ServerResponse GET(const std::string& url, const HeaderList& requestHeaders) const;
- };
-
- class DefaultWebRequest : public IWebRequest
- {
- public:
- explicit DefaultWebRequest(const WebRequestSharedPtr& syncImpl);
- ~DefaultWebRequest();
-
- void GET(const std::string& url, const HeaderList& requestHeaders, const GetCallback& getCallback) override;
- private:
- WebRequestSharedPtr syncImpl;
- };
-}
-
-#endif
« no previous file with comments | « include/AdblockPlus/DefaultLogSystem.h ('k') | include/AdblockPlus/FileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld