Refactor multi-network CCT to rely on net::UrlRequest's target_network [chromium/src : main]

0 views
Skip to first unread message

Adam Rice (Gerrit)

unread,
Jul 9, 2026, 12:56:07 PMJul 9
to Stefano Duo, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
Attention needed from Adam Rice and Stefano Duo

Adam Rice voted and added 4 comments

Votes added by Adam Rice

Commit-Queue+1

4 comments

Patchset-level comments
File-level comment, Patchset 34 (Latest):
Adam Rice . resolved

//services/network lgtm. I haven't reviewed the rest yet.

File services/network/network_context.cc
Line 2770, Patchset 34 (Latest): size_t count = 0;
for (const auto& factory : url_loader_factories_) {
if (factory->GetBoundNetworkForTesting() == target_network) {
count++;
}
}
return count;
Adam Rice . unresolved
```suggestion
return std::ranges::count_if(url_local_factories_,
[](const auto& factory) {
return factory->GetBoundNetworkForTesting() == target_network;
});
```
File services/network/public/cpp/url_loader_factory_builder.h
Line 94, Patchset 34 (Latest): // pipe to make sure we run through ConnectTerminal. This is necessary to
Adam Rice . unresolved

I find this comment a little hard to understand.

File services/network/public/cpp/url_loader_factory_builder.cc
Line 7, Patchset 34 (Latest):#include "base/logging.h"
Adam Rice . unresolved

Should have `"base/check_op.h"` as well.

Pedantically, `#include <ostream>` is also required, although somehow it never seems to cause a problem to omit it.

Open in Gerrit

Related details

Attention is currently required from:
  • Adam Rice
  • Stefano Duo
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
Gerrit-Change-Number: 7904261
Gerrit-PatchSet: 34
Gerrit-Owner: Stefano Duo <stefa...@google.com>
Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Stefano Duo <stefa...@google.com>
Gerrit-Attention: Adam Rice <ri...@chromium.org>
Gerrit-Comment-Date: Thu, 09 Jul 2026 16:55:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Adam Rice (Gerrit)

unread,
Jul 9, 2026, 1:56:13 PMJul 9
to Stefano Duo, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
Attention needed from Stefano Duo

Adam Rice added 2 comments

File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
Line 932, Patchset 34 (Latest): Intent intent =
Adam Rice . unresolved

Gemini says this line needs clang-formatting.

File chrome/browser/chrome_content_browser_client_browsertest.cc
Line 1900, Patchset 34 (Latest):
Adam Rice . unresolved

Too many blank lines left.

Open in Gerrit

Related details

Attention is currently required from:
  • Stefano Duo
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
Gerrit-Change-Number: 7904261
Gerrit-PatchSet: 34
Gerrit-Owner: Stefano Duo <stefa...@google.com>
Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-Attention: Stefano Duo <stefa...@google.com>
Gerrit-Comment-Date: Thu, 09 Jul 2026 17:55:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Stefano Duo (Gerrit)

unread,
Jul 13, 2026, 4:30:13 AMJul 13
to Adam Rice, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
Attention needed from Adam Rice

Stefano Duo voted and added 5 comments

Votes added by Stefano Duo

Commit-Queue+1

5 comments

File chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
Line 932, Patchset 34: Intent intent =
Adam Rice . resolved

Gemini says this line needs clang-formatting.

Stefano Duo

git cl format disagrees with Gemini :(

File chrome/browser/chrome_content_browser_client_browsertest.cc
Line 1900, Patchset 34:
Adam Rice . resolved

Too many blank lines left.

Stefano Duo

Done

File services/network/network_context.cc
Line 2770, Patchset 34: size_t count = 0;

for (const auto& factory : url_loader_factories_) {
if (factory->GetBoundNetworkForTesting() == target_network) {
count++;
}
}
return count;
Adam Rice . resolved
```suggestion
return std::ranges::count_if(url_local_factories_,
[](const auto& factory) {
return factory->GetBoundNetworkForTesting() == target_network;
});
```
Stefano Duo

Done

File services/network/public/cpp/url_loader_factory_builder.h
Line 94, Patchset 34: // pipe to make sure we run through ConnectTerminal. This is necessary to
Adam Rice . resolved

I find this comment a little hard to understand.

Stefano Duo

I've reworded it and added more context. It should be easier to read.

File services/network/public/cpp/url_loader_factory_builder.cc
Line 7, Patchset 34:#include "base/logging.h"
Adam Rice . resolved

Should have `"base/check_op.h"` as well.

Pedantically, `#include <ostream>` is also required, although somehow it never seems to cause a problem to omit it.

Stefano Duo

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Adam Rice
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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
    Gerrit-Change-Number: 7904261
    Gerrit-PatchSet: 38
    Gerrit-Owner: Stefano Duo <stefa...@google.com>
    Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
    Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
    Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-CC: Peter Beverloo <pe...@chromium.org>
    Gerrit-Attention: Adam Rice <ri...@chromium.org>
    Gerrit-Comment-Date: Mon, 13 Jul 2026 08:29:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Adam Rice <ri...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Stefano Duo (Gerrit)

    unread,
    Jul 13, 2026, 12:58:48 PMJul 13
    to Charlie Reis, Peter Conn, Chromium IPC Reviews, Adam Rice, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
    Attention needed from Adam Rice, Charlie Reis, Chromium IPC Reviews and Peter Conn

    Stefano Duo added 1 comment

    Patchset-level comments
    File-level comment, Patchset 41 (Latest):
    Stefano Duo . resolved

    creis@ for //content
    peconn@ for //android_webview and //chrome/**/android

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Rice
    • Charlie Reis
    • Chromium IPC Reviews
    • Peter Conn
    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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
    Gerrit-Change-Number: 7904261
    Gerrit-PatchSet: 41
    Gerrit-Owner: Stefano Duo <stefa...@google.com>
    Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
    Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
    Gerrit-Reviewer: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
    Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
    Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-CC: Peter Beverloo <pe...@chromium.org>
    Gerrit-Attention: Peter Conn <pec...@chromium.org>
    Gerrit-Attention: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-Attention: Adam Rice <ri...@chromium.org>
    Gerrit-Attention: Charlie Reis <cr...@chromium.org>
    Gerrit-Comment-Date: Mon, 13 Jul 2026 16:58:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    gwsq (Gerrit)

    unread,
    Jul 13, 2026, 1:03:33 PMJul 13
    to Stefano Duo, Chromium IPC Reviews, Kinuko Yasuda, Charlie Reis, Peter Conn, Adam Rice, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
    Attention needed from Adam Rice, Charlie Reis, Kinuko Yasuda and Peter Conn

    Message from gwsq

    From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
    IPC: kin...@chromium.org

    📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).

    IPC reviewer(s): kin...@chromium.org


    Reviewer source(s):
    kin...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Rice
    • Charlie Reis
    • Kinuko Yasuda
    • Peter Conn
    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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
    Gerrit-Change-Number: 7904261
    Gerrit-PatchSet: 41
    Gerrit-Owner: Stefano Duo <stefa...@google.com>
    Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
    Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
    Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
    Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
    Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Peter Conn <pec...@chromium.org>
    Gerrit-Attention: Adam Rice <ri...@chromium.org>
    Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Attention: Charlie Reis <cr...@chromium.org>
    Gerrit-Comment-Date: Mon, 13 Jul 2026 17:03:15 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Stefano Duo (Gerrit)

    unread,
    Jul 13, 2026, 3:00:32 PMJul 13
    to Rakina Zata Amni, Mustafa Emre Acer, Chromium IPC Reviews, Peter Conn, Adam Rice, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
    Attention needed from Adam Rice, Mustafa Emre Acer, Peter Conn and Rakina Zata Amni

    Stefano Duo added 1 comment

    Patchset-level comments
    Stefano Duo . resolved

    I'm shuffling reviewers after a quick offline chat with the current ones.

    rakina@ for //content (I'm adding a new for-testing setter to further test multi-network CCT, see the original changes in https://crrev.com/c/5557142 and http://shortn/_oRFHXuNwjv)

    meacer@ for services/network/public/mojom/network_context.mojom

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Rice
    • Mustafa Emre Acer
    • Peter Conn
    • Rakina Zata Amni
    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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
    Gerrit-Change-Number: 7904261
    Gerrit-PatchSet: 41
    Gerrit-Owner: Stefano Duo <stefa...@google.com>
    Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
    Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
    Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
    Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
    Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-CC: Peter Beverloo <pe...@chromium.org>
    Gerrit-CC: gwsq
    Gerrit-Attention: Peter Conn <pec...@chromium.org>
    Gerrit-Attention: Adam Rice <ri...@chromium.org>
    Gerrit-Attention: Mustafa Emre Acer <mea...@chromium.org>
    Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Comment-Date: Mon, 13 Jul 2026 19:00:15 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Peter Conn (Gerrit)

    unread,
    Jul 14, 2026, 3:07:37 AMJul 14
    to Stefano Duo, Rakina Zata Amni, Mustafa Emre Acer, Chromium IPC Reviews, Adam Rice, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
    Attention needed from Adam Rice, Mustafa Emre Acer, Rakina Zata Amni and Stefano Duo

    Peter Conn voted and added 1 comment

    Votes added by Peter Conn

    Code-Review+1

    1 comment

    Patchset-level comments
    Peter Conn . resolved

    LGTM for `android_webview/` and `chrome/`.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Rice
    • Mustafa Emre Acer
    • Rakina Zata Amni
    • Stefano Duo
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
        Gerrit-Change-Number: 7904261
        Gerrit-PatchSet: 41
        Gerrit-Owner: Stefano Duo <stefa...@google.com>
        Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
        Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
        Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
        Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
        Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
        Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
        Gerrit-CC: Peter Beverloo <pe...@chromium.org>
        Gerrit-CC: gwsq
        Gerrit-Attention: Stefano Duo <stefa...@google.com>
        Gerrit-Attention: Adam Rice <ri...@chromium.org>
        Gerrit-Attention: Mustafa Emre Acer <mea...@chromium.org>
        Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Comment-Date: Tue, 14 Jul 2026 07:07:15 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Rakina Zata Amni (Gerrit)

        unread,
        Jul 14, 2026, 3:23:00 AMJul 14
        to Stefano Duo, Peter Conn, Mustafa Emre Acer, Chromium IPC Reviews, Adam Rice, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
        Attention needed from Adam Rice, Mustafa Emre Acer and Stefano Duo

        Rakina Zata Amni voted and added 1 comment

        Votes added by Rakina Zata Amni

        Code-Review+1

        1 comment

        Patchset-level comments
        Rakina Zata Amni . resolved

        //content LGTM

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Adam Rice
        • Mustafa Emre Acer
        • Stefano Duo
        Gerrit-Comment-Date: Tue, 14 Jul 2026 07:22:31 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Adam Rice (Gerrit)

        unread,
        Jul 14, 2026, 7:20:37 PMJul 14
        to Stefano Duo, Rakina Zata Amni, Peter Conn, Mustafa Emre Acer, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
        Attention needed from Mustafa Emre Acer and Stefano Duo

        Adam Rice voted and added 9 comments

        Votes added by Adam Rice

        Code-Review+1

        9 comments

        Patchset-level comments
        File-level comment, Patchset 43 (Latest):
        Adam Rice . resolved

        lgtm with nits.

        File chrome/browser/multi_network_browser_test.cc
        Line 37, Patchset 43 (Latest):class TestChromeContentBrowserClient : public ChromeContentBrowserClient {
        Adam Rice . unresolved

        To avoid violating the one-definition rule when linking in the same binary as chrome/browser/chrome_content_browser_client_unittest.cc, I suggest putting this inside an anonymous namespace.

        Line 71, Patchset 43 (Latest): for (net::handles::NetworkHandle h : it->second) {
        if (h == network) {
        return true;
        }
        }
        Adam Rice . unresolved

        Nit: std::ranges::contains is nicer for readability.

        ```suggestion
        return std::ranges::contains(it->second, network);
        ```
        Line 84, Patchset 43 (Latest): for (bool val : it->second) {
        if (val == expected) {
        return true;
        }
        }
        Adam Rice . unresolved
        Readability nit:
        ```suggestion
        return std::ranges::contains(it->second, true);
        ```
        Line 108, Patchset 43 (Latest): ChromeContentBrowserClient* client() { return client_; }
        Adam Rice . unresolved

        Not used (which means `client_` is also not used, which means the definition of `MultiNetworkBrowserTest` can be replaced with
        ```
        using MultiNetworkBrowserTest = PlatformBrowserTest;
        ```

        Line 165, Patchset 43 (Latest): std::ignore = content::EvalJs(web_contents.get(), "fetch('/title1.html')");
        Adam Rice . unresolved
        It's probably good to require the fetch to succeed:
        ```suggestion
        EXPECT_TRUE(content::EvalJs(web_contents.get(), "fetch('/title1.html')").is_ok());
        ```
        File content/browser/loader/loader_browsertest.cc
        Line 1535, Patchset 43 (Latest): std::string script = base::StringPrintf(
        "fetch('%s', {mode: 'no-cors'}).then(() => 'success').catch(err => "
        "'fail')",
        fetch_url.spec().c_str());
        Adam Rice . unresolved
        `JSReplace()` is a safer choice when interpolating into JavaScript.
        ```suggestion
        const std::string script = JSReplace(
        "fetch($1, {mode: 'no-cors'}).then(() => 'success').catch(err => "
        "'fail')",
        fetch_url.spec());
        ```
        File content/browser/preloading/prefetch/prefetch_network_context_unittest.cc
        Line 79, Patchset 43 (Latest): testing::IsNull(), testing::IsNull(), true));
        Adam Rice . unresolved

        Nit: consider adding `/*is_for_network_service=*/` here and below.

        File content/browser/preloading/prefetch/prefetch_url_loader_interceptor_unittest.cc
        Line 434, Patchset 43 (Latest): testing::IsNull(), testing::IsNull(), false));
        Adam Rice . unresolved

        Maybe add `/*is_for_network_service=*/` ?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Mustafa Emre Acer
        • Stefano Duo
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
          Gerrit-Change-Number: 7904261
          Gerrit-PatchSet: 43
          Gerrit-Owner: Stefano Duo <stefa...@google.com>
          Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
          Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
          Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
          Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
          Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
          Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
          Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
          Gerrit-CC: Peter Beverloo <pe...@chromium.org>
          Gerrit-CC: gwsq
          Gerrit-Attention: Stefano Duo <stefa...@google.com>
          Gerrit-Attention: Mustafa Emre Acer <mea...@chromium.org>
          Gerrit-Comment-Date: Tue, 14 Jul 2026 23:20:11 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Rakina Zata Amni (Gerrit)

          unread,
          Jul 14, 2026, 7:21:29 PMJul 14
          to Stefano Duo, Łukasz Anforowicz, Adam Rice, Peter Conn, Mustafa Emre Acer, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
          Attention needed from Mustafa Emre Acer, Stefano Duo and Łukasz Anforowicz

          Rakina Zata Amni voted and added 1 comment

          Votes added by Rakina Zata Amni

          Code-Review+0

          1 comment

          Patchset-level comments
          Rakina Zata Amni . unresolved

          Hello, sorry I wasn't aware there are still ongoing discussions on an internal thread! It looks like lukasza@ pointed out some interesting cases to at least test / document (and maybe triggering some fixing/refactor) around subframes / popups / all kinds of navigation requests. So let's make sure those are addressed, either in this CL or a follow-up CL.

          (Let me also add Lukasz to review since he's been leading the discussions)

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Mustafa Emre Acer
          • Stefano Duo
          • Łukasz Anforowicz
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
          Gerrit-Change-Number: 7904261
          Gerrit-PatchSet: 43
          Gerrit-Owner: Stefano Duo <stefa...@google.com>
          Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
          Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
          Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
          Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
          Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
          Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
          Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
          Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
          Gerrit-CC: Peter Beverloo <pe...@chromium.org>
          Gerrit-CC: gwsq
          Gerrit-Attention: Łukasz Anforowicz <luk...@chromium.org>
          Gerrit-Attention: Stefano Duo <stefa...@google.com>
          Gerrit-Attention: Mustafa Emre Acer <mea...@chromium.org>
          Gerrit-Comment-Date: Tue, 14 Jul 2026 23:21:02 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Mustafa Emre Acer (Gerrit)

          unread,
          Jul 17, 2026, 2:48:40 PM (14 days ago) Jul 17
          to Stefano Duo, Code Review Nudger, Łukasz Anforowicz, Adam Rice, Rakina Zata Amni, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
          Attention needed from Stefano Duo

          Mustafa Emre Acer voted and added 1 comment

          Votes added by Mustafa Emre Acer

          Code-Review+1

          1 comment

          Patchset-level comments
          Mustafa Emre Acer . resolved

          Mojo LGTM

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Stefano Duo
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
          Gerrit-Change-Number: 7904261
          Gerrit-PatchSet: 43
          Gerrit-Owner: Stefano Duo <stefa...@google.com>
          Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
          Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
          Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
          Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
          Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
          Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
          Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
          Gerrit-CC: Peter Beverloo <pe...@chromium.org>
          Gerrit-CC: gwsq
          Gerrit-Attention: Stefano Duo <stefa...@google.com>
          Gerrit-Comment-Date: Fri, 17 Jul 2026 18:48:25 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Stefano Duo (Gerrit)

          unread,
          Jul 27, 2026, 10:55:16 AM (4 days ago) Jul 27
          to Mustafa Emre Acer, Code Review Nudger, Łukasz Anforowicz, Adam Rice, Rakina Zata Amni, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
          Attention needed from Adam Rice and Rakina Zata Amni

          Stefano Duo added 9 comments

          Patchset-level comments
          Rakina Zata Amni . resolved

          Hello, sorry I wasn't aware there are still ongoing discussions on an internal thread! It looks like lukasza@ pointed out some interesting cases to at least test / document (and maybe triggering some fixing/refactor) around subframes / popups / all kinds of navigation requests. So let's make sure those are addressed, either in this CL or a follow-up CL.

          (Let me also add Lukasz to review since he's been leading the discussions)

          Stefano Duo

          No problem! Resolving this as we've now agreed that WebContentsImpl is still the right place to store target_network and chrome/browser/multi_network_browser_test.cc contains a test for all the scenarios we're interested about.

          File chrome/browser/multi_network_browser_test.cc
          Line 37, Patchset 43:class TestChromeContentBrowserClient : public ChromeContentBrowserClient {
          Adam Rice . resolved

          To avoid violating the one-definition rule when linking in the same binary as chrome/browser/chrome_content_browser_client_unittest.cc, I suggest putting this inside an anonymous namespace.

          Stefano Duo

          Done

          Line 71, Patchset 43: for (net::handles::NetworkHandle h : it->second) {

          if (h == network) {
          return true;
          }
          }
          Adam Rice . resolved

          Nit: std::ranges::contains is nicer for readability.

          ```suggestion
          return std::ranges::contains(it->second, network);
          ```
          Stefano Duo

          Done

          Line 84, Patchset 43: for (bool val : it->second) {

          if (val == expected) {
          return true;
          }
          }
          Adam Rice . resolved
          Readability nit:
          ```suggestion
          return std::ranges::contains(it->second, true);
          ```
          Stefano Duo

          Done

          Line 108, Patchset 43: ChromeContentBrowserClient* client() { return client_; }
          Adam Rice . resolved

          Not used (which means `client_` is also not used, which means the definition of `MultiNetworkBrowserTest` can be replaced with
          ```
          using MultiNetworkBrowserTest = PlatformBrowserTest;
          ```

          Stefano Duo

          Done

          Line 165, Patchset 43: std::ignore = content::EvalJs(web_contents.get(), "fetch('/title1.html')");
          Adam Rice . resolved
          It's probably good to require the fetch to succeed:
          ```suggestion
          EXPECT_TRUE(content::EvalJs(web_contents.get(), "fetch('/title1.html')").is_ok());
          ```
          Stefano Duo

          Done

          File content/browser/loader/loader_browsertest.cc
          Line 1535, Patchset 43: std::string script = base::StringPrintf(

          "fetch('%s', {mode: 'no-cors'}).then(() => 'success').catch(err => "
          "'fail')",
          fetch_url.spec().c_str());
          Adam Rice . resolved
          `JSReplace()` is a safer choice when interpolating into JavaScript.
          ```suggestion
          const std::string script = JSReplace(
          "fetch($1, {mode: 'no-cors'}).then(() => 'success').catch(err => "
          "'fail')",
          fetch_url.spec());
          ```
          Stefano Duo

          Done

          File content/browser/preloading/prefetch/prefetch_network_context_unittest.cc
          Line 79, Patchset 43: testing::IsNull(), testing::IsNull(), true));
          Adam Rice . resolved

          Nit: consider adding `/*is_for_network_service=*/` here and below.

          Stefano Duo

          Done

          File content/browser/preloading/prefetch/prefetch_url_loader_interceptor_unittest.cc
          Line 434, Patchset 43: testing::IsNull(), testing::IsNull(), false));
          Adam Rice . resolved

          Maybe add `/*is_for_network_service=*/` ?

          Stefano Duo

          Done

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Adam Rice
          • Rakina Zata Amni
          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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
            Gerrit-Change-Number: 7904261
            Gerrit-PatchSet: 62
            Gerrit-Owner: Stefano Duo <stefa...@google.com>
            Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
            Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
            Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
            Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
            Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
            Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
            Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
            Gerrit-CC: Peter Beverloo <pe...@chromium.org>
            Gerrit-CC: gwsq
            Gerrit-Attention: Adam Rice <ri...@chromium.org>
            Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
            Gerrit-Comment-Date: Mon, 27 Jul 2026 14:54:56 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Adam Rice <ri...@chromium.org>
            Comment-In-Reply-To: Rakina Zata Amni <rak...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Łukasz Anforowicz (Gerrit)

            unread,
            Jul 27, 2026, 1:27:22 PM (4 days ago) Jul 27
            to Stefano Duo, Mustafa Emre Acer, Code Review Nudger, Adam Rice, Rakina Zata Amni, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
            Attention needed from Adam Rice, Rakina Zata Amni and Stefano Duo

            Łukasz Anforowicz added 6 comments

            File chrome/browser/multi_network_browser_test.cc
            Line 208, Patchset 62 (Latest): for (auto type : kAllURLLoaderFactoryTypes) {
            Łukasz Anforowicz . unresolved

            Minor nit / suggestion to make it easier to see from the test logs which `type` caused test assertion failures:

            ```suggestion
            for (auto type : kAllURLLoaderFactoryTypes) {
            SCOPED_TRACE(testing::Message()
            << std::endl
            << "type = " << type << std::endl;
            ```
            Line 295, Patchset 62 (Latest): VerifyFactoryCounts(test_client, network,
            {.navigation = 1, .document_subresource = 2});
            Łukasz Anforowicz . unresolved

            It seems unexpected that lines 258-259 in `MultiNetworkBrowserTest.NavigationSetsTargetNetwork` have the exact same expectations as lines 295-296 here in `MultiNetworkBrowserTest.SubresourceSetsTargetNetwork`. Is this because network cache kicks-in? If so, should the test work around that by fetching a different subresource?

            Also:

            1. Maybe it would be a bit clearer what is covered by a test if the `test_client` could reset its request counts. Resetting just before `fetch` would make it clean that we only count network requests stemming from `fetch` (and ignoring earlier ones).
            2. This question also applies to other tests below (e.g. `PrefetchSetsTargetNetwork` also has similar test expectations at the end)

            Line 409, Patchset 62 (Latest):}
            Łukasz Anforowicz . unresolved

            Can you please also add a separate new test that covers the `window.open` API? (IIRC it goes through a separate code path from `OpenURL`. And I think we've said that we want `window.open` to fall back to the default / un-bound network - hypothesizing that this may help SSO scenarios)

            Line 518, Patchset 62 (Latest): ServiceWorkerSetsTargetNetwork) {
            Łukasz Anforowicz . unresolved

            nit:

            ```suggestion
            ServiceWorkerIgnoresTargetNetwork) {
            ```
            Line 594, Patchset 62 (Latest):IN_PROC_BROWSER_TEST_F(MultiNetworkBrowserTest, WebSocketSetsTargetNetwork) {
            Łukasz Anforowicz . unresolved

            ```suggestion
            IN_PROC_BROWSER_TEST_F(MultiNetworkBrowserTest, WebSocketIgnoresTargetNetwork) {
            ```

            Line 644, Patchset 62 (Latest): WebRTCPeerConnectionSetsTargetNetwork) {
            Łukasz Anforowicz . unresolved
            ```suggestion
            WebRTCPeerConnectionIgnoresTargetNetwork) {
            ```

            Should this say "Ignores"? OTOH I am not sure about this suggestion because I don't quite understand why many of the new tests use the same `VerifyFactoryCounts` expectations.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Adam Rice
            • Rakina Zata Amni
            • Stefano Duo
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
              Gerrit-Change-Number: 7904261
              Gerrit-PatchSet: 62
              Gerrit-Owner: Stefano Duo <stefa...@google.com>
              Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
              Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
              Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
              Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
              Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
              Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
              Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
              Gerrit-CC: Peter Beverloo <pe...@chromium.org>
              Gerrit-CC: gwsq
              Gerrit-Attention: Stefano Duo <stefa...@google.com>
              Gerrit-Attention: Adam Rice <ri...@chromium.org>
              Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
              Gerrit-Comment-Date: Mon, 27 Jul 2026 17:27:15 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Adam Rice (Gerrit)

              unread,
              Jul 29, 2026, 3:30:00 AM (2 days ago) Jul 29
              to Stefano Duo, Mustafa Emre Acer, Code Review Nudger, Łukasz Anforowicz, Rakina Zata Amni, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
              Attention needed from Rakina Zata Amni and Stefano Duo

              Adam Rice added 1 comment

              Patchset-level comments
              File-level comment, Patchset 62 (Latest):
              Adam Rice . resolved

              Removing myself from the attention set. Add me back when you're ready.

              Open in Gerrit

              Related details

              Attention is currently required from:
              Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
              Gerrit-Comment-Date: Wed, 29 Jul 2026 07:29:34 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Stefano Duo (Gerrit)

              unread,
              Jul 29, 2026, 10:07:52 AM (2 days ago) Jul 29
              to Mustafa Emre Acer, Code Review Nudger, Łukasz Anforowicz, Adam Rice, Rakina Zata Amni, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
              Attention needed from Rakina Zata Amni and Łukasz Anforowicz

              Stefano Duo added 6 comments

              File chrome/browser/multi_network_browser_test.cc
              Line 208, Patchset 62: for (auto type : kAllURLLoaderFactoryTypes) {
              Łukasz Anforowicz . resolved

              Minor nit / suggestion to make it easier to see from the test logs which `type` caused test assertion failures:

              ```suggestion
              for (auto type : kAllURLLoaderFactoryTypes) {
              SCOPED_TRACE(testing::Message()
              << std::endl
              << "type = " << type << std::endl;
              ```
              Stefano Duo

              Done

              Line 295, Patchset 62: VerifyFactoryCounts(test_client, network,

              {.navigation = 1, .document_subresource = 2});
              Łukasz Anforowicz . resolved

              It seems unexpected that lines 258-259 in `MultiNetworkBrowserTest.NavigationSetsTargetNetwork` have the exact same expectations as lines 295-296 here in `MultiNetworkBrowserTest.SubresourceSetsTargetNetwork`. Is this because network cache kicks-in? If so, should the test work around that by fetching a different subresource?

              Also:

              1. Maybe it would be a bit clearer what is covered by a test if the `test_client` could reset its request counts. Resetting just before `fetch` would make it clean that we only count network requests stemming from `fetch` (and ignoring earlier ones).
              2. This question also applies to other tests below (e.g. `PrefetchSetsTargetNetwork` also has similar test expectations at the end)

              Stefano Duo

              Fetches for subresources re-use the single UrlLoaderFactory created for subresources during navigation commit time (I believe this is done for performance reasons, similarly to how there is a single SharedURLLoaderFactory for the browser process?).

              With that in mind, we do expect to see the same number of for `document_subresource` across the various tests. Except for tests that triggers additional navigations, where we generally expect document_subresource = 2 * # of navigations.

              Line 409, Patchset 62:}
              Łukasz Anforowicz . resolved

              Can you please also add a separate new test that covers the `window.open` API? (IIRC it goes through a separate code path from `OpenURL`. And I think we've said that we want `window.open` to fall back to the default / un-bound network - hypothesizing that this may help SSO scenarios)

              Stefano Duo

              Done. Though, we do want the target_network to be propagated (and this is what currently happens).

              Line 518, Patchset 62: ServiceWorkerSetsTargetNetwork) {
              Łukasz Anforowicz . resolved

              nit:

              ```suggestion
              ServiceWorkerIgnoresTargetNetwork) {
              ```
              Stefano Duo

              Done

              Line 594, Patchset 62:IN_PROC_BROWSER_TEST_F(MultiNetworkBrowserTest, WebSocketSetsTargetNetwork) {
              Łukasz Anforowicz . resolved

              ```suggestion
              IN_PROC_BROWSER_TEST_F(MultiNetworkBrowserTest, WebSocketIgnoresTargetNetwork) {
              ```

              Stefano Duo

              Done

              Line 644, Patchset 62: WebRTCPeerConnectionSetsTargetNetwork) {
              Łukasz Anforowicz . resolved
              ```suggestion
              WebRTCPeerConnectionIgnoresTargetNetwork) {
              ```

              Should this say "Ignores"? OTOH I am not sure about this suggestion because I don't quite understand why many of the new tests use the same `VerifyFactoryCounts` expectations.

              Stefano Duo

              Done

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Rakina Zata Amni
              • Łukasz Anforowicz
              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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
                Gerrit-Change-Number: 7904261
                Gerrit-PatchSet: 63
                Gerrit-Owner: Stefano Duo <stefa...@google.com>
                Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
                Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
                Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
                Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
                Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
                Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
                Gerrit-CC: Peter Beverloo <pe...@chromium.org>
                Gerrit-CC: gwsq
                Gerrit-Attention: Łukasz Anforowicz <luk...@chromium.org>
                Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                Gerrit-Comment-Date: Wed, 29 Jul 2026 14:07:34 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Łukasz Anforowicz <luk...@chromium.org>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Łukasz Anforowicz (Gerrit)

                unread,
                Jul 29, 2026, 1:04:25 PM (2 days ago) Jul 29
                to Stefano Duo, Mustafa Emre Acer, Code Review Nudger, Adam Rice, Rakina Zata Amni, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
                Attention needed from Rakina Zata Amni and Stefano Duo

                Łukasz Anforowicz voted and added 1 comment

                Votes added by Łukasz Anforowicz

                Code-Review+1

                1 comment

                File chrome/browser/multi_network_browser_test.cc
                Line 295, Patchset 62: VerifyFactoryCounts(test_client, network,
                {.navigation = 1, .document_subresource = 2});
                Łukasz Anforowicz . resolved

                It seems unexpected that lines 258-259 in `MultiNetworkBrowserTest.NavigationSetsTargetNetwork` have the exact same expectations as lines 295-296 here in `MultiNetworkBrowserTest.SubresourceSetsTargetNetwork`. Is this because network cache kicks-in? If so, should the test work around that by fetching a different subresource?

                Also:

                1. Maybe it would be a bit clearer what is covered by a test if the `test_client` could reset its request counts. Resetting just before `fetch` would make it clean that we only count network requests stemming from `fetch` (and ignoring earlier ones).
                2. This question also applies to other tests below (e.g. `PrefetchSetsTargetNetwork` also has similar test expectations at the end)

                Stefano Duo

                Fetches for subresources re-use the single UrlLoaderFactory created for subresources during navigation commit time (I believe this is done for performance reasons, similarly to how there is a single SharedURLLoaderFactory for the browser process?).

                With that in mind, we do expect to see the same number of for `document_subresource` across the various tests. Except for tests that triggers additional navigations, where we generally expect document_subresource = 2 * # of navigations.

                Łukasz Anforowicz

                Fetches for subresources re-use the single UrlLoaderFactory created for subresources during navigation commit time (I believe this is done for performance reasons, similarly to how there is a single SharedURLLoaderFactory for the browser process?).

                With that in mind, we do expect to see the same number of for `document_subresource` across the various tests. Except for tests that triggers additional navigations, where we generally expect document_subresource = 2 * # of navigations.

                Thanks for explaining and expanding the comments. I was confused before and now I understand that the verified/expected numbers are tracking the number of URLLoaderFactories, rather than where/how individual requests are handled. This means that we're not quite verifying exactly what we need, but I don't know of a better way to do this, so maybe this is good enough.

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Rakina Zata Amni
                • Stefano Duo
                Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
                  Gerrit-Change-Number: 7904261
                  Gerrit-PatchSet: 63
                  Gerrit-Owner: Stefano Duo <stefa...@google.com>
                  Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
                  Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
                  Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
                  Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                  Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
                  Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
                  Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                  Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                  Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
                  Gerrit-CC: Peter Beverloo <pe...@chromium.org>
                  Gerrit-CC: gwsq
                  Gerrit-Attention: Stefano Duo <stefa...@google.com>
                  Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                  Gerrit-Comment-Date: Wed, 29 Jul 2026 17:03:57 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: Yes
                  Comment-In-Reply-To: Łukasz Anforowicz <luk...@chromium.org>
                  Comment-In-Reply-To: Stefano Duo <stefa...@google.com>
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Stefano Duo (Gerrit)

                  unread,
                  Jul 29, 2026, 1:25:48 PM (2 days ago) Jul 29
                  to Łukasz Anforowicz, Mustafa Emre Acer, Code Review Nudger, Adam Rice, Rakina Zata Amni, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
                  Attention needed from Adam Rice and Rakina Zata Amni

                  Stefano Duo added 1 comment

                  Patchset-level comments
                  Adam Rice . resolved

                  Removing myself from the attention set. Add me back when you're ready.

                  Stefano Duo

                  Done.

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Adam Rice
                  • Rakina Zata Amni
                  Gerrit-Attention: Adam Rice <ri...@chromium.org>
                  Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                  Gerrit-Comment-Date: Wed, 29 Jul 2026 17:25:30 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  Comment-In-Reply-To: Adam Rice <ri...@chromium.org>
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Rakina Zata Amni (Gerrit)

                  unread,
                  12:45 AM (5 hours ago) 12:45 AM
                  to Stefano Duo, Łukasz Anforowicz, Mustafa Emre Acer, Code Review Nudger, Adam Rice, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
                  Attention needed from Adam Rice and Stefano Duo

                  Rakina Zata Amni voted and added 2 comments

                  Votes added by Rakina Zata Amni

                  Code-Review+1

                  2 comments

                  Patchset-level comments
                  Rakina Zata Amni . resolved

                  LGTM again, thanks!

                  File content/browser/web_contents/web_contents_impl.h
                  Line 1064, Patchset 63 (Latest): void set_target_network_for_testing(net::handles::NetworkHandle network) {
                  target_network_ = network;
                  }
                  Rakina Zata Amni . unresolved

                  Let's move this somewhere else away from the RenderViewHostDelegate overrides, closer to other `for_testing` methods.

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Adam Rice
                  • Stefano Duo
                  Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
                    Gerrit-Change-Number: 7904261
                    Gerrit-PatchSet: 63
                    Gerrit-Owner: Stefano Duo <stefa...@google.com>
                    Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
                    Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
                    Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
                    Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                    Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
                    Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
                    Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                    Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
                    Gerrit-CC: Peter Beverloo <pe...@chromium.org>
                    Gerrit-CC: gwsq
                    Gerrit-Attention: Stefano Duo <stefa...@google.com>
                    Gerrit-Attention: Adam Rice <ri...@chromium.org>
                    Gerrit-Comment-Date: Fri, 31 Jul 2026 04:45:14 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    Stefano Duo (Gerrit)

                    unread,
                    5:21 AM (17 minutes ago) 5:21 AM
                    to Rakina Zata Amni, Łukasz Anforowicz, Mustafa Emre Acer, Code Review Nudger, Adam Rice, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
                    Attention needed from Adam Rice

                    Stefano Duo voted and added 1 comment

                    Votes added by Stefano Duo

                    Commit-Queue+1

                    1 comment

                    File content/browser/web_contents/web_contents_impl.h
                    Line 1064, Patchset 63: void set_target_network_for_testing(net::handles::NetworkHandle network) {
                    target_network_ = network;
                    }
                    Rakina Zata Amni . resolved

                    Let's move this somewhere else away from the RenderViewHostDelegate overrides, closer to other `for_testing` methods.

                    Stefano Duo

                    Done

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Adam Rice
                    Submit Requirements:
                      • requirement satisfiedCode-Coverage
                      • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
                      Gerrit-Change-Number: 7904261
                      Gerrit-PatchSet: 64
                      Gerrit-Owner: Stefano Duo <stefa...@google.com>
                      Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
                      Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
                      Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
                      Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                      Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
                      Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
                      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                      Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
                      Gerrit-CC: Peter Beverloo <pe...@chromium.org>
                      Gerrit-CC: gwsq
                      Gerrit-Attention: Adam Rice <ri...@chromium.org>
                      Gerrit-Comment-Date: Fri, 31 Jul 2026 09:20:42 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: Yes
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy

                      Stefano Duo (Gerrit)

                      unread,
                      5:26 AM (12 minutes ago) 5:26 AM
                      to Victor Vianna, Rakina Zata Amni, Łukasz Anforowicz, Mustafa Emre Acer, Code Review Nudger, Adam Rice, Peter Conn, Chromium IPC Reviews, Hiroki Nakagawa, Peter Beverloo, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, dtraino...@chromium.org, kinuko...@chromium.org, kinuko+ser...@chromium.org, horo+...@chromium.org, servicewor...@chromium.org, blink-work...@chromium.org, shimazu+se...@chromium.org, android-web...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org, prerenderi...@chromium.org, alexmo...@chromium.org, lizeb+watch...@chromium.org, navigation...@chromium.org, creis...@chromium.org, loading...@chromium.org, network-ser...@chromium.org, net-r...@chromium.org, fenced-fra...@chromium.org
                      Attention needed from Adam Rice and Victor Vianna

                      Stefano Duo added 1 comment

                      Patchset-level comments
                      Stefano Duo . resolved

                      I'm shuffling reviewers after a quick offline chat with the current ones.

                      rakina@ for //content (I'm adding a new for-testing setter to further test multi-network CCT, see the original changes in https://crrev.com/c/5557142 and http://shortn/_oRFHXuNwjv)

                      meacer@ for services/network/public/mojom/network_context.mojom

                      Stefano Duo

                      victorvianna@ for adding chrome/browser/multi_network_browser_test.cc and updating chrome/browser/OWNERS

                      Open in Gerrit

                      Related details

                      Attention is currently required from:
                      • Adam Rice
                      • Victor Vianna
                      Submit Requirements:
                      • requirement satisfiedCode-Coverage
                      • requirement is not 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: I7a2c7da0152f853c479fb0c9a2d6f5ea18abb613
                      Gerrit-Change-Number: 7904261
                      Gerrit-PatchSet: 64
                      Gerrit-Owner: Stefano Duo <stefa...@google.com>
                      Gerrit-Reviewer: Adam Rice <ri...@chromium.org>
                      Gerrit-Reviewer: Mustafa Emre Acer <mea...@chromium.org>
                      Gerrit-Reviewer: Peter Conn <pec...@chromium.org>
                      Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                      Gerrit-Reviewer: Stefano Duo <stefa...@google.com>
                      Gerrit-Reviewer: Victor Vianna <victor...@google.com>
                      Gerrit-Reviewer: Łukasz Anforowicz <luk...@chromium.org>
                      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                      Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
                      Gerrit-CC: Peter Beverloo <pe...@chromium.org>
                      Gerrit-CC: gwsq
                      Gerrit-Attention: Adam Rice <ri...@chromium.org>
                      Gerrit-Attention: Victor Vianna <victor...@google.com>
                      Gerrit-Comment-Date: Fri, 31 Jul 2026 09:26:22 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      Comment-In-Reply-To: Stefano Duo <stefa...@google.com>
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy
                      Reply all
                      Reply to author
                      Forward
                      0 new messages