| Index: remoting/host/host_details.cc
|
| diff --git a/remoting/host/host_details.cc b/remoting/host/host_details.cc
|
| index 9c9c4e97718af7055173329125a23f802ed93c3f..43493429d8859aa00124cc3287c222565a625cff 100644
|
| --- a/remoting/host/host_details.cc
|
| +++ b/remoting/host/host_details.cc
|
| @@ -24,16 +24,20 @@ std::string GetHostOperatingSystemName() {
|
| return "ChromeOS";
|
| #elif defined(OS_LINUX)
|
| return "Linux";
|
| +#elif defined(OS_ANDROID)
|
| + return "Android";
|
| +#else
|
| +#error "Unsupported host OS"
|
| #endif
|
| }
|
|
|
| // Get the host Operating System Version, removing the need to check for OS
|
| // definitions and keeps the format used consistant.
|
| std::string GetHostOperatingSystemVersion() {
|
| -#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
|
| - return base::SysInfo::OperatingSystemVersion();
|
| -#elif defined(OS_LINUX)
|
| +#if defined(OS_LINUX)
|
| return base::GetLinuxDistro();
|
| +#else
|
| + return base::SysInfo::OperatingSystemVersion();
|
| #endif
|
| }
|
|
|
|
|