Index: chrome/browser/update_client/chrome_update_query_params_delegate.cc |
diff --git a/chrome/browser/update_client/chrome_update_query_params_delegate.cc b/chrome/browser/update_client/chrome_update_query_params_delegate.cc |
index 6af75dcba3be031c88f2ee40620133a2a30ccb5a..0e6b2abe0c54ebc7440df6c7d21e19f66118c7df 100644 |
--- a/chrome/browser/update_client/chrome_update_query_params_delegate.cc |
+++ b/chrome/browser/update_client/chrome_update_query_params_delegate.cc |
@@ -7,7 +7,8 @@ |
#include "base/lazy_instance.h" |
#include "base/strings/stringprintf.h" |
#include "chrome/browser/browser_process.h" |
-#include "chrome/common/chrome_version_info.h" |
+#include "chrome/common/channel_info.h" |
+#include "components/version_info/version_info.h" |
namespace { |
@@ -35,14 +36,14 @@ ChromeUpdateQueryParamsDelegate::GetInstance() { |
} |
std::string ChromeUpdateQueryParamsDelegate::GetExtraParams() { |
- return base::StringPrintf("&prodchannel=%s&prodversion=%s&lang=%s", |
- GetChannelString(), |
- chrome::VersionInfo().Version().c_str(), GetLang()); |
+ return base::StringPrintf( |
+ "&prodchannel=%s&prodversion=%s&lang=%s", GetChannelString(), |
+ version_info::GetVersionNumber().c_str(), GetLang()); |
} |
// static |
const char* ChromeUpdateQueryParamsDelegate::GetChannelString() { |
- switch (chrome::VersionInfo::GetChannel()) { |
+ switch (chrome::GetChannel()) { |
case version_info::Channel::STABLE: |
return kStable; |
break; |