#ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_ACCEPT_LANGUAGES_FACTORY_H_
#define CHROME_BROWSER_TRANSLATE_TRANSLATE_ACCEPT_LANGUAGES_FACTORY_H_
#include "base/basictypes.h"
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
class TranslateAcceptLanguages;
class TranslateAcceptLanguagesFactory
: public BrowserContextKeyedServiceFactory {
public:
static TranslateAcceptLanguages* GetForBrowserContext(
content::BrowserContext* browser_context);
static TranslateAcceptLanguagesFactory* GetInstance();
private:
friend struct DefaultSingletonTraits<TranslateAcceptLanguagesFactory>;
TranslateAcceptLanguagesFactory();
virtual ~TranslateAcceptLanguagesFactory();
virtual KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(TranslateAcceptLanguagesFactory);
};
#endif