summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service_unittest.cc
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 02:36:34 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 02:36:34 +0000
commit92ad2cd7566835836b0dc3b66c719e9bfe08e6af (patch)
treecff9514cf67a4b795847c7313d007a8c45308a55 /chrome/browser/sync/profile_sync_service_unittest.cc
parenta80dac4df5c030169f05ea207bdae06f82e656c3 (diff)
downloadchromium_src-92ad2cd7566835836b0dc3b66c719e9bfe08e6af.zip
chromium_src-92ad2cd7566835836b0dc3b66c719e9bfe08e6af.tar.gz
chromium_src-92ad2cd7566835836b0dc3b66c719e9bfe08e6af.tar.bz2
Build browser/sync files by default using a stubbed-out syncapi
implementation. The stub will be replaced once the rest of sync/engine lands as we open source the sync engine code. Review URL: http://codereview.chromium.org/165257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23004 0039d316-1c4b-4281-b951-d872f2087c98
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