OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BASE_VERSION_H_ | 5 #ifndef BASE_VERSION_H_ |
6 #define BASE_VERSION_H_ | 6 #define BASE_VERSION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 const std::vector<uint16>& components() const { return components_; } | 31 const std::vector<uint16>& components() const { return components_; } |
32 | 32 |
33 private: | 33 private: |
34 Version() {} | 34 Version() {} |
35 bool InitFromString(const std::string& version_str); | 35 bool InitFromString(const std::string& version_str); |
36 | 36 |
37 std::vector<uint16> components_; | 37 std::vector<uint16> components_; |
38 }; | 38 }; |
39 | 39 |
40 #endif // BASE_VERSION_H_ | 40 #endif // BASE_VERSION_H_ |
41 | |
OLD | NEW |