OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chromeos/system/version_loader.h" | 5 #include "chromeos/system/version_loader.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
11 #include "base/location.h" | 13 #include "base/location.h" |
12 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
13 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
14 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
15 #include "base/sys_info.h" | 17 #include "base/sys_info.h" |
16 #include "base/time/time.h" | 18 #include "base/time/time.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 size_t found = str.find_first_not_of("| "); | 86 size_t found = str.find_first_not_of("| "); |
85 if (found != std::string::npos) | 87 if (found != std::string::npos) |
86 return str.substr(found); | 88 return str.substr(found); |
87 } | 89 } |
88 } | 90 } |
89 return std::string(); | 91 return std::string(); |
90 } | 92 } |
91 | 93 |
92 } // namespace version_loader | 94 } // namespace version_loader |
93 } // namespace chromeos | 95 } // namespace chromeos |
OLD | NEW |