Remove XmlElement-based SendIq methods in IqSender [chromium/src : main]

0 views
Skip to first unread message

Joe Downing (Gerrit)

unread,
Feb 20, 2026, 12:01:07 PM (2 days ago) Feb 20
to Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org
Attention needed from Yuwei Huang

Joe Downing voted and added 1 comment

Votes added by Joe Downing

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Joe Downing . resolved

PTAL!

Open in Gerrit

Related details

Attention is currently required from:
  • Yuwei Huang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: Iadaf54e0f340f9be886b9039f75ef49ca35a0245
Gerrit-Change-Number: 7597079
Gerrit-PatchSet: 1
Gerrit-Owner: Joe Downing <joe...@chromium.org>
Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
Gerrit-Attention: Yuwei Huang <yuw...@chromium.org>
Gerrit-Comment-Date: Fri, 20 Feb 2026 17:00:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Yuwei Huang (Gerrit)

unread,
Feb 20, 2026, 3:58:08 PM (2 days ago) Feb 20
to Joe Downing, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org
Attention needed from Joe Downing

Yuwei Huang voted and added 1 comment

Votes added by Yuwei Huang

Code-Review+1

1 comment

File remoting/protocol/jingle_session.cc
Line 581, Patchset 2 (Latest): std::string message_id = message->message_id;
Yuwei Huang . unresolved

nit: just pass `message->message_id` to `OnIncomingMessage` to avoid unnecessary copy.

Open in Gerrit

Related details

Attention is currently required from:
  • Joe Downing
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: Iadaf54e0f340f9be886b9039f75ef49ca35a0245
    Gerrit-Change-Number: 7597079
    Gerrit-PatchSet: 2
    Gerrit-Owner: Joe Downing <joe...@chromium.org>
    Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
    Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
    Gerrit-Attention: Joe Downing <joe...@chromium.org>
    Gerrit-Comment-Date: Fri, 20 Feb 2026 20:57:59 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joe Downing (Gerrit)

    unread,
    Feb 20, 2026, 4:46:21 PM (2 days ago) Feb 20
    to Yuwei Huang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org

    Joe Downing voted and added 2 comments

    Votes added by Joe Downing

    Commit-Queue+2

    2 comments

    Patchset-level comments
    File-level comment, Patchset 2 (Latest):
    Joe Downing . resolved

    Thanks!

    File remoting/protocol/jingle_session.cc
    Line 581, Patchset 2 (Latest): std::string message_id = message->message_id;
    Yuwei Huang . resolved

    nit: just pass `message->message_id` to `OnIncomingMessage` to avoid unnecessary copy.

    Joe Downing

    Interestingly I had this problem in a previous CL where I tried both referencing a member and std::moving'ing the instance in the same function invocation. This worked fine on posix (meaning no crash) but the Windows binary crashed when the code was executed. My guess is that it depends on which way the values are pushed on the stack for the fn call.

    I would prefer fixing this in a follow-up where OrderedMessageQueue reads message_id from PendingMessage.

    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: Iadaf54e0f340f9be886b9039f75ef49ca35a0245
      Gerrit-Change-Number: 7597079
      Gerrit-PatchSet: 2
      Gerrit-Owner: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
      Gerrit-Comment-Date: Fri, 20 Feb 2026 21:46:14 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Yuwei Huang <yuw...@chromium.org>
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Feb 20, 2026, 4:49:25 PM (2 days ago) Feb 20
      to Joe Downing, Yuwei Huang, chromium...@chromium.org, chromotin...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Remove XmlElement-based SendIq methods in IqSender

      Yet another CL in a long line of refactoring CLs which aim to
      remove the XmlElement dependency from the myriad signaling and
      protocol classes.
      Bug: 359620500
      Change-Id: Iadaf54e0f340f9be886b9039f75ef49ca35a0245
      Reviewed-by: Yuwei Huang <yuw...@chromium.org>
      Commit-Queue: Joe Downing <joe...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1588078}
      Files:
      • M remoting/protocol/jingle_session.cc
      • M remoting/protocol/jingle_session.h
      • M remoting/protocol/jingle_session_manager.cc
      • M remoting/signaling/iq_sender.cc
      • M remoting/signaling/iq_sender.h
      • M remoting/signaling/iq_sender_unittest.cc
      • M remoting/signaling/jingle_data_structures_unittest.cc
      Change size: M
      Delta: 7 files changed, 50 insertions(+), 102 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Yuwei Huang
      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: Iadaf54e0f340f9be886b9039f75ef49ca35a0245
      Gerrit-Change-Number: 7597079
      Gerrit-PatchSet: 3
      Gerrit-Owner: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Joe Downing <joe...@chromium.org>
      Gerrit-Reviewer: Yuwei Huang <yuw...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages