| Index: components/update_client/update_query_params.cc
|
| diff --git a/components/update_client/update_query_params.cc b/components/update_client/update_query_params.cc
|
| index 5cd745b1198d7ae0ad408c0407b757a69e13642c..5a81a94b775bf071503ca9ec977f50c8ebcb83d2 100644
|
| --- a/components/update_client/update_query_params.cc
|
| +++ b/components/update_client/update_query_params.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/strings/stringprintf.h"
|
| #include "build/build_config.h"
|
| #include "components/update_client/update_query_params_delegate.h"
|
| +#include "components/version_info/version_info.h"
|
|
|
| #if defined(OS_WIN)
|
| #include "base/win/windows_version.h"
|
| @@ -130,6 +131,11 @@ const char* UpdateQueryParams::GetNaclArch() {
|
| }
|
|
|
| // static
|
| +std::string UpdateQueryParams::GetProdVersion() {
|
| + return version_info::GetVersionNumber();
|
| +}
|
| +
|
| +// static
|
| void UpdateQueryParams::SetDelegate(UpdateQueryParamsDelegate* delegate) {
|
| DCHECK(!g_delegate || !delegate || (delegate == g_delegate));
|
| g_delegate = delegate;
|
|
|