| Index: base/test/values_test_util.h
|
| diff --git a/base/test/values_test_util.h b/base/test/values_test_util.h
|
| index 86d91c3868f0cca38b93f6381756eb0689c9903c..500e94d03ad73fd2050eebeff883c4a9d3a8a5b7 100644
|
| --- a/base/test/values_test_util.h
|
| +++ b/base/test/values_test_util.h
|
| @@ -50,6 +50,12 @@ namespace test {
|
| // failure and returns the Null Value (but never a NULL pointer).
|
| scoped_ptr<Value> ParseJson(base::StringPiece json);
|
|
|
| +// Parses |json| allowing trailing commas and replacing single quotes with
|
| +// double quotes for test readability. If the json fails to parse, returns an
|
| +// empty dictionary and causes an EXPECT failure.
|
| +scoped_ptr<DictionaryValue> ParseJsonDictionaryWithSingleQuotes(
|
| + std::string json);
|
| +
|
| } // namespace test
|
| } // namespace base
|
|
|
|
|