Please review the following:
@dru...@chromium.org: whole CL
@morl...@chromium.org: BUILD.gn
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
const FailedRequest* RegistrationResult::SessionErrorFailedRequestForTesting()Do you anticipate more fields after `failed_request`? If so, maybe we want to go back to one accessor to get the whole `SessionError`, then tests assert on whatever fields they care about.
std::string take_data_received() { return std::move(data_received_); }Nit: this isn't a simple accessor so it should be `TakeDataReceived`
| 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. |
const FailedRequest* RegistrationResult::SessionErrorFailedRequestForTesting()Do you anticipate more fields after `failed_request`? If so, maybe we want to go back to one accessor to get the whole `SessionError`, then tests assert on whatever fields they care about.
Thanks, I'm not sure we'll have more fields, but there's no need for two anyway. Updated the previous CL and rebased + modified into this one.
std::string take_data_received() { return std::move(data_received_); }Nit: this isn't a simple accessor so it should be `TakeDataReceived`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +0 |
...Didn't want to +2, want to leave that to you or Daniel...
| 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 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gather failed device bound session request details into SessionError
This CL:
- Continues reading the network response when the response code is not
in [200, 300).
- Populates the new `failed_request` property in SessionError if there
was a network request failure during registration/refresh.
These will later be surfaced in DevTools for developer debugging.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |