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

Unified Diff: compiled/subscription/DownloadableSubscription.h

Issue 29398669: Issue 5063 - [emscripten] Make FilterNotifier calls more efficient (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created March 30, 2017, 10:08 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/shell.js ('k') | compiled/subscription/Subscription.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/DownloadableSubscription.h
===================================================================
--- a/compiled/subscription/DownloadableSubscription.h
+++ b/compiled/subscription/DownloadableSubscription.h
@@ -19,23 +19,35 @@
#include "Subscription.h"
class DownloadableSubscription : public Subscription
{
public:
explicit DownloadableSubscription(const String& id);
- SUBSCRIPTION_PROPERTY(bool, mFixedTitle, GetFixedTitle, SetFixedTitle);
- SUBSCRIPTION_STRING_PROPERTY(mHomepage, GetHomepage, SetHomepage);
- SUBSCRIPTION_PROPERTY(double, mLastCheck, GetLastCheck, SetLastCheck);
- SUBSCRIPTION_PROPERTY(double, mHardExpiration, GetHardExpiration, SetHardExpiration);
- SUBSCRIPTION_PROPERTY(double, mSoftExpiration, GetSoftExpiration, SetSoftExpiration);
- SUBSCRIPTION_PROPERTY(double, mLastDownload, GetLastDownload, SetLastDownload);
- SUBSCRIPTION_STRING_PROPERTY(mDownloadStatus, GetDownloadStatus, SetDownloadStatus);
- SUBSCRIPTION_PROPERTY(double, mLastSuccess, GetLastSuccess, SetLastSuccess);
- SUBSCRIPTION_PROPERTY(int, mErrorCount, GetErrorCount, SetErrorCount);
- SUBSCRIPTION_PROPERTY(double, mDataRevision, GetDataRevision, SetDataRevision);
- SUBSCRIPTION_STRING_PROPERTY(mRequiredVersion, GetRequiredVersion, SetRequiredVersion);
- SUBSCRIPTION_PROPERTY(int, mDownloadCount, GetDownloadCount, SetDownloadCount);
+ SUBSCRIPTION_PROPERTY(bool, mFixedTitle, SUBSCRIPTION_FIXEDTITLE,
+ GetFixedTitle, SetFixedTitle);
+ SUBSCRIPTION_STRING_PROPERTY(mHomepage, SUBSCRIPTION_HOMEPAGE,
+ GetHomepage, SetHomepage);
+ SUBSCRIPTION_PROPERTY(double, mLastCheck, SUBSCRIPTION_LASTCHECK,
+ GetLastCheck, SetLastCheck);
+ SUBSCRIPTION_PROPERTY(double, mHardExpiration, NONE,
+ GetHardExpiration, SetHardExpiration);
+ SUBSCRIPTION_PROPERTY(double, mSoftExpiration, NONE,
+ GetSoftExpiration, SetSoftExpiration);
+ SUBSCRIPTION_PROPERTY(double, mLastDownload, SUBSCRIPTION_LASTDOWNLOAD,
+ GetLastDownload, SetLastDownload);
+ SUBSCRIPTION_STRING_PROPERTY(mDownloadStatus, SUBSCRIPTION_DOWNLOADSTATUS,
+ GetDownloadStatus, SetDownloadStatus);
+ SUBSCRIPTION_PROPERTY(double, mLastSuccess, NONE,
+ GetLastSuccess, SetLastSuccess);
+ SUBSCRIPTION_PROPERTY(int, mErrorCount, SUBSCRIPTION_ERRORS,
+ GetErrorCount, SetErrorCount);
+ SUBSCRIPTION_PROPERTY(double, mDataRevision, NONE,
+ GetDataRevision, SetDataRevision);
+ SUBSCRIPTION_STRING_PROPERTY(mRequiredVersion, NONE,
+ GetRequiredVersion, SetRequiredVersion);
+ SUBSCRIPTION_PROPERTY(int, mDownloadCount, NONE,
+ GetDownloadCount, SetDownloadCount);
EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const;
};
« no previous file with comments | « compiled/shell.js ('k') | compiled/subscription/Subscription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld