Home
last modified time | relevance | path

Searched refs:JSONFileValueDeserializer (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/json/
Djson_file_value_serializer.cc14 const char JSONFileValueDeserializer::kAccessDenied[] = "Access denied.";
15 const char JSONFileValueDeserializer::kCannotReadFile[] = "Can't read file.";
16 const char JSONFileValueDeserializer::kFileLocked[] = "File locked.";
17 const char JSONFileValueDeserializer::kNoSuchFile[] = "File doesn't exist.";
54 JSONFileValueDeserializer::JSONFileValueDeserializer( in JSONFileValueDeserializer() function in JSONFileValueDeserializer
59 JSONFileValueDeserializer::~JSONFileValueDeserializer() = default;
61 int JSONFileValueDeserializer::ReadFileToString(std::string* json_string) { in ReadFileToString()
82 const char* JSONFileValueDeserializer::GetErrorMessageForCode(int error_code) { in GetErrorMessageForCode()
100 std::unique_ptr<base::Value> JSONFileValueDeserializer::Deserialize( in Deserialize()
Djson_file_value_serializer.h48 class BASE_EXPORT JSONFileValueDeserializer : public base::ValueDeserializer {
52 explicit JSONFileValueDeserializer(const base::FilePath& json_file_path,
55 ~JSONFileValueDeserializer() override;
99 DISALLOW_IMPLICIT_CONSTRUCTORS(JSONFileValueDeserializer);
Djson_value_serializer_unittest.cc157 JSONFileValueDeserializer file_deserializer(temp_file); in TEST()
182 JSONFileValueDeserializer file_deserializer(temp_file); in TEST()
192 JSONFileValueDeserializer file_deserializer2(temp_file, in TEST()
412 JSONFileValueDeserializer deserializer(original_file_path); in TEST_F()
456 JSONFileValueDeserializer deserializer(original_file_path); in TEST_F()
480 JSONFileValueDeserializer deserializer(source_file_path); in TEST_F()
/external/libchrome/components/policy/core/common/
Dconfig_dir_policy_loader.cc38 case JSONFileValueDeserializer::JSON_ACCESS_DENIED: in JsonErrorToPolicyLoadStatus()
39 case JSONFileValueDeserializer::JSON_CANNOT_READ_FILE: in JsonErrorToPolicyLoadStatus()
40 case JSONFileValueDeserializer::JSON_FILE_LOCKED: in JsonErrorToPolicyLoadStatus()
42 case JSONFileValueDeserializer::JSON_NO_SUCH_FILE: in JsonErrorToPolicyLoadStatus()
148 JSONFileValueDeserializer deserializer(*config_file_iter, in LoadFromPath()
/external/libchrome/base/test/
Dgtest_util.cc72 JSONFileValueDeserializer deserializer(path); in ReadTestNamesFromFile()
/external/libchrome/components/json_schema/
Djson_schema_validator_unittest_base.cc39 JSONFileValueDeserializer deserializer(path); in LoadValue()