Skip to content

Commit

Permalink
Remove export and expose mojo type
Browse files Browse the repository at this point in the history
Resolves brave/brave-browser#5130
Minor addition to #2432
  • Loading branch information
jdkuki committed Jul 8, 2019
1 parent b0e1645 commit df9d20c
Showing 1 changed file with 2 additions and 13 deletions.
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

0 comments on commit df9d20c

Please sign in to comment.