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

Unified Diff: chrome/browser/component_updater/component_updater_utils.h

Issue 113633006: testrequest is ignored. Also added wow64 attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved wow64 to request element. Created 7 years 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/component_updater/component_updater_utils.h
diff --git a/chrome/browser/component_updater/component_updater_utils.h b/chrome/browser/component_updater/component_updater_utils.h
index f4b3fdddf0b616b60490a723b303ac7f05c90ce0..868ddb7bc919e56e1706e6221e9c990c3d7b6c08 100644
--- a/chrome/browser/component_updater/component_updater_utils.h
+++ b/chrome/browser/component_updater/component_updater_utils.h
@@ -25,14 +25,18 @@ namespace component_updater {
// <?xml version="1.0" encoding="UTF-8"?>
// <request protocol="3.0" version="chrome-32.0.1.0" prodversion="32.0.1.0"
// requestid="{7383396D-B4DD-46E1-9104-AAC6B918E792}"
-// updaterchannel="canary" arch="x86" nacl_arch="x86-64">
+// updaterchannel="canary" arch="x86" nacl_arch="x86-64"
+// ADDITIONAL ATTRIBUTES>
// <os platform="win" version="6.1" arch="x86"/>
// ... REQUEST BODY ...
// </request>
// Builds a protocol request string by creating the outer envelope for
// the request and including the request body specified as a parameter.
-std::string BuildProtocolRequest(const std::string& request_body);
+// If specified, |additional_attributes| are appended as attributes of the
+// request element.
+std::string BuildProtocolRequest(const std::string& request_body,
+ const std::string& additional_attributes);
// Sends a protocol request to the the service endpoint specified by |url|.
// The body of the request is provided by |protocol_request| and it is

Powered by Google App Engine
This is Rietveld 408576698