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

Unified Diff: compiled/subscription/DownloadableSubscription.cpp

Issue 29721753: Issue 6180 - use ABP_TEXT everywhere in order to let String be a UTF-8 string (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git@adb2678354813ce5b6de095072954c5a784a7bc4
Patch Set: Created March 13, 2018, 6:20 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
Index: compiled/subscription/DownloadableSubscription.cpp
diff --git a/compiled/subscription/DownloadableSubscription.cpp b/compiled/subscription/DownloadableSubscription.cpp
index e61b9b62ed03edba1d54729951c63ab59a766097..2b812ddce1dc295b0549ad4ad6d300a2d5f3cb98 100644
--- a/compiled/subscription/DownloadableSubscription.cpp
+++ b/compiled/subscription/DownloadableSubscription.cpp
@@ -31,72 +31,72 @@ OwnedString DownloadableSubscription::Serialize() const
{
OwnedString result(Subscription::Serialize());
if (mFixedTitle)
- result.append(u"fixedTitle=true\n"_str);
+ result.append(ABP_TEXT("fixedTitle=true\n"_str));
if (!mHomepage.empty())
{
- result.append(u"homepage="_str);
+ result.append(ABP_TEXT("homepage="_str));
result.append(mHomepage);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mLastCheck)
{
- result.append(u"lastCheck="_str);
+ result.append(ABP_TEXT("lastCheck="_str));
result.append(mLastCheck);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mHardExpiration)
{
- result.append(u"expires="_str);
+ result.append(ABP_TEXT("expires="_str));
result.append(mHardExpiration);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mSoftExpiration)
{
- result.append(u"softExpiration="_str);
+ result.append(ABP_TEXT("softExpiration="_str));
result.append(mSoftExpiration);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mLastDownload)
{
- result.append(u"lastDownload="_str);
+ result.append(ABP_TEXT("lastDownload="_str));
result.append(mLastDownload);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (!mDownloadStatus.empty())
{
- result.append(u"downloadStatus="_str);
+ result.append(ABP_TEXT("downloadStatus="_str));
result.append(mDownloadStatus);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mLastSuccess)
{
- result.append(u"lastSuccess="_str);
+ result.append(ABP_TEXT("lastSuccess="_str));
result.append(mLastSuccess);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mErrorCount)
{
- result.append(u"errors="_str);
+ result.append(ABP_TEXT("errors="_str));
result.append(mErrorCount);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mDataRevision)
{
- result.append(u"version="_str);
+ result.append(ABP_TEXT("version="_str));
result.append(mDataRevision);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (!mRequiredVersion.empty())
{
- result.append(u"requiredVersion="_str);
+ result.append(ABP_TEXT("requiredVersion="_str));
result.append(mRequiredVersion);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
if (mDownloadCount)
{
- result.append(u"downloadCount="_str);
+ result.append(ABP_TEXT("downloadCount="_str));
result.append(mDownloadCount);
- result.append(u'\n');
+ result.append(ABP_TEXT('\n'));
}
return result;
}

Powered by Google App Engine
This is Rietveld