[Security Settings] Implement HFM Balanced Mode row and other UI [chromium/src : main]

0 views
Skip to first unread message

Zack Han (Gerrit)

unread,
May 22, 2026, 2:40:02 PM (6 days ago) May 22
to Awad Osman, Chromium LUCI CQ, chromium...@chromium.org, andysjl...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org
Attention needed from Awad Osman

Zack Han voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Awad Osman
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: I20055193849252b26462add8c4ddf6f40c8ee595
Gerrit-Change-Number: 7868825
Gerrit-PatchSet: 6
Gerrit-Owner: Zack Han <zac...@chromium.org>
Gerrit-Reviewer: Awad Osman <aw...@google.com>
Gerrit-Reviewer: Zack Han <zac...@chromium.org>
Gerrit-Attention: Awad Osman <aw...@google.com>
Gerrit-Comment-Date: Fri, 22 May 2026 18:39:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Awad Osman (Gerrit)

unread,
May 22, 2026, 5:17:56 PM (6 days ago) May 22
to Zack Han, Chromium LUCI CQ, chromium...@chromium.org, andysjl...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org
Attention needed from Zack Han

Awad Osman added 7 comments

Commit Message
Line 27, Patchset 6 (Latest):
Awad Osman . unresolved

nit: screencast of general behavior would be nice since this CL makes substantial UI changes.

File chrome/browser/resources/settings/privacy_page/security/security_page_feature_row.html
Line 82, Patchset 6 (Latest): <div style="display: flex; align-items: center; gap: 8px;">
Awad Osman . unresolved

nit: instead of inlining the styles I think it'll be better to give the div an id selector and style the selector instead.

File chrome/browser/resources/settings/privacy_page/security/security_page_v2.html
Line 203, Patchset 6 (Latest): animation: none !important;
Awad Osman . unresolved

Is there a way to use these styles without `!important`?. Here and the one below as well.

File chrome/browser/resources/settings/privacy_page/security/security_page_v2.ts
Line 95, Patchset 6 (Latest): set(path: string, value: unknown): void;
Awad Osman . unresolved

Why is this needed?

Line 369, Patchset 6 (Latest): this.set('showNewBadge_', isNew);
Awad Osman . unresolved

nit: can't you just do `this.showNewBadge_ = isNew`?

File chrome/browser/safe_browsing/safe_browsing_service.cc
Line 217, Patchset 6 (Latest): LOG(ERROR) << "BSS Migration Debug - profile is null!";
Awad Osman . unresolved

Think you left the log statement here by accident.

Line 224, Patchset 6 (Latest): LOG(ERROR) << "BSS Migration Debug - starting checks."
Awad Osman . unresolved

Same as above^

Open in Gerrit

Related details

Attention is currently required from:
  • Zack Han
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: I20055193849252b26462add8c4ddf6f40c8ee595
    Gerrit-Change-Number: 7868825
    Gerrit-PatchSet: 6
    Gerrit-Owner: Zack Han <zac...@chromium.org>
    Gerrit-Reviewer: Awad Osman <aw...@google.com>
    Gerrit-Reviewer: Zack Han <zac...@chromium.org>
    Gerrit-Attention: Zack Han <zac...@chromium.org>
    Gerrit-Comment-Date: Fri, 22 May 2026 21:17:50 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Zack Han (Gerrit)

    unread,
    May 27, 2026, 3:51:46 PM (yesterday) May 27
    to Awad Osman, Chromium LUCI CQ, chromium...@chromium.org, andysjl...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org
    Attention needed from Awad Osman

    Zack Han added 8 comments

    Patchset-level comments
    File-level comment, Patchset 8 (Latest):
    Zack Han . resolved

    Thanks Awad!

    Commit Message
    Line 27, Patchset 6:
    Awad Osman . resolved

    nit: screencast of general behavior would be nice since this CL makes substantial UI changes.

    Zack Han

    Done

    File chrome/browser/resources/settings/privacy_page/security/security_page_feature_row.html
    Line 82, Patchset 6: <div style="display: flex; align-items: center; gap: 8px;">
    Awad Osman . resolved

    nit: instead of inlining the styles I think it'll be better to give the div an id selector and style the selector instead.

    Zack Han

    Done

    File chrome/browser/resources/settings/privacy_page/security/security_page_v2.html
    Line 203, Patchset 6: animation: none !important;
    Awad Osman . resolved

    Is there a way to use these styles without `!important`?. Here and the one below as well.

    Zack Han

    Done

    File chrome/browser/resources/settings/privacy_page/security/security_page_v2.ts
    Line 95, Patchset 6: set(path: string, value: unknown): void;
    Awad Osman . resolved

    Why is this needed?

    Zack Han

    Done

    Line 369, Patchset 6: this.set('showNewBadge_', isNew);
    Awad Osman . resolved

    nit: can't you just do `this.showNewBadge_ = isNew`?

    Zack Han

    Done

    File chrome/browser/safe_browsing/safe_browsing_service.cc
    Line 217, Patchset 6: LOG(ERROR) << "BSS Migration Debug - profile is null!";
    Awad Osman . resolved

    Think you left the log statement here by accident.

    Zack Han

    Done

    Line 224, Patchset 6: LOG(ERROR) << "BSS Migration Debug - starting checks."
    Awad Osman . resolved

    Same as above^

    Zack Han

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Awad Osman
    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: I20055193849252b26462add8c4ddf6f40c8ee595
      Gerrit-Change-Number: 7868825
      Gerrit-PatchSet: 8
      Gerrit-Owner: Zack Han <zac...@chromium.org>
      Gerrit-Reviewer: Awad Osman <aw...@google.com>
      Gerrit-Reviewer: Zack Han <zac...@chromium.org>
      Gerrit-Attention: Awad Osman <aw...@google.com>
      Gerrit-Comment-Date: Wed, 27 May 2026 19:51:40 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Awad Osman <aw...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Zack Han (Gerrit)

      unread,
      May 27, 2026, 3:52:37 PM (yesterday) May 27
      to Chris Thompson, Awad Osman, Chromium LUCI CQ, chromium...@chromium.org, andysjl...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org
      Attention needed from Awad Osman and Chris Thompson

      Zack Han added 1 comment

      Patchset-level comments
      Zack Han . resolved

      Hi Chris, can you take a look at the c/b/s/https_first_mode... related changes? Thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Awad Osman
      • Chris Thompson
      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: I20055193849252b26462add8c4ddf6f40c8ee595
      Gerrit-Change-Number: 7868825
      Gerrit-PatchSet: 8
      Gerrit-Owner: Zack Han <zac...@chromium.org>
      Gerrit-Reviewer: Awad Osman <aw...@google.com>
      Gerrit-Reviewer: Chris Thompson <cth...@chromium.org>
      Gerrit-Reviewer: Zack Han <zac...@chromium.org>
      Gerrit-Attention: Chris Thompson <cth...@chromium.org>
      Gerrit-Attention: Awad Osman <aw...@google.com>
      Gerrit-Comment-Date: Wed, 27 May 2026 19:52:31 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Awad Osman (Gerrit)

      unread,
      2:34 PM (2 hours ago) 2:34 PM
      to Zack Han, Chris Thompson, Chromium LUCI CQ, chromium...@chromium.org, andysjl...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org
      Attention needed from Chris Thompson and Zack Han

      Awad Osman voted and added 2 comments

      Votes added by Awad Osman

      Code-Review+1

      2 comments

      Patchset-level comments
      Awad Osman . resolved

      LGTM % pending failing tests get resolved

      File chrome/test/data/webui/settings/security/security_page_v2_test.ts
      Line 60, Patchset 8 (Latest): securityStandardBundleSafeBrowsingDefault: SafeBrowsingSetting.STANDARD,
      Awad Osman . unresolved

      What are these variables used for? Here and in the HATS suite below.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Chris Thompson
      • Zack Han
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: I20055193849252b26462add8c4ddf6f40c8ee595
        Gerrit-Change-Number: 7868825
        Gerrit-PatchSet: 8
        Gerrit-Owner: Zack Han <zac...@chromium.org>
        Gerrit-Reviewer: Awad Osman <aw...@google.com>
        Gerrit-Reviewer: Chris Thompson <cth...@chromium.org>
        Gerrit-Reviewer: Zack Han <zac...@chromium.org>
        Gerrit-Attention: Zack Han <zac...@chromium.org>
        Gerrit-Attention: Chris Thompson <cth...@chromium.org>
        Gerrit-Comment-Date: Thu, 28 May 2026 18:34:25 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Chris Thompson (Gerrit)

        unread,
        3:33 PM (1 hour ago) 3:33 PM
        to Zack Han, Awad Osman, Chromium LUCI CQ, chromium...@chromium.org, andysjl...@chromium.org, chromium-a...@chromium.org, extension...@chromium.org, nwoked...@chromium.org, vakh+safe_br...@chromium.org, xinghui...@chromium.org, zackha...@chromium.org
        Attention needed from Zack Han

        Chris Thompson added 1 comment

        File chrome/browser/ssl/https_first_mode_settings_tracker.h
        Line 71, Patchset 8 (Parent): // Migrates existing Enhanced bundle users to Balanced HFM and schedules the
        // upgrade Toast if they haven't manually customized HFM.
        void MigrateEnhancedBundleUsersAndMaybeShowToast();
        Chris Thompson . unresolved

        Unintended removal of the logic added in the parent CL?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Zack Han
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: I20055193849252b26462add8c4ddf6f40c8ee595
        Gerrit-Change-Number: 7868825
        Gerrit-PatchSet: 8
        Gerrit-Owner: Zack Han <zac...@chromium.org>
        Gerrit-Reviewer: Awad Osman <aw...@google.com>
        Gerrit-Reviewer: Chris Thompson <cth...@chromium.org>
        Gerrit-Reviewer: Zack Han <zac...@chromium.org>
        Gerrit-Attention: Zack Han <zac...@chromium.org>
        Gerrit-Comment-Date: Thu, 28 May 2026 19:33:41 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages