| Index: remoting/host/host_experiment_servant.cc
|
| diff --git a/remoting/host/host_experiment_session_plugin.cc b/remoting/host/host_experiment_servant.cc
|
| similarity index 72%
|
| rename from remoting/host/host_experiment_session_plugin.cc
|
| rename to remoting/host/host_experiment_servant.cc
|
| index 886283fb4c2fd50453333ab893d82b4535dcd250..355e0fdc56cf84404b0ef74ab022c81eb4da819d 100644
|
| --- a/remoting/host/host_experiment_session_plugin.cc
|
| +++ b/remoting/host/host_experiment_servant.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "remoting/host/host_experiment_session_plugin.h"
|
| +#include "remoting/host/host_experiment_servant.h"
|
|
|
| #include "remoting/base/constants.h"
|
| #include "remoting/host/host_attributes.h"
|
| @@ -12,7 +12,7 @@ namespace remoting {
|
| using buzz::QName;
|
| using buzz::XmlElement;
|
|
|
| -std::unique_ptr<XmlElement> HostExperimentSessionPlugin::GetNextMessage() {
|
| +std::unique_ptr<XmlElement> HostExperimentServant::GetNextMessage() {
|
| if (attributes_sent_) {
|
| return nullptr;
|
| }
|
| @@ -23,8 +23,7 @@ std::unique_ptr<XmlElement> HostExperimentSessionPlugin::GetNextMessage() {
|
| return attributes;
|
| }
|
|
|
| -void HostExperimentSessionPlugin::OnIncomingMessage(
|
| - const XmlElement& attachments) {
|
| +void HostExperimentServant::OnIncomingMessage(const XmlElement& attachments) {
|
| if (configuration_received_) {
|
| return;
|
| }
|
| @@ -39,11 +38,11 @@ void HostExperimentSessionPlugin::OnIncomingMessage(
|
| configuration_ = configuration->BodyText();
|
| }
|
|
|
| -bool HostExperimentSessionPlugin::configuration_received() const {
|
| +bool HostExperimentServant::configuration_received() const {
|
| return configuration_received_;
|
| }
|
|
|
| -const std::string& HostExperimentSessionPlugin::configuration() const {
|
| +const std::string& HostExperimentServant::configuration() const {
|
| return configuration_;
|
| }
|
|
|
|
|