#ifndef REMOTING_CLIENT_HOST_EXPERIMENT_SENDER_H_
#define REMOTING_CLIENT_HOST_EXPERIMENT_SENDER_H_
#include <memory>
#include <string>
#include "remoting/protocol/session_plugin.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
namespace remoting {
class HostExperimentSender : public protocol::SessionPlugin {
public:
HostExperimentSender(const std::string& experiment_config);
std::unique_ptr<jingle_xmpp::XmlElement> GetNextMessage() override;
void OnIncomingMessage(const jingle_xmpp::XmlElement& attachments) override;
private:
const std::string experiment_config_;
bool message_sent_ = false;
};
}
#endif