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

Unified Diff: include/AdblockPlus/IWebRequest.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/ITimer.h ('k') | include/AdblockPlus/JsEngine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/IWebRequest.h
diff --git a/include/AdblockPlus/IWebRequest.h b/include/AdblockPlus/IWebRequest.h
index 110d25fdebdbdf2530f568ef547a25595da0c5ac..895f0170780f6044e940edd294bb43cc2431617e 100644
--- a/include/AdblockPlus/IWebRequest.h
+++ b/include/AdblockPlus/IWebRequest.h
@@ -1,6 +1,6 @@
/*
* This file is part of Adblock Plus <https://adblockplus.org/>,
- * Copyright (C) 2006-2017 eyeo GmbH
+ * Copyright (C) 2006-present 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
@@ -114,6 +114,17 @@ namespace AdblockPlus
* Unique smart pointer to an instance of `IWebRequest` implementation.
*/
typedef std::unique_ptr<IWebRequest> WebRequestPtr;
+
+
+ /**
+ * Private functionality.
+ */
+ struct IWebRequestSync
+ {
+ virtual ~IWebRequestSync() {}
+ virtual ServerResponse GET(const std::string& url, const HeaderList& requestHeaders) const = 0;
+ };
+ typedef std::unique_ptr<IWebRequestSync> WebRequestSyncPtr;
}
#endif
« no previous file with comments | « include/AdblockPlus/ITimer.h ('k') | include/AdblockPlus/JsEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld