Chromium Code Reviews| Index: remoting/base/chromoting_event.cc |
| diff --git a/remoting/base/chromoting_event.cc b/remoting/base/chromoting_event.cc |
| index e7a02eb810ad0a7490e10ab96be9776118973737..939e04fac6ef1147ec2b361d603853c40d2ae587 100644 |
| --- a/remoting/base/chromoting_event.cc |
| +++ b/remoting/base/chromoting_event.cc |
| @@ -4,10 +4,12 @@ |
| #include "remoting/base/chromoting_event.h" |
| +#include "base/strings/stringize_macros.h" |
| #include "base/sys_info.h" |
| namespace remoting { |
| +const char ChromotingEvent::kWebAppVersionKey[] = "webapp_version"; |
| const char ChromotingEvent::kCaptureLatencyKey[] = "capture_latency"; |
| const char ChromotingEvent::kConnectionErrorKey[] = "connection_error"; |
| const char ChromotingEvent::kCpuKey[] = "cpu"; |
| @@ -82,7 +84,7 @@ void ChromotingEvent::SetDouble(const std::string& key, double value) { |
| void ChromotingEvent::AddSystemInfo() { |
| SetString(kCpuKey, base::SysInfo::OperatingSystemArchitecture()); |
| SetString(kOsVersionKey, base::SysInfo::OperatingSystemVersion()); |
| - std::string osName = base::SysInfo::OperatingSystemName(); |
|
Yuwei
2016/10/13 19:06:47
osName is no longer used. Probably forgot to remov
|
| + SetString(kWebAppVersionKey, STRINGIZE(VERSION)); |
| #if defined(OS_LINUX) |
| Os os = Os::CHROMOTING_LINUX; |
| #elif defined(OS_CHROMEOS) |