Index: chrome/browser/component_updater/chrome_component_updater_configurator.cc |
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator.cc b/chrome/browser/component_updater/chrome_component_updater_configurator.cc |
index 570437c2c406c25d96a5c9c76672a44cfa7667d2..dbdccf3f4361c29c675605565fc29f943848d2d8 100644 |
--- a/chrome/browser/component_updater/chrome_component_updater_configurator.cc |
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator.cc |
@@ -25,6 +25,7 @@ |
#include "components/component_updater/configurator_impl.h" |
#include "components/prefs/pref_registry_simple.h" |
#include "components/prefs/pref_service.h" |
+#include "components/update_client/update_query_params.h" |
#include "content/public/browser/browser_thread.h" |
namespace component_updater { |
@@ -45,6 +46,7 @@ class ChromeConfigurator : public update_client::Configurator { |
int UpdateDelay() const override; |
std::vector<GURL> UpdateUrl() const override; |
std::vector<GURL> PingUrl() const override; |
+ std::string GetProdId() const override; |
base::Version GetBrowserVersion() const override; |
std::string GetChannel() const override; |
std::string GetBrand() const override; |
@@ -112,6 +114,11 @@ std::vector<GURL> ChromeConfigurator::PingUrl() const { |
return configurator_impl_.PingUrl(); |
} |
+std::string ChromeConfigurator::GetProdId() const { |
+ return update_client::UpdateQueryParams::GetProdIdString( |
+ update_client::UpdateQueryParams::ProdId::CHROME); |
+} |
+ |
base::Version ChromeConfigurator::GetBrowserVersion() const { |
return configurator_impl_.GetBrowserVersion(); |
} |