Rename facebook::sonar namespace

Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/271

Reviewed By: passy

Differential Revision: D9861393

Pulled By: jknoxville

fbshipit-source-id: d65f751c35028748915023f33f273d6ec45863c8
This commit is contained in:
John Knox
2018-09-18 07:16:54 -07:00
committed by Facebook Github Bot
parent 159ce69bc8
commit a480be90a2
40 changed files with 96 additions and 96 deletions

View File

@@ -17,7 +17,7 @@ class SonarStep;
class SonarStateUpdateListener;
namespace facebook {
namespace sonar {
namespace flipper {
enum State { success, in_progress, failed };
@@ -38,7 +38,7 @@ class SonarState {
SonarState();
void setUpdateListener(std::shared_ptr<SonarStateUpdateListener>);
std::string getState();
std::vector<facebook::sonar::StateElement> getStateElements();
std::vector<facebook::flipper::StateElement> getStateElements();
/* To record a state update, call start() with the name of the step to get a
SonarStep object. Call complete on this to register it successful,
@@ -54,5 +54,5 @@ class SonarState {
std::shared_ptr<SonarStateUpdateListener> mListener = nullptr;
std::string log;
std::vector<std::string> insertOrder;
std::map<std::string, facebook::sonar::State> stateMap;
std::map<std::string, facebook::flipper::State> stateMap;
};