Index: chrome/browser/sync/profile_sync_service_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc |
index 9788f238df3fd3936afaef5c9f8bf2a9833cdfb1..a3efd9658481be09e11fd0181e5c48a3a481edbe 100644 |
--- a/chrome/browser/sync/profile_sync_service_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc |
@@ -43,7 +43,6 @@ |
#include "components/sync_driver/pref_names.h" |
#include "components/sync_driver/signin_manager_wrapper.h" |
#include "components/sync_driver/sync_api_component_factory_mock.h" |
-#include "components/sync_driver/sync_driver_features.h" |
#include "components/sync_driver/sync_driver_switches.h" |
#include "components/sync_driver/sync_prefs.h" |
#include "components/sync_driver/sync_service_observer.h" |
@@ -685,7 +684,7 @@ |
EXPECT_TRUE(service()->GetAccessTokenForTest().empty()); |
} |
-#if BUILDFLAG(ENABLE_PRE_SYNC_BACKUP) |
+#if defined(ENABLE_PRE_SYNC_BACKUP) |
TEST_F(ProfileSyncServiceTest, DontStartBackupOnBrowserStart) { |
CreateServiceWithoutSignIn(); |
InitializeForFirstSync(); |
@@ -784,7 +783,7 @@ |
EXPECT_FALSE(delete_dir_param[1]); |
} |
-#endif // ENABLE_PRE_SYNC_BACKUP |
+#endif |
// Verify that LastSyncedTime is cleared when the user signs out. |
TEST_F(ProfileSyncServiceTest, ClearLastSyncedTimeOnSignOut) { |