0
Go to file
Amelie Schneider 425d0d37a5 [B4B] Add bookmarks specific explicit signin pref
Add a new pref that specifically records when the user performs an
explicit sign in from the bookmark bubble. This is a Signin pref which
means it is a per-account pref.

`SelectTypeAndMigrateLocalDataItemsWhenActive` no longer selects the
data type for account storage, but resets it to its default value in
case it had been disabled before. This is done so that if the default
value is determined through a pref (e.g. for bookmarks or extensions),
the pref can be unset through disabling the flag again, and the explicit
opt-in does not persist. For bookmarks, this flag is
`switches::kSyncEnableBookmarksInTransportMode`.

Since the code paths that lead to this function all go through the sign
in promo, the default value for all types should be set to true. Those
users that had previously explicitly opted out will go back to relying
on the default value.

Scenarios:
- User was explicitly opted in before -> stay explicitly opted in
- User was explicitly opted in before -> opted in through default value
- User had not previously made a choice -> opted in through default value

Bug: 399327164
Change-Id: I930b3968c5a1fa2d2a03b10ffe2b80cb8f84e87b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6308817
Reviewed-by: Marc Treib <treib@chromium.org>
Reviewed-by: David Roger <droger@chromium.org>
Commit-Queue: Amelie Schneider <amelies@google.com>
Cr-Commit-Position: refs/heads/main@{#1428307}
2025-03-05 07:04:45 -08:00
2025-03-03 15:05:17 -08:00
2025-02-24 12:44:08 -08:00
2025-03-04 09:08:59 -08:00
2025-03-03 11:05:23 -08:00

Logo Chromium

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.

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%