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

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

Issue 375973003: Componentize component_updater: Use Configurator to build query parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
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 7c238d28ed8dc8b7c871c31e8e8edaa837674d8e..b4b29432ec810d82dd6cd1e7d38d62952202ec1a 100644
--- a/chrome/browser/component_updater/component_updater_utils.h
+++ b/chrome/browser/component_updater/component_updater_utils.h
@@ -22,6 +22,7 @@ class URLRequestContextGetter;
namespace component_updater {
+class Configurator;
struct CrxUpdateItem;
// An update protocol request starts with a common preamble which includes
@@ -44,7 +45,11 @@ struct CrxUpdateItem;
// If specified, |additional_attributes| are appended as attributes of the
// request element. The additional attributes have to be well-formed for
// insertion in the request element.
-std::string BuildProtocolRequest(const std::string& request_body,
+std::string BuildProtocolRequest(const std::string& browser_version,
+ const std::string& channel,
+ const std::string& lang,
+ const std::string& os_long_name,
+ const std::string& request_body,
const std::string& additional_attributes);
// Sends a protocol request to the the service endpoint specified by |url|.

Powered by Google App Engine
This is Rietveld 408576698