| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
case kSessionDeletedDuringRefresh:I don't see an issue with this being here, but for my understanding -- we don't actually expect `kSessionDeletedDuringRefresh` in a call to `GetDeletionReason()` right? Or for `IsServerError()` either.
if (!existing_session) {Not required in this case, but please consider adding a test.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
I don't see an issue with this being here, but for my understanding -- we don't actually expect `kSessionDeletedDuringRefresh` in a call to `GetDeletionReason()` right? Or for `IsServerError()` either.
No, we don't. And I could put it in a the `NOTREACHED` block as a result, but I thought it was conceptually a fatal error in the refresh process.
Not required in this case, but please consider adding a test.
Ah yeah I thought the tests would be hard but they're really not. Done.
| 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. |
From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: ff...@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): ff...@chromium.org
Reviewer source(s):
ff...@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. |
| 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. |
Remove incorrect CHECK in SessionServiceImpl
We were too confident here. It is possible for a refresh to start, then
for the user (or site) to clear data. Then when the refresh finishes,
the existing session is gone. This CL bails out safely and logs that to metrics.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |