diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2014-06-27 12:09:42 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2014-06-27 14:33:19 -0400 |
commit | 08571fb7fdaef4f611f11d4456fc2c78e10d9705 (patch) | |
tree | 67eed25a00595d1cfaeb9808778670dd76f5ecef /src/mongo/db | |
parent | 3704fa06bee441dca68521b4be71edc21d00420b (diff) | |
download | mongo-08571fb7fdaef4f611f11d4456fc2c78e10d9705.tar.gz |
SERVER-14376 Move mongoutils::html namespace into mongo::html namespace.
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/clientlistplugin.cpp | 4 | ||||
-rw-r--r-- | src/mongo/db/dbwebserver.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/repl/health.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/repl/heartbeat.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/repl/member.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/repl/replset_web_handler.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/restapi.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/stats/snapshots_webplugins.cpp | 3 |
8 files changed, 8 insertions, 11 deletions
diff --git a/src/mongo/db/clientlistplugin.cpp b/src/mongo/db/clientlistplugin.cpp index 37046a3c05a..18d7ae04156 100644 --- a/src/mongo/db/clientlistplugin.cpp +++ b/src/mongo/db/clientlistplugin.cpp @@ -46,7 +46,7 @@ namespace mongo { } virtual void processOpContext(OperationContext* txn) { - using namespace mongoutils::html; + using namespace html; CurOp& co = *(txn->getCurOp()); @@ -90,7 +90,7 @@ namespace { virtual void init() {} virtual void run(OperationContext* txn, std::stringstream& ss ) { - using namespace mongoutils::html; + using namespace html; ss << "\n<table border=1 cellpadding=2 cellspacing=0>"; ss << "<tr align='left'>" diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp index f37dcb32c61..33d5e7da9a5 100644 --- a/src/mongo/db/dbwebserver.cpp +++ b/src/mongo/db/dbwebserver.cpp @@ -62,7 +62,7 @@ namespace mongo { - using namespace mongoutils::html; + using namespace html; using namespace bson; struct Timing { diff --git a/src/mongo/db/repl/health.cpp b/src/mongo/db/repl/health.cpp index aaf11da5759..960c56267b0 100644 --- a/src/mongo/db/repl/health.cpp +++ b/src/mongo/db/repl/health.cpp @@ -52,7 +52,7 @@ namespace repl { ScopedConn::M& ScopedConn::_map = *(new ScopedConn::M()); mutex ScopedConn::mapMutex("ScopedConn::mapMutex"); - using namespace mongoutils::html; + using namespace html; using namespace bson; static RamLog * _rsLog = RamLog::get("rs"); diff --git a/src/mongo/db/repl/heartbeat.cpp b/src/mongo/db/repl/heartbeat.cpp index 3de04416de8..3e1e3ae3564 100644 --- a/src/mongo/db/repl/heartbeat.cpp +++ b/src/mongo/db/repl/heartbeat.cpp @@ -45,7 +45,6 @@ #include "mongo/util/concurrency/task.h" #include "mongo/util/fail_point_service.h" #include "mongo/util/goodies.h" -#include "mongo/util/mongoutils/html.h" #include "mongo/util/ramlog.h" namespace mongo { diff --git a/src/mongo/db/repl/member.cpp b/src/mongo/db/repl/member.cpp index 03d55a0fb3c..fd953519c00 100644 --- a/src/mongo/db/repl/member.cpp +++ b/src/mongo/db/repl/member.cpp @@ -35,7 +35,7 @@ namespace mongo { namespace repl { - using namespace mongoutils::html; + using namespace html; void Member::summarizeMember(stringstream& s) const { s << tr(); diff --git a/src/mongo/db/repl/replset_web_handler.cpp b/src/mongo/db/repl/replset_web_handler.cpp index 21f013318ea..3480014607d 100644 --- a/src/mongo/db/repl/replset_web_handler.cpp +++ b/src/mongo/db/repl/replset_web_handler.cpp @@ -39,8 +39,7 @@ namespace mongo { namespace repl { using namespace bson; - using namespace mongoutils; - using namespace mongoutils::html; + using namespace html; class ReplSetHandler : public DbWebHandler { public: diff --git a/src/mongo/db/restapi.cpp b/src/mongo/db/restapi.cpp index 47f9e0d1421..7e3965b6d7f 100644 --- a/src/mongo/db/restapi.cpp +++ b/src/mongo/db/restapi.cpp @@ -53,7 +53,7 @@ namespace mongo { bool getInitialSyncCompleted(); using namespace bson; - using namespace mongoutils::html; + using namespace html; class RESTHandler : public DbWebHandler { public: diff --git a/src/mongo/db/stats/snapshots_webplugins.cpp b/src/mongo/db/stats/snapshots_webplugins.cpp index caa4b611109..176ccf24ac5 100644 --- a/src/mongo/db/stats/snapshots_webplugins.cpp +++ b/src/mongo/db/stats/snapshots_webplugins.cpp @@ -37,8 +37,7 @@ namespace mongo { namespace { - using namespace mongoutils; - using namespace mongoutils::html; + using namespace html; class WriteLockStatus : public WebStatusPlugin { public: |