OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/name_value_pairs_parser.h" | 5 #include "chromeos/system/name_value_pairs_parser.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
9 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/process/launch.h" | 13 #include "base/process/launch.h" |
12 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
13 #include "base/strings/string_tokenizer.h" | 15 #include "base/strings/string_tokenizer.h" |
14 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
15 #include "base/sys_info.h" | 17 #include "base/sys_info.h" |
16 | 18 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 std::string output_string; | 142 std::string output_string; |
141 if (!GetToolOutput(argc, argv, &output_string)) | 143 if (!GetToolOutput(argc, argv, &output_string)) |
142 return false; | 144 return false; |
143 | 145 |
144 return ParseNameValuePairsWithComments( | 146 return ParseNameValuePairsWithComments( |
145 output_string, eq, delim, comment_delim); | 147 output_string, eq, delim, comment_delim); |
146 } | 148 } |
147 | 149 |
148 } // namespace system | 150 } // namespace system |
149 } // namespace chromeos | 151 } // namespace chromeos |
OLD | NEW |