Fix isDone() handling to consider the onFailed/onCancel state of the streams. [chromium/src : main]

0 views
Skip to first unread message

Mohannad Farrag (Gerrit)

unread,
Feb 11, 2026, 7:57:49 AM (10 days ago) Feb 11
to Erik Ovelius, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
Attention needed from Erik Ovelius and Etienne Dechamps

Mohannad Farrag voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Erik Ovelius
  • Etienne Dechamps
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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
Gerrit-Change-Number: 7562770
Gerrit-PatchSet: 5
Gerrit-Owner: Erik Ovelius <ove...@google.com>
Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
Gerrit-Attention: Etienne Dechamps <edec...@google.com>
Gerrit-Attention: Erik Ovelius <ove...@google.com>
Gerrit-Comment-Date: Wed, 11 Feb 2026 12:57:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Mohannad Farrag (Gerrit)

unread,
Feb 11, 2026, 8:43:03 AM (10 days ago) Feb 11
to Erik Ovelius, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
Attention needed from Erik Ovelius and Etienne Dechamps

Mohannad Farrag voted and added 1 comment

Votes added by Mohannad Farrag

Code-Review+1

1 comment

File components/cronet/android/test/javatests/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStreamTest.java
Line 318, Patchset 5 (Latest): verify(mMockCallback, never()).onCanceled(any(), any());
Mohannad Farrag . unresolved

`assertFalse(mAdaptiveStream.isDone());`?

Open in Gerrit

Related details

Attention is currently required from:
  • Erik Ovelius
  • Etienne Dechamps
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
Gerrit-Change-Number: 7562770
Gerrit-PatchSet: 5
Gerrit-Owner: Erik Ovelius <ove...@google.com>
Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
Gerrit-Attention: Etienne Dechamps <edec...@google.com>
Gerrit-Attention: Erik Ovelius <ove...@google.com>
Gerrit-Comment-Date: Wed, 11 Feb 2026 13:42:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Erik Ovelius (Gerrit)

unread,
Feb 11, 2026, 9:01:38 AM (10 days ago) Feb 11
to Mohannad Farrag, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
Attention needed from Etienne Dechamps and Mohannad Farrag

Erik Ovelius added 1 comment

File components/cronet/android/test/javatests/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStreamTest.java
Line 318, Patchset 5: verify(mMockCallback, never()).onCanceled(any(), any());
Mohannad Farrag . resolved

`assertFalse(mAdaptiveStream.isDone());`?

Erik Ovelius

Thanks for catching!

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Dechamps
  • Mohannad Farrag
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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
    Gerrit-Change-Number: 7562770
    Gerrit-PatchSet: 6
    Gerrit-Owner: Erik Ovelius <ove...@google.com>
    Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
    Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
    Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
    Gerrit-Attention: Mohannad Farrag <aym...@google.com>
    Gerrit-Attention: Etienne Dechamps <edec...@google.com>
    Gerrit-Comment-Date: Wed, 11 Feb 2026 14:01:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mohannad Farrag <aym...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Etienne Dechamps (Gerrit)

    unread,
    Feb 12, 2026, 5:10:35 AM (9 days ago) Feb 12
    to Erik Ovelius, Mohannad Farrag, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
    Attention needed from Erik Ovelius and Mohannad Farrag

    Etienne Dechamps added 4 comments

    Patchset-level comments
    File-level comment, Patchset 6 (Latest):
    Etienne Dechamps . resolved

    Withholding +1 and deferring to Mohannad to review the business logic as I have zero context on this code.

    Commit Message
    Line 7, Patchset 6 (Latest):Fix isDone() handling to consider the onFailed/onCancel state of the streams.
    Etienne Dechamps . unresolved

    Please fix this WARNING reported by Trailing Whitespace: Please remove the trailing whitespace.

    Please remove the trailing whitespace.

    File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
    Line 125, Patchset 6 (Latest): mBackendCallback.onFailed(
    CronetAdaptiveNetworkBidirectionalStream.this, info, error);
    return;
    }
    // Either the primary stream just failed and we have no fallback
    // or we are the second stream to fail.
    // Time to give up and signal failure.
    if (mFallbackStream == null || mOnlyOneStreamRemains.getAndSet(true)) {
    mBackendCallback.onFailed(
    CronetAdaptiveNetworkBidirectionalStream.this, info, error);
    return;
    }
    }

    @Override
    public void onCanceled(BidirectionalStream stream, UrlResponseInfo info) {
    checkValidStream(stream);
    // The active stream was cancelled failed.
    if (mActiveStream.get() == stream) {
    mBackendCallback.onCanceled(
    CronetAdaptiveNetworkBidirectionalStream.this, info);
    return;
    }
    // Either the primary stream just cancelled and we have no fallback
    // or we are the second stream to cancel.
    // Signal the cancel.
    if (mFallbackStream == null || mOnlyOneStreamRemains.getAndSet(true)) {
    mBackendCallback.onCanceled(
    CronetAdaptiveNetworkBidirectionalStream.this, info);
    return;
    }
    Etienne Dechamps . unresolved

    Spurious diffs.

    Line 218, Patchset 6 (Latest): if (mFallbackStream == null) {
    return mPrimaryStream.isDone();
    }
    return mPrimaryStream.isDone() && mFallbackStream.isDone();
    Etienne Dechamps . unresolved

    I think the following would be easier to read:

    ```
    bool fallbackIsDone = mFallbackStream == null ? true : mFallbackStream.isDone();
    return mPrimaryStream.isDone() && fallbackIsDone;
    ```

    Or even:

    ```
    return mPrimaryStream.isDone() && (mFallbackStream == null ? true : mFallbackStream.isDone());
    ```

    Or even:

    ```
    return (mActiveStream.get() != null) ? mActiveStream.get().isDone() : (mPrimaryStream.isDone() && (mFallbackStream == null ? true : mFallbackStream.isDone()));
    ```

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Erik Ovelius
    • Mohannad Farrag
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
      Gerrit-Change-Number: 7562770
      Gerrit-PatchSet: 6
      Gerrit-Owner: Erik Ovelius <ove...@google.com>
      Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
      Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
      Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
      Gerrit-Attention: Mohannad Farrag <aym...@google.com>
      Gerrit-Attention: Erik Ovelius <ove...@google.com>
      Gerrit-Comment-Date: Thu, 12 Feb 2026 10:10:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Mohannad Farrag (Gerrit)

      unread,
      Feb 12, 2026, 5:20:31 AM (9 days ago) Feb 12
      to Erik Ovelius, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
      Attention needed from Erik Ovelius

      Mohannad Farrag added 1 comment

      File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
      Line 218, Patchset 6 (Latest): if (mFallbackStream == null) {
      return mPrimaryStream.isDone();
      }
      return mPrimaryStream.isDone() && mFallbackStream.isDone();
      Etienne Dechamps . unresolved

      I think the following would be easier to read:

      ```
      bool fallbackIsDone = mFallbackStream == null ? true : mFallbackStream.isDone();
      return mPrimaryStream.isDone() && fallbackIsDone;
      ```

      Or even:

      ```
      return mPrimaryStream.isDone() && (mFallbackStream == null ? true : mFallbackStream.isDone());
      ```

      Or even:

      ```
      return (mActiveStream.get() != null) ? mActiveStream.get().isDone() : (mPrimaryStream.isDone() && (mFallbackStream == null ? true : mFallbackStream.isDone()));
      ```

      Mohannad Farrag

      Now that you write it that way, I think there's a little bit more complication here. If the `mActiveStream` has successfully finished the request with a terminal callback of `onSucceeded` and the `mFallback` stream exists, then the result of `isDone()` should be true.

      I always get confused about this thinking that the `fallback` stream would fire if the `primary` fails in a terminal callback, but that's not true.

      Can't we just do `mActiveStream.get() != null ? mActiveStream.isDone() : false`? So if there's no active stream then that means either:

      1) The request did not start yet.
      2) The request started but has not reached `onStreamReady`

      If there's an active stream then it won't change in the future regardless of the outcome so just use `isDone()` on it.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Erik Ovelius
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
      Gerrit-Change-Number: 7562770
      Gerrit-PatchSet: 6
      Gerrit-Owner: Erik Ovelius <ove...@google.com>
      Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
      Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
      Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
      Gerrit-Attention: Erik Ovelius <ove...@google.com>
      Gerrit-Comment-Date: Thu, 12 Feb 2026 10:20:20 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Etienne Dechamps <edec...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Erik Ovelius (Gerrit)

      unread,
      Feb 12, 2026, 10:16:59 AM (9 days ago) Feb 12
      to Mohannad Farrag, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
      Attention needed from Etienne Dechamps and Mohannad Farrag

      Erik Ovelius added 4 comments

      Patchset-level comments
      Etienne Dechamps . resolved

      Withholding +1 and deferring to Mohannad to review the business logic as I have zero context on this code.

      Erik Ovelius

      I think he did +1 already 😊

      Commit Message
      Line 7, Patchset 6:Fix isDone() handling to consider the onFailed/onCancel state of the streams.
      Etienne Dechamps . resolved

      Please fix this WARNING reported by Trailing Whitespace: Please remove the trailing whitespace.

      Please remove the trailing whitespace.

      Erik Ovelius

      Done

      File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
      Line 125, Patchset 6: mBackendCallback.onFailed(

      CronetAdaptiveNetworkBidirectionalStream.this, info, error);
      return;
      }
      // Either the primary stream just failed and we have no fallback
      // or we are the second stream to fail.
      // Time to give up and signal failure.
      if (mFallbackStream == null || mOnlyOneStreamRemains.getAndSet(true)) {
      mBackendCallback.onFailed(
      CronetAdaptiveNetworkBidirectionalStream.this, info, error);
      return;
      }
      }

      @Override
      public void onCanceled(BidirectionalStream stream, UrlResponseInfo info) {
      checkValidStream(stream);
      // The active stream was cancelled failed.
      if (mActiveStream.get() == stream) {
      mBackendCallback.onCanceled(
      CronetAdaptiveNetworkBidirectionalStream.this, info);
      return;
      }
      // Either the primary stream just cancelled and we have no fallback
      // or we are the second stream to cancel.
      // Signal the cancel.
      if (mFallbackStream == null || mOnlyOneStreamRemains.getAndSet(true)) {
      mBackendCallback.onCanceled(
      CronetAdaptiveNetworkBidirectionalStream.this, info);
      return;
      }
      Etienne Dechamps . resolved

      Spurious diffs.

      Erik Ovelius

      They indentation fixes.. I think this CL is small enough that it shouldn't matter that much. WDYT? (It was Gemini btw hehe)

      Line 218, Patchset 6: if (mFallbackStream == null) {

      return mPrimaryStream.isDone();
      }
      return mPrimaryStream.isDone() && mFallbackStream.isDone();
      Etienne Dechamps . resolved

      I think the following would be easier to read:

      ```
      bool fallbackIsDone = mFallbackStream == null ? true : mFallbackStream.isDone();
      return mPrimaryStream.isDone() && fallbackIsDone;
      ```

      Or even:

      ```
      return mPrimaryStream.isDone() && (mFallbackStream == null ? true : mFallbackStream.isDone());
      ```

      Or even:

      ```
      return (mActiveStream.get() != null) ? mActiveStream.get().isDone() : (mPrimaryStream.isDone() && (mFallbackStream == null ? true : mFallbackStream.isDone()));
      ```

      Mohannad Farrag

      Now that you write it that way, I think there's a little bit more complication here. If the `mActiveStream` has successfully finished the request with a terminal callback of `onSucceeded` and the `mFallback` stream exists, then the result of `isDone()` should be true.

      I always get confused about this thinking that the `fallback` stream would fire if the `primary` fails in a terminal callback, but that's not true.

      Can't we just do `mActiveStream.get() != null ? mActiveStream.isDone() : false`? So if there's no active stream then that means either:

      1) The request did not start yet.
      2) The request started but has not reached `onStreamReady`

      If there's an active stream then it won't change in the future regardless of the outcome so just use `isDone()` on it.

      Erik Ovelius

      edechamps@ first suggestion looks like a clear improvement 😊 I'd be careful trying to compress everything to one line though...

      aymanm@: The third state missing is (let's pretend fallback doesn't exist at all) is:
      3) stream started, never became active, but failed -> isDone() should be true then.

      Thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Etienne Dechamps
      • Mohannad Farrag
      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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
        Gerrit-Change-Number: 7562770
        Gerrit-PatchSet: 7
        Gerrit-Owner: Erik Ovelius <ove...@google.com>
        Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
        Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
        Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
        Gerrit-Attention: Mohannad Farrag <aym...@google.com>
        Gerrit-Attention: Etienne Dechamps <edec...@google.com>
        Gerrit-Comment-Date: Thu, 12 Feb 2026 15:16:42 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Mohannad Farrag <aym...@google.com>
        Comment-In-Reply-To: Etienne Dechamps <edec...@google.com>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Mohannad Farrag (Gerrit)

        unread,
        Feb 12, 2026, 10:23:04 AM (9 days ago) Feb 12
        to Erik Ovelius, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
        Attention needed from Erik Ovelius and Etienne Dechamps

        Mohannad Farrag voted and added 1 comment

        Votes added by Mohannad Farrag

        Code-Review+1

        1 comment

        File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
        Line 125, Patchset 7 (Latest): mBackendCallback.onFailed(
        Mohannad Farrag . unresolved

        Is this the result of `git cl format?`

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Erik Ovelius
        • Etienne Dechamps
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
          Gerrit-Change-Number: 7562770
          Gerrit-PatchSet: 7
          Gerrit-Owner: Erik Ovelius <ove...@google.com>
          Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
          Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
          Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
          Gerrit-Attention: Erik Ovelius <ove...@google.com>
          Gerrit-Attention: Etienne Dechamps <edec...@google.com>
          Gerrit-Comment-Date: Thu, 12 Feb 2026 15:22:49 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Erik Ovelius (Gerrit)

          unread,
          Feb 12, 2026, 10:34:33 AM (9 days ago) Feb 12
          to Mohannad Farrag, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
          Attention needed from Etienne Dechamps and Mohannad Farrag

          Erik Ovelius added 1 comment

          File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
          Line 125, Patchset 7: mBackendCallback.onFailed(
          Mohannad Farrag . resolved

          Is this the result of `git cl format?`

          Erik Ovelius

          Now proper git cl format is done. It caught some more things. Updated description. Good call!

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Etienne Dechamps
          • Mohannad Farrag
          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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
            Gerrit-Change-Number: 7562770
            Gerrit-PatchSet: 9
            Gerrit-Owner: Erik Ovelius <ove...@google.com>
            Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
            Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
            Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
            Gerrit-Attention: Mohannad Farrag <aym...@google.com>
            Gerrit-Attention: Etienne Dechamps <edec...@google.com>
            Gerrit-Comment-Date: Thu, 12 Feb 2026 15:34:16 +0000
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Mohannad Farrag (Gerrit)

            unread,
            Feb 13, 2026, 6:13:46 AM (8 days ago) Feb 13
            to Erik Ovelius, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
            Attention needed from Erik Ovelius and Etienne Dechamps

            Mohannad Farrag voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Erik Ovelius
            • Etienne Dechamps
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Owners
              • requirement is not 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
              Gerrit-Change-Number: 7562770
              Gerrit-PatchSet: 10
              Gerrit-Owner: Erik Ovelius <ove...@google.com>
              Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
              Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
              Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
              Gerrit-Attention: Erik Ovelius <ove...@google.com>
              Gerrit-Attention: Etienne Dechamps <edec...@google.com>
              Gerrit-Comment-Date: Fri, 13 Feb 2026 11:13:31 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Etienne Dechamps (Gerrit)

              unread,
              Feb 13, 2026, 12:33:52 PM (8 days ago) Feb 13
              to Erik Ovelius, Mohannad Farrag, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
              Attention needed from Erik Ovelius

              Etienne Dechamps added 1 comment

              File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
              Etienne Dechamps . unresolved

              Spurious diffs.

              Erik Ovelius

              They indentation fixes.. I think this CL is small enough that it shouldn't matter that much. WDYT? (It was Gemini btw hehe)

              Etienne Dechamps

              How come this file was not formatted in the first place? `git cl upload` should not have allowed this. Can you fix the formatting across the whole file, send that as a CL, and then rebase this CL on top of that one? (For the test file too)

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Erik Ovelius
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement satisfiedCode-Owners
                • requirement is not 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
                Gerrit-Change-Number: 7562770
                Gerrit-PatchSet: 10
                Gerrit-Owner: Erik Ovelius <ove...@google.com>
                Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
                Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
                Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
                Gerrit-Attention: Erik Ovelius <ove...@google.com>
                Gerrit-Comment-Date: Fri, 13 Feb 2026 17:33:34 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Erik Ovelius <ove...@google.com>
                Comment-In-Reply-To: Etienne Dechamps <edec...@google.com>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Erik Ovelius (Gerrit)

                unread,
                Feb 17, 2026, 10:18:06 AM (4 days ago) Feb 17
                to Mohannad Farrag, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
                Attention needed from Etienne Dechamps

                Erik Ovelius added 1 comment

                File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
                Etienne Dechamps . resolved

                Spurious diffs.

                Erik Ovelius

                They indentation fixes.. I think this CL is small enough that it shouldn't matter that much. WDYT? (It was Gemini btw hehe)

                Etienne Dechamps

                How come this file was not formatted in the first place? `git cl upload` should not have allowed this. Can you fix the formatting across the whole file, send that as a CL, and then rebase this CL on top of that one? (For the test file too)

                Erik Ovelius

                I don't know - I also assumed it was an upload check 😊 In Google3 this would have been auto formatted and blocked.

                Do you want me to revert the formatting fixes from this change?

                Given that this code isn't referenced anywhere yet - I'm hoping we can avoid that bureaucratic exercise and just submit this with the formatting fixes. WDYT?

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Etienne Dechamps
                Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement satisfiedCode-Owners
                  • requirement is not 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
                  Gerrit-Change-Number: 7562770
                  Gerrit-PatchSet: 10
                  Gerrit-Owner: Erik Ovelius <ove...@google.com>
                  Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
                  Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
                  Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
                  Gerrit-Attention: Etienne Dechamps <edec...@google.com>
                  Gerrit-Comment-Date: Tue, 17 Feb 2026 15:17:45 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  Comment-In-Reply-To: Etienne Dechamps <edec...@google.com>
                  Comment-In-Reply-To: Erik Ovelius <ove...@google.com>
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Erik Ovelius (Gerrit)

                  unread,
                  Feb 17, 2026, 10:21:26 AM (4 days ago) Feb 17
                  to Mohannad Farrag, Etienne Dechamps, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
                  File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
                  Erik Ovelius

                  I'd favor go/review-speed#why over nit whitespace/formatting changes... but if there is context I'm not understanding please let me know.. thanks!

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Etienne Dechamps
                  Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement satisfiedCode-Owners
                  • requirement is not 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
                  Gerrit-Change-Number: 7562770
                  Gerrit-PatchSet: 10
                  Gerrit-Owner: Erik Ovelius <ove...@google.com>
                  Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
                  Gerrit-Reviewer: Etienne Dechamps <edec...@google.com>
                  Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
                  Gerrit-Attention: Etienne Dechamps <edec...@google.com>
                  Gerrit-Comment-Date: Tue, 17 Feb 2026 15:21:12 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Erik Ovelius (Gerrit)

                  unread,
                  Feb 20, 2026, 10:47:37 AM (21 hours ago) Feb 20
                  to Stefano Duo, Etienne Dechamps, Mohannad Farrag, Chromium LUCI CQ, AyeAye, net-r...@chromium.org
                  Attention needed from Etienne Dechamps and Stefano Duo
                  File components/cronet/android/java/src/org/chromium/net/impl/CronetAdaptiveNetworkBidirectionalStream.java
                  Erik Ovelius

                  Thank you for https://chromium-review.googlesource.com/c/chromium/src/+/7588433 - this would have taken me much longer 😊

                  I think we're synced up now, PTAL.

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Etienne Dechamps
                  • Stefano Duo
                  Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement satisfiedCode-Owners
                  • requirement is not 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: If9cddde04cae91ac95cc555f0706f94cdbd397e1
                  Gerrit-Change-Number: 7562770
                  Gerrit-PatchSet: 11
                  Gerrit-Owner: Erik Ovelius <ove...@google.com>
                  Gerrit-Reviewer: Erik Ovelius <ove...@google.com>
                  Gerrit-Reviewer: Mohannad Farrag <aym...@google.com>
                  Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
                  Gerrit-CC: Etienne Dechamps <edec...@google.com>
                  Gerrit-Attention: Stefano Duo <stefa...@google.com>
                  Gerrit-Attention: Etienne Dechamps <edec...@google.com>
                  Gerrit-Comment-Date: Fri, 20 Feb 2026 15:47:17 +0000
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy
                  Reply all
                  Reply to author
                  Forward
                  0 new messages