| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hey @jenns...@google.com, could you help take a look at changes to file `composebox_input_plate_mediator.mm`? Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This change renames the `OnFileUploadStatusChanged` method inBofeng ChenFrom what I understand, this CL doesn't rename but adds a new listener OnContextUploadStatusChanged. Did I get that right? If so, is the goal that both OnFileUploadStatusChanged and OnContextUploadStatusChanged are called whenever there is an update? Can we instead do a rename and remove OnFileUploadStatusChanged from the code base? I am a bit worried that if we have both OnFileUploadStatusChanged and OnContextUploadStatusChanged, that we will run into subtle where one is called but not the other, or double calls that cause weird behaviors.
Bofeng ChenThanks for the review, was going for a 2-phase solution for the renaming task. Rename all occurrences to `OnContextUploadStatusChanged`, and this should prevent the subtle unexpected behaviors.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
ios/chrome/browser/composebox/coordinator/composebox_input_plate_mediator.mm 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. |
[refactor] Rename OnFileUploadStatus* to OnContextUploadStatus*
This change renames the observer method OnFileUploadStatusChanged to
OnContextUploadStatusChanged and updates the parameter names from
file_token to context_token and file_upload_status to
context_upload_status across all implementing classes and call sites.
This better reflects that the status updates are for general contextual
data uploads, not just files.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |