commit | 126f924268f24aaa85a6eacc8763395bfefe1416 | [log] [tgz] |
---|---|---|
author | Dan Harrington <harringtond@chromium.org> | Mon Jan 06 20:42:35 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 06 20:42:35 2025 |
tree | a795bd8345be97522d5740d4ad2cfe51533821f7 | |
parent | 822bf918f6ceffad395a231753375977ddb6caf2 [diff] |
Add auth cookie syncing for glic Add functions to sync webview cookies to glic.mojom. One is exposd to the web client, and one is used by the webview directly. These functions write google login cookies to the webview storage partition. The webview syncs cookies before trying to navigate the webview, and the web client can request cookie sync on demand. On future iterations, we may want to sync cookies sooner to avoid waiting. GlicCookieSynchronizer was heavily inspired by ash/webui/graduation/webview_auth_handler.cc. Bug: 377975517 Change-Id: I1f3c4dd93ff943183fd45e3df00c7297b59cbffb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6107730 Reviewed-by: Alex Gough <ajgo@chromium.org> Reviewed-by: Alex Ilin <alexilin@chromium.org> Reviewed-by: Carlos Knippschild <carlosk@chromium.org> Commit-Queue: Dan H <harringtond@chromium.org> Cr-Commit-Position: refs/heads/main@{#1402596}
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.