Index: chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
diff --git a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
index 7e32abe2d3ae388d99e3d230b2611bb74c6c2e54..199e5d31c7fbba8e228c9a2214c1e095bca1f54a 100644 |
--- a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
+++ b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc |
@@ -7,7 +7,6 @@ |
#include <stdint.h> |
#include "base/macros.h" |
-#include "chrome/common/features.h" |
#include "chrome/test/base/testing_profile.h" |
#include "components/rappor/test_rappor_service.h" |
#include "components/variations/variations_associated_data.h" |
@@ -16,7 +15,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "url/gurl.h" |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
#include "chrome/browser/android/background_sync_launcher_android.h" |
#endif |
@@ -52,7 +51,7 @@ class BackgroundSyncControllerImplTest : public testing::Test { |
controller_( |
new TestBackgroundSyncControllerImpl(&profile_, &rappor_service_)) { |
ResetFieldTrialList(); |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
BackgroundSyncLauncherAndroid::SetPlayServicesVersionCheckDisabledForTests( |
true); |
#endif |