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: Removed Md5sum and associated code Created Aug. 14, 2018, 12:38 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 | compiled/StringScanner.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
@@ -39,16 +39,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,
};
template<typename T>
@@ -77,16 +79,18 @@
printfTopic(" [%i, 'filter.hitCount'],\n", Topic::FILTER_HITCOUNT);
printfTopic(" [%i, 'filter.lastHit'],\n", Topic::FILTER_LASTHIT);
printfTopic(" [%i, 'subscription.added'],\n", Topic::SUBSCRIPTION_ADDED);
printfTopic(" [%i, 'subscription.removed'],\n", Topic::SUBSCRIPTION_REMOVED);
printfTopic(" [%i, 'subscription.moved'],\n", Topic::SUBSCRIPTION_MOVED);
printfTopic(" [%i, 'subscription.title'],\n", Topic::SUBSCRIPTION_TITLE);
printfTopic(" [%i, 'subscription.disabled'],\n", Topic::SUBSCRIPTION_DISABLED);
printfTopic(" [%i, 'subscription.fixedTitle'],\n", Topic::SUBSCRIPTION_FIXEDTITLE);
+ printfTopic(" [%i, 'subscription.beforefiltersreplaced'],\n", Topic::SUBSCRIPTION_BEFORE_FILTERS_REPLACED);
+ printfTopic(" [%i, 'subscription.filtersreplaced'],\n", Topic::SUBSCRIPTION_FILTERS_REPLACED);
printfTopic(" [%i, 'subscription.homepage'],\n", Topic::SUBSCRIPTION_HOMEPAGE);
printfTopic(" [%i, 'subscription.lastCheck'],\n", Topic::SUBSCRIPTION_LASTCHECK);
printfTopic(" [%i, 'subscription.lastDownload'],\n", Topic::SUBSCRIPTION_LASTDOWNLOAD);
printfTopic(" [%i, 'subscription.downloadStatus'],\n", Topic::SUBSCRIPTION_DOWNLOADSTATUS);
printfTopic(" [%i, 'subscription.errors'],\n", Topic::SUBSCRIPTION_ERRORS);
printf("]);");
}
}
« no previous file with comments | « no previous file | compiled/StringScanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld