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

Unified Diff: components/update_client/update_query_params_delegate.h

Issue 1281913002: Componentize ComponentUpdaterConfigurator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix iOS compile Created 5 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
Index: components/update_client/update_query_params_delegate.h
diff --git a/components/update_client/update_query_params_delegate.h b/components/update_client/update_query_params_delegate.h
index 0dd97ff530b3ce682876cd3210f79f416dce2d0d..8a4d74b0e32e83dcd672094bd68dec322ee93035 100644
--- a/components/update_client/update_query_params_delegate.h
+++ b/components/update_client/update_query_params_delegate.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/basictypes.h"
+#include "components/version_info/version_info.h"
namespace update_client {
@@ -23,6 +24,11 @@ class UpdateQueryParamsDelegate {
// string should begin with a & character.
virtual std::string GetExtraParams() = 0;
+ // Returns the value we use for the "updaterchannel=" and "prodchannel="
Sorin Jianu 2015/08/12 02:27:51 This addition is suboptimal. UpdateQueryParamsDele
droger 2015/08/12 08:43:41 I can move this function elsewhere if you prefer.
Sorin Jianu 2015/08/12 17:16:55 Free function would be better imho.
droger 2015/08/13 11:27:35 I moved the function to UpdateQueryParams, it seem
+ // parameters. Possible return values include: "canary", "dev", "beta", and
+ // "stable".
+ static const char* GetChannelStringHelper(version_info::Channel channel);
+
private:
DISALLOW_COPY_AND_ASSIGN(UpdateQueryParamsDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698