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