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

Unified Diff: compiled/FilterNotifier.h

Issue 29606600: Issue 5146 - Implement DownloadableSubscription parsing in C++ (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Improved logic for Process() Created Dec. 5, 2017, 7:16 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 | « compiled/Base64.cpp ('k') | compiled/Md5.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/FilterNotifier.h
===================================================================
--- a/compiled/FilterNotifier.h
+++ b/compiled/FilterNotifier.h
@@ -36,16 +36,18 @@
FILTER_HITCOUNT,
FILTER_LASTHIT,
SUBSCRIPTION_ADDED,
SUBSCRIPTION_REMOVED,
SUBSCRIPTION_MOVED,
SUBSCRIPTION_TITLE,
SUBSCRIPTION_DISABLED,
SUBSCRIPTION_FIXEDTITLE,
+ SUBSCRIPTION_BEFORE_FILTERS_REPLACED,
+ SUBSCRIPTION_FILTERS_REPLACED,
SUBSCRIPTION_HOMEPAGE,
SUBSCRIPTION_LASTCHECK,
SUBSCRIPTION_LASTDOWNLOAD,
SUBSCRIPTION_DOWNLOADSTATUS,
SUBSCRIPTION_ERRORS,
};
inline void GenerateCustomBindings()
@@ -58,16 +60,20 @@
printf(" [%i, 'filter.hitCount'],\n", Topic::FILTER_HITCOUNT);
printf(" [%i, 'filter.lastHit'],\n", Topic::FILTER_LASTHIT);
printf(" [%i, 'subscription.added'],\n", Topic::SUBSCRIPTION_ADDED);
printf(" [%i, 'subscription.removed'],\n", Topic::SUBSCRIPTION_REMOVED);
printf(" [%i, 'subscription.moved'],\n", Topic::SUBSCRIPTION_MOVED);
printf(" [%i, 'subscription.title'],\n", Topic::SUBSCRIPTION_TITLE);
printf(" [%i, 'subscription.disabled'],\n", Topic::SUBSCRIPTION_DISABLED);
printf(" [%i, 'subscription.fixedTitle'],\n", Topic::SUBSCRIPTION_FIXEDTITLE);
+ printf(" [%i, 'subscription.beforefiltersreplaced'],\n",
+ Topic::SUBSCRIPTION_BEFORE_FILTERS_REPLACED);
+ printf(" [%i, 'subscription.filtersreplaced'],\n",
+ Topic::SUBSCRIPTION_FILTERS_REPLACED);
printf(" [%i, 'subscription.homepage'],\n", Topic::SUBSCRIPTION_HOMEPAGE);
printf(" [%i, 'subscription.lastCheck'],\n", Topic::SUBSCRIPTION_LASTCHECK);
printf(" [%i, 'subscription.lastDownload'],\n", Topic::SUBSCRIPTION_LASTDOWNLOAD);
printf(" [%i, 'subscription.downloadStatus'],\n", Topic::SUBSCRIPTION_DOWNLOADSTATUS);
printf(" [%i, 'subscription.errors'],\n", Topic::SUBSCRIPTION_ERRORS);
printf("]);");
}
« no previous file with comments | « compiled/Base64.cpp ('k') | compiled/Md5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld