diff --git a/vendor/bat-native-ledger/include/bat/ledger/publisher_info.h b/vendor/bat-native-ledger/include/bat/ledger/publisher_info.h index b2e4403e8ef1..bbd01f972073 100644 --- a/vendor/bat-native-ledger/include/bat/ledger/publisher_info.h +++ b/vendor/bat-native-ledger/include/bat/ledger/publisher_info.h @@ -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();