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