| Index: chrome/browser/browsing_data/browsing_data_remover_unittest.cc
|
| diff --git a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
|
| index 5f88f21d4116168edf21584b2158a5266e63375a..d72ee1a1894f24c9e778df4b11564d31a703d450 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
|
| @@ -99,7 +99,7 @@
|
| #include "ui/gfx/favicon_size.h"
|
| #include "url/origin.h"
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| #include "chrome/browser/android/webapps/webapp_registry.h"
|
| #endif
|
|
|
| @@ -319,7 +319,7 @@ class TestStoragePartition : public StoragePartition {
|
| DISALLOW_COPY_AND_ASSIGN(TestStoragePartition);
|
| };
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| class TestWebappRegistry : public WebappRegistry {
|
| public:
|
| TestWebappRegistry() : WebappRegistry() { }
|
| @@ -1146,7 +1146,7 @@ class BrowsingDataRemoverTest : public testing::Test {
|
| remover_ =
|
| BrowsingDataRemoverFactory::GetForBrowserContext(profile_.get());
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| static_cast<ChromeBrowsingDataRemoverDelegate*>(
|
| remover_->get_embedder_delegate())->OverrideWebappRegistryForTesting(
|
| base::WrapUnique<WebappRegistry>(new TestWebappRegistry()));
|
|
|