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