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