| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: dch...@chromium.org
📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).
IPC reviewer(s): dch...@chromium.org
Reviewer source(s):
dch...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Bit of bikeshedding on naming, but otherwise LGTM
void DisableTabContextSuggestion();"TabContext" might be a bit too generic, as we'll have other types of tab context soon (ie: not the current tab). Perhaps this should be:
```suggestion
void DisableActiveTabContextSuggestion();
```
bool from_suggested_chip) {This is more than a suggestion, as it's automatically added.
Perhaps:
```suggestion
bool from_automatic_chip) {
```
private suggestedTabToken_: UnguessableToken|null = null;If we change the parameters to "automatic", we'll want to change this, too. Can also be done as a followup CL if you agree it's a good idea.
```suggestion
private automaticActiveTabChipToken_: UnguessableToken|null = null;
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Done. Renamed some of the methods and variables to match the reviewer comments
"TabContext" might be a bit too generic, as we'll have other types of tab context soon (ie: not the current tab). Perhaps this should be:
```suggestion
void DisableActiveTabContextSuggestion();
```
Done
This is more than a suggestion, as it's automatically added.
Perhaps:
```suggestion
bool from_automatic_chip) {
```
Done
private suggestedTabToken_: UnguessableToken|null = null;If we change the parameters to "automatic", we'll want to change this, too. Can also be done as a followup CL if you agree it's a good idea.
```suggestion
private automaticActiveTabChipToken_: UnguessableToken|null = null;
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
handler().DeleteContext(file_token, /*from_suggested_chip=*/false);This comment needs to be updated to the new name.
```suggestion
handler().DeleteContext(file_token, /*from_automatic_chip=*/false);
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM, thanks Min!
handler().DeleteContext(delete_file_token, /*from_suggested_chip=*/false);Please fix this WARNING reported by ClangTidy: check: bugprone-argument-comment
argument name 'from_suggested_chip' in comment...
check: bugprone-argument-comment
argument name 'from_suggested_chip' in comment does not match parameter name 'from_automatic_chip' (https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)
(Note: You can add `Skip-Clang-Tidy-Checks: bugprone-argument-comment` footer to the CL description to skip the check)
(Lint observed on `linux-clang-tidy-rel`, but not on `android-clang-tidy-rel`)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
handler().DeleteContext(delete_file_token, /*from_suggested_chip=*/false);Please fix this WARNING reported by ClangTidy: check: bugprone-argument-comment
argument name 'from_suggested_chip' in comment...
check: bugprone-argument-comment
argument name 'from_suggested_chip' in comment does not match parameter name 'from_automatic_chip' (https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)
(Note: You can add `Skip-Clang-Tidy-Checks: bugprone-argument-comment` footer to the CL description to skip the check)
(Lint observed on `linux-clang-tidy-rel`, but not on `android-clang-tidy-rel`)
Done
handler().DeleteContext(file_token, /*from_suggested_chip=*/false);This comment needs to be updated to the new name.
```suggestion
handler().DeleteContext(file_token, /*from_automatic_chip=*/false);
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Looks like the build is broken; I'll review once that's fixed.
| Commit-Queue | +1 |
Looks like the build is broken; I'll review once that's fixed.
There is a new test added by others, and it didn't have the extra parameter added in this CL. So rebased and fixed the test.
Interestingly, if rebase involves a file that is moved during code review, it will invalidate the previous lgtm.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
6 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: chrome/browser/contextual_tasks/contextual_tasks_ui_service_interactive_uitest.cc
Insertions: 30, Deletions: 0.
The diff is too large to show. Please review the diff.
```
[ContextualTask] Don't show tab suggestion again if user removes it
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |