#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_ADDING_SCREEN_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_USER_ADDING_SCREEN_H_
#include "base/basictypes.h"
namespace chromeos {
class UserAddingScreen {
public:
struct Observer {
virtual void OnUserAddingStarted() {}
virtual void OnUserAddingFinished() {}
virtual ~Observer() {}
};
static UserAddingScreen* Get();
virtual void Start() = 0;
virtual void Cancel() = 0;
virtual bool IsRunning() = 0;
virtual void AddObserver(Observer* observer) = 0;
virtual void RemoveObserver(Observer* observer) = 0;
protected:
UserAddingScreen();
virtual ~UserAddingScreen();
DISALLOW_COPY_AND_ASSIGN(UserAddingScreen);
};
}
#endif