DescriptionApply the pref that prohibits deleting browsing and download history.
When kDeletingBrowserHistoryEnabled is false, the UI elements to delete history items will be disabled, and the back-end calls will likewise be skipped (in case someone works around the UI, e.g. via the JavaScript console).
BUG=230401
TEST=browser_tests --gtest_filter=HistoryWebUIDeleteProhibitedTest.*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196655
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : Added test files #Patch Set 5 : Remove executable flag #
Total comments: 10
Patch Set 6 : Review changes #Patch Set 7 : #Patch Set 8 : More better #
Total comments: 2
Patch Set 9 : #Patch Set 10 : Fixed .gypi #
Messages
Total messages: 16 (0 generated)
|