Support pattern matching in the network throttler [chromium/src : main]

0 views
Skip to first unread message

Philip Pfaffe (Gerrit)

unread,
Sep 4, 2025, 2:03:19 PM (4 days ago) Sep 4
to Alex Rudenko, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
Attention needed from Alex Rudenko

Philip Pfaffe added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Philip Pfaffe . resolved

Any thoughts on the test coverage? Anything I'm missing?

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Rudenko
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: I7a4a506e6077ed398e015ce2849c656b5ea2f8d3
Gerrit-Change-Number: 6912755
Gerrit-PatchSet: 2
Gerrit-Owner: Philip Pfaffe <pfa...@chromium.org>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
Gerrit-Comment-Date: Thu, 04 Sep 2025 18:03:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex Rudenko (Gerrit)

unread,
Sep 5, 2025, 4:12:18 AM (4 days ago) Sep 5
to Philip Pfaffe, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
Attention needed from Philip Pfaffe

Alex Rudenko added 6 comments

Patchset-level comments
Philip Pfaffe . resolved

Any thoughts on the test coverage? Anything I'm missing?

Alex Rudenko

Looks good to me!

Commit Message
Line 8, Patchset 2 (Latest):
Alex Rudenko . unresolved

Let's add a description about the scope and high-level design to explain this change

File services/network/throttling/throttling_controller.h
Line 110, Patchset 2 (Latest): void SetNetworkConditions(
Alex Rudenko . unresolved

document what the string is in the pair?

Line 41, Patchset 2 (Latest): // Returns the interceptor for the NetLog source ID.
Alex Rudenko . unresolved

Document the url param as well.

File services/network/throttling/throttling_controller_unittest.cc
Line 491, Patchset 2 (Latest): // Multple patterns with the same conditions get grouped into a single pipe.
Alex Rudenko . unresolved

Please fix this WARNING reported by Spellchecker: "Multple" is a possible misspelling of "Multiple".

To bypass Spellchecker, add ...

"Multple" is a possible misspelling of "Multiple".

To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

File services/network/websocket_interceptor_unittest.cc
Line 70, Patchset 2 (Latest): /*download=*/0,
Alex Rudenko . unresolved

Please fix this WARNING reported by ClangTidy: check: bugprone-argument-comment

argument name 'download' in comment does not m...

check: bugprone-argument-comment

argument name 'download' in comment does not match parameter name 'download_throughput' (https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)

(Note: You can add `Skip-Clang-Tidy-Checks: bugprone-argument-comment` footer to the CL description to skip the check)

(Note: running clang-tidy on this file failed; this diagnostic might be incorrect as a result.)

(Lint observed on `linux-clang-tidy-rel`, but not on `android-clang-tidy-rel`)

Open in Gerrit

Related details

Attention is currently required from:
  • Philip Pfaffe
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: I7a4a506e6077ed398e015ce2849c656b5ea2f8d3
    Gerrit-Change-Number: 6912755
    Gerrit-PatchSet: 2
    Gerrit-Owner: Philip Pfaffe <pfa...@chromium.org>
    Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
    Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
    Gerrit-Attention: Philip Pfaffe <pfa...@chromium.org>
    Gerrit-Comment-Date: Fri, 05 Sep 2025 08:12:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Philip Pfaffe <pfa...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages