Skip to content

Commit

Permalink
remove //chrome deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Sep 22, 2024
1 parent 4802e77 commit 590e715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include "brave/components/brave_rewards/core/global_constants.h"
#include "brave/components/greaselion/browser/buildflags/buildflags.h"
#include "brave/components/l10n/common/test/scoped_default_locale.h"
#include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service_factory.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_browser_process.h"
#include "components/prefs/pref_service.h"
Expand Down Expand Up @@ -42,10 +40,7 @@ class RewardsServiceJPTest : public testing::Test {
profile_ = CreateBraveRewardsProfile(temp_dir_.GetPath());
ASSERT_TRUE(profile_);
rewards_service_ = std::make_unique<RewardsServiceImpl>(
profile()->GetPrefs(), profile()->GetPath(),
FaviconServiceFactory::GetForProfile(
profile(), ServiceAccessType::EXPLICIT_ACCESS),
BitmapFetcherServiceFactory::GetForBrowserContext(profile()),
profile()->GetPrefs(), profile()->GetPath(), nullptr, nullptr,
profile()->GetDefaultStoragePartition(),
#if BUILDFLAG(ENABLE_GREASELION)
nullptr,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#include "brave/components/brave_rewards/core/global_constants.h"
#include "brave/components/greaselion/browser/buildflags/buildflags.h"
#include "brave/components/l10n/common/test/scoped_default_locale.h"
#include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service_factory.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_browser_process.h"
#include "components/prefs/pref_service.h"
Expand Down Expand Up @@ -69,10 +67,7 @@ class RewardsServiceTest : public testing::Test {
ASSERT_TRUE(profile_.get());

rewards_service_ = std::make_unique<RewardsServiceImpl>(
profile()->GetPrefs(), profile()->GetPath(),
FaviconServiceFactory::GetForProfile(
profile(), ServiceAccessType::EXPLICIT_ACCESS),
BitmapFetcherServiceFactory::GetForBrowserContext(profile()),
profile()->GetPrefs(), profile()->GetPath(), nullptr, nullptr,
profile()->GetDefaultStoragePartition(),
#if BUILDFLAG(ENABLE_GREASELION)
nullptr,
Expand Down

0 comments on commit 590e715

Please sign in to comment.