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

Unified Diff: test/BaseJsTest.h

Issue 29442632: Noissue - remove dead code (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 19, 2017, 4:57 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/BaseJsTest.h
diff --git a/test/BaseJsTest.h b/test/BaseJsTest.h
index 84f439db38aad538b77e59ba01f313918f1276c6..b2dd41f1cf24fb8b43644b59c8490b142bce09fc 100644
--- a/test/BaseJsTest.h
+++ b/test/BaseJsTest.h
@@ -137,13 +137,9 @@ public:
};
-class ThrowingWebRequest : public AdblockPlus::IWebRequest, public AdblockPlus::WebRequest
+class ThrowingWebRequest : public AdblockPlus::IWebRequest
{
public:
- AdblockPlus::ServerResponse GET(const std::string& url, const AdblockPlus::HeaderList& requestHeaders) const override
- {
- throw std::runtime_error("Unexpected GET: " + url);
- }
void GET(const std::string& url, const AdblockPlus::HeaderList& requestHeaders, const GetCallback&) override
{
throw std::runtime_error("Unexpected GET: " + url);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld