Add policy for Live Caption and Live Translate on ChromeOS [chromium/src : main]

0 views
Skip to first unread message

gwsq (Gerrit)

unread,
Dec 18, 2025, 3:52:05 PM12/18/25
to Evan Liu, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Alexander Hendrich and Sébastien Lalancette

Message from gwsq

From chrome/enterprise/gwsq/enterprise-policy-review.gwsq:
Note: A shadow reviewer was assigned to this CL. go/new-policy-review-process
Shadowed: seblalancette

Reviewer source(s):
hend...@chromium.org, seblalancette is from context(chrome/enterprise/gwsq/enterprise-policy-review.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Alexander Hendrich
  • Sébastien Lalancette
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
Gerrit-Change-Number: 7251907
Gerrit-PatchSet: 2
Gerrit-Owner: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
Gerrit-Reviewer: Evan Liu <ev...@google.com>
Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
Gerrit-Comment-Date: Thu, 18 Dec 2025 20:51:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Andrew Moylan (Gerrit)

unread,
Jan 28, 2026, 6:39:50 PM (10 days ago) Jan 28
to Evan Liu, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Evan Liu

Andrew Moylan added 1 comment

File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
Line 12, Patchset 11 (Latest): "reason_for_missing_test": "On ChromeOS, this preference is enabled by default by a non-policy mechanism, so it will not be at its registered default value when the policy is unset."
Andrew Moylan . unresolved

Hi Evan, what's this referring to?

Open in Gerrit

Related details

Attention is currently required from:
  • Evan Liu
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
    Gerrit-Change-Number: 7251907
    Gerrit-PatchSet: 11
    Gerrit-Owner: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Andrew Moylan <amo...@google.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Evan Liu <ev...@google.com>
    Gerrit-Comment-Date: Wed, 28 Jan 2026 23:39:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alexander Hendrich (Gerrit)

    unread,
    Jan 28, 2026, 6:51:28 PM (10 days ago) Jan 28
    to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Evan Liu

    Alexander Hendrich added 1 comment

    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Line 12, Patchset 11 (Latest): "reason_for_missing_test": "On ChromeOS, this preference is enabled by default by a non-policy mechanism, so it will not be at its registered default value when the policy is unset."
    Andrew Moylan . unresolved

    Hi Evan, what's this referring to?

    Alexander Hendrich

    In that case, you can use the "non-simple" pref mapping test and skip the default case where no policy is set:

    ```
    {
    "os": [ "chromeos" ],
    "note": "intentionally skipping the default value test because of ... INSERT EXPLANATION HERE",
    "policy_pref_mapping_tests": [
    {
    "policies": {
    "LiveCaptionEnabled": true
    },
    "prefs": {
    "accessibility.captions.live_caption_enabled": {
    "value": true
    }
    }
    },
    {
    "policies": {
    "LiveCaptionEnabled": false
    },
    "prefs": {
    "accessibility.captions.live_caption_enabled": {
    "value": false
    }
    }
    }
    ]
    }
    ```

    note the use of `value` instead of `default_value`

    Gerrit-Comment-Date: Wed, 28 Jan 2026 23:51:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Andrew Moylan <amo...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alexander Hendrich (Gerrit)

    unread,
    Jan 28, 2026, 6:55:31 PM (10 days ago) Jan 28
    to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Chromium LUCI CQ, chromium...@chromium.org
    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Alexander Hendrich

    out of curiosity: where is that different default value defined for CrOS? I can't find anything in code

    Gerrit-Comment-Date: Wed, 28 Jan 2026 23:55:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alexander Hendrich <hend...@chromium.org>
    Comment-In-Reply-To: Andrew Moylan <amo...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Evan Liu (Gerrit)

    unread,
    Jan 29, 2026, 1:35:15 PM (9 days ago) Jan 29
    to Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Alexander Hendrich, Andrew Moylan and Sébastien Lalancette

    Evan Liu added 1 comment

    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Evan Liu

    If you enable this test on ChromeOS as-is it fails because apparently the default value for the Live Caption preference is True instead of False. I don't know why or how this is set to True on ChromeOS. IIRC, it's supposed to be set to false here: https://source.chromium.org/chromium/chromium/src/+/eceda04c64f9395f81def4fa025576615a1f7169:components/live_caption/live_caption_controller.cc;l=85;bpv=0;bpt=0

    I haven't investigated thoroughly, which is why I never ended up sending out this CL for review. It's possible there's an underlying bug somewhere.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alexander Hendrich
    • Andrew Moylan
    • Sébastien Lalancette
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
    Gerrit-Change-Number: 7251907
    Gerrit-PatchSet: 11
    Gerrit-Owner: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Andrew Moylan <amo...@google.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-Attention: Andrew Moylan <amo...@google.com>
    Gerrit-Comment-Date: Thu, 29 Jan 2026 18:35:04 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sergey Poromov (Gerrit)

    unread,
    Jan 30, 2026, 6:22:28 AM (8 days ago) Jan 30
    to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Alexander Hendrich, Andrew Moylan, Evan Liu and Sébastien Lalancette

    Sergey Poromov added 1 comment

    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alexander Hendrich
    • Andrew Moylan
    • Evan Liu
    • Sébastien Lalancette
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
    Gerrit-Change-Number: 7251907
    Gerrit-PatchSet: 11
    Gerrit-Owner: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Andrew Moylan <amo...@google.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: Sergey Poromov <por...@chromium.org>
    Gerrit-CC: gwsq
    Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-Attention: Evan Liu <ev...@google.com>
    Gerrit-Attention: Andrew Moylan <amo...@google.com>
    Gerrit-Comment-Date: Fri, 30 Jan 2026 11:22:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alexander Hendrich <hend...@chromium.org>
    Comment-In-Reply-To: Evan Liu <ev...@google.com>
    Comment-In-Reply-To: Andrew Moylan <amo...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sergey Poromov (Gerrit)

    unread,
    Jan 30, 2026, 8:13:15 AM (8 days ago) Jan 30
    to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Sergey Poromov

    So, I found that apparently the pref is being set (as a user value) here: https://source.chromium.org/chromium/chromium/src/+/main:ash/accessibility/accessibility_controller.cc;l=3818;drc=7a1eefbb103a46af7139cecf4315fa1b8a895bfd

    This happens also when the pref is being cleared before test - this is a bit unexpected behavior.

    Actually, for now it could be avoided if testing first `false`, then `true` value - as in this case we don't have to clear and change the value.
    But ultimately it's an expected behavior in pref handling code.

    Gerrit-Comment-Date: Fri, 30 Jan 2026 13:13:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alexander Hendrich <hend...@chromium.org>
    Comment-In-Reply-To: Evan Liu <ev...@google.com>
    Comment-In-Reply-To: Sergey Poromov <por...@chromium.org>
    Comment-In-Reply-To: Andrew Moylan <amo...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sergey Poromov (Gerrit)

    unread,
    Jan 30, 2026, 8:13:43 AM (8 days ago) Jan 30
    to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Sergey Poromov
    So, please change for now to
    ```
    [
    {
    "os": [
    "win",
    "mac",
    "linux",
    "chromeos"
    ],
    "simple_policy_pref_mapping_test": {
    "pref_name": "accessibility.captions.live_caption_enabled",
    "default_value": false,
    "values_to_test": [
    false,
    true
    ]
    }
    }
    ]
    ```
    Gerrit-Comment-Date: Fri, 30 Jan 2026 13:13:28 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sébastien Lalancette (Gerrit)

    unread,
    Jan 30, 2026, 9:48:42 AM (8 days ago) Jan 30
    to Evan Liu, Sergey Poromov, Andrew Moylan, Enterprise Policy Reviews, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Alexander Hendrich, Andrew Moylan and Evan Liu

    Sébastien Lalancette added 1 comment

    File components/policy/resources/templates/policy_definitions/Accessibility/LiveCaptionEnabled.yaml
    Line 32, Patchset 11 (Latest):- chrome_os:145-
    Sébastien Lalancette . unresolved

    Is the feature code fully completed and ready to ship? If not, it is preferable to put this new platform as `future_on` until all of the code has landed and we're shipping the policy in that milestone.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alexander Hendrich
    • Andrew Moylan
    • Evan Liu
    Gerrit-Attention: Evan Liu <ev...@google.com>
    Gerrit-Attention: Andrew Moylan <amo...@google.com>
    Gerrit-Comment-Date: Fri, 30 Jan 2026 14:48:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alexander Hendrich (Gerrit)

    unread,
    Jan 31, 2026, 8:23:24 AM (7 days ago) Jan 31
    to Evan Liu, Sergey Poromov, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Andrew Moylan and Evan Liu

    Alexander Hendrich added 1 comment

    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Alexander Hendrich

    @por...@chromium.org the order in which these values are tested doesn't really matter. Your suggestion would then still fail on the `default_value` case as that also checks that it actually is a default and not a user set value.
    If we do want to check that the pref value is `true` in the case where no policy is set and it's coming from a user setting, not the default's pref value, then we would need to do this:

    ```
    {
    "os": [ "chromeos" ],
    "note": "intentionally skipping the default value test because of ... INSERT EXPLANATION HERE",
    "policy_pref_mapping_tests": [
    {
            "policies": {},

    "prefs": {
    "accessibility.captions.live_caption_enabled": {
    "value": true
    }
    }
    },{
    "policies": {
    "LiveCaptionEnabled": true
    },
    "prefs": {
    "accessibility.captions.live_caption_enabled": {
    "value": true
    }
    }
    },
    {
    "policies": {
    "LiveCaptionEnabled": false
    },
    "prefs": {
    "accessibility.captions.live_caption_enabled": {
    "value": false
    }
    }
    }
    ]
    }
    ```

    note the use of `value` instead of `default_value` in the first test case

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Moylan
    • Evan Liu
    Gerrit-Attention: Evan Liu <ev...@google.com>
    Gerrit-Attention: Andrew Moylan <amo...@google.com>
    Gerrit-Comment-Date: Sat, 31 Jan 2026 13:23:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sergey Poromov (Gerrit)

    unread,
    Feb 4, 2026, 12:32:17 PM (3 days ago) Feb 4
    to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Andrew Moylan and Evan Liu

    Sergey Poromov added 2 comments

    Patchset-level comments
    File-level comment, Patchset 11 (Latest):
    Sergey Poromov . unresolved

    @Evan Liu, could you please update the tests according to the comment and check it?

    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Sergey Poromov

    Yes, your test is better.
    However, it didn't fail in my case too as the value was not set as user value if it's the same as current (https://source.chromium.org/chromium/chromium/src/+/main:ash/accessibility/accessibility_controller.cc;l=953;drc=85adc28ab1a46f69c6f24479242288f0edc4589d) - so, when testing `policy value = false` it was not setting it to `false` at user level.

    Gerrit-Comment-Date: Wed, 04 Feb 2026 17:32:01 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sergey Poromov (Gerrit)

    unread,
    Feb 5, 2026, 9:29:10 AM (2 days ago) Feb 5
    to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Andrew Moylan and Evan Liu

    Sergey Poromov added 1 comment

    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Line 12, Patchset 11: "reason_for_missing_test": "On ChromeOS, this preference is enabled by default by a non-policy mechanism, so it will not be at its registered default value when the policy is unset."
    Sergey Poromov

    Seems that there is still strange behavior in pref handling code - I hope to fix it by https://crrev.com/c/7545844

    However, for now feel free to use tests like this for both prefs:

    ```
    [
    {
    "os": [
    "win",
    "mac",
    "linux",
    "chromeos"
    ],
    "simple_policy_pref_mapping_test": {
    "pref_name": "accessibility.captions.live_caption_enabled",
    "default_value": false,
    "values_to_test": [
    false,
    true
    ]
    }
    }
    ]
    ```

    Related details

    Attention is currently required from:
    • Andrew Moylan
    • Evan Liu
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
    Gerrit-Change-Number: 7251907
    Gerrit-PatchSet: 12
    Gerrit-Owner: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Evan Liu <ev...@google.com>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Andrew Moylan <amo...@google.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: Sergey Poromov <por...@chromium.org>
    Gerrit-CC: gwsq
    Gerrit-Attention: Evan Liu <ev...@google.com>
    Gerrit-Attention: Andrew Moylan <amo...@google.com>
    Gerrit-Comment-Date: Thu, 05 Feb 2026 14:28:57 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Evan Liu (Gerrit)

    unread,
    Feb 5, 2026, 2:25:38 PM (2 days ago) Feb 5
    to Sergey Poromov, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
    Attention needed from Alexander Hendrich, Sergey Poromov and Sébastien Lalancette

    Evan Liu voted and added 3 comments

    Votes added by Evan Liu

    Commit-Queue+1

    3 comments

    Patchset-level comments
    File-level comment, Patchset 11:
    Sergey Poromov . resolved

    @Evan Liu, could you please update the tests according to the comment and check it?

    Evan Liu

    Done

    File components/policy/resources/templates/policy_definitions/Accessibility/LiveCaptionEnabled.yaml
    Line 32, Patchset 11:- chrome_os:145-
    Sébastien Lalancette . resolved

    Is the feature code fully completed and ready to ship? If not, it is preferable to put this new platform as `future_on` until all of the code has landed and we're shipping the policy in that milestone.

    Evan Liu

    The Live Caption feature has been shipped on ChromeOS for years now.

    File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
    Line 12, Patchset 11: "reason_for_missing_test": "On ChromeOS, this preference is enabled by default by a non-policy mechanism, so it will not be at its registered default value when the policy is unset."
    Andrew Moylan . resolved
    Evan Liu

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alexander Hendrich
    • Sergey Poromov
    • Sébastien Lalancette
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
      Gerrit-Change-Number: 7251907
      Gerrit-PatchSet: 14
      Gerrit-Owner: Evan Liu <ev...@google.com>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Evan Liu <ev...@google.com>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-CC: Andrew Moylan <amo...@google.com>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: Sergey Poromov <por...@chromium.org>
      Gerrit-CC: gwsq
      Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-Attention: Sergey Poromov <por...@chromium.org>
      Gerrit-Comment-Date: Thu, 05 Feb 2026 19:25:29 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Alexander Hendrich <hend...@chromium.org>
      Comment-In-Reply-To: Sébastien Lalancette <seblal...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Sergey Poromov (Gerrit)

      unread,
      Feb 6, 2026, 6:50:12 AM (yesterday) Feb 6
      to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
      Attention needed from Alexander Hendrich and Evan Liu

      Sergey Poromov added 3 comments

      Patchset-level comments
      File-level comment, Patchset 14 (Latest):
      Sergey Poromov . resolved

      Please, return to the state of Patchset 2 - it's the most correct way that now passes all the tests too.

      File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
      Line 13, Patchset 14 (Latest): false,
      true
      Sergey Poromov . unresolved

      As the policy fix has landed, this is not needed anymore - it works both ways.

      File components/policy/test/data/pref_mapping/LiveTranslateEnabled.json
      Line 1, Patchset 14 (Latest):[
      {
      "os": [ "linux", "mac", "win" ],
      "simple_policy_pref_mapping_test": {
      "pref_name": "accessibility.captions.live_translate_enabled",
      "default_value": false,
      "values_to_test": [ true, false ]
      }
      },
      {
      "os": [ "chromeos" ],

      "reason_for_missing_test": "On ChromeOS, this preference is enabled by default by a non-policy mechanism, so it will not be at its registered default value when the policy is unset."
      }
      ]
      Sergey Poromov . unresolved

      This is not needed, just add "chromeos" to the list of "os" and it will work.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexander Hendrich
      • Evan Liu
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
        Gerrit-Change-Number: 7251907
        Gerrit-PatchSet: 14
        Gerrit-Owner: Evan Liu <ev...@google.com>
        Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
        Gerrit-Reviewer: Evan Liu <ev...@google.com>
        Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
        Gerrit-CC: Andrew Moylan <amo...@google.com>
        Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
        Gerrit-CC: Sergey Poromov <por...@chromium.org>
        Gerrit-CC: gwsq
        Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
        Gerrit-Attention: Evan Liu <ev...@google.com>
        Gerrit-Comment-Date: Fri, 06 Feb 2026 11:49:54 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Sergey Poromov (Gerrit)

        unread,
        4:20 AM (8 hours ago) 4:20 AM
        to Evan Liu, Andrew Moylan, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Chromium LUCI CQ, chromium...@chromium.org
        Attention needed from Alexander Hendrich and Evan Liu

        Sergey Poromov added 3 comments

        Patchset-level comments
        File-level comment, Patchset 15 (Latest):
        Sergey Poromov . resolved

        Seems that Evan is OOO next week, while we'd like to land the change before M146 branch point on Monday - it's getting on CaPSE top FR list, so there are customers asking for this.

        Alex, could you PTAL and we'll land on Monday if all is good?

        File components/policy/test/data/pref_mapping/LiveCaptionEnabled.json
        Line 13, Patchset 14: false,
        true
        Sergey Poromov . resolved

        As the policy fix has landed, this is not needed anymore - it works both ways.

        Sergey Poromov

        Done

        File components/policy/test/data/pref_mapping/LiveTranslateEnabled.json

        {
        "os": [ "linux", "mac", "win" ],
        "simple_policy_pref_mapping_test": {
        "pref_name": "accessibility.captions.live_translate_enabled",
        "default_value": false,
        "values_to_test": [ true, false ]
        }
        },
        {
        "os": [ "chromeos" ],
        "reason_for_missing_test": "On ChromeOS, this preference is enabled by default by a non-policy mechanism, so it will not be at its registered default value when the policy is unset."
        }
        ]
        Sergey Poromov . resolved

        This is not needed, just add "chromeos" to the list of "os" and it will work.

        Sergey Poromov

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alexander Hendrich
        • Evan Liu
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: Ifabe2fc07a162ef41d03e00693d0d7e7d40bd0e1
          Gerrit-Change-Number: 7251907
          Gerrit-PatchSet: 15
          Gerrit-Owner: Evan Liu <ev...@google.com>
          Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
          Gerrit-Reviewer: Evan Liu <ev...@google.com>
          Gerrit-Reviewer: Sergey Poromov <por...@chromium.org>
          Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
          Gerrit-CC: Andrew Moylan <amo...@google.com>
          Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
          Gerrit-CC: gwsq
          Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
          Gerrit-Attention: Evan Liu <ev...@google.com>
          Gerrit-Comment-Date: Sat, 07 Feb 2026 09:20:06 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Sergey Poromov <por...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy
          Reply all
          Reply to author
          Forward
          0 new messages