#ifndef APPS_APP_RESTORE_SERVICE_FACTORY_H_
#define APPS_APP_RESTORE_SERVICE_FACTORY_H_
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
class Profile;
namespace apps {
class AppRestoreService;
class AppRestoreServiceFactory : public BrowserContextKeyedServiceFactory {
public:
static AppRestoreService* GetForProfile(Profile* profile);
static AppRestoreServiceFactory* GetInstance();
private:
friend struct DefaultSingletonTraits<AppRestoreServiceFactory>;
AppRestoreServiceFactory();
virtual ~AppRestoreServiceFactory();
virtual KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
};
}
#endif