Reland "Refactor ShouldHonorPolicies to use standard sensitive policy mechanism" [chromium/src : main]

0 views
Skip to first unread message

Rubber Stamper (Gerrit)

unread,
Jan 12, 2026, 5:51:16 AM (9 days ago) Jan 12
to Przemek Rudziński, Helmut Januschka, Owen Min, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
Attention needed from Helmut Januschka, Igor Ruvinov, Julian Pastarmov, Lambros Lambrou and Owen Min

Rubber Stamper voted Bot-Commit+1

Bot-Commit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Helmut Januschka
  • Igor Ruvinov
  • Julian Pastarmov
  • Lambros Lambrou
  • Owen Min
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
Gerrit-Change-Number: 7451359
Gerrit-PatchSet: 1
Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
Gerrit-Reviewer: Owen Min <zm...@chromium.org>
Gerrit-Reviewer: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
Gerrit-Attention: Owen Min <zm...@chromium.org>
Gerrit-Attention: Lambros Lambrou <lambros...@chromium.org>
Gerrit-Attention: Igor Ruvinov <igorr...@chromium.org>
Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 10:51:03 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Helmut Januschka (Gerrit)

unread,
Jan 12, 2026, 7:44:47 AM (8 days ago) Jan 12
to Przemek Rudziński, Rubber Stamper, Helmut Januschka, Owen Min, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
Attention needed from Igor Ruvinov, Julian Pastarmov, Lambros Lambrou, Owen Min and Przemek Rudziński

Helmut Januschka added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Helmut Januschka . resolved

hello Przemek, this is a reland?

with owen's last comments, i did: https://chromium-review.googlesource.com/c/chromium/src/+/7414850

(discussion in original CL: https://chromium-review.googlesource.com/c/chromium/src/+/7232257/comment/af0cea0c_e2094cbc/)

is the reland, somehow changed? idk how to diff it

Open in Gerrit

Related details

Attention is currently required from:
  • Igor Ruvinov
  • Julian Pastarmov
  • Lambros Lambrou
  • Owen Min
  • Przemek Rudziński
Gerrit-Attention: Owen Min <zm...@chromium.org>
Gerrit-Attention: Lambros Lambrou <lambros...@chromium.org>
Gerrit-Attention: Przemek Rudziński <prudz...@google.com>
Gerrit-Attention: Igor Ruvinov <igorr...@chromium.org>
Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 12:44:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Rubber Stamper (Gerrit)

unread,
Jan 12, 2026, 9:56:22 AM (8 days ago) Jan 12
to Przemek Rudziński, Helmut Januschka, Owen Min, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
Attention needed from Julian Pastarmov, Lambros Lambrou, Owen Min and Przemek Rudziński

Message from Rubber Stamper

Gerrit GetPureRevert API does not mark this CL as a pure revert. Learn more: go/rubber-stamper-user-guide.

Open in Gerrit

Related details

Attention is currently required from:
  • Julian Pastarmov
  • Lambros Lambrou
  • Owen Min
  • Przemek Rudziński
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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
    Gerrit-Change-Number: 7451359
    Gerrit-PatchSet: 2
    Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
    Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
    Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
    Gerrit-Reviewer: Owen Min <zm...@chromium.org>
    Gerrit-Reviewer: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Owen Min <zm...@chromium.org>
    Gerrit-Attention: Lambros Lambrou <lambros...@chromium.org>
    Gerrit-Attention: Przemek Rudziński <prudz...@google.com>
    Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 14:56:11 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Owen Min (Gerrit)

    unread,
    Jan 12, 2026, 1:24:42 PM (8 days ago) Jan 12
    to Przemek Rudziński, Helmut Januschka, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
    Attention needed from Julian Pastarmov, Lambros Lambrou and Przemek Rudziński

    Owen Min added 2 comments

    File chrome/browser/chrome_content_browser_client.cc
    Line 990, Patchset 3 (Latest): return policy::ManagementServiceFactory::GetForPlatform()
    Owen Min . unresolved

    This should includes macOS too. But let's also wrap it with an experimental as well.

    File headless/lib/browser/policy/headless_browser_policy_connector.cc
    Line 34, Patchset 3 (Latest):#include "components/policy/core/common/management/platform_management_service.h"
    Owen Min . unresolved

    This should be included in both win and mac

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Julian Pastarmov
    • Lambros Lambrou
    • Przemek Rudziński
    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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
      Gerrit-Change-Number: 7451359
      Gerrit-PatchSet: 3
      Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
      Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
      Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
      Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
      Gerrit-Reviewer: Owen Min <zm...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Lambros Lambrou <lambros...@chromium.org>
      Gerrit-Attention: Przemek Rudziński <prudz...@google.com>
      Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 18:24:35 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Lambros Lambrou (Gerrit)

      unread,
      Jan 12, 2026, 1:26:47 PM (8 days ago) Jan 12
      to Przemek Rudziński, Helmut Januschka, Owen Min, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
      Attention needed from Julian Pastarmov and Przemek Rudziński

      Lambros Lambrou voted and added 1 comment

      Votes added by Lambros Lambrou

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 3 (Latest):
      Lambros Lambrou . resolved

      remoting lgtm

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Julian Pastarmov
      • Przemek Rudziński
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement 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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
        Gerrit-Change-Number: 7451359
        Gerrit-PatchSet: 3
        Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
        Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
        Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
        Gerrit-Reviewer: Owen Min <zm...@chromium.org>
        Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
        Gerrit-CC: gwsq
        Gerrit-Attention: Przemek Rudziński <prudz...@google.com>
        Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
        Gerrit-Comment-Date: Mon, 12 Jan 2026 18:26:28 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Lambros Lambrou (Gerrit)

        unread,
        Jan 13, 2026, 2:27:56 PM (7 days ago) Jan 13
        to Przemek Rudziński, Helmut Januschka, Owen Min, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
        Attention needed from Julian Pastarmov and Przemek Rudziński

        Lambros Lambrou voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Julian Pastarmov
        • Przemek Rudziński
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement 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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
        Gerrit-Change-Number: 7451359
        Gerrit-PatchSet: 4
        Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
        Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
        Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
        Gerrit-Reviewer: Owen Min <zm...@chromium.org>
        Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
        Gerrit-CC: gwsq
        Gerrit-Attention: Przemek Rudziński <prudz...@google.com>
        Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
        Gerrit-Comment-Date: Tue, 13 Jan 2026 19:27:33 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Owen Min (Gerrit)

        unread,
        Jan 13, 2026, 5:51:47 PM (7 days ago) Jan 13
        to Przemek Rudziński, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
        Attention needed from Julian Pastarmov and Przemek Rudziński

        Owen Min voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Julian Pastarmov
        • Przemek Rudziński
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement 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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
        Gerrit-Change-Number: 7451359
        Gerrit-PatchSet: 4
        Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
        Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
        Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
        Gerrit-Reviewer: Owen Min <zm...@chromium.org>
        Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
        Gerrit-CC: gwsq
        Gerrit-Attention: Przemek Rudziński <prudz...@google.com>
        Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
        Gerrit-Comment-Date: Tue, 13 Jan 2026 22:51:36 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Owen Min (Gerrit)

        unread,
        Jan 13, 2026, 5:52:10 PM (7 days ago) Jan 13
        to Przemek Rudziński, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
        Attention needed from Julian Pastarmov and Przemek Rudziński

        Owen Min added 2 comments

        File chrome/browser/chrome_content_browser_client.cc
        Line 990, Patchset 3: return policy::ManagementServiceFactory::GetForPlatform()
        Owen Min . resolved

        This should includes macOS too. But let's also wrap it with an experimental as well.

        Owen Min

        Resolve

        File headless/lib/browser/policy/headless_browser_policy_connector.cc
        Line 34, Patchset 3:#include "components/policy/core/common/management/platform_management_service.h"
        Owen Min . resolved

        This should be included in both win and mac

        Owen Min

        Resolve

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Julian Pastarmov
        • Przemek Rudziński
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement 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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
          Gerrit-Change-Number: 7451359
          Gerrit-PatchSet: 4
          Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
          Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
          Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
          Gerrit-Reviewer: Owen Min <zm...@chromium.org>
          Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
          Gerrit-CC: gwsq
          Gerrit-Attention: Przemek Rudziński <prudz...@google.com>
          Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
          Gerrit-Comment-Date: Tue, 13 Jan 2026 22:52:01 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Owen Min <zm...@chromium.org>
          satisfied_requirement
          open
          diffy

          Przemek Rudziński (Gerrit)

          unread,
          Jan 14, 2026, 5:07:51 AM (7 days ago) Jan 14
          to Owen Min, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
          Attention needed from Julian Pastarmov

          Przemek Rudziński voted Commit-Queue+2

          Commit-Queue+2
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Julian Pastarmov
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement 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: Iff7b9e1626863b584e9057985b32858e66b7eb0e
          Gerrit-Change-Number: 7451359
          Gerrit-PatchSet: 4
          Gerrit-Owner: Przemek Rudziński <prudz...@google.com>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Igor Ruvinov <igorr...@chromium.org>
          Gerrit-Reviewer: Julian Pastarmov <pasta...@chromium.org>
          Gerrit-Reviewer: Lambros Lambrou <lambros...@chromium.org>
          Gerrit-Reviewer: Owen Min <zm...@chromium.org>
          Gerrit-Reviewer: Przemek Rudziński <prudz...@google.com>
          Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
          Gerrit-CC: gwsq
          Gerrit-Attention: Julian Pastarmov <pasta...@chromium.org>
          Gerrit-Comment-Date: Wed, 14 Jan 2026 10:07:30 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Przemek Rudziński (Gerrit)

          unread,
          Jan 14, 2026, 6:00:23 AM (7 days ago) Jan 14
          to Owen Min, Lambros Lambrou, Chromium LUCI CQ, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org
          Gerrit-Comment-Date: Wed, 14 Jan 2026 11:00:04 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          Jan 14, 2026, 6:22:45 AM (7 days ago) Jan 14
          to Przemek Rudziński, Owen Min, Lambros Lambrou, Igor Ruvinov, Julian Pastarmov, AyeAye, Enterprise Policy Reviews, chromium...@chromium.org, chromotin...@chromium.org, mac-r...@chromium.org, headless...@chromium.org

          Chromium LUCI CQ submitted the change

          Change information

          Commit message:
          Reland "Refactor ShouldHonorPolicies to use standard sensitive policy mechanism"

          This reverts commit d78ee7207df6a41df5dc17d71452a7a39f6b4165.

          Reland "Refactor ShouldHonorPolicies to use standard sensitive policy mechanism"

          Original change's description:
          > Revert "Refactor ShouldHonorPolicies to use standard sensitive policy mechanism"
          >
          > This reverts commit adfc6d73de03093fa95f70dee9ec09524eae1896.
          >
          > Reason for revert: This CL changed the behavior of URLBlocklist and
          > URLAllowlist but it shouldn't.
          >
          > Original change's description:
          > > Refactor ShouldHonorPolicies to use standard sensitive policy mechanism
          > >
          > > Refactors the URLAllowlist/URLBlocklist policy protection to use
          > > the standard kSensitivePolicies[] mechanism instead of a one-off
          > > ShouldHonorPolicies() check.
          > >
          > > This ensures that when URLAllowlist/URLBlocklist policies are blocked
          > > due to an untrusted source, they are visible on chrome://policy with
          > > an appropriate error message, rather than being silently ignored.
          > >
          > > Bug: 40765067, 1322121
          > > Change-Id: I1263d8124915e486166283b0897da878d0156619
          > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7232257
          > > Reviewed-by: Lambros Lambrou <lambros...@chromium.org>
          > > Reviewed-by: Igor Ruvinov <igorr...@chromium.org>
          > > Commit-Queue: Helmut Januschka <hel...@januschka.com>
          > > Reviewed-by: Julian Pastarmov <pasta...@chromium.org>
          > > Cr-Commit-Position: refs/heads/main@{#1565105}
          >
          > Bug: 40765067, 1322121
          > Change-Id: I20617fb56723b29e6cc2344f2fa8ec176c237aca
          > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7418543
          > Reviewed-by: Lambros Lambrou <lambros...@chromium.org>
          > Reviewed-by: Owen Min <zm...@chromium.org>
          > Reviewed-by: Igor Ruvinov <igorr...@chromium.org>
          > Auto-Submit: Owen Min <zm...@chromium.org>
          > Reviewed-by: Julian Pastarmov <pasta...@chromium.org>
          > Commit-Queue: Lambros Lambrou <lambros...@chromium.org>
          > Bot-Commit: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
          > Cr-Commit-Position: refs/heads/main@{#1567009}
          Bug: 40765067, 1322121
          Change-Id: Iff7b9e1626863b584e9057985b32858e66b7eb0e
          Commit-Queue: Przemek Rudziński <prudz...@google.com>
          Reviewed-by: Lambros Lambrou <lambros...@chromium.org>
          Reviewed-by: Owen Min <zm...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1569021}
          Files:
          • M chrome/browser/chrome_content_browser_client.cc
          • M chrome/browser/policy/chrome_browser_policy_connector.cc
          • M components/policy/core/common/async_policy_loader.cc
          • M components/policy/core/common/features.cc
          • M components/policy/core/common/features.h
          • M components/policy/core/common/policy_loader_mac.h
          • M components/policy/core/common/policy_loader_mac.mm
          • M components/policy/core/common/policy_loader_mac_unittest.cc
          • M headless/lib/browser/policy/headless_browser_policy_connector.cc
          • M remoting/host/policy_watcher.cc
          Change size: M
          Delta: 10 files changed, 172 insertions(+), 18 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Owen Min, +1 by Lambros Lambrou
          Open in Gerrit
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: merged
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: Iff7b9e1626863b584e9057985b32858e66b7eb0e
          Gerrit-Change-Number: 7451359
          Gerrit-PatchSet: 5
          open
          diffy
          satisfied_requirement
          Reply all
          Reply to author
          Forward
          0 new messages