#ifndef CHROME_BROWSER_PROFILES_STARTUP_TASK_RUNNER_SERVICE_FACTORY_H_
#define CHROME_BROWSER_PROFILES_STARTUP_TASK_RUNNER_SERVICE_FACTORY_H_
#include "base/basictypes.h"
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
class StartupTaskRunnerService;
class PrefRegistrySyncable;
class Profile;
class StartupTaskRunnerServiceFactory
: public BrowserContextKeyedServiceFactory {
public:
static StartupTaskRunnerService* GetForProfile(Profile* profile);
static StartupTaskRunnerServiceFactory* GetInstance();
private:
friend struct DefaultSingletonTraits<StartupTaskRunnerServiceFactory>;
StartupTaskRunnerServiceFactory();
virtual ~StartupTaskRunnerServiceFactory();
virtual KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(StartupTaskRunnerServiceFactory);
};
#endif