Skip to content

Commit

Permalink
Merge pull request #1356 from brave/publisher-refactor-60
Browse files Browse the repository at this point in the history
Publisher refactor 60
  • Loading branch information
ryanml authored Jan 16, 2019
2 parents ca5993a + 86b06f0 commit c7c9142
Show file tree
Hide file tree
Showing 35 changed files with 2,071 additions and 1,020 deletions.
8 changes: 4 additions & 4 deletions browser/ui/webui/brave_rewards_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class RewardsDOMHandler : public WebUIMessageHandler,
void GetReconcileStamp(const base::ListValue* args);
void GetAddresses(const base::ListValue* args);
void SaveSetting(const base::ListValue* args);
void OnGetCurrentContributeList(
void OnContentSiteList(
std::unique_ptr<brave_rewards::ContentSiteList>,
uint32_t record);
void OnGetAllBalanceReports(
Expand Down Expand Up @@ -543,10 +543,10 @@ void RewardsDOMHandler::GetAddresses(const base::ListValue* args) {

void RewardsDOMHandler::OnAutoContributePropsReady(
std::unique_ptr<brave_rewards::AutoContributeProps> props) {
rewards_service_->GetCurrentContributeList(0, 0,
rewards_service_->GetContentSiteList(0, 0,
props->contribution_min_time, props->reconcile_stamp,
props->contribution_non_verified,
base::Bind(&RewardsDOMHandler::OnGetCurrentContributeList,
base::Bind(&RewardsDOMHandler::OnContentSiteList,
weak_factory_.GetWeakPtr()));
}

Expand Down Expand Up @@ -659,7 +659,7 @@ void RewardsDOMHandler::RestorePublishers(const base::ListValue *args) {
}
}

void RewardsDOMHandler::OnGetCurrentContributeList(
void RewardsDOMHandler::OnContentSiteList(
std::unique_ptr<brave_rewards::ContentSiteList> list,
uint32_t record) {
if (web_ui()->CanCallJavascript()) {
Expand Down
Loading

0 comments on commit c7c9142

Please sign in to comment.