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

Unified Diff: components/update_client/update_checker.cc

Issue 2293933003: Remove whitespace in the <ping> element closing tag in the comp updater. (Closed)
Patch Set: Remove more whitespace. Created 4 years, 4 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/component_patcher.h ('k') | components/update_client/update_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/update_checker.cc
diff --git a/components/update_client/update_checker.cc b/components/update_client/update_checker.cc
index c1cf4d7fce8dded3a25452e2829cc1cfbbadefeb..35e178734ed26548dadb3a5b3f7fad9b018c365e 100644
--- a/components/update_client/update_checker.cc
+++ b/components/update_client/update_checker.cc
@@ -64,9 +64,9 @@ bool IsEncryptionRequired(const std::vector<CrxUpdateItem*>& items) {
// An app element looks like this:
// <app appid="hnimpnehoodheedghdeeijklkeaacbdc"
// version="0.1.2.3" installsource="ondemand">
-// <updatecheck />
+// <updatecheck/>
// <packages>
-// <package fp="abcd" />
+// <package fp="abcd"/>
// </packages>
// </app>
std::string BuildUpdateCheckRequest(const Configurator& config,
@@ -109,7 +109,7 @@ std::string BuildUpdateCheckRequest(const Configurator& config,
}
base::StringAppendF(&app, "/>");
- base::StringAppendF(&app, "<ping rd=\"%d\" ping_freshness=\"%s\" />",
+ base::StringAppendF(&app, "<ping rd=\"%d\" ping_freshness=\"%s\"/>",
metadata->GetDateLastRollCall(item->id),
metadata->GetPingFreshness(item->id).c_str());
if (!item->component.fingerprint.empty()) {
« no previous file with comments | « components/update_client/component_patcher.h ('k') | components/update_client/update_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698