Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: chrome/browser/browsing_data/browsing_data_remover_unittest.cc

Issue 2619603002: Remove android_java_ui as it is not used (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));

Powered by Google App Engine
This is Rietveld 408576698