Index: chrome/browser/chromeos/system/name_value_pairs_parser.h |
diff --git a/chrome/browser/chromeos/system/name_value_pairs_parser.h b/chrome/browser/chromeos/system/name_value_pairs_parser.h |
index 2119d0413895d57865aa948af63001ea71e99ca1..faf81b8e9eeaf006d7a81366bad7de5df749cca1 100644 |
--- a/chrome/browser/chromeos/system/name_value_pairs_parser.h |
+++ b/chrome/browser/chromeos/system/name_value_pairs_parser.h |
@@ -12,6 +12,8 @@ |
#include "base/basictypes.h" |
+class FilePath; |
+ |
namespace chromeos { |
namespace system { |
@@ -33,6 +35,11 @@ class NameValuePairsParser { |
bool GetSingleValueFromTool(int argc, const char* argv[], |
const std::string& key); |
+ // Parses name-value pairs from the file. |
+ void GetNameValuePairsFromFile(const FilePath& file_path, |
+ const std::string& eq, |
+ const std::string& delim); |
+ |
// This will parse strings with output in the format: |
// <key><EQ><value><DELIM>[<key><EQ><value>][...] |
// e.g. ParseNameValuePairs("key1=value1 key2=value2", "=", " ") |