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

Unified Diff: compiled/bindings/main.cpp

Issue 29630576: Issue 5146 - Part 2: Process http response in C++ (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Rebased Created Dec. 5, 2017, 6:09 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 | « compiled/StringScanner.h ('k') | compiled/subscription/DownloadableSubscription.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/bindings/main.cpp
===================================================================
--- a/compiled/bindings/main.cpp
+++ b/compiled/bindings/main.cpp
@@ -134,16 +134,17 @@
.property("requiredVersion", &DownloadableSubscription::GetRequiredVersion, &DownloadableSubscription::SetRequiredVersion)
.property("downloadCount", &DownloadableSubscription::GetDownloadCount, &DownloadableSubscription::SetDownloadCount)
.class_function("parseDownload", &DownloadableSubscription::ParseDownload)
.function("serialize", &DownloadableSubscription::Serialize);
class_<DownloadableSubscription_Parser>("DownloadableSubscription_Parser")
.property("redirect", &DownloadableSubscription_Parser::GetRedirect)
.property("homepage", &DownloadableSubscription_Parser::GetHomepage)
+ .property("error", &DownloadableSubscription_Parser::GetError)
.function("process", &DownloadableSubscription_Parser::Process)
.function("verifyChecksum", &DownloadableSubscription_Parser::VerifyChecksum)
.function("finalize", &DownloadableSubscription_Parser::Finalize);
singleton<FilterStorage>("FilterStorage", &FilterStorage::GetInstance)
.property("subscriptionCount", &FilterStorage::GetSubscriptionCount)
.function("subscriptionAt", &FilterStorage::SubscriptionAt)
.function("indexOfSubscription", &FilterStorage::IndexOfSubscription)
« no previous file with comments | « compiled/StringScanner.h ('k') | compiled/subscription/DownloadableSubscription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld