#ifndef CHROME_COMMON_EXTENSIONS_API_SPEECH_TTS_ENGINE_MANIFEST_HANDLER_H_
#define CHROME_COMMON_EXTENSIONS_API_SPEECH_TTS_ENGINE_MANIFEST_HANDLER_H_
#include <set>
#include <string>
#include <vector>
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handler.h"
namespace extensions {
struct TtsVoice {
TtsVoice();
~TtsVoice();
std::string voice_name;
std::string lang;
std::string gender;
bool remote;
std::set<std::string> event_types;
static const std::vector<TtsVoice>* GetTtsVoices(const Extension* extension);
};
class TtsEngineManifestHandler : public ManifestHandler {
public:
TtsEngineManifestHandler();
virtual ~TtsEngineManifestHandler();
virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
private:
virtual const std::vector<std::string> Keys() const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(TtsEngineManifestHandler);
};
}
#endif