Lines Matching refs:parser_data
893 bool UpdateLastPingDays(OmahaParserData* parser_data, PrefsInterface* prefs) { in UpdateLastPingDays() argument
896 parser_data->daystart_elapsed_seconds, &elapsed_seconds)); in UpdateLastPingDays()
1005 void ParseRollbackVersions(OmahaParserData* parser_data, in ParseRollbackVersions() argument
1008 parser_data->updatecheck_attrs[kAttrFirmwareVersion], in ParseRollbackVersions()
1012 parser_data->updatecheck_attrs[kAttrKernelVersion], in ParseRollbackVersions()
1019 bool OmahaRequestAction::ParseResponse(OmahaParserData* parser_data, in ParseResponse() argument
1022 if (parser_data->apps.empty()) { in ParseResponse()
1026 LOG(INFO) << "Found " << parser_data->apps.size() << " <app>."; in ParseResponse()
1041 base::StringToInt(parser_data->updatecheck_poll_interval, in ParseResponse()
1048 if (ParseInstallDate(parser_data, output_object) && in ParseResponse()
1065 for (const auto& app : parser_data->apps) { in ParseResponse()
1078 PersistEolStatus(parser_data->updatecheck_attrs); in ParseResponse()
1082 ParseBool(parser_data->updatecheck_attrs[kAttrRollback]); in ParseResponse()
1086 ParseRollbackVersions(parser_data, output_object); in ParseResponse()
1088 if (!ParseStatus(parser_data, output_object, completer)) in ParseResponse()
1091 if (!ParseParams(parser_data, output_object, completer)) in ParseResponse()
1096 for (auto& app : parser_data->apps) in ParseResponse()
1103 bool OmahaRequestAction::ParseStatus(OmahaParserData* parser_data, in ParseStatus() argument
1107 for (const auto& app : parser_data->apps) { in ParseStatus()
1144 bool OmahaRequestAction::ParseParams(OmahaParserData* parser_data, in ParseParams() argument
1148 for (auto& app : parser_data->apps) { in ParseParams()
1242 OmahaParserData parser_data(parser); in TransferComplete() local
1243 XML_SetUserData(parser, &parser_data); in TransferComplete()
1252 if (res != XML_STATUS_OK || parser_data.failed) { in TransferComplete()
1261 } else if (parser_data.entity_decl) { in TransferComplete()
1272 LOG_IF(ERROR, !UpdateLastPingDays(&parser_data, system_state_->prefs())) in TransferComplete()
1296 if (!ParseResponse(&parser_data, &output_object, &completer)) in TransferComplete()
1629 bool OmahaRequestAction::ParseInstallDate(OmahaParserData* parser_data, in ParseInstallDate() argument
1632 if (!base::StringToInt64(parser_data->daystart_elapsed_days, &elapsed_days)) in ParseInstallDate()