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

Unified Diff: components/update_client/protocol_builder.cc

Issue 2898243004: Announce to Omaha that Chrome accepts CRX₂ and CRX₃ files. (Closed)
Patch Set: 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 | « no previous file | components/update_client/update_query_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/protocol_builder.cc
diff --git a/components/update_client/protocol_builder.cc b/components/update_client/protocol_builder.cc
index 12fdfbc971860df1f9afe2e3ebb5bcbbcd4bd234..97104e1e14b814c3783cd9439f0375c25a48fa5a 100644
--- a/components/update_client/protocol_builder.cc
+++ b/components/update_client/protocol_builder.cc
@@ -182,6 +182,9 @@ std::string BuildProtocolRequest(
if (!additional_attributes.empty())
base::StringAppendF(&request, "%s ", additional_attributes.c_str());
+ // Constant information for this updater.
+ request.append("dedup=\"cr\" acceptformat=\"crx2,crx3\" ");
Sorin Jianu 2017/05/25 00:18:53 Maybe use StringAppend to match the code around.
waffles 2017/05/25 00:25:07 Done.
+
// Chrome version and platform information.
base::StringAppendF(
&request,
« no previous file with comments | « no previous file | components/update_client/update_query_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698