Home | History | Annotate | Download | only in update_engine

Lines Matching refs:attrs

379   map<string, string> attrs;
384 attrs[key] = value;
389 if (attrs.find("cohort") != attrs.end()) {
391 data->app_cohort = attrs["cohort"];
393 if (attrs.find("cohorthint") != attrs.end()) {
395 data->app_cohorthint = attrs["cohorthint"];
397 if (attrs.find("cohortname") != attrs.end()) {
399 data->app_cohortname = attrs["cohortname"];
403 data->updatecheck_status = attrs["status"];
404 data->updatecheck_poll_interval = attrs["PollInterval"];
407 for (const auto& attr : attrs) {
413 data->daystart_elapsed_days = attrs["elapsed_days"];
414 data->daystart_elapsed_seconds = attrs["elapsed_seconds"];
417 data->url_codebase.push_back(attrs["codebase"]);
421 data->package_name = attrs["name"];
422 data->package_size = attrs["size"];
425 data->manifest_version = attrs[kTagVersion];
429 if (attrs["event"] == "postinstall") {
430 data->action_postinstall_attrs = attrs;
889 map<string, string> attrs = parser_data->action_postinstall_attrs;
890 if (attrs.empty()) {
896 output_object->hash = attrs[kTagSha256];
904 output_object->more_info_url = attrs[kTagMoreInfo];
905 output_object->metadata_size = ParseInt(attrs[kTagMetadataSize]);
906 output_object->metadata_signature = attrs[kTagMetadataSignatureRsa];
907 output_object->prompt = ParseBool(attrs[kTagPrompt]);
908 output_object->deadline = attrs[kTagDeadline];
909 output_object->max_days_to_scatter = ParseInt(attrs[kTagMaxDaysToScatter]);
911 ParseBool(attrs[kTagDisableP2PForDownloading]);
913 ParseBool(attrs[kTagDisableP2PForSharing]);
914 output_object->public_key_rsa = attrs[kTagPublicKeyRsa];
916 string max = attrs[kTagMaxFailureCountPerUrl];
920 output_object->is_delta_payload = ParseBool(attrs[kTagIsDeltaPayload]);
923 ParseBool(attrs[kTagDisablePayloadBackoff]);
1424 bool OmahaRequestAction::PersistEolStatus(const map<string, string>& attrs) {
1425 auto eol_attr = attrs.find(kEolAttr);
1426 if (eol_attr != attrs.end()) {