summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_unittest.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc
index a4d1421..022dbeb 100644
--- a/chrome/browser/sync/profile_sync_service_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#ifdef CHROME_PERSONALIZATION
+#ifndef COMPILING_SYNCAPI_STUB // This test requires the real deal syncapi.
#include <stack>
#include <vector>
@@ -1270,4 +1271,5 @@ TEST_F(ProfileSyncServiceTestWithData, RecoverAfterDeletingSyncDataDirectory) {
ExpectModelMatch();
}
+#endif // COMPILING_SYNCAPI_STUB
#endif // CHROME_PERSONALIZATION