src: rename namespace as chronochat

Change-Id: Idf390b1b2047c912735014d078ce099cf95026e6
diff --git a/src/profile.cpp b/src/profile.cpp
index cd69849..47c873a 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -11,7 +11,7 @@
 #include "profile.hpp"
 #include "logging.h"
 
-namespace chronos{
+namespace chronochat {
 
 using std::vector;
 using std::string;
@@ -79,7 +79,7 @@
 void
 Profile::encode(std::ostream& os) const
 {
-  Chronos::ProfileMsg profileMsg;
+  chronochat::ProfileMsg profileMsg;
   profileMsg << (*this);
   profileMsg.SerializeToOstream(&os);
 }
@@ -87,7 +87,7 @@
 void
 Profile::decode(std::istream& is)
 {
-  Chronos::ProfileMsg profileMsg;
+  chronochat::ProfileMsg profileMsg;
   profileMsg.ParseFromIstream(&is);
   profileMsg >> (*this);
 }
@@ -115,27 +115,27 @@
   return !(*this == profile);
 }
 
-Chronos::ProfileMsg&
-operator<<(Chronos::ProfileMsg& profileMsg, const Profile& profile)
+chronochat::ProfileMsg&
+operator<<(chronochat::ProfileMsg& profileMsg, const Profile& profile)
 {
 ;
   for (map<string, string>::const_iterator it = profile.begin(); it != profile.end(); it++) {
-    Chronos::ProfileMsg::ProfileEntry* profileEntry = profileMsg.add_entry();
+    chronochat::ProfileMsg::ProfileEntry* profileEntry = profileMsg.add_entry();
     profileEntry->set_oid(it->first);
     profileEntry->set_data(it->second);
   }
   return profileMsg;
 }
 
-Chronos::ProfileMsg&
-operator>>(Chronos::ProfileMsg& profileMsg, Profile& profile)
+chronochat::ProfileMsg&
+operator>>(chronochat::ProfileMsg& profileMsg, Profile& profile)
 {
   for (int i = 0; i < profileMsg.entry_size(); i++) {
-    const Chronos::ProfileMsg::ProfileEntry& profileEntry = profileMsg.entry(i);
+    const chronochat::ProfileMsg::ProfileEntry& profileEntry = profileMsg.entry(i);
     profile[profileEntry.oid()] = profileEntry.data();
   }
 
   return profileMsg;
 }
 
-} // namespace chronos
+} // namespace chronochat