Index: chrome/browser/sync/profile_sync_components_factory_mock.h |
diff --git a/chrome/browser/sync/profile_sync_components_factory_mock.h b/chrome/browser/sync/profile_sync_components_factory_mock.h |
index 548ca427da594381069a88257a1ddeb63367c0d6..e9c227e294a0b4e8eeb344760df7415bd931ff20 100644 |
--- a/chrome/browser/sync/profile_sync_components_factory_mock.h |
+++ b/chrome/browser/sync/profile_sync_components_factory_mock.h |
@@ -51,9 +51,11 @@ class ProfileSyncComponentsFactoryMock : public ProfileSyncComponentsFactory { |
MOCK_METHOD2(CreateSessionSyncComponents, |
SyncComponents(ProfileSyncService* profile_sync_service, |
browser_sync::DataTypeErrorHandler* error_handler)); |
+#if defined(ENABLE_THEMES) |
MOCK_METHOD2(CreateThemeSyncComponents, |
SyncComponents(ProfileSyncService* profile_sync_service, |
browser_sync::DataTypeErrorHandler* error_handler)); |
+#endif |
MOCK_METHOD3(CreateTypedUrlSyncComponents, |
SyncComponents( |
ProfileSyncService* profile_sync_service, |