Angela NovakovicLGTM! I see that unit tests for the mediator will be added in a subsequent CL (side note: we should mention it in the CL description). We probably should look at adding/adapting existing EG tests that will fail when we'll enable the flag
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think the new patch did something unintended.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm % if you revert back to patchet 14
NSString* _passwordsSummary;nit: should you add a similar to do to the ones in VC for deleting this variable?
if (_browsingHistorySummary && _tabsSummary &&
(IsPasswordRemovalFromDeleteBrowsingDataEnabled() || _passwordsSummary) &&
_addressesSummary && _paymentMethodsSummary && _suggestionsSummary) {optional nit: this is getting a little to complicated to follow. perhaps you can extract the password part into a variable. up to you
!IsPasswordRemovalFromDeleteBrowsingDataEnabled()) {optional tiny nit: for consistency with the other if statements, perhaps move this to be the first thing on the if.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think the new patch did something unintended.
Acknowledged
NSString* _passwordsSummary;nit: should you add a similar to do to the ones in VC for deleting this variable?
Done
if (_browsingHistorySummary && _tabsSummary &&
(IsPasswordRemovalFromDeleteBrowsingDataEnabled() || _passwordsSummary) &&
_addressesSummary && _paymentMethodsSummary && _suggestionsSummary) {optional nit: this is getting a little to complicated to follow. perhaps you can extract the password part into a variable. up to you
Done
!IsPasswordRemovalFromDeleteBrowsingDataEnabled()) {optional tiny nit: for consistency with the other if statements, perhaps move this to be the first thing on the if.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
BOOL passwordsSummaryDone =nit: perhaps `passwordsSummaryReady` is better. totally up to you
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
nit: perhaps `passwordsSummaryReady` is better. totally up to you
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS][PRDBD] Removes the password option from delete browsing data
This CL removes the password option from `Quick Delete Browsing Data`
and the logic behind the removal by disabling it when the feature flag
`kPasswordRemovalFromDeleteBrowsingData` is turned on.
Mediator Unit tests and EG tests are to be added in a following CL.
Design Doc: go/bling-delete-browsing-data
Feature on: https://screenshot.googleplex.com/8ChQTRzmPYyGhaJ.png
Feature off: https://screenshot.googleplex.com/A8xcXsFjr2wUZDk.png
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |