Support 32-bit subversion fields in base::Version.
BUG=464610
TEST=base_unittests
Review URL: https://codereview.chromium.org/985573003
Cr-Commit-Position: refs/heads/master@{#319806}
diff --git a/base/version.h b/base/version.h
index b3012eb9..814acaa 100644
--- a/base/version.h
+++ b/base/version.h
@@ -5,6 +5,7 @@
#ifndef BASE_VERSION_H_
#define BASE_VERSION_H_
+#include <stdint.h>
#include <string>
#include <vector>
@@ -57,10 +58,10 @@
// Return the string representation of this version.
const std::string GetString() const;
- const std::vector<uint16>& components() const { return components_; }
+ const std::vector<uint32_t>& components() const { return components_; }
private:
- std::vector<uint16> components_;
+ std::vector<uint32_t> components_;
};
} // namespace base