#include "remoting/signaling/server_log_entry.h"
#include "base/notreached.h"
#include "base/system/sys_info.h"
#include "remoting/base/constants.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
SysInfo;
QName;
XmlElement;
namespace remoting {
namespace {
const char kLogCommand[] = …;
const char kLogEntry[] = …;
const char kKeyEventName[] = …;
const char kKeyRole[] = …;
const char kKeyMode[] = …;
const char kValueModeIt2Me[] = …;
const char kValueModeMe2Me[] = …;
const char kKeyCpu[] = …;
}
ServerLogEntry::ServerLogEntry() = default;
ServerLogEntry::ServerLogEntry(const ServerLogEntry& other) = default;
ServerLogEntry::~ServerLogEntry() = default;
void ServerLogEntry::Set(const std::string& key, const std::string& value) { … }
void ServerLogEntry::AddCpuField() { … }
void ServerLogEntry::AddModeField(ServerLogEntry::Mode mode) { … }
void ServerLogEntry::AddRoleField(const char* role) { … }
void ServerLogEntry::AddEventNameField(const char* name) { … }
std::unique_ptr<XmlElement> ServerLogEntry::MakeStanza() { … }
std::unique_ptr<XmlElement> ServerLogEntry::ToStanza() const { … }
apis::v1::GenericLogEntry ServerLogEntry::ToGenericLogEntry() const { … }
}