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

Unified Diff: include/AdblockPlus/WebRequest.h

Issue 29527821: Issue 5556 - Update to use libadblockplus revision hg:36e9993fa36c (Closed)
Patch Set: Created Aug. 25, 2017, 6:12 p.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/Scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « include/AdblockPlus/Scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld