#ifndef CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNCED_NOTIFICATION_APP_INFO_SERVICE_FACTORY_H_
#define CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_SYNCED_NOTIFICATION_APP_INFO_SERVICE_FACTORY_H_
#include "base/memory/singleton.h"
#include "chrome/browser/profiles/profile.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
namespace notifier {
class SyncedNotificationAppInfoService;
class SyncedNotificationAppInfoServiceFactory
: public BrowserContextKeyedServiceFactory {
public:
static SyncedNotificationAppInfoService* GetForProfile(
Profile* profile,
Profile::ServiceAccessType service_access_type);
static SyncedNotificationAppInfoServiceFactory* GetInstance();
private:
friend struct DefaultSingletonTraits<SyncedNotificationAppInfoServiceFactory>;
SyncedNotificationAppInfoServiceFactory();
virtual ~SyncedNotificationAppInfoServiceFactory();
virtual KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
};
}
#endif