<style include="cr-shared-style settings-shared iron-flex">
#safetyCheckCollapse .list-item.selected {
min-height: var(--cr-section-two-line-min-height);
}
iron-icon {
display: flex;
flex-shrink: 0;
padding-inline-end: var(--cr-icon-button-margin-start);
width: var(--cr-link-row-icon-width, var(--cr-icon-size));
}
</style>
<div id="safetyCheckParent" class="cr-row first two-line">
<iron-icon icon="settings20:safety-check" aria-hidden="true">
</iron-icon>
<div class="flex cr-padded-text" no-search>
[[parentDisplayString_]]
</div>
<template is="dom-if" if="[[shouldShowParentButton_(parentStatus_)]]"
restamp>
<cr-button id="safetyCheckParentButton" class="action-button"
on-click="onRunSafetyCheckClick_" no-search
aria-label="$i18n{safetyCheckParentButtonAriaLabel}">
$i18n{safetyCheckParentButton}
</cr-button>
</template>
<template is="dom-if" if="[[shouldShowParentIconButton_(parentStatus_)]]"
restamp>
<cr-icon-button
iron-icon="settings:refresh"
on-click="onRunSafetyCheckClick_"
aria-label="$i18n{safetyCheckParentRunAgainButtonAriaLabel}">
</cr-icon-button>
</template>
</div>
<cr-collapse id="safetyCheckCollapse"
opened="[[shouldShowChildren_(parentStatus_)]]">
<settings-safety-check-updates-child>
</settings-safety-check-updates-child>
<settings-safety-check-passwords-child>
</settings-safety-check-passwords-child>
<settings-safety-check-safe-browsing-child>
</settings-safety-check-safe-browsing-child>
<template is="dom-if"
if="[[!safetyCheckExtensionsReviewEnabled_]]" restamp>
<settings-safety-check-extensions-child>
</settings-safety-check-extensions-child>
</template>
</cr-collapse>
<template is="dom-if" if="[[shouldShowSafetyCheckExtensionsReview_(
safetyCheckNumberOfExtensionsThatNeedReview_)]]" restamp>
<safety-check-extensions>
</safety-check-extensions>
</template>
<template is="dom-if"
if="[[shouldShowUnusedSitePermissions_(
unusedSitePermissions_, safetyCheckUnusedSitePermissionsEnabled_)]]"
restamp>
<settings-safety-check-unused-site-permissions>
</settings-safety-check-unused-site-permissions>
</template>
<template is="dom-if"
if="[[shouldShowNotificationPermissions_(
notificationPermissionSites_)]]"
restamp>
<settings-safety-check-notification-permissions>
</settings-safety-check-notification-permissions>
</template>