DescriptionAdding filter callback to BatchShortcutAction().
We wish to enable allow better selectivity in ShellUtil::RemoveShortcuts() and ShellUtil::UpdateShortcuts() to decide on which shortcuts to operate on. In this CL:
- BatchShortcutAction() is given a (newly defined) FileFilterCallback predicate that decides whether or not a given shortcut should be operated on.
- Currently this is only created by (newly defined) class FilterTargetEq.
- Also renamed FileOperationCallback to ShortcutOperationCallback.
- This is a refactoring CL, so we retain the old behavior: BatchShortcutAction() only considers shortcuts that have with a specific target.
BUG=235857
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217092
Patch Set 1 #
Total comments: 12
Patch Set 2 : Renaming and comment fixes. #
Total comments: 2
Patch Set 3 : Format fix. #Patch Set 4 : Rebase. #Messages
Total messages: 11 (0 generated)
|