Fix Freedesktop session suspend type based on WakeLockType [chromium/src : main]

0 views
Skip to first unread message

Thomas Anderson (Gerrit)

unread,
Jan 9, 2026, 1:37:01 PM (4 days ago) Jan 9
to Colin Blundell, chromium...@chromium.org, Raphael Kubo da Costa, mattreyno...@chromium.org
Attention needed from Colin Blundell

Thomas Anderson voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Colin Blundell
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: Id393dd137f52965ea229d7b4330c0c237f331f91
Gerrit-Change-Number: 7426077
Gerrit-PatchSet: 4
Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Colin Blundell <blun...@chromium.org>
Gerrit-Comment-Date: Fri, 09 Jan 2026 18:36:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Reilly Grant (Gerrit)

unread,
Jan 9, 2026, 1:48:31 PM (4 days ago) Jan 9
to Thomas Anderson, Reilly Grant, Chromium LUCI CQ, Colin Blundell, chromium...@chromium.org, Raphael Kubo da Costa, mattreyno...@chromium.org
Attention needed from Colin Blundell and Thomas Anderson

Reilly Grant voted and added 1 comment

Votes added by Reilly Grant

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Reilly Grant . resolved

LGTM

Open in Gerrit

Related details

Attention is currently required from:
  • Colin Blundell
  • Thomas Anderson
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: Id393dd137f52965ea229d7b4330c0c237f331f91
Gerrit-Change-Number: 7426077
Gerrit-PatchSet: 4
Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Colin Blundell <blun...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Comment-Date: Fri, 09 Jan 2026 18:48:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Colin Blundell (Gerrit)

unread,
Jan 12, 2026, 10:04:01 AM (20 hours ago) Jan 12
to Thomas Anderson, Colin Blundell, Reilly Grant, Chromium LUCI CQ, chromium...@chromium.org, Raphael Kubo da Costa, mattreyno...@chromium.org
Attention needed from Thomas Anderson

Colin Blundell voted and added 2 comments

Votes added by Colin Blundell

Code-Review+1

2 comments

Patchset-level comments
Colin Blundell . resolved

Thanks!

File services/device/wake_lock/power_save_blocker/power_save_blocker_linux.cc
Line 174, Patchset 4 (Latest): DoInhibitCall(FallbackDBusApiForWakeLockType(type_));
Colin Blundell . unresolved

AFAICT this CL is a no-op: Is that the intention?

Open in Gerrit

Related details

Attention is currently required from:
  • Thomas Anderson
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: Id393dd137f52965ea229d7b4330c0c237f331f91
    Gerrit-Change-Number: 7426077
    Gerrit-PatchSet: 4
    Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 15:03:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Thomas Anderson (Gerrit)

    unread,
    Jan 12, 2026, 10:09:44 AM (20 hours ago) Jan 12
    to Colin Blundell, Reilly Grant, Chromium LUCI CQ, chromium...@chromium.org, Raphael Kubo da Costa, mattreyno...@chromium.org

    Thomas Anderson voted and added 1 comment

    Votes added by Thomas Anderson

    Commit-Queue+1

    1 comment

    File services/device/wake_lock/power_save_blocker/power_save_blocker_linux.cc
    Line 174, Patchset 4 (Latest): DoInhibitCall(FallbackDBusApiForWakeLockType(type_));
    Colin Blundell . resolved

    AFAICT this CL is a no-op: Is that the intention?

    Thomas Anderson

    Before this change, kPreventAppSuspension would lock with both kFreedesktopScreensaver and kFreedesktopPower. Now it's just kFreedesktopScreensaver.

    Open in Gerrit

    Related details

    Attention set is empty
    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: Id393dd137f52965ea229d7b4330c0c237f331f91
      Gerrit-Change-Number: 7426077
      Gerrit-PatchSet: 4
      Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 15:09:19 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
      satisfied_requirement
      open
      diffy

      Colin Blundell (Gerrit)

      unread,
      Jan 12, 2026, 10:12:00 AM (20 hours ago) Jan 12
      to Thomas Anderson, Colin Blundell, Reilly Grant, Chromium LUCI CQ, chromium...@chromium.org, Raphael Kubo da Costa, mattreyno...@chromium.org
      Attention needed from Thomas Anderson

      Colin Blundell added 1 comment

      File services/device/wake_lock/power_save_blocker/power_save_blocker_linux.cc
      Line 174, Patchset 4 (Latest): DoInhibitCall(FallbackDBusApiForWakeLockType(type_));
      Colin Blundell . resolved

      AFAICT this CL is a no-op: Is that the intention?

      Thomas Anderson

      Before this change, kPreventAppSuspension would lock with both kFreedesktopScreensaver and kFreedesktopPower. Now it's just kFreedesktopScreensaver.

      Colin Blundell

      Ah yes, I was missing that there isn't a return after line 175. Thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Thomas Anderson
      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: Id393dd137f52965ea229d7b4330c0c237f331f91
      Gerrit-Change-Number: 7426077
      Gerrit-PatchSet: 4
      Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 15:11:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
      Comment-In-Reply-To: Thomas Anderson <thomasa...@chromium.org>
      satisfied_requirement
      open
      diffy

      Thomas Anderson (Gerrit)

      unread,
      Jan 12, 2026, 10:55:09 AM (19 hours ago) Jan 12
      to Colin Blundell, Reilly Grant, Chromium LUCI CQ, chromium...@chromium.org, Raphael Kubo da Costa, mattreyno...@chromium.org

      Thomas Anderson voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      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: Id393dd137f52965ea229d7b4330c0c237f331f91
      Gerrit-Change-Number: 7426077
      Gerrit-PatchSet: 4
      Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Comment-Date: Mon, 12 Jan 2026 15:54:57 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Jan 12, 2026, 10:58:07 AM (19 hours ago) Jan 12
      to Thomas Anderson, Colin Blundell, Reilly Grant, chromium...@chromium.org, Raphael Kubo da Costa, mattreyno...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Fix Freedesktop session suspend type based on WakeLockType

      This is a followup to [1] which made this change for the GNOME API but
      did not for the Freedesktop APIs.

      [1] https://crrev.com/5d50deb
      Bug: 454025651
      Change-Id: Id393dd137f52965ea229d7b4330c0c237f331f91
      Reviewed-by: Reilly Grant <rei...@chromium.org>
      Reviewed-by: Colin Blundell <blun...@chromium.org>
      Commit-Queue: Thomas Anderson <thomasa...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1567783}
      Files:
      • M services/device/wake_lock/power_save_blocker/power_save_blocker_linux.cc
      Change size: S
      Delta: 1 file changed, 4 insertions(+), 7 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Reilly Grant, +1 by Colin Blundell
      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: Id393dd137f52965ea229d7b4330c0c237f331f91
      Gerrit-Change-Number: 7426077
      Gerrit-PatchSet: 5
      Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages