ios::provider::BWGPageContextComputationState::kSuccess, entry_point);what about this call site? should it also have the check?
if (tab_helper) {
gemini_page_context.BWGPageContextComputationState =
tab_helper->GetIsGeminiEligible()
? ios::provider::BWGPageContextComputationState::kSuccess
: ios::provider::BWGPageContextComputationState::kBlocked;
}nit: prefer early return instead of nesting this code
ios::provider::BWGPageContextComputationState::kSuccess, entry_point,Ditto: what about this call site? should it also have the check?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ios::provider::BWGPageContextComputationState::kSuccess, entry_point);what about this call site? should it also have the check?
Similarly here, it is bound by the `IsGeminiImmediateOverlayEnabled` check being `false`. Do we want that path supported too @ada...@google.com?
ios::provider::BWGPageContextComputationState::kSuccess, entry_point,Ditto: what about this call site? should it also have the check?
I think this is for the synchronous path. I wasn't certain if we wanted to update this one as well @ada...@google.com?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ios::provider::BWGPageContextComputationState::kSuccess, entry_point);Francis Beauchampwhat about this call site? should it also have the check?
Similarly here, it is bound by the `IsGeminiImmediateOverlayEnabled` check being `false`. Do we want that path supported too @ada...@google.com?
We don't need to support this since we'll be launching immediate overlay in M144
ios::provider::BWGPageContextComputationState::kSuccess, entry_point,Francis BeauchampDitto: what about this call site? should it also have the check?
I think this is for the synchronous path. I wasn't certain if we wanted to update this one as well @ada...@google.com?
I believe this is only called with immediate overlay disabled, so we don't need to support this path either
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Updated the CL so it now uses the `std::optional` instead of the original `bool` value.
if (tab_helper) {
gemini_page_context.BWGPageContextComputationState =
tab_helper->GetIsGeminiEligible()
? ios::provider::BWGPageContextComputationState::kSuccess
: ios::provider::BWGPageContextComputationState::kBlocked;
}nit: prefer early return instead of nesting this code
Done
ios::provider::BWGPageContextComputationState::kSuccess, entry_point,Francis BeauchampDitto: what about this call site? should it also have the check?
Adam ArcaroI think this is for the synchronous path. I wasn't certain if we wanted to update this one as well @ada...@google.com?
I believe this is only called with immediate overlay disabled, so we don't need to support this path either
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |