| Index: chrome/browser/signin/easy_unlock_service.cc
|
| diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
|
| index 4ccbcda307e4020cac3f421746b0838d3a5579ab..2f33e2019851c6693808310b35ec1fe89e32de56 100644
|
| --- a/chrome/browser/signin/easy_unlock_service.cc
|
| +++ b/chrome/browser/signin/easy_unlock_service.cc
|
| @@ -30,7 +30,6 @@
|
| #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
|
| #include "chrome/browser/signin/signin_manager_factory.h"
|
| #include "chrome/common/chrome_switches.h"
|
| -#include "chrome/common/chrome_version_info.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/pref_registry/pref_registry_syncable.h"
|
| @@ -44,6 +43,7 @@
|
| #include "components/signin/core/browser/profile_oauth2_token_service.h"
|
| #include "components/signin/core/browser/signin_manager.h"
|
| #include "components/user_manager/user.h"
|
| +#include "components/version_info/version_info.h"
|
| #include "device/bluetooth/bluetooth_adapter.h"
|
| #include "device/bluetooth/bluetooth_adapter_factory.h"
|
|
|
| @@ -677,13 +677,12 @@ cryptauth::DeviceClassifier EasyUnlockService::GetDeviceClassifier() {
|
| device_classifier.set_device_type(cryptauth::CHROME);
|
| #endif
|
|
|
| - chrome::VersionInfo version_info;
|
| const std::vector<uint32_t>& version_components =
|
| - base::Version(version_info.Version()).components();
|
| + base::Version(version_info::GetVersionNumber()).components();
|
| if (version_components.size() > 0)
|
| device_classifier.set_device_software_version_code(version_components[0]);
|
|
|
| - device_classifier.set_device_software_package(version_info.Name());
|
| + device_classifier.set_device_software_package(version_info::GetProductName());
|
| return device_classifier;
|
| }
|
|
|
|
|