Commit Graph
75837 Commits
Author SHA1 Message Date
Claudio DeSouza 6a4d79e9b2 [cr146] GetDomainDiversity dropped V2 metrics
This is overall a simplification, as the callback doesn't produce a pair
of metrics anymore, but just the desired one.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c63bd9318b07813ff357fc150ab02743e63b332c

commit c63bd9318b07813ff357fc150ab02743e63b332c
Author: Mark Pearson <mpearson@chromium.org>
Date:   Mon Feb 2 12:00:02 2026 -0800

    Deprecate Domain Diversity V2 metrics.

    [AI generated summary]

    This change removes the "V2" versions of the Domain Diversity metrics
    (History.DomainCount*Day_V2) which included synced visits. The
    `GetDomainDiversity` API in HistoryBackend and
    `CountUniqueDomainsVisited` in HistoryDatabase are simplified to only
    return results based on locally visited domains, as the V3 and V4
    metrics only use local counts. The corresponding unit tests and
    histogram definitions are updated accordingly.

    BUG=477024476,40896778
    OBSOLETE_HISTOGRAMS=Replaced with _V3 and _V4 versions of the histograms.

    Change-Id: Ibf52839ab6ba8afbbdadabe6cde0b3605b6c5bf0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7528718
    Reviewed-by: Marc Treib <treib@chromium.org>
    Commit-Queue: Mark Pearson <mpearson@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1578302}
2026-02-26 14:14:50 +00:00
Claudio DeSouza 5dd14022ed [cr146] Re-stubbing WalletHttpClientImpl
With the base class changing the functions it now provides as pure
virtual, this change follows the new approach and sets the new APIs to
produce failures when called.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/f3bc58a3baae4acd9de8f729f135fa0e7349ea4d

commit f3bc58a3baae4acd9de8f729f135fa0e7349ea4d
Author: Norge Vizcay <vizcay@google.com>
Date:   Mon Feb 2 04:47:09 2026 -0800

    [Wallet] Refactor WalletHttpClient to use UpsertPass

    This CL refactors the WalletHttpClient interface to support both saving
    and updating passes via a new UpsertPass method.

    Key changes:
    - Renamed SavePass to UpsertPass and added GetUnmaskedPass to the interface.
    - Updated UpsertPass documentation to clarify that the presence of an ID determines whether a pass is saved as new or updated.
    - Modified callbacks to return the WalletPass data model directly instead of a dedicated result struct.
    - Added an optional id field to the WalletPass struct.
    - Updated the ingestion controller and unit tests to match the new API.

    Bug: 478783796
    Change-Id: I920e39912e741e89d24285d9a79759357d7414fe
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7535239
    Commit-Queue: Norge Vizcay <vizcay@google.com>
    Reviewed-by: Jan Keitel <jkeitel@google.com>
    Cr-Commit-Position: refs/heads/main@{#1578049}
2026-02-26 14:14:50 +00:00
Claudio DeSouza f3e6e9e286 [cr146] CommandId::kToggleLinkState for metric suffixes
Adding handling for this new case is necessary to correct the switch
case.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/d6fa813eaf933319c92ceab1a59077818ce1de1c

commit d6fa813eaf933319c92ceab1a59077818ce1de1c
Author: Alison Gale <agale@chromium.org>
Date:   Mon Feb 2 12:33:53 2026 -0800

    [SxS] Add more user actions for managing splits

    These were requested for more flexible analysis by the data science team

    Bug: 479273941
    Change-Id: I7b3d99efd898f60e0c00695734f7f30bc35edbd3
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7533986
    Reviewed-by: Charles Meng <charlesmeng@chromium.org>
    Commit-Queue: Alison Gale <agale@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1578324}
2026-02-26 14:14:50 +00:00
AlexeyBarabash e107ef2424 [cr146][Android] Fixed BraveTabbedAppMenuPropertiesDelegateUnitTest
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/e9b66588061acba6de9417f298e398877eae420e

	[TabBottomSheet] Define Glic Button and Add to 3-dot menu Icon row

	Bug: 475592538
	Change-Id: Ia85a0ae72abb8a7cff20a460807be285ce663d9d
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7474125
2026-02-26 14:14:50 +00:00
AlexeyBarabash f81bf2445a [cr146][Android] Fixed brave_unit_tests on Android
Originally `brave_unit_tests` failed with ClassNotFoundException for
org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegate

This new class is at //chrome/browser/ui/browser_window/internal:java target.

Upstream's test depends on it:
```
gn path out/android_Static //chrome/android:chrome_public_test_apk \
//chrome/browser/ui/browser_window/internal:java

//chrome/android:chrome_public_test_apk --[private]-->
//chrome/android:chrome_all_java --[private]-->
//chrome/browser/ui/browser_window/internal:java
```
but brave_unit_tests` didn't, so added corresponding deps.

Attepts to use less scope deps
`//chrome/browser/ui/browser_window/internal:java` or
`//chrome/browser/ui/browser_window` didn't help, the 1st was rejected with
visibility error, with the  2nd there still was a crash.

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/bfc09e8bb39dfa5f4bbec1d62194cef500caa184

	Set up cross-platform structure for GlobalBrowserCollection.

	We decided to use per-platform delegates to implement the
	platform-specific behaviour, while keeping the GlobalBrowserCollection
	class itself platform-agnostic.

	See
	https://docs.google.com/document/d/17yoOyDfHPaRo-MY4QDqvBK_adPnO2jymZbNh4JvNST8/edit?tab=t.0
	for discussion and reasoning (this is "option 8").

	This CL:

	* removes global_browser_collection_android.cc and
	  global_browser_collection_non_android.cc, unifying them back into
	  global_browser_collection.cc

	* renames global_browser_collection_non_android_browsertest.cc back to
	  global_browser_collection_browsertest.cc (it is not Android-compatible
	  yet, but the goal is to make it work on Android when the Android
	  implementation is ready)

	* adds a shared global_browser_collection_platform_delegate.h header and
	  separate per-platform .cc implementations (the Android side remains
	  unimplemented so far - the real implementation will happen in future
	  CLs, but for now, at least it compiles)

	* moves the BrowserCollectionObserver implementation out of
	  GlobalBrowserCollection and into the non-Android implementation of
	  GlobalBrowserCollectionPlatformDelegate - the Android implementation
	  will not need to be a BrowserCollectionObserver

	* enables the GlobalBrowserCollection member in GlobalFeatures for
	  Android

	Bug: 474120522
	Bypass-Check-License: global_browser_collection_browsertest.cc is renamed, not new
	Change-Id: I5adeb3067055b55966b717573be3e4a66a6a6964
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7494036
2026-02-26 14:14:50 +00:00
Emerick Rogul 5eadd85971 [cr146] Make BraveLocalHistoryZeroSuggestProvider respect SearchSuggestEnabled policy
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/850060e72f8b51e15570141311ffab3ccc65da6e

commit 850060e72f8b51e15570141311ffab3ccc65da6e
Author: Tomasz Wiszkowski <ender@google.com>
Date:   Fri Jan 23 13:34:36 2026 -0800

    Make LocalHistoryProvider respect SearchSuggestEnabled policy.

    Change-Id: Ie6020196848693ea8a269f6b71c1caefa7e11558
    Fixed: 467055805
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7511959
    Commit-Queue: Tomasz Wiszkowski <ender@google.com>
    Commit-Queue: Sky Malice <skym@chromium.org>
    Auto-Submit: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Sky Malice <skym@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1573914}
2026-02-26 14:14:49 +00:00
AlexeyBarabash 21302ec663 [cr146][Android] Clean up OmniboxMobileParityUpdateV2 on Android (Part 1)
NewTabPage.updateSearchProvider is now void at upstream

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/d23864706c014549e1f1333face1ece0046c52bd

	[ParityV2] Clean up OmniboxMobileParityUpdateV2 on Android (Part 1).

	Clean up feature flag OMNIBOX_MOBILE_PARITY_UPDATE_V2 and feature
	param "retrieve_builtin_favicon" on Android.

	Bug: 426594110
	Change-Id: I705823eb0dbd34b0e1187dfde3b20f12c4b78fa7
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7523327
2026-02-26 14:14:49 +00:00
AlexeyBarabash 1392409769 [cr146][Android] Fix for gn_check failure on actor_keyed_service_factory.h
```
https://ci.brave.com/job/brave-core-build-pr-android/job/PR-33234/86/console

23:38:46  > gn gen /home/ubuntu/workspace/e-core-build-pr-android_PR-33234/src/out/android_Static --check
23:39:42
 ERROR at //brave/browser/ai_chat/ai_chat_service_factory.cc:36:11: Include not allowed.
23:39:42  #include "chrome/browser/actor/actor_keyed_service_factory.h"
23:39:42            ^-------------------------------------------------
23:39:42  It is not in any dependency of
23:39:42    //brave/browser/ai_chat:ai_chat
23:39:42  The include file is in the target(s):
23:39:42    //chrome/browser/actor:actor
23:39:42  which should somehow be reachable.
23:39:42  This might be a false alarm if you are using conditional include. See "gn help nogncheck".
```

Moved deps out of `if (enable_brave_ai_chat_agent_profile) {` guard, which is false on Android,
but gn_check can't process `#if BUILDFLAG(ENABLE_BRAVE_AI_CHAT_AGENT_PROFILE)` guard at .cc file
2026-02-26 14:14:49 +00:00
AlexeyBarabash bbf9b63412 [cr146][Android] Make MonotonicObservableSupplier implement Supplier<@Nullable>
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/6500325e057365791ae060e8c8405fd43ff48fab

	Android: Make MonotonicObservableSupplier implement Supplier<@Nullable>

	And fix all warnings that result from doing so.
	Supplier.get() is still being treated as @NullUnmarked. That's the
	last step in this migration!

	Bug: 478248581
	Change-Id: I0158e81ec0a739e05c6d89a28586f78b1e633ce5
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7531037
2026-02-26 14:14:49 +00:00
AlexeyBarabash 17f8419622 [cr146][Android] Create OmniboxChipManager and the open-in-app chip
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/466f936e51f26b1bb438f4f7bda2dd65a4b86c6e

	[Link Capturing] Create OmniboxChipManager and the open-in-app chip

	Low-Coverage-Reason: TESTS_IN_SEPARATE_CL implementation not at a point to test properly yet
	Bug: 450253146
	Change-Id: Id4296ce2ce685dcca9be535f8308a1295a1772a4
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7362069
2026-02-26 14:14:49 +00:00
Emerick Rogul b5008a5b3a [cr146] Install constants moved to .h and made constexpr
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e4d13074ca00c5f48b4623c7ce74b3022d849ed7

commit e4d13074ca00c5f48b4623c7ce74b3022d849ed7
Author: Will Harris <wfh@chromium.org>
Date:   Thu Jan 29 23:19:24 2026 -0800

    Change some install constants to be constexpr

    This allows deletion of the .cc as these can now be inline constexpr,
    and unlocks some use of static_assert elsewhere in the code.

    BUG=None

    Change-Id: I59144c073c3d43cdd28e5e7109ca1c08b92fd0ca
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7529804
    Commit-Queue: Will Harris <wfh@chromium.org>
    Reviewed-by: Greg Thompson <grt@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1577063}
2026-02-26 14:14:49 +00:00
Claudio DeSouza 8397132a93 [cr146] ActorPolicyChecker::MayActOnUrl dropped
There is a free function that should be used in place of the previous
member function.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/2859095334d41f496f576cc45478a6231b2ed99b

commit 2859095334d41f496f576cc45478a6231b2ed99b
Author: David Bokan <bokan@chromium.org>
Date:   Fri Jan 30 21:10:30 2026 -0800

    Actor: Refactor SitePolicy's use of ActorPolicyChecker

    This CL is a non-functional refactor.

    Currently site policy checks are expected to flow through
    ActorPolicyChecker.  This CL flips the dependency so that clients call
    the site policy functions and pass in an ActorPolicyChecker via an
    interface which implements enterprise-specific checks.

    This allows ActorPolicyChecker to be re-implemented for non-Glic clients
    and will allow ActorPolicyChecker to be moved out of actor/ and into
    glic/ where it belongs.

    Change-Id: I4789aa391f4605bd44f4697a7a3c06fee2c50b70
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7535818
    Reviewed-by: Kevin McNee <mcnee@chromium.org>
    Commit-Queue: David Bokan <bokan@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1577683}
2026-02-26 14:14:49 +00:00
AlexeyBarabash 61234131f6 [cr146][Android] New arg lockTopControlsTokenJar at ToolbarManager.ctor
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/90bbbf8c22d3727c3f35756a863dc1bb222db2d0

	[BrowserControls] Defer lock status change during DTC transition

	TopControlsStacker calculates the layer offset assuming they keep a
	consistent height and min height during transitions. As a result, if we
	change the top control lock status, which would change whether layers
	contribute to minHeight, would cause unexpected behaviors for browser
	driven offset calculations.

	This CL lets TabStripTopControlLayer uses the TokenHolder provided by
	TopControlLockCoordinator to prevent the lock status from changing, to
	ensure layers can maintain a consistently state whether they contribute
	to minHeight during tab strip transition.

	Bug: 469484975
	Change-Id: I57b55604c062940bcc120788f0b0764c244bd292
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7355240
2026-02-26 14:14:49 +00:00
AlexeyBarabash ec275e4425 [cr146][Android] Removed autocompleteRequestTypeSupplier arg from LocationBarMediator.ctor
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/ca260a24031dfacb97def5ee3a9bcd71bdc2ee15

	Make AutocompleteInput-s RequestType an ObservableSupplier.

	This change moves the AutocompleteRequestType from FuseboxCoordinator
	over to AutocompleteInput from where it can be restored when session
	resumes.

	Change-Id: I42339d276615c53328687e9eb54e72867f8e7acf
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7522070
2026-02-26 14:14:49 +00:00
AlexeyBarabash 2a54b37c33 [cr146][Android] Rename ObservableSupplier -> MonotonicObservableSupplier
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/b8cb84d2901aeffc0003b15622a3052de7a20023

	Rename ObservableSupplier -> MonotonicObservableSupplier

	Bypass-Check-License: Rename
	Change-Id: I101e53b7542d56566c128c23e6d6b081bcd3348c
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7487973
2026-02-26 14:14:49 +00:00
Emerick Rogul fcddc9ae79 [cr146][ios] Remove affiliation_service param from cwv implementation
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/984c780312885cf121614610da110870c93c0dac

commit 984c780312885cf121614610da110870c93c0dac
Author: Raghav Bhasin <raghavbhasin@google.com>
Date:   Wed Jan 28 11:35:30 2026 -0800

    Update ios cwv implementation to use the shared components' affiliation matching instead of manually calling the service. See go/iga-andorid-passwords-support for detailed design and reasoning behind the change

    bug: 476353325
    Change-Id: Ifd78a42e0915a951473f756ab3fc8f03aeb81cbd
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7504214
    Reviewed-by: Carlos Acosta <cyacosta@google.com>
    Reviewed-by: John Wu <jzw@chromium.org>
    Commit-Queue: Raghav Bhasin <raghavbhasin@google.com>
    Cr-Commit-Position: refs/heads/main@{#1576104}
2026-02-26 14:14:48 +00:00
Claudio DeSouza 347f1777a8 [cr146] StarterPackId now an enum class
This requires the name of the enum to be spelled out.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/6e4cc50b9f581a8aaa39dacb95bcfb2dc95f8e83

commit 6e4cc50b9f581a8aaa39dacb95bcfb2dc95f8e83
Author: Keigo Oka <oka@google.com>
Date:   Fri Jan 30 03:08:52 2026 -0800

    site search: make StarterPackId an enum class

    Bug: 399443172
    Change-Id: I911a50c67cc5b87ed0a731f3228f68c414270a39
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7525925
    Reviewed-by: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Nohemi Fernandez <fernandex@google.com>
    Commit-Queue: Keigo Oka <oka@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1577142}
2026-02-26 14:14:48 +00:00
Claudio DeSouza 369f59f5c9 [cr146] DraggingTabsSession dropped ctor offset arg
This argument was just being passed along by the overriden class.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/39d901b3e64ec2b6e255e394eb0d7a1b29a1635c

commit 39d901b3e64ec2b6e255e394eb0d7a1b29a1635c
Author: Kaan Alsan <alsan@chromium.org>
Date:   Thu Jan 29 11:49:10 2026 -0800

    Move drag offset data into DragSessionData

    This is a refactoring with no changes in logic.

    This moves the offset out of TabDragController and into DragSessionData.
    This will allow clients (e.g. TabDragContext or TabDragTarget) to access
    it and use it for layout calculations.

    Change-Id: I12c48932651b806d5bc38987828f24a10aa67513
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7532031
    Commit-Queue: Kaan Alsan <alsan@chromium.org>
    Reviewed-by: Alison Gale <agale@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1576761}
2026-02-26 14:14:48 +00:00
Claudio DeSouza bab9a6df4a [cr146] TabRemovedReason now in its own header
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/3554d7986d52833e691514fdad5835bca2cc47a4

commit 3554d7986d52833e691514fdad5835bca2cc47a4
Author: Devlin Cronin <rdevlin.cronin@chromium.org>
Date:   Thu Jan 29 15:38:15 2026 -0800

    [Tabs] Move TabStripModelObserver::RemoveReason

    Move TabStripModelObserver::RemoveReason to a general
    TabRemovedReason file. This will allow it to be reused with the
    platform-agnostic TabListInterfaceObserver.

    This CL has no behavior change.

    Bug: 479561829
    Change-Id: I69189246e5b42e7ea798dd722498821f4807f69e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7529713
    Commit-Queue: Devlin Cronin <rdevlin.cronin@chromium.org>
    Commit-Queue: Darryl James <dljames@chromium.org>
    Auto-Submit: Devlin Cronin <rdevlin.cronin@chromium.org>
    Reviewed-by: Darryl James <dljames@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1576905}
2026-02-26 14:14:48 +00:00
Claudio DeSouza 690445e399 [cr146] base::DictValue/base::ListValue aliases deleted
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/6bc468d481835992696083e99e556516fb7f5f80

commit 6bc468d481835992696083e99e556516fb7f5f80
Author: Avi Drissman <avi@chromium.org>
Date:   Thu Jan 29 22:14:50 2026 -0800

    Remove aliases for base::DictValue and base::ListValue

    This removes a few last stragglers as well.

    Fixed: 478100525
    Cq-Include-Trybots: luci.chromium.try:win-official,mac-official,linux-official,android-official,android-desktop-x64-official
    Change-Id: If92142b8ab0562a82c609b71c6b2a7665cea6ec6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7513889
    Auto-Submit: Avi Drissman <avi@chromium.org>
    Commit-Queue: Daniel Cheng <dcheng@chromium.org>
    Owners-Override: Daniel Cheng <dcheng@chromium.org>
    Reviewed-by: Daniel Cheng <dcheng@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1577038}
2026-02-26 14:14:48 +00:00
Claudio DeSouza fac65627b9 [cr146] Cherry-pick fix for buildflag_header has landed
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/93d7cdf927a4cb81327613abbcfb66ddff0ab330

commit 93d7cdf927a4cb81327613abbcfb66ddff0ab330
Author: Brian Bondy <brian@brave.com>
Date:   Tue Jan 20 22:49:30 2026 -0800

    Fix buildflag_header template to support invoker's public_deps

    The template was forwarding public_deps from the invoker via
    forward_variables_from(), but then unconditionally assigning to it.
    This is incompatible - you can't forward a variable and also directly
    assign to it.

    The fix removes public_deps from forward_variables_from and explicitly
    checks for invoker.public_deps after initializing the required
    //build:buildflag_header_h dependency.

    Bug: 476399185
    Change-Id: I1dfd5bffd589c92088939540ec8d41978281d617
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7486518
    Reviewed-by: Claudio DeSouza <cdesouza@chromium.org>
    Reviewed-by: Andrew Grieve <agrieve@chromium.org>
    Reviewed-by: Philipp Wollermann <philwo@google.com>
    Auto-Submit: Brian Bondy <brian@brave.com>
    Commit-Queue: Philipp Wollermann <philwo@google.com>
    Cr-Commit-Position: refs/heads/main@{#1572085}
2026-02-26 13:47:51 +00:00
AlexeyBarabash a47ef100fe [cr146][Android] Convert ObservableSupplierImpl usages in omnibox
This is commit for changes required by ToolbarManager.mOverlayPanelVisibilitySupplier
type change from ObservableSupplierImpl to SettableNonNullObservableSupplier

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/9dc3f0d9c6752101cdbec7685dc8df9231333a73

	Android: Convert ObservableSupplierImpl usages in omnibox

	Bug: 467389696
	Change-Id: Ie664088a70e547ab0d19e518019911ee35c9c7cf
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7511143
2026-02-26 13:47:51 +00:00
AlexeyBarabash de15e906b7 [cr146][Android] Convert ObservableSupplierImpl usages in ChromeActivity
This is commit for changes required by ToolbarManager.mBookmarkModelSupplier
type change from MonotonicObservableSupplier to NullableObservableSupplier

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/cb9efe8c51a5119c7e84ad2ae97b5b1ea459529c

	Android: Convert ObservableSupplierImpl usages in ChromeActivity

	Bug: 467389696
	Change-Id: Ib34931fa9d1553e0289ce5bfc22273831f9c660a
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7494558
2026-02-26 13:47:51 +00:00
AlexeyBarabash 2304174ac8 [cr146][Android] isInNarrowWindowOnTablet was moved from NewTabPageLayout to NtpCustomizationUtils`
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/23c8fddd48102899160ce4d71b1ab1949c88a248

	[Theme] Add NtpCustomizationPolicyManager.

	In this CL, we add NtpCustomizationPolicyManager which listens to
	Pref.NTP_CUSTOM_BACKGROUND_DICT changes.
	1) Pref.NTP_CUSTOM_BACKGROUND_DICT being managed means the
	   policy::key::NTPCustomBackgroundEnabled is disabled.
	2) When the policy NTPCustomBackgroundEnabled changes,
	   NtpCustomizationPolicyManager saves the latest policy value to the
	   shared preference. It will apply after relaunch chrome. This allows
	   the UI correct when CTA isn't recreated.
	Demo: http://shortn/_nBBqRNFS3N

	Bug: 467029432
	Change-Id: I04a50d0d814802fbd3ef8be29414a17181adae98
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7500251
2026-02-26 13:47:51 +00:00
Emerick Rogul 4146193c18 [cr146] New sync type GEMINI_THREAD added
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/f5386e1d78baffbf78e99aba30af179d70550c6d

commit f5386e1d78baffbf78e99aba30af179d70550c6d
Author: David Maunder <davidjm@google.com>
Date:   Mon Jan 26 17:14:36 2026 -0800

    Add GEMINI_THREAD sync type

    Adds the new DataType enum value and an empty specifics proto.
    Generated from components/sync/bootstrap_new_data_type.sh.

    Note to sync reviewer: please verify for every touched static_assert(),
    the change is fitting or has a corresponding TODO.

    Bug: 476335087
    Change-Id: I3b1a8715ade31824f4931ac262e8de0f8fdd7a3f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7503343
    Reviewed-by: Maksim Moskvitin <mmoskvitin@google.com>
    Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
    Reviewed-by: Ankush Singh <ankushkush@google.com>
    Commit-Queue: David Maunder <davidjm@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1574895}
2026-02-26 13:47:51 +00:00
Claudio DeSouza d40730528b [cr146] WalletablePass => WalletPass
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/3ed3758939d175c173d16090cb2e0eafd9583fe4

commit 3ed3758939d175c173d16090cb2e0eafd9583fe4
Author: Norge Vizcay <vizcay@google.com>
Date:   Wed Jan 28 01:30:02 2026 -0800

    Rename WalletablePass to WalletPass in the wallet data model.

    This change renames the WalletablePass struct to WalletPass and updates
    its associated files and references across the wallet component. It also
    simplifies the request building logic in WalletHttpClientImpl as part of
    the transition to a more generic data model for Google Wallet passes.

    Bypass-Check-License: Files were moved.
    Bug: 478783796
    Change-Id: I94d65f6a78a439901d1fbec4707ccf645446023d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7520530
    Commit-Queue: Norge Vizcay <vizcay@google.com>
    Reviewed-by: Jan Keitel <jkeitel@google.com>
    Cr-Commit-Position: refs/heads/main@{#1575789}
2026-02-26 13:47:51 +00:00
Claudio DeSouza 9406c5aa6e [cr146] GetDestinationUrlForStarterPackId with StarterPackId
This function's signature has been updated in upstream, and this has to
reflect on the override we have as well.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/2da6a2e1fcb570ba10d9c1b65bbd742ae9dfbf8d

commit 2da6a2e1fcb570ba10d9c1b65bbd742ae9dfbf8d
Author: Keigo Oka <oka@google.com>
Date:   Tue Jan 27 21:30:24 2026 -0800

    site search: Use enum for StarterPackId

    This allows us to export them to Java later.

    Bug: 399443172
    Change-Id: If3d7fbbc5be844f5f3bf1fdb876a24ea183a2c1c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7512676
    Reviewed-by: Tomasz Wiszkowski <ender@google.com>
    Commit-Queue: Keigo Oka <oka@chromium.org>
    Auto-Submit: Keigo Oka <oka@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1575696}
2026-02-26 13:47:51 +00:00
Claudio DeSouza 0334e974a6 [cr146] kSidePanelRelativeAlignment deleted
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/ce4b2df212d4bf1deacdb1c44adcc61d63a34109

commit ce4b2df212d4bf1deacdb1c44adcc61d63a34109
Author: Caroline Rising <corising@chromium.org>
Date:   Wed Jan 28 10:12:10 2026 -0800

    Remove side panel relative alignment flag.

    Change-Id: I8da4cd7fab8fe52bdf57256af0079c5ffb53ed08
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7522745
    Reviewed-by: Eshwar Stalin <estalin@chromium.org>
    Commit-Queue: Caroline Rising <corising@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1576046}
2026-02-26 13:47:51 +00:00
Claudio DeSouza f944bff02a [cr146] TabRendererData::FromTabInModel deleted
Use `TabRendererData::FromTabInterface` and `GetTabAtIndex` instead, as
demonstrated in upstream code.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/ed15841a395ab3edcef099cf79eaccc87109cd1

commit ed15841a395ab3edcef099cf79eaccc87109cd1f
Author: Steven Luong <stluong@chromium.org>
Date:   Wed Jan 28 10:30:22 2026 -0800

    [TabRendererData] Update params to create TabRendererData

    Rather than generating a TabRendererData from a TabStripModel and index,
    this CL updates allows a TabRendererData to be generated from a
    TabInterface instead.

    Fixed: 438828983
    Change-Id: Ib1f34f4d635428db7da01defb5b8bd51f2e1d4cf
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7513658
    Reviewed-by: Eshwar Stalin <estalin@chromium.org>
    Commit-Queue: Steven Luong <stluong@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1576060}
2026-02-26 13:47:51 +00:00
Claudio DeSouza a7e98e1e9f [cr146] EventListenerInfo expects filter arg
This new optional argument has been added to this constructor, and
passing `nullptr` suffices for our usecase.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/aa20421f6ed5fccebeffefd43aff3aa7ef00196a

commit aa20421f6ed5fccebeffefd43aff3aa7ef00196a
Author: Andrea Orru <andreaorru@chromium.org>
Date:   Wed Jan 28 08:23:46 2026 -0800

    [Extensions] Refactor WebRequest listener registration via EventRouter

    This change introduces an alternative path for registering webRequest
    event listeners, guarded by the WebRequestAlternativeAddListener feature
    flag. This approach leverages the standard EventRouter observer pattern
    instead of the custom webRequestInternal API.

    This change adds support for passing an `options` object through the
    standard registration pipeline as an extra argument to `addListener`.

    This is in preparation to moving the custom persisted listener logic
    from WebRequest to EventRouter.

    There's no expected behavior change from this CL, since it's gated by a
    disabled feature flag.

    Bug: 474558883
    Change-Id: I4c40c7cfb15bf5e4dfdff1c884ad44dee686e1a6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7419247
    Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
    Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
    Commit-Queue: Andrea Orru <andreaorru@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1575969}
2026-02-26 13:47:50 +00:00
Claudio DeSouza c9c65d2db8 [cr146] HasTabSearchToolbarButton moved into its own header
This change corrects inclusion headers and overrides for
`HasTabSearchToolbarButton`.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/96dad451ae9bfef46c85c0b5a0cd4025e13af109

commit 96dad451ae9bfef46c85c0b5a0cd4025e13af109
Author: Alison Gale <agale@chromium.org>
Date:   Wed Jan 28 07:22:54 2026 -0800

    Move HasTabSearchToolbarButton to separate file

    This is needed to resolve circular dependencies when the dependency
    order is inverted. There is no functionality change with this CL.

    Followup: https://chromium-review.googlesource.com/c/chromium/src/+/7522306

    Bug: 478026044
    Change-Id: I61fc6463d29cbdaa04f9bd5d366f378315d57a2e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7522889
    Auto-Submit: Alison Gale <agale@chromium.org>
    Reviewed-by: Eshwar Stalin <estalin@chromium.org>
    Commit-Queue: Alison Gale <agale@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1575926}
2026-02-26 13:47:50 +00:00
Claudio DeSouza b5fa3e2087 [cr146] browser_action_util.h => actor_proto_conversion.h
This is a simple file renaming, but it affects the overrides we had for
it.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/ba641d55781204e00044e0682102032957172bcb

commit ba641d55781204e00044e0682102032957172bcb
Author: Linda Wang <lindaywang@google.com>
Date:   Wed Jan 28 15:43:10 2026 -0800

    Migrate and rename browser_action_util to actor_proto_conversion

    Bug: b:478861336
    Binary-Size: Size increase is unavoidable.
    Bypass-Check-License: files are being renamed
    Change-Id: I6639d9e5ae3536782e8e2bfb0147acce00a2017f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7516433
    Reviewed-by: Sophie Chang <sophiechang@chromium.org>
    Commit-Queue: Linda Wang <lindaywang@google.com>
    Reviewed-by: Salvador Guerrero Ramos <salg@google.com>
    Cr-Commit-Position: refs/heads/main@{#1576243}
2026-02-26 13:47:50 +00:00
Claudio DeSouza 9a506492ca [cr146] BrowserList not iteratable anymore
This chage corrects several places where `BrowserList::begin()/end()`
were being used to iterate over the existing browsers, and replaces it
with `GlobalBrowserCollection::GetInstance()->ForEach`. This is a crude
fix, and there are possibly better ways to approach some of these
problems.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c109836647bb0459d8076484ba1b1cc5b5b44b4d

commit c109836647bb0459d8076484ba1b1cc5b5b44b4d
Author: Qikai <qikaizhong@microsoft.com>
Date:   Thu Jan 29 00:51:37 2026 -0800

    [bedrock] Migrate last BrowserList begin/end usages

    Migrate BrowserList::begin()/end() to GlobalBrowserCollection and
    BrowserListObserver to BrowserCollectionObserver where appropriate.

    Changes:
    - Update callers of begin()/end() to use GlobalBrowserCollection::ForEach()
    - Migrate BrowserListObserver to BrowserCollectionObserver
    - Move BrowserList::begin()/end() to private section
    - Remove deprecated BrowserList apis

    Bug: 431671320
    Change-Id: I8b1b1556081590df2f0a02796452be53dd5d28ca
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7508892
    Reviewed-by: Tom Lukaszewicz <tluk@chromium.org>
    Commit-Queue: Qikai Zhong <qikaizhong@microsoft.com>
    Cr-Commit-Position: refs/heads/main@{#1576420}
2026-02-26 13:47:50 +00:00
AlexeyBarabash d4db7fcba4 [cr146][Android] openInAppMenuItemProvider arg at TabbedAppMenuPropertiesDelegate.ctor
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/c66c93e16c77f0357a729ea2bd39a05ce95af5ef

	[Link Capturing] Create Open in App entry point classes

	Low-Coverage-Reason: TESTS_IN_SEPARATE_CL New code isn't yet fully implemented
	Bug: 450253146
	Change-Id: I8eb1ebe754e3b244c2fa0b426597bdbc605aa071
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7426174
2026-02-26 13:47:50 +00:00
AlexeyBarabash 18939531c2 [cr146][Android] dragTouchHandler arg Bookmark*** classes
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/800bcec4216aaa7dd4df9f86af6e9804d760c8ec

	actions revamp: Extract DragTouchHandler from RecyclerViewAdapter

	This CL extracts `DragTouchHandler` from
	`DragReorderableRecyclerViewAdapter` for better separation of concerns
	and better customizability of the class.

	This is in preparation of implementing custom behaviors for the toolbar
	actions. The plan is inject a customized `DragTouchHandler` with some
	overriding methods. These will come in following CLs.

	This is a pure refactor and there should be no functional change with
	this CL.

	Bypass-Check-License: Renamed file in parent CL
	Bug: 477519777
	Change-Id: I55dff45b4664d77eb74bdd37c8c18dce74ce7680
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7500135
2026-02-26 13:47:50 +00:00
AlexeyBarabash a41bfd8044 [cr146][Android] SearchEngineAdapter.ctor change
New arg siteSearchClickHandler

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/ce9bd0417d1e559e2d3ae5f8b19ee1530b62c369

	Site Search: Add site search setting entry

	This CL adds a "Manage search engine and site search entry" in existing
	Search Engine Settings page. This advanced setting option will be
	displayed based on omnibox site search feature flag.

	Bug: 459588730
	Change-Id: I5c1c806f8d0fcec40b87cb94b31573317696d28c
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7494099
2026-02-26 13:47:50 +00:00
AlexeyBarabash 79cd32dd95 [cr146][Android] Fixed missing includes 2026-02-26 13:47:50 +00:00
Emerick Rogul 892808250a [cr146] ShouldShowExtensionSyncPromo -> ShouldShowExtensionSignInPromo
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/63366519b2bb7e4d77550e9685fa22b075999793

commit 63366519b2bb7e4d77550e9685fa22b075999793
Author: Monica Salama <msalama@chromium.org>
Date:   Mon Jan 26 06:43:05 2026 -0800

    [Uno-d clean-up] Deprecate kExplicitBrowserSignin

    Dice migration is fully launched. All signed in users on Dice platforms
    are explicitly signed in.

    Bug: 475822503
    Change-Id: I99e2288e1729bf7cf8a2cbfb0411495dd1fbebf4
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7510806
    Reviewed-by: Amelie Schneider <amelies@google.com>
    Reviewed-by: Finnur Thorarinsson <finnur@chromium.org>
    Commit-Queue: Monica Salama <msalama@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1574504}
2026-02-26 13:47:50 +00:00
Emerick Rogul 0e9334e13e [cr146] Bump resource_ids 2026-02-26 13:47:50 +00:00
AlexeyBarabash c071f69bb2 [cr146][Android] Convert ObservableSupplierImpl usages in ChromeActivity
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/cb9efe8c51a5119c7e84ad2ae97b5b1ea459529c

	Android: Convert ObservableSupplierImpl usages in ChromeActivity

	Bug: 467389696
	Change-Id: Ib34931fa9d1553e0289ce5bfc22273831f9c660a
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7494558
2026-02-26 13:47:50 +00:00
Claudio DeSouza bb7c7999be [cr146] blink::String::Split(StringView, Vector) deleted
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/f091fde2a67c7dfb248d4284346808343b180e12

commit f091fde2a67c7dfb248d4284346808343b180e12
Author: Kent Tamura <tkent@chromium.org>
Date:   Tue Jan 27 04:37:04 2026 -0800

    Remove blink::String::Split(StringView, Vector)

    This change removes the `String::Split(const StringView&,
    Vector<String>&)` method overload as an API simplification.

    To achieve this, call sites were updated to use other `Split()`
    overloads or switched to `StringView::Split*()`.

    In some function signatures, `const String&` parameters were changed to
    `const StringView&` to accommodate the new splitting method.

    Bug: 473854537
    Change-Id: Iefd4ee8ec50b4e1935b90dacac77ccbd497460a7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7519604
    Reviewed-by: Fredrik Söderquist <fs@opera.com>
    Auto-Submit: Kent Tamura <tkent@chromium.org>
    Commit-Queue: Fredrik Söderquist <fs@opera.com>
    Cr-Commit-Position: refs/heads/main@{#1575134}
2026-02-26 13:47:49 +00:00
Claudio DeSouza 4146b8c94a [cr146] MoveTabsRecursive set argument type changed
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/467b69a73100c4c0a8e67cd3bfea8b1e8d2fa05d

commit 467b69a73100c4c0a8e67cd3bfea8b1e8d2fa05d
Author: Jeffrey Yu <yuje@chromium.org>
Date:   Mon Jan 26 18:39:04 2026 -0800

    Migrate to more efficient set types.

    Use EnumSet when the value is an enum, replace sets that don't need
    iteration order with `absl::flat_hash_set`.

    Bug: 473916362
    Change-Id: Ib09044643c695ff4b591089553932ae2c6a25ea0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7514849
    Reviewed-by: Eshwar Stalin <estalin@chromium.org>
    Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
    Commit-Queue: Jeffrey Yu <yuje@chromium.org>
    Auto-Submit: Jeffrey Yu <yuje@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1574930}
2026-02-26 13:47:49 +00:00
Claudio DeSouza 6aae924e3d [cr146] ToolbarView::location_bar() renamed
This accessor is now `location_bar_view`.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/35c8239ca1bfd993a0411deab7ddc66cba9c888d

commit 35c8239ca1bfd993a0411deab7ddc66cba9c888d
Author: Maks Orlovich <morlovich@chromium.org>
Date:   Tue Jan 27 11:57:10 2026 -0800

    Make what depends on LocationBarView vs. LocationBar more explicit

    By reflecting this in type system of ToolbarView API. This also makes
    corresponding methods on BrowserView actually differ, and generic one
    able to work with non-LocationBarView impls.

    Bug: 474582476
    AX-Relnotes: n/a.
    Change-Id: I8440ccd1baec2db126aa9e847a0307a32ad163d2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7474010
    Reviewed-by: Darryl James <dljames@chromium.org>
    Commit-Queue: Maks Orlovich <morlovich@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1575431}
2026-02-26 13:47:49 +00:00
Claudio DeSouza ca5752f9c0 [cr146] //components/tabs:split_tabs deleted
All sources are now under `//components/split_tabs`.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/5ae8298594a5635150a832aa09184c44fa6c8c3c

commit 5ae8298594a5635150a832aa09184c44fa6c8c3c
Author: Alison Gale <agale@chromium.org>
Date:   Tue Jan 27 14:22:55 2026 -0800

    Remove the old locataion of split tab id/visual data

    Bug: 443780638
    Change-Id: I5e2592b40aa401d1b9e81a9a1bedab09f59cbd4e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7520512
    Reviewed-by: David Pennington <dpenning@chromium.org>
    Commit-Queue: Alison Gale <agale@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1575512}
2026-02-26 13:47:49 +00:00
Emerick Rogul a17e63ba73 [cr146] Filter upstream tests as needed 2026-02-26 13:47:49 +00:00
Emerick Rogul fc2101eec5 [cr146][ios] Remove legacy common API
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/ae5199b13ad6f795f2f9547370ef7bbf864f6697

commit ae5199b13ad6f795f2f9547370ef7bbf864f6697
Author: Alexandra Pereira <alexandrasp@google.com>
Date:   Tue Jan 20 07:48:36 2026 -0800

    [iOS] Remove legacy common API

    Remove the legacy `common.js` script, its corresponding
    JavaScriptFeature from ios/web, the dependency on the "common" feature
    from numerous other JavaScript features, obsolete code and tests.

    Bug: 448990422
    Change-Id: I3be02e8c1599bbcdea8d38bcd01ad751b0beca8a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7280198
    Reviewed-by: Mike Dougherty <michaeldo@chromium.org>
    Reviewed-by: Ian Wells <iwells@chromium.org>
    Reviewed-by: Alexis Hétu <sugoi@chromium.org>
    Commit-Queue: Alexandra Pereira <alexandrasp@google.com>
    Reviewed-by: Gauthier Ambard <gambard@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1571641}
2026-02-26 13:47:49 +00:00
Emerick Rogul 2f55156f25 [cr146][ios] Supervised user settings service renamed to family link
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/97b35f324629e1c84577db7a7c625213ecb24bf7

commit 97b35f324629e1c84577db7a7c625213ecb24bf7
Author: Tomek Jurkiewicz <tju@google.com>
Date:   Tue Jan 20 05:14:00 2026 -0800

    Rename Supervised User settings service and data type to family link.

    This renaming aims at better reflecting service's function in the wake
    of multiple user supervision systems: this service exclusively handles
    supervision settings related to family link users.

    "Supervised user" relates to any parental controls type, and "Family
    Link" is a specific one.

    Minor: declare supervised_user namespace for the service and its
    factory.

    BYPASS_LARGE_CHANGE_WARNING=Gerrit is not picking up renaming

    Bug: 475731719
    Bypass-Check-License: Renaming
    Change-Id: Icc59347f6e1a515db6fb1d53d2f7b60adba32089
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7493784
    Reviewed-by: Mark Cogan <marq@chromium.org>
    Reviewed-by: Rushan Suleymanov <rushans@google.com>
    Commit-Queue: Tomek Jurkiewicz <tju@google.com>
    Cr-Commit-Position: refs/heads/main@{#1571571}
2026-02-26 13:47:49 +00:00
AlexeyBarabash e801d234a1 [Android] Fixed missing deps for ViewFinder
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/a41e19ef052b11e14784d8fd9eaa995f2fc4f6af

	[Android] Implement ViewFinder#waitForView()

	This is intended to replace the ViewUtils helpers:
	* onViewWaiting()
	* waitforView()
	* waitForViewCheckingState()
	* waitForVisibleView()
	* waitForDialogViewCheckingState()

	Migrate two usages as a start.

	ViewFinder uses ViewCarryOn, which:
	* Avoids the RootViewWithoutFocusException hangs in Espresso.
	* Supports scoping searches to specific Activities avoiding
	  AmbiguousViewMatcherException.
	* Provides history of the View state as it polled (including displayed rectangle and percentage, and ancestor visibility)

	Bug: 428000595
	Change-Id: I3efe6508113d04210588a6478cd7d179b9151cb6
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7253845
2026-02-26 13:47:49 +00:00
AlexeyBarabash 9672ff26f1 [cr146][Android] Removed PROPAGATE_DEVICE_CONTENT_FILTERS_TO_SUPERVISED_USER feature
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/6162dcf447020baf2795a6974fc28be4e0b9274b

	Clean up Android Parental Controls MVP features.

	The feature was launched in M143 (cr/821645411; crrev.com/c/7054262).

	Bug: 405328417
	Change-Id: I2786cc946e07af7bc18743ae9fe846671e6eedfc
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7509887
2026-02-26 13:47:49 +00:00
AlexeyBarabash 42dd7f5732 [cr146][Android] Plumb PromptOptions through PermissionRequestManager
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/62be9fed82911e8e37c4ef6a926590203fef434a

	Reland "[permissions] Plumb PromptOptions through PermissionRequestManager"

	This is a reland of commit 7688ee13bc24db46228f4873ecb27f0e9263a315. The cause of the failing test was actually tangential to this CL and is resolved by https://crrev.com/c/7484754.

	Original change's description:
	> [permissions] Plumb PromptOptions through PermissionRequestManager
	>
	> This is the last of a series of CLs that remove PromptOptions from
	> PermissionRequest and instead plumb it through the code, see
	> https://crbug.com/450752868 for more context.
	>
	> This CL removes prompt_options from the PermissionRequest and instead
	> modifies the various methods Accept, AcceptThisTime, Deny, Dismiss and
	> Ignore of PermissionRequestManager to get a PromptOptions parameter.
	>
	> Bug: 450752868, 469397053
	> Change-Id: I145fa50b69596c744be4751d1b8d441573db0379
	> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7415427
	> Reviewed-by: Andy Paicu <andypaicu@chromium.org>
	> Reviewed-by: Marc Treib <treib@chromium.org>
	> Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
	> Cr-Commit-Position: refs/heads/main@{#1570263}

	Bug: 450752868, 469397053
	Change-Id: Ibf876e0dbc2cda765b9ed8237faff441874ce360
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7486896
2026-02-26 13:47:48 +00:00