commit | 899260affc5a94661c5440b5432a61504bbbf770 | [log] [tgz] |
---|---|---|
author | Benjamin Williams <bwwilliams@google.com> | Mon Jun 09 15:08:30 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 09 15:08:30 2025 |
tree | aa06edd39a252871d3f0d393d2d9661032722bdd | |
parent | 226ec99e06b3e31d3ada7c2e2f937acd36cbbb01 [diff] |
[iOS] Save reminder data via ReminderNotificationsMediator This change updates ReminderNotificationsCoordinator by connecting the user's selection from the date/time picker UI with the ReminderNotificationsMediator. Specifically, it: - Introduces a ReminderNotificationsMediator instance within ReminderNotificationsCoordinator. - Updates -confirmationAlertPrimaryAction to: - Fetch the URL of the active WebState. - Validate the URL (ensuring it's valid, not app-specific, etc.). - Obtain the currently selected date from the ReminderNotificationsViewController. - Validate the date (ensuring it's not nil and is in the future). - Call the mediator's -setReminderForURL:time: method to persist the valid data. This integration enables the saving of reminder data (URL and time) when the user confirms setting a reminder. The actual notification scheduling will be addressed in a subsequent CL. Change-Id: Ic0949b01c17948222c0704106d2dc51f1ee86fdc Bug: 389911131 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6621952 Reviewed-by: Scott Yoder <scottyoder@google.com> Commit-Queue: Benjamin Williams <bwwilliams@google.com> Cr-Commit-Position: refs/heads/main@{#1471200}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.