Lines Matching full:base
5 #include "base/json/json_file_value_serializer.h"
7 #include "base/files/file_util.h"
8 #include "base/json/json_string_value_serializer.h"
9 #include "base/logging.h"
12 using base::FilePath;
20 const base::FilePath& json_file_path)
27 bool JSONFileValueSerializer::Serialize(const base::Value& root) {
32 const base::Value& root) {
36 bool JSONFileValueSerializer::SerializeInternal(const base::Value& root,
48 if (base::WriteFile(json_file_path_, json_string.data(), data_size) !=
56 const base::FilePath& json_file_path)
67 if (!base::ReadFileToString(json_file_path_, json_string)) {
76 if (!base::PathExists(json_file_path_))
104 std::unique_ptr<base::Value> JSONFileValueDeserializer::Deserialize(