Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove export and expose mojo type #2883

Merged
merged 1 commit into from
Jul 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions vendor/bat-native-ledger/include/bat/ledger/publisher_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,8 @@ LEDGER_EXPORT struct ActivityInfoFilter {
uint32_t min_visits;
};

LEDGER_EXPORT struct ContributionInfo {
ContributionInfo() {}
ContributionInfo(const double &value_, const uint64_t& date_):
value(value_),
date(date_) {}

const std::string ToJson() const;
bool loadFromJson(const std::string& json);

std::string publisher; // Filled only for recurrent tips
double value;
uint64_t date;
};
using ContributionInfo = mojom::ContributionInfo;
using ContributionInfoPtr = mojom::ContributionInfoPtr;

LEDGER_EXPORT struct PublisherBanner {
PublisherBanner();
Expand Down