OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/server_log_entry.h" | 5 #include "remoting/host/server_log_entry.h" |
6 | 6 |
| 7 #include "base/logging.h" |
7 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
8 #include "remoting/base/constants.h" | 9 #include "remoting/base/constants.h" |
9 #include "remoting/protocol/session.h" | 10 #include "remoting/protocol/session.h" |
10 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | 11 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" |
11 | 12 |
12 using base::SysInfo; | 13 using base::SysInfo; |
13 using buzz::QName; | 14 using buzz::QName; |
14 using buzz::XmlElement; | 15 using buzz::XmlElement; |
15 using remoting::protocol::Session; | 16 using remoting::protocol::Session; |
16 | 17 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // static | 144 // static |
144 const char* ServerLogEntry::GetValueSessionState(bool connected) { | 145 const char* ServerLogEntry::GetValueSessionState(bool connected) { |
145 return connected ? kValueSessionStateConnected : kValueSessionStateClosed; | 146 return connected ? kValueSessionStateConnected : kValueSessionStateClosed; |
146 } | 147 } |
147 | 148 |
148 void ServerLogEntry::Set(const std::string& key, const std::string& value) { | 149 void ServerLogEntry::Set(const std::string& key, const std::string& value) { |
149 values_map_[key] = value; | 150 values_map_[key] = value; |
150 } | 151 } |
151 | 152 |
152 } // namespace remoting | 153 } // namespace remoting |
OLD | NEW |