#ifndef CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_MOCK_BRAILLE_CONTROLLER_H_
#define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_MOCK_BRAILLE_CONTROLLER_H_
#include "chrome/browser/extensions/api/braille_display_private/stub_braille_controller.h"
namespace extensions {
namespace api {
namespace braille_display_private {
class MockBrailleController : public StubBrailleController {
public:
MockBrailleController();
virtual scoped_ptr<DisplayState> GetDisplayState() OVERRIDE;
virtual void AddObserver(BrailleObserver* observer) OVERRIDE;
virtual void RemoveObserver(BrailleObserver* observer) OVERRIDE;
void SetAvailable(bool available);
BrailleObserver* GetObserver() const;
private:
bool available_;
BrailleObserver* observer_;
};
}
}
}
#endif