| Index: chrome/common/omaha_query_params.h
|
| diff --git a/chrome/common/omaha_query_params.h b/chrome/common/omaha_query_params.h
|
| index 90059c617be903bdaabd0fc4269dcf269008fd4a..d58173262c0a93509caa5ead5356e28c2af6ea66 100644
|
| --- a/chrome/common/omaha_query_params.h
|
| +++ b/chrome/common/omaha_query_params.h
|
| @@ -24,6 +24,20 @@ class OmahaQueryParams {
|
| // prod, prodchannel, prodversion.
|
| static std::string Get(ProdId prod);
|
|
|
| + // Returns the value we use for the "os=" parameter. Possible return values
|
| + // include: "mac", "win", "android", "cros", "linux", and "openbsd".
|
| + static const char* getOS();
|
| +
|
| + // Returns the value we use for the "arch=" parameter. Possible return values
|
| + // include: "x86", "x64", and "arm".
|
| + static const char* getArch();
|
| +
|
| + // Returns the value we use for the "nacl_arch" parameter. Note that this may
|
| + // be different from the "arch" parameter above (e.g. one may be 32-bit and
|
| + // the other 64-bit). Possible return values include: "x86-32", "x86-64",
|
| + // "arm", and "mips32".
|
| + static const char* getNaclArch();
|
| +
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(OmahaQueryParams);
|
| };
|
|
|