0
Files
src/ios
Duncan Mercer be0b8966fc Change ContextualSearchProvider to get Lens inputs async
Lens suggest inputs are an async process, that require a handshake with
the server. If the ContextualSearchProvider makes the suggest request
before the inputs are ready, the request will fail. To fix this, the
ContextualSearchProvider will now wait for the suggest inputs
asynchronously, and issue the suggest request when they are ready. This
CL also must change the autocomplete controller to allow the CSP to
provide suggestions after done, since the suggest inputs might take
longer than the request.

Note: Other flows the use Lens suggest inputs still grab them
synchronously, and were not included in this CL in favor of a longer
term rework.

Bug: 408227398
Change-Id: I620e40e3e47d4236438216ccc322a7e59d849fce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6435196
Reviewed-by: Orin Jaworski <orinj@chromium.org>
Reviewed-by: Moe Ahmadi <mahmadi@chromium.org>
Reviewed-by: Sergio Collazos <sczs@chromium.org>
Commit-Queue: Duncan Mercer <mercerd@google.com>
Cr-Commit-Position: refs/heads/main@{#1444445}
2025-04-08 16:25:08 -07:00
..
2025-03-13 09:03:11 -07:00
2021-09-28 06:50:47 +00:00
2022-09-26 16:20:42 +00:00

This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.