Revert D8932114: [sonar] Add state tracking plumbing

Differential Revision:
D8932114

Original commit changeset: fb03babfe92b

fbshipit-source-id: a6a372a4115d69b5419a8c9924b333e7c163497b
This commit is contained in:
Daniel Abramowitz
2018-08-03 08:18:26 -07:00
committed by Facebook Github Bot
parent e82fd6371d
commit 410e6d14c8
11 changed files with 0 additions and 259 deletions

View File

@@ -9,8 +9,6 @@
#include "SonarClient.h"
#include "SonarConnectionImpl.h"
#include "SonarResponderImpl.h"
#include "SonarState.h"
#include "SonarStep.h"
#include "SonarWebSocketImpl.h"
#ifdef __ANDROID__
@@ -39,12 +37,6 @@ SonarClient* SonarClient::instance() {
return kInstance;
}
void SonarClient::setStateListener(
std::shared_ptr<SonarStateUpdateListener> stateListener) {
SONAR_LOG("Setting state listener");
sonarState_->setUpdateListener(stateListener);
}
void SonarClient::addPlugin(std::shared_ptr<SonarPlugin> plugin) {
SONAR_LOG(("SonarClient::addPlugin " + plugin->identifier()).c_str());
@@ -206,10 +198,6 @@ void SonarClient::performAndReportError(const std::function<void()>& func) {
}
}
std::string SonarClient::getState() {
return sonarState_->getState();
}
} // namespace sonar
} // namespace facebook