Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: chrome/browser/extensions/updater/chrome_update_client_config.cc

Issue 2340113002: Inject the prodid for the extensions and component updaters. (Closed)
Patch Set: Remove "chromium" as a possible value in comment. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/updater/chrome_update_client_config.cc
diff --git a/chrome/browser/extensions/updater/chrome_update_client_config.cc b/chrome/browser/extensions/updater/chrome_update_client_config.cc
index cd0ef215ba877f2c1cd184cdf6169f1f27b7b5a5..11690a85f34d220acae7703a28d47967f781000d 100644
--- a/chrome/browser/extensions/updater/chrome_update_client_config.cc
+++ b/chrome/browser/extensions/updater/chrome_update_client_config.cc
@@ -10,6 +10,7 @@
#include "chrome/browser/update_client/chrome_update_query_params_delegate.h"
#include "chrome/common/channel_info.h"
#include "components/prefs/pref_service.h"
+#include "components/update_client/update_query_params.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
@@ -52,6 +53,11 @@ std::vector<GURL> ChromeUpdateClientConfig::PingUrl() const {
return impl_.PingUrl();
}
+std::string ChromeUpdateClientConfig::GetProdId() const {
+ return update_client::UpdateQueryParams::GetProdIdString(
+ update_client::UpdateQueryParams::ProdId::CRX);
+}
+
base::Version ChromeUpdateClientConfig::GetBrowserVersion() const {
return impl_.GetBrowserVersion();
}
« no previous file with comments | « chrome/browser/extensions/updater/chrome_update_client_config.h ('k') | components/update_client/configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698