#ifndef CHROME_BROWSER_SIGNIN_ACCOUNT_RECONCILOR_FACTORY_H_
#define CHROME_BROWSER_SIGNIN_ACCOUNT_RECONCILOR_FACTORY_H_
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
#include "components/signin/core/browser/account_reconcilor.h"
class AccountReconcilor;
class Profile;
class AccountReconcilorFactory : public BrowserContextKeyedServiceFactory {
public:
static AccountReconcilor* GetForProfile(Profile* profile);
static AccountReconcilorFactory* GetInstance();
private:
friend struct DefaultSingletonTraits<AccountReconcilorFactory>;
AccountReconcilorFactory();
virtual ~AccountReconcilorFactory();
virtual KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual void RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
};
#endif