| 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="
|
| + // parameters. Possible return values include: "canary", "dev", "beta", and
|
| + // "stable".
|
| + static const char* GetChannelStringHelper(version_info::Channel channel);
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(UpdateQueryParamsDelegate);
|
| };
|
|
|