Thanks! It looks like there are bots to fix? Once that's done, could you add a closer OWNER of all the download-related code as a reviewer?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks! It looks like there are bots to fix? Once that's done, could you add a closer OWNER of all the download-related code as a reviewer?
Added Xinghui for the main download-related code, kept you for the rest of the files. Does that work?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
do you have a design doc or PRD so that I can get some background information about this CL?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
// Local download blockedCould you add a bit more details here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
case FailState::LOCAL_DOWNLOAD_BLOCKED:you also need to update here to show user a warning message that the download is getting blocked: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/download/download_ui_controller.cc;l=248
and here:
https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/download/download_offline_content_provider.cc;l=479
case FailState::LOCAL_DOWNLOAD_BLOCKED:you also need to update here to show user a warning message that the download is getting blocked: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/download/download_ui_controller.cc;l=248
and here:
https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/download/download_offline_content_provider.cc;l=479
This will be done in a subsequent CL, and is intentionally omitted here. This CL is just to introduce the new FAIL_STATE and make it mimic FILE_BLOCKED behaviour. The logical separation means that if I make a mistake with introducing the string, I can roll it back and still keep the new FAIL_STATE.
// Local download blockedCould you add a bit more details here?
| 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. |
Nasser Al-shawwayou also need to update here to show user a warning message that the download is getting blocked: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/download/download_ui_controller.cc;l=248
and here:
https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/download/download_offline_content_provider.cc;l=479
This will be done in a subsequent CL, and is intentionally omitted here. This CL is just to introduce the new FAIL_STATE and make it mimic FILE_BLOCKED behaviour. The logical separation means that if I make a mistake with introducing the string, I can roll it back and still keep the new FAIL_STATE.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks!
| 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. |