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

Replace donation with tip strings #2388

Merged
merged 1 commit into from
May 8, 2019
Merged

Replace donation with tip strings #2388

merged 1 commit into from
May 8, 2019

Conversation

NejcZdovc
Copy link
Contributor

@NejcZdovc NejcZdovc commented May 8, 2019

Resolves brave/brave-browser#4345

Submitter Checklist:

Test Plan:

tips flows are covered with browser tests (thx again @emerick 😃)
I would say to just make sure that thing builds and that you can tip a publisher

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@@ -661,20 +661,6 @@ void BatPublishers::OnPublisherStateSaved(ledger::Result result) {
}
}

std::vector<ledger::ContributionInfo>
BatPublishers::GetRecurringDonationList() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is not needed anymore as we don't use it

@@ -446,11 +446,6 @@ void LedgerImpl::LoadNicewareList(ledger::GetNicewareListCallback callback) {
ledger_client_->LoadNicewareList(callback);
}

std::vector<ledger::ContributionInfo>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not used anymore

@@ -87,15 +87,12 @@ class LedgerImpl : public ledger::Ledger,
void SetMediaPublisherInfo(const std::string& media_key,
const std::string& publisher_id) override;

std::vector<ledger::ContributionInfo>
GetRecurringDonationPublisherInfo() override;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not used anymore

Copy link
Collaborator

@tmancey tmancey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM+++

@NejcZdovc NejcZdovc merged commit a8fac15 into master May 8, 2019
@NejcZdovc NejcZdovc deleted the donate-tip branch May 8, 2019 14:04
@@ -32,8 +32,8 @@ source_set("browser_process") {
"brave_stats_updater_util.h",
"brave_tab_helpers.cc",
"brave_tab_helpers.h",
"brave_rewards/donations_dialog.cc",
"brave_rewards/donations_dialog.h",
"brave_rewards/tip_dialog.cc",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this stuff needs to be in brave_rewards_enabled guard

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also this should be under browser/ui/brave_rewards

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix the first one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename donation(s) to tip(s)
3 participants