Remove find in page history when clearing browsing history.
This removes the cached find-in-page value for a profile when that profile's history data is cleared. Like most data that is deleted along with DATA_TYPE_HISTORY, the time range is ignored; any time range will cause the last find-in-page value to be deleted. The original motivation for this change was to delete some Chrome dependencies from //chrome/browser/ui/find_bar/, in preparation for componentization, because it's an alternate way of achieving the behavior that is being deleted there (wrt clearing FIP for guest profiles). However it is also a behavioral improvement in that it makes Clear Browsing Data more comprehensive. Bug: 1038415, 889642 Change-Id: I429470c4f215e6a2ace29e42c2e8795a2e70daa8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986909Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Joshua Bell <jsbell@chromium.org> Reviewed-by:
Dana Fried <dfried@chromium.org> Commit-Queue: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#729915}
Showing
Please register or sign in to comment