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

Unified Diff: components/update_client/protocol_builder.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 | « 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..ab273ffe0edc13a2c84d732f7a2636ebe46aa797 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.
+ base::StringAppendF(&request, "dedup=\"cr\" acceptformat=\"crx2,crx3\" ");
+
// 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