Searched refs:disable_reasons (Results 1 – 6 of 6) sorted by relevance
282 int disable_reasons = prefs->GetDisableReasons(app->id()); in HandleEphemeralAppPromoted() local283 if (disable_reasons & Extension::DISABLE_INACTIVE_EPHEMERAL_APP) { in HandleEphemeralAppPromoted()286 if (disable_reasons == Extension::DISABLE_INACTIVE_EPHEMERAL_APP) in HandleEphemeralAppPromoted()
1475 int disable_reasons = extension_prefs_->GetDisableReasons(extension->id()); in CheckPermissionsIncrease() local1516 if (previously_disabled && disable_reasons == Extension::DISABLE_NONE && in CheckPermissionsIncrease()1518 disable_reasons |= Extension::DISABLE_USER_ACTION; in CheckPermissionsIncrease()1523 disable_reasons == Extension::DISABLE_UNKNOWN_FROM_SYNC) { in CheckPermissionsIncrease()1527 disable_reasons |= Extension::DISABLE_USER_ACTION; in CheckPermissionsIncrease()1529 disable_reasons &= ~Extension::DISABLE_UNKNOWN_FROM_SYNC; in CheckPermissionsIncrease()1537 if (disable_reasons == Extension::DISABLE_REMOTE_INSTALL) { in CheckPermissionsIncrease()1540 disable_reasons |= Extension::DISABLE_PERMISSIONS_INCREASE; in CheckPermissionsIncrease()1548 if (disable_reasons != Extension::DISABLE_NONE) { in CheckPermissionsIncrease()1551 static_cast<Extension::DisableReason>(disable_reasons)); in CheckPermissionsIncrease()
483 int disable_reasons = prefs_->GetDisableReasons((*iter)->id()); in OnVerificationComplete() local484 if (disable_reasons & Extension::DISABLE_NOT_VERIFIED && in OnVerificationComplete()
137 int disable_reasons) OVERRIDE;
226 int disable_reasons = prefs->GetDisableReasons(extension->id()); in CreateExtensionDetailValue() local229 (disable_reasons & Extension::DISABLE_NOT_VERIFIED) != 0; in CreateExtensionDetailValue()235 (disable_reasons & Extension::DISABLE_CORRUPTED) != 0; in CreateExtensionDetailValue()757 const std::string& extension_id, int disable_reasons) { in OnExtensionDisableReasonsChanged() argument
653 int disable_reasons = in OnExtensionUnloaded() local655 if (disable_reasons & Extension::DISABLE_RELOAD) { in OnExtensionUnloaded()