Delete template URLs when individual history item is deleted.
The TemplateURL were not deleted when individual history items were removed. This is deleted only via clear browsing. The fix was to delete template urls for only those origins which don't have any urls trace in the history. The deletion is now made common for individual history deletion and clear browsing data. This CL also adds a browser test, where we add an URL to the history and delete it and checks if the corresponding template url is deleted too. Bug: 87322 Change-Id: I0b51021c17b397d8ba172d0f882778436dd66c60 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1821611 Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Christian Dullweber <dullweber@chromium.org> Reviewed-by:
Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#735488}
Showing
Please register or sign in to comment