| Commit-Queue | +1 |
Ben can you give me a first pass review? Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
TEST_F(MostVisitedTilesMediatorTest, TestPinSiteInProductHelpCondition) {Just realized that it's hard to read as is. I'll add more empty lines to this later...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think the failed test case is flaky
| Code-Review | +1 |
LGTM with comments
any site in the most visited tiles for more than 3 times in the pastIs it strictly "more than 3" or "3 or more"? Bcuz the current logic is "3 or more"
const int kRepeatingVisitsToTriggerIPH = 3;Optional + Out of scope for this CL, but you didn't want this to be Finchable?
id<HelpCommands> helpHandler = self.helpHandler;Should you weakify `helpHandler`?
_historyService->GetMostRecentVisitsForGurl(Should you check `_historyService` is valid to avoid `nullptr` dereference here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
any site in the most visited tiles for more than 3 times in the pastIs it strictly "more than 3" or "3 or more"? Bcuz the current logic is "3 or more"
Done
Optional + Out of scope for this CL, but you didn't want this to be Finchable?
I'm not too worried about the discoverability of this feature (the "Add Site" button is visible in the tiles) so I wouldn't invest time and resources on experimenting with different IPH configurations. In fact the IPH is enabled by default, so if we do an experiment on this value we don't even have a control group 🤔
Should you weakify `helpHandler`?
Explained in the last CL.
Should you check `_historyService` is valid to avoid `nullptr` dereference here?
I'd rather do a `CHECK` in the initializer, which is now done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
TEST_F(MostVisitedTilesMediatorTest, TestPinSiteInProductHelpCondition) {Just realized that it's hard to read as is. I'll add more empty lines to this later...
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |