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

Unified Diff: components/update_client/update_query_params.cc

Issue 2898243004: Announce to Omaha that Chrome accepts CRX₂ and CRX₃ files. (Closed)
Patch Set: Through #7 Created 3 years, 7 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
« no previous file with comments | « components/update_client/protocol_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5a81a94b775bf071503ca9ec977f50c8ebcb83d2..7b576e585b25c02ffd0c17b714f5283ca27ea971 100644
--- a/components/update_client/update_query_params.cc
+++ b/components/update_client/update_query_params.cc
@@ -71,8 +71,8 @@ UpdateQueryParamsDelegate* g_delegate = NULL;
// static
std::string UpdateQueryParams::Get(ProdId prod) {
return base::StringPrintf(
- "os=%s&arch=%s&nacl_arch=%s&prod=%s%s", kOs, kArch, GetNaclArch(),
- GetProdIdString(prod),
+ "os=%s&arch=%s&nacl_arch=%s&prod=%s%s&acceptformat=crx2,crx3", kOs, kArch,
+ GetNaclArch(), GetProdIdString(prod),
g_delegate ? g_delegate->GetExtraParams().c_str() : "");
}
« no previous file with comments | « components/update_client/protocol_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698