Index: chrome/browser/download/download_path_reservation_tracker_unittest.cc |
diff --git a/chrome/browser/download/download_path_reservation_tracker_unittest.cc b/chrome/browser/download/download_path_reservation_tracker_unittest.cc |
index 596740768b1bcf7c6c6eba6f08ce9b3c6dcf5062..1a4fa7ccd73e4ea947c66a03e36131ab64da57f6 100644 |
--- a/chrome/browser/download/download_path_reservation_tracker_unittest.cc |
+++ b/chrome/browser/download/download_path_reservation_tracker_unittest.cc |
@@ -17,7 +17,6 @@ |
#include "build/build_config.h" |
#include "chrome/browser/download/download_path_reservation_tracker.h" |
#include "chrome/browser/download/download_target_determiner.h" |
-#include "chrome/common/features.h" |
#include "content/public/test/mock_download_item.h" |
#include "content/public/test/test_browser_thread.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -503,7 +502,7 @@ TEST_F(DownloadPathReservationTrackerTest, UnwriteableDirectory) { |
&verified); |
// Verification fails. |
EXPECT_FALSE(verified); |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
EXPECT_TRUE(reserved_path.empty()); |
#else |
EXPECT_EQ(path.BaseName().value(), reserved_path.BaseName().value()); |