| Index: chrome/browser/policy/cloud/device_management_service.cc
|
| diff --git a/chrome/browser/policy/cloud/device_management_service.cc b/chrome/browser/policy/cloud/device_management_service.cc
|
| index 1b23c7c0761770382365d37b4e4959d4b302fbf0..085397c2d024dcd83da6a282434bb246135e0bc0 100644
|
| --- a/chrome/browser/policy/cloud/device_management_service.cc
|
| +++ b/chrome/browser/policy/cloud/device_management_service.cc
|
| @@ -75,7 +75,6 @@ const int kPolicyNotFound = 902; // This error is not sent as HTTP status code.
|
| #if defined(OS_CHROMEOS)
|
| // Machine info keys.
|
| const char kMachineInfoHWClass[] = "hardware_class";
|
| -const char kMachineInfoBoard[] = "CHROMEOS_RELEASE_BOARD";
|
| #endif
|
|
|
| bool IsProxyError(const net::URLRequestStatus status) {
|
| @@ -181,12 +180,9 @@ const std::string& GetPlatformString() {
|
| chromeos::system::StatisticsProvider::GetInstance();
|
|
|
| std::string hwclass;
|
| - std::string board;
|
| - if (!provider->GetMachineStatistic(kMachineInfoHWClass, &hwclass) ||
|
| - !provider->GetMachineStatistic(kMachineInfoBoard, &board)) {
|
| + if (!provider->GetMachineStatistic(kMachineInfoHWClass, &hwclass))
|
| LOG(ERROR) << "Failed to get machine information";
|
| - }
|
| - os_name += ",CrOS," + board;
|
| + os_name += ",CrOS," + base::SysInfo::GetLsbReleaseBoard();
|
| os_hardware += "," + hwclass;
|
| #endif
|
|
|
|
|