OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_host.h" | 5 #include "remoting/host/server_log_entry_host.h" |
6 | 6 |
7 #include "base/strings/stringize_macros.h" | 7 #include "base/strings/stringize_macros.h" |
8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
9 #include "remoting/jingle_glue/server_log_entry.h" | 9 #include "remoting/signaling/server_log_entry.h" |
10 | 10 |
11 using base::SysInfo; | 11 using base::SysInfo; |
12 | 12 |
13 namespace remoting { | 13 namespace remoting { |
14 | 14 |
15 namespace { | 15 namespace { |
16 const char kValueEventNameSessionState[] = "session-state"; | 16 const char kValueEventNameSessionState[] = "session-state"; |
17 const char kValueEventNameHeartbeat[] = "heartbeat"; | 17 const char kValueEventNameHeartbeat[] = "heartbeat"; |
18 const char kValueEventNameHostStatus[] = "host-status"; | 18 const char kValueEventNameHostStatus[] = "host-status"; |
19 | 19 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 entry->Set(kKeyHostVersion, STRINGIZE(VERSION)); | 98 entry->Set(kKeyHostVersion, STRINGIZE(VERSION)); |
99 entry->AddCpuField(); | 99 entry->AddCpuField(); |
100 }; | 100 }; |
101 | 101 |
102 void AddConnectionTypeToLogEntry(ServerLogEntry* entry, | 102 void AddConnectionTypeToLogEntry(ServerLogEntry* entry, |
103 protocol::TransportRoute::RouteType type) { | 103 protocol::TransportRoute::RouteType type) { |
104 entry->Set(kKeyConnectionType, protocol::TransportRoute::GetTypeString(type)); | 104 entry->Set(kKeyConnectionType, protocol::TransportRoute::GetTypeString(type)); |
105 } | 105 } |
106 | 106 |
107 } // namespace remoting | 107 } // namespace remoting |
OLD | NEW |