Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit a7fa526

Browse files
author
Jason Sadler
committed
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure cleanup linting Corrected actual result value getting used Updated tests Removed commented lines
1 parent ca5d4b6 commit a7fa526

10 files changed

+65760
-5
lines changed

include/bat/ledger/ledger_client.h

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ using PublisherInfoCallback = std::function<void(Result,
3131
std::unique_ptr<PublisherInfo>)>;
3232
using GetPublisherInfoListCallback =
3333
std::function<void(const PublisherInfoList&, uint32_t /* next_record */)>;
34+
using GetNicewareListCallback =
35+
std::function<void(Result, const std::string&)>;
3436

3537
class LEDGER_EXPORT LedgerClient {
3638
public:
@@ -58,6 +60,7 @@ class LEDGER_EXPORT LedgerClient {
5860
virtual void LoadPublisherList(LedgerCallbackHandler* handler) = 0;
5961

6062

63+
virtual void LoadNicewareList(ledger::GetNicewareListCallback callback) = 0;
6164

6265
virtual void SavePublisherInfo(std::unique_ptr<PublisherInfo> publisher_info,
6366
PublisherInfoCallback callback) = 0;

0 commit comments

Comments
 (0)