summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_factory.h
diff options
context:
space:
mode:
authorskrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 05:00:03 +0000
committerskrul@chromium.org <skrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 05:00:03 +0000
commit8a8ce8c0491c75486edd2865dd5801a91b3fcd86 (patch)
treebae0231707269fbe73ea8da0d2fa169ec1b0be0d /chrome/browser/sync/profile_sync_factory.h
parentafd832cff8b5c78906b6208a3cd5d2305b17a54f (diff)
downloadchromium_src-8a8ce8c0491c75486edd2865dd5801a91b3fcd86.zip
chromium_src-8a8ce8c0491c75486edd2865dd5801a91b3fcd86.tar.gz
chromium_src-8a8ce8c0491c75486edd2865dd5801a91b3fcd86.tar.bz2
Unit test for autofill sync.
Including some changes to make things testable, including adding WebDatabase* to the ctor of the MA and PC, plus making some methods virtual on WebDatabase. Review URL: http://codereview.chromium.org/661316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_factory.h')
-rw-r--r--chrome/browser/sync/profile_sync_factory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_factory.h b/chrome/browser/sync/profile_sync_factory.h
index c027b0f..b11856b 100644
--- a/chrome/browser/sync/profile_sync_factory.h
+++ b/chrome/browser/sync/profile_sync_factory.h
@@ -12,6 +12,7 @@
#include "chrome/browser/sync/glue/model_associator.h"
class ProfileSyncService;
+class WebDatabase;
namespace browser_sync {
class DataTypeManager;
@@ -50,6 +51,7 @@ class ProfileSyncFactory {
// by the caller.
virtual SyncComponents CreateAutofillSyncComponents(
ProfileSyncService* profile_sync_service,
+ WebDatabase* web_database,
browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
// Instantiates both a model associator and change processor for the