Home | History | Annotate | Download | only in test

Lines Matching refs:Value

14 std::unique_ptr<base::Value> CreateValue(const std::string& json) {
20 std::unique_ptr<base::Value> value{
24 CHECK(value) << "Failed to load JSON: " << message << ", " << json;
25 return value;
28 std::string ValueToString(const base::Value& value) {
31 value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json);
37 std::unique_ptr<base::Value> value = CreateValue(json);
39 value->GetAsDictionary(&dict);
40 CHECK(dict) << "Value is not dictionary: " << json;
41 value.release();