| Index: base/version.h
|
| diff --git a/base/version.h b/base/version.h
|
| index 25b570a4e3f157636cd0e22f095ff368a56a30d9..d044b2c394ebd62b1b00562a218097b8e22e7a0d 100644
|
| --- a/base/version.h
|
| +++ b/base/version.h
|
| @@ -25,13 +25,17 @@ class BASE_EXPORT Version {
|
|
|
| Version(const Version& other);
|
|
|
| - ~Version();
|
| -
|
| // Initializes from a decimal dotted version number, like "0.1.1".
|
| // Each component is limited to a uint16_t. Call IsValid() to learn
|
| // the outcome.
|
| explicit Version(const std::string& version_str);
|
|
|
| + // Initializes from a vector of components, like {1, 2, 3, 4}. Call IsValid()
|
| + // to learn the outcome.
|
| + explicit Version(std::vector<uint32_t> components);
|
| +
|
| + ~Version();
|
| +
|
| // Returns true if the object contains a valid version number.
|
| bool IsValid() const;
|
|
|
|
|