#ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_FACTORY_H_
#define CHROME_BROWSER_PREFS_PREF_SERVICE_SYNCABLE_FACTORY_H_
#include "base/prefs/pref_service_factory.h"
class PrefServiceSyncable;
namespace base {
class CommandLine;
}
namespace policy {
class PolicyService;
}
namespace user_prefs {
class PrefRegistrySyncable;
}
class PrefServiceSyncableFactory : public base::PrefServiceFactory {
public:
PrefServiceSyncableFactory();
virtual ~PrefServiceSyncableFactory();
#if defined(ENABLE_CONFIGURATION_POLICY)
void SetManagedPolicies(policy::PolicyService* service);
void SetRecommendedPolicies(policy::PolicyService* service);
#endif
void SetCommandLine(base::CommandLine* command_line);
scoped_ptr<PrefServiceSyncable> CreateSyncable(
user_prefs::PrefRegistrySyncable* registry);
private:
DISALLOW_COPY_AND_ASSIGN(PrefServiceSyncableFactory);
};
#endif