Searched defs:json_str (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/cloud_print/gcp20/prototype/
H A Dprinter_state.cc73 std::string json_str; local
76 &json_str);
77 int size = base::checked_cast<int>(json_str.size());
78 return (base::WriteFile(path, json_str.data(), size) == size);
82 std::string json_str; local
83 if (!base::ReadFileToString(path, &json_str)) {
88 scoped_ptr<base::Value> json_val(base::JSONReader::Read(json_str));
H A Dprinter.cc195 std::string json_str; local
198 &json_str); local
199 return json_str;
/external/chromium_org/remoting/host/
H A Dcast_extension_session.cc218 std::string json_str; local
219 if (!base::JSONWriter::Write(json.get(), &json_str)) {
224 SendMessageToClient(subject.c_str(), json_str);
664 std::string json_str; local
665 if (!base::JSONWriter::Write(json.get(), &json_str)) {
669 SendMessageToClient(kSubjectNewCandidate, json_str);
/external/chromium_org/chrome/browser/ui/webui/print_preview/
H A Dprint_preview_handler.cc175 std::string json_str; local
176 if (!args->GetString(0, &json_str)) {
180 if (json_str.empty()) {
186 base::JSONReader::Read(json_str)));

Completed in 105 milliseconds