Clean up kWebRtcAllowWgcScreenCapturer feature flag [chromium/src : main]

0 views
Skip to first unread message

Steve Becker (Gerrit)

unread,
Sep 17, 2025, 2:17:55 PM (3 days ago) Sep 17
to Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org

Steve Becker voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
Gerrit-Change-Number: 6961638
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Becker <ste...@microsoft.com>
Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
Gerrit-CC: Ale Bzk <ales...@chromium.org>
Gerrit-CC: Per Åhgren <pe...@chromium.org>
Gerrit-CC: Sam Zackrisson <sa...@chromium.org>
Gerrit-Comment-Date: Wed, 17 Sep 2025 18:17:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Olga Sharonova (Gerrit)

unread,
Sep 18, 2025, 4:26:46 AM (3 days ago) Sep 18
to Steve Becker, Henrik Andreasson, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
Attention needed from Henrik Andreasson and Steve Becker

Olga Sharonova added 1 comment

File media/webrtc/webrtc_features.cc
Line 35, Patchset 1 (Parent):// This flag only has an effect if kWebRtcAllowWgcWindowCapturer is enabled.
BASE_FEATURE(kWebRtcAllowWgcWindowZeroHz,
"AllowWgcWindowZeroHz",
base::FEATURE_ENABLED_BY_DEFAULT);
Olga Sharonova . unresolved

What about this one?

Open in Gerrit

Related details

Attention is currently required from:
  • Henrik Andreasson
  • Steve Becker
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
    Gerrit-Change-Number: 6961638
    Gerrit-PatchSet: 1
    Gerrit-Owner: Steve Becker <ste...@microsoft.com>
    Gerrit-Reviewer: Henrik Andreasson <hen...@chromium.org>
    Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
    Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
    Gerrit-CC: Ale Bzk <ales...@chromium.org>
    Gerrit-CC: Per Åhgren <pe...@chromium.org>
    Gerrit-CC: Sam Zackrisson <sa...@chromium.org>
    Gerrit-Attention: Henrik Andreasson <hen...@chromium.org>
    Gerrit-Attention: Steve Becker <ste...@microsoft.com>
    Gerrit-Comment-Date: Thu, 18 Sep 2025 08:26:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Henrik Andreasson (Gerrit)

    unread,
    Sep 18, 2025, 5:44:35 AM (3 days ago) Sep 18
    to Steve Becker, Olga Sharonova, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
    Attention needed from Steve Becker

    Henrik Andreasson voted and added 1 comment

    Votes added by Henrik Andreasson

    Code-Review+1

    1 comment

    File media/webrtc/webrtc_features.cc
    Line 35, Patchset 1 (Parent):// This flag only has an effect if kWebRtcAllowWgcWindowCapturer is enabled.
    BASE_FEATURE(kWebRtcAllowWgcWindowZeroHz,
    "AllowWgcWindowZeroHz",
    base::FEATURE_ENABLED_BY_DEFAULT);
    Olga Sharonova . unresolved

    What about this one?

    Henrik Andreasson

    I'd say it can be removed as well but it is not as trivial as for the other flag which is not used at all.

    This flag is used in [1].

    I propose to start by removing the "dead" kWebRtcAllowWgcWindowCapturer and then see how complex it is to also remove kWebRtcAllowWgcWindowZeroHz in a separate CL.

    [1] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/media/capture/desktop_capture_device.cc;l=1047?q=kWebRtcAllowWgcWindowZeroHz

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Steve Becker
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
      Gerrit-Change-Number: 6961638
      Gerrit-PatchSet: 1
      Gerrit-Owner: Steve Becker <ste...@microsoft.com>
      Gerrit-Reviewer: Henrik Andreasson <hen...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
      Gerrit-CC: Ale Bzk <ales...@chromium.org>
      Gerrit-CC: Per Åhgren <pe...@chromium.org>
      Gerrit-CC: Sam Zackrisson <sa...@chromium.org>
      Gerrit-Attention: Steve Becker <ste...@microsoft.com>
      Gerrit-Comment-Date: Thu, 18 Sep 2025 09:44:20 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Olga Sharonova (Gerrit)

      unread,
      Sep 18, 2025, 8:46:01 AM (3 days ago) Sep 18
      to Steve Becker, Alexander Cooper, Henrik Andreasson, Olga Sharonova, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
      Attention needed from Alexander Cooper and Steve Becker

      Olga Sharonova added 1 comment

      File media/webrtc/webrtc_features.cc
      Line 35, Patchset 1 (Parent):// This flag only has an effect if kWebRtcAllowWgcWindowCapturer is enabled.
      BASE_FEATURE(kWebRtcAllowWgcWindowZeroHz,
      "AllowWgcWindowZeroHz",
      base::FEATURE_ENABLED_BY_DEFAULT);
      Olga Sharonova . unresolved

      What about this one?

      Henrik Andreasson

      I'd say it can be removed as well but it is not as trivial as for the other flag which is not used at all.

      This flag is used in [1].

      I propose to start by removing the "dead" kWebRtcAllowWgcWindowCapturer and then see how complex it is to also remove kWebRtcAllowWgcWindowZeroHz in a separate CL.

      [1] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/media/capture/desktop_capture_device.cc;l=1047?q=kWebRtcAllowWgcWindowZeroHz

      Olga Sharonova

      How do you suggest to deal with "This flag only has an effect if kWebRtcAllowWgcScreenCapturer is enabled." comment?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexander Cooper
      • Steve Becker
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
      Gerrit-Change-Number: 6961638
      Gerrit-PatchSet: 1
      Gerrit-Owner: Steve Becker <ste...@microsoft.com>
      Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
      Gerrit-Reviewer: Henrik Andreasson <hen...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
      Gerrit-CC: Ale Bzk <ales...@chromium.org>
      Gerrit-CC: Olga Sharonova <ol...@google.com>
      Gerrit-CC: Per Åhgren <pe...@chromium.org>
      Gerrit-CC: Sam Zackrisson <sa...@chromium.org>
      Gerrit-Attention: Alexander Cooper <alco...@chromium.org>
      Gerrit-Attention: Steve Becker <ste...@microsoft.com>
      Gerrit-Comment-Date: Thu, 18 Sep 2025 12:45:43 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
      Comment-In-Reply-To: Henrik Andreasson <hen...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Henrik Andreasson (Gerrit)

      unread,
      Sep 18, 2025, 8:49:09 AM (3 days ago) Sep 18
      to Steve Becker, Olga Sharonova, Alexander Cooper, Olga Sharonova, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
      Attention needed from Alexander Cooper and Steve Becker

      Henrik Andreasson added 1 comment

      File media/webrtc/webrtc_features.cc
      Line 35, Patchset 1 (Parent):// This flag only has an effect if kWebRtcAllowWgcWindowCapturer is enabled.
      BASE_FEATURE(kWebRtcAllowWgcWindowZeroHz,
      "AllowWgcWindowZeroHz",
      base::FEATURE_ENABLED_BY_DEFAULT);
      Olga Sharonova . unresolved

      What about this one?

      Henrik Andreasson

      I'd say it can be removed as well but it is not as trivial as for the other flag which is not used at all.

      This flag is used in [1].

      I propose to start by removing the "dead" kWebRtcAllowWgcWindowCapturer and then see how complex it is to also remove kWebRtcAllowWgcWindowZeroHz in a separate CL.

      [1] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/media/capture/desktop_capture_device.cc;l=1047?q=kWebRtcAllowWgcWindowZeroHz

      Olga Sharonova

      How do you suggest to deal with "This flag only has an effect if kWebRtcAllowWgcScreenCapturer is enabled." comment?

      Henrik Andreasson

      Thanks. That comment should be removed.

      Gerrit-Comment-Date: Thu, 18 Sep 2025 12:48:54 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Olga Sharonova <ol...@chromium.org>
      Comment-In-Reply-To: Olga Sharonova <ol...@google.com>
      Comment-In-Reply-To: Henrik Andreasson <hen...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Alexander Cooper (Gerrit)

      unread,
      Sep 18, 2025, 12:33:31 PM (2 days ago) Sep 18
      to Steve Becker, Olga Sharonova, Henrik Andreasson, Olga Sharonova, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
      Attention needed from Steve Becker

      Alexander Cooper voted and added 1 comment

      Votes added by Alexander Cooper

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 1 (Latest):
      Alexander Cooper . resolved

      LGTM w/comment removal per henrik's last comment.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Steve Becker
      Gerrit-Attention: Steve Becker <ste...@microsoft.com>
      Gerrit-Comment-Date: Thu, 18 Sep 2025 16:33:20 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Steve Becker (Gerrit)

      unread,
      Sep 18, 2025, 1:02:28 PM (2 days ago) Sep 18
      to Alexander Cooper, Olga Sharonova, Henrik Andreasson, Olga Sharonova, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
      Attention needed from Olga Sharonova and Olga Sharonova

      Steve Becker voted and added 1 comment

      Votes added by Steve Becker

      Commit-Queue+2

      1 comment

      File media/webrtc/webrtc_features.cc
      Line 35, Patchset 1 (Parent):// This flag only has an effect if kWebRtcAllowWgcWindowCapturer is enabled.
      BASE_FEATURE(kWebRtcAllowWgcWindowZeroHz,
      "AllowWgcWindowZeroHz",
      base::FEATURE_ENABLED_BY_DEFAULT);
      Olga Sharonova . resolved

      What about this one?

      Henrik Andreasson

      I'd say it can be removed as well but it is not as trivial as for the other flag which is not used at all.

      This flag is used in [1].

      I propose to start by removing the "dead" kWebRtcAllowWgcWindowCapturer and then see how complex it is to also remove kWebRtcAllowWgcWindowZeroHz in a separate CL.

      [1] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/media/capture/desktop_capture_device.cc;l=1047?q=kWebRtcAllowWgcWindowZeroHz

      Olga Sharonova

      How do you suggest to deal with "This flag only has an effect if kWebRtcAllowWgcScreenCapturer is enabled." comment?

      Henrik Andreasson

      Thanks. That comment should be removed.

      Steve Becker

      Good catch. I can try to remove kWebRtcAllowWgcWindowCapturer in a separate change.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Olga Sharonova
      • Olga Sharonova
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
      Gerrit-Change-Number: 6961638
      Gerrit-PatchSet: 2
      Gerrit-Owner: Steve Becker <ste...@microsoft.com>
      Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
      Gerrit-Reviewer: Henrik Andreasson <hen...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
      Gerrit-CC: Ale Bzk <ales...@chromium.org>
      Gerrit-CC: Olga Sharonova <ol...@google.com>
      Gerrit-CC: Per Åhgren <pe...@chromium.org>
      Gerrit-CC: Sam Zackrisson <sa...@chromium.org>
      Gerrit-Attention: Olga Sharonova <ol...@chromium.org>
      Gerrit-Attention: Olga Sharonova <ol...@google.com>
      Gerrit-Comment-Date: Thu, 18 Sep 2025 17:02:14 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Olga Sharonova (Gerrit)

      unread,
      Sep 19, 2025, 4:56:33 AM (yesterday) Sep 19
      to Steve Becker, Alexander Cooper, Olga Sharonova, Henrik Andreasson, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
      Attention needed from Olga Sharonova and Steve Becker

      Olga Sharonova voted and added 1 comment

      Votes added by Olga Sharonova

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 2 (Latest):
      Olga Sharonova . resolved

      Apologies for a delay - I though it had all the required approvals!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Olga Sharonova
      • Steve Becker
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
      Gerrit-Change-Number: 6961638
      Gerrit-PatchSet: 2
      Gerrit-Owner: Steve Becker <ste...@microsoft.com>
      Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
      Gerrit-Reviewer: Henrik Andreasson <hen...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
      Gerrit-CC: Ale Bzk <ales...@chromium.org>
      Gerrit-CC: Olga Sharonova <ol...@google.com>
      Gerrit-CC: Per Åhgren <pe...@chromium.org>
      Gerrit-CC: Sam Zackrisson <sa...@chromium.org>
      Gerrit-Attention: Olga Sharonova <ol...@google.com>
      Gerrit-Attention: Steve Becker <ste...@microsoft.com>
      Gerrit-Comment-Date: Fri, 19 Sep 2025 08:56:15 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Steve Becker (Gerrit)

      unread,
      Sep 19, 2025, 1:09:13 PM (yesterday) Sep 19
      to Olga Sharonova, Alexander Cooper, Olga Sharonova, Henrik Andreasson, Chromium LUCI CQ, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org
      Attention needed from Olga Sharonova

      Steve Becker voted and added 1 comment

      Votes added by Steve Becker

      Commit-Queue+2

      1 comment

      Patchset-level comments
      Steve Becker . resolved

      Thanks for the reviews.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Olga Sharonova
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
      Gerrit-Change-Number: 6961638
      Gerrit-PatchSet: 2
      Gerrit-Owner: Steve Becker <ste...@microsoft.com>
      Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
      Gerrit-Reviewer: Henrik Andreasson <hen...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
      Gerrit-CC: Ale Bzk <ales...@chromium.org>
      Gerrit-CC: Olga Sharonova <ol...@google.com>
      Gerrit-CC: Per Åhgren <pe...@chromium.org>
      Gerrit-CC: Sam Zackrisson <sa...@chromium.org>
      Gerrit-Attention: Olga Sharonova <ol...@google.com>
      Gerrit-Comment-Date: Fri, 19 Sep 2025 17:09:03 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Sep 19, 2025, 2:14:00 PM (yesterday) Sep 19
      to Steve Becker, Olga Sharonova, Alexander Cooper, Olga Sharonova, Henrik Andreasson, Ale Bzk, chromium...@chromium.org, Per Åhgren, Sam Zackrisson, feature-me...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Clean up kWebRtcAllowWgcScreenCapturer feature flag

      ... since it's unused and on by default.
      Bug: 40259177
      Change-Id: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
      Reviewed-by: Olga Sharonova <ol...@chromium.org>
      Reviewed-by: Alexander Cooper <alco...@chromium.org>
      Commit-Queue: Steve Becker <ste...@microsoft.com>
      Reviewed-by: Henrik Andreasson <hen...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1518078}
      Files:
      • M media/webrtc/webrtc_features.cc
      • M media/webrtc/webrtc_features.h
      Change size: S
      Delta: 2 files changed, 0 insertions(+), 10 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Olga Sharonova, +1 by Henrik Andreasson, +1 by Alexander Cooper
      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: I05f74b0edb4ec8642ee29d8a1fd6db435a29564e
      Gerrit-Change-Number: 6961638
      Gerrit-PatchSet: 3
      Gerrit-Owner: Steve Becker <ste...@microsoft.com>
      Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Henrik Andreasson <hen...@chromium.org>
      Gerrit-Reviewer: Olga Sharonova <ol...@chromium.org>
      Gerrit-Reviewer: Steve Becker <ste...@microsoft.com>
      Gerrit-CC: Ale Bzk <ales...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages