Skip to content

Commit

Permalink
using core implementation of rewards-internals in android
Browse files Browse the repository at this point in the history
  • Loading branch information
gdregalo authored and samartnik committed Aug 28, 2019
1 parent b690109 commit 2602d0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions browser/ui/webui/basic_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#include "content/public/browser/web_ui_data_source.h"
#include "content/public/common/bindings_policy.h"
#include "ui/resources/grit/webui_resources_map.h"
#if defined(OS_ANDROID)
#include "components/brave_rewards/settings/resources/grit/brave_rewards_settings_generated_map.h"
#endif

#if !defined(OS_ANDROID)
content::WebUIDataSource* CreateBasicUIHTMLSource(
Expand Down
6 changes: 3 additions & 3 deletions browser/ui/webui/brave_rewards_internals_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "brave/components/brave_rewards/resources/grit/brave_rewards_generated_map.h"
#include "brave/components/brave_rewards/resources/grit/brave_rewards_resources.h"
#else
#include "components/brave_rewards/settings/resources/grit/brave_rewards_settings_generated_map.h"
#include "components/brave_rewards/settings/resources/grit/brave_rewards_internals_generated_map.h"
#include "components/grit/components_resources.h"
#include "components/grit/components_scaled_resources.h"
#endif
Expand Down Expand Up @@ -151,8 +151,8 @@ BraveRewardsInternalsUI::BraveRewardsInternalsUI(content::WebUI* web_ui,
kBraveRewardsGenerated,
kBraveRewardsGeneratedSize,
#else
kBraveRewardsSettingsGenerated,
kBraveRewardsSettingsGeneratedSize,
kBraveRewardsInternalsGenerated,
kBraveRewardsInternalsGeneratedSize,
#endif
IDR_BRAVE_REWARDS_INTERNALS_HTML) {
auto handler_owner = std::make_unique<RewardsInternalsDOMHandler>();
Expand Down

0 comments on commit 2602d0e

Please # to comment.