3869862f7e60fd8c35b1b50fa8ac2737d4b48289
DeviceInfo added ios promo ctor arg
This new argument in the constructor has to be passed along with the Brave-specific code and the Chromium new interface. Chromium changes: https://chromium.googlesource.com/chromium/src/+/3d9be32e4f4422b9807a20f83f6e963412c367e1 commit 3d9be32e4f4422b9807a20f83f6e963412c367e1 Author: Hira Mahmood <hiramahmood@google.com> Date: Mon Dec 29 08:50:36 2025 -0800 Add desktop_to_ios_promo_receiving_enabled to DeviceInfo The new Desktop-to-iOS promos involve a reminder flow that allows users to tap a button on the desktop promo to send a reminder to their iOS device. This CL adds a field to DeviceInfo to signal if the receiving end of the Desktop-to-iOS promos are enabled are on the iOS device, and checks the value of the field (in chrome/browser/ui/promos/ios_promo_controller.cc) before displaying the desktop promo to ensure the desktop promo is only shown if the entire flow is enabled. Once the desktop-to-iOS promo feature is fully ramped up, the field will be removed. More context/discussion on the experiment set-up can be found in crbug.com/449758460 Low-Coverage-Reason: TESTS_IN_SEPARATE_CL Fixed: 470198750 Change-Id: Ib51e77f52c181e2eba4b543f81136f4a7ebc5599 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7276213 Reviewed-by: Jood Hajeer <jood@google.com> Owners-Override: Hira Mahmood <hiramahmood@google.com> Commit-Queue: Hira Mahmood <hiramahmood@google.com> Cr-Commit-Position: refs/heads/main@{#1563145}
…
…
…
…
…
Brave Core
Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser
Follow @brave on Twitter for important announcements.
Resources
Community
You can ask questions and interact with the community in the following locations:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%