| Index: chrome/browser/component_updater/component_updater_configurator.h
|
| diff --git a/chrome/browser/component_updater/component_updater_configurator.h b/chrome/browser/component_updater/component_updater_configurator.h
|
| index 9cb73bd836083bf9251f943994185d4df7d07d3b..49fbf93f267f2190134354974bcdb532686ad37a 100644
|
| --- a/chrome/browser/component_updater/component_updater_configurator.h
|
| +++ b/chrome/browser/component_updater/component_updater_configurator.h
|
| @@ -11,6 +11,7 @@ class GURL;
|
|
|
| namespace base {
|
| class CommandLine;
|
| +class Version;
|
| }
|
|
|
| namespace net {
|
| @@ -53,6 +54,21 @@ class Configurator {
|
| // pings are disabled.
|
| virtual GURL PingUrl() const = 0;
|
|
|
| + // Version of the application. Used to compare the component manifests.
|
| + virtual base::Version GetBrowserVersion() const = 0;
|
| +
|
| + // Returns the value we use for the "updaterchannel=" and "prodchannel="
|
| + // parameters. Possible return values include: "canary", "dev", "beta", and
|
| + // "stable".
|
| + virtual std::string GetChannel() const = 0;
|
| +
|
| + // Returns the language for the present locale. Possible return values are
|
| + // standard tags for languages, such as "en", "en-US", "de", "fr", "af", etc.
|
| + virtual std::string GetLang() const = 0;
|
| +
|
| + // Returns the OS's long name like "Windows", "Mac OS X", etc.
|
| + virtual std::string GetOSLongName() const = 0;
|
| +
|
| // Parameters added to each url request. It can be empty if none are needed.
|
| // The return string must be safe for insertion as an attribute in an
|
| // XML element.
|
|
|