Add Web Smart Card Protocol configuration. [chromium/src : main]

0 views
Skip to first unread message

Paulina Gacek (Gerrit)

unread,
Jan 16, 2026, 1:47:20 AM (yesterday) Jan 16
to AyeAye, Alex Moshchuk, Zgroza (Luke) Klimek, Rakina Zata Amni, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org
Attention needed from Alex Moshchuk, Rakina Zata Amni and Zgroza (Luke) Klimek

Paulina Gacek added 1 comment

File content/browser/devtools/BUILD.gn
Line 9, Patchset 10:import("//content/public/common/features.gni")
Rakina Zata Amni . resolved

Other cases like `enable_bluetooth_emulation` seems to use `.gni` files from directories more specific to the feature instead of `//content/public/common/features.gni`. Is that possible to do for this as well? (Just not sure if the flag belongs in that file, but if there's no other better choice maybe it's fine)

Paulina Gacek

Hi Akita, thanks for the feedback! We've placed the `enable_smart_card` flag here because this feature will have code in both the `content/` layer and in `third_party/blink/`.

Paulina Gacek

*Rakina, apologies 🙏

Paulina Gacek

Acknowledged

Alex Moshchuk

Placing it in content/public would expose it more widely outside of content/, though (e.g., it would be accessible from //chrome). I'm not sure that's needed, though maybe as Rakina said, there's no better choice? Typically for cases where content and blink need to share some code, the feature definition would go into blink/public, and content would include that dependency (content can use stuff from blink/public). So just curious if it'd be better to define this in blink? (e.g., maybe [here](https://source.chromium.org/chromium/chromium/src/+/main:content/browser/BUILD.gn;l=26;drc=a35f3c68a82831260fbf2d9ce29c00c9007ad3ac)? - though I'd defer to Blink owners for guidance)

Zgroza (Luke) Klimek

So, the plan is to use it from:

  • `//third_party/blink`
  • `//content`
  • `//chrome`

so something as widely accessible as possible would be good indeed.

Rakina Zata Amni

You can't include `//content` from `//third_party/blink`, so if you want to use the flag from there, it's probably better to have it in `//third_party/blink/public` like Alex suggested.

Paulina Gacek

Done, thank you!

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Moshchuk
  • Rakina Zata Amni
  • Zgroza (Luke) Klimek
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: I64e46d163d004032386654e79d1132a2189b501e
Gerrit-Change-Number: 7238354
Gerrit-PatchSet: 13
Gerrit-Owner: Paulina Gacek <paulin...@google.com>
Gerrit-Reviewer: Alex Moshchuk <ale...@chromium.org>
Gerrit-Reviewer: Paulina Gacek <paulin...@google.com>
Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Reviewer: Zgroza (Luke) Klimek <zgr...@chromium.org>
Gerrit-Attention: Alex Moshchuk <ale...@chromium.org>
Gerrit-Attention: Zgroza (Luke) Klimek <zgr...@chromium.org>
Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Comment-Date: Fri, 16 Jan 2026 06:47:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Alex Moshchuk <ale...@chromium.org>
Comment-In-Reply-To: Paulina Gacek <paulin...@google.com>
Comment-In-Reply-To: Zgroza (Luke) Klimek <zgr...@chromium.org>
Comment-In-Reply-To: Rakina Zata Amni <rak...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Zgroza (Luke) Klimek (Gerrit)

unread,
Jan 16, 2026, 10:53:14 AM (yesterday) Jan 16
to Paulina Gacek, AyeAye, Alex Moshchuk, Rakina Zata Amni, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org
Attention needed from Alex Moshchuk, Paulina Gacek and Rakina Zata Amni

Zgroza (Luke) Klimek voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Alex Moshchuk
  • Paulina Gacek
  • Rakina Zata Amni
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: I64e46d163d004032386654e79d1132a2189b501e
    Gerrit-Change-Number: 7238354
    Gerrit-PatchSet: 13
    Gerrit-Owner: Paulina Gacek <paulin...@google.com>
    Gerrit-Reviewer: Alex Moshchuk <ale...@chromium.org>
    Gerrit-Reviewer: Paulina Gacek <paulin...@google.com>
    Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Reviewer: Zgroza (Luke) Klimek <zgr...@chromium.org>
    Gerrit-Attention: Alex Moshchuk <ale...@chromium.org>
    Gerrit-Attention: Paulina Gacek <paulin...@google.com>
    Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Comment-Date: Fri, 16 Jan 2026 15:52:57 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alex Moshchuk (Gerrit)

    unread,
    Jan 16, 2026, 6:24:14 PM (18 hours ago) Jan 16
    to Paulina Gacek, Zgroza (Luke) Klimek, AyeAye, Rakina Zata Amni, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org
    Attention needed from Paulina Gacek and Rakina Zata Amni

    Alex Moshchuk voted and added 1 comment

    Votes added by Alex Moshchuk

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 13 (Latest):
    Alex Moshchuk . resolved

    Thanks, content/ LGTM, with the understanding that the new flag will eventually be needed in blink/ as well, per https://chromium-review.googlesource.com/c/chromium/src/+/7238354/comment/8cd73c76_e0b58514/.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Paulina Gacek
    • Rakina Zata Amni
    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: I64e46d163d004032386654e79d1132a2189b501e
    Gerrit-Change-Number: 7238354
    Gerrit-PatchSet: 13
    Gerrit-Owner: Paulina Gacek <paulin...@google.com>
    Gerrit-Reviewer: Alex Moshchuk <ale...@chromium.org>
    Gerrit-Reviewer: Paulina Gacek <paulin...@google.com>
    Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Reviewer: Zgroza (Luke) Klimek <zgr...@chromium.org>
    Gerrit-Attention: Paulina Gacek <paulin...@google.com>
    Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Comment-Date: Fri, 16 Jan 2026 23:24:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages