net: Defer disk cache checkpointing until idle [chromium/src : main]

1 view
Skip to first unread message

Tsuyoshi Horo (Gerrit)

unread,
Sep 1, 2025, 9:09:35 AM (7 days ago) Sep 1
to Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
Attention needed from Greg Thompson

Tsuyoshi Horo added 1 comment

Patchset-level comments
File-level comment, Patchset 11 (Latest):
Tsuyoshi Horo . resolved

grt@
Could you please review this?

I believe this is in line with [your recommendation](https://chromium-review.googlesource.com/c/chromium/src/+/6865893/comments/5aa4564c_08ae4256).


Thank you.

Open in Gerrit

Related details

Attention is currently required from:
  • Greg Thompson
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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
Gerrit-Change-Number: 6903720
Gerrit-PatchSet: 11
Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: James Maclean <wjma...@chromium.org>
Gerrit-Attention: Greg Thompson <g...@chromium.org>
Gerrit-Comment-Date: Mon, 01 Sep 2025 13:09:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Tsuyoshi Horo (Gerrit)

unread,
Sep 1, 2025, 9:18:06 AM (7 days ago) Sep 1
to Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
Attention needed from Greg Thompson and Joe Mason

Tsuyoshi Horo voted and added 1 comment

Votes added by Tsuyoshi Horo

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 12 (Latest):
Tsuyoshi Horo . resolved

Hi joenotcharles@.

I'm currently facing an issue with slow database checkpointing in the HTTP cache that uses the SQL disk cache. To address this, I've created this CL that utilizes MatchingScenarioObserver, which I believe you implemented.

I was hoping you could take a look at my approach. Do you think this is an appropriate use of MatchingScenarioObserver for this purpose? Also, I would be grateful for any advice on potential pitfalls or things I should be particularly careful about with this implementation.

Thank you for your time and expertise.

Open in Gerrit

Related details

Attention is currently required from:
  • Greg Thompson
  • Joe Mason
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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
Gerrit-Change-Number: 6903720
Gerrit-PatchSet: 12
Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
Gerrit-Reviewer: Joe Mason <joenot...@google.com>
Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: James Maclean <wjma...@chromium.org>
Gerrit-Attention: Greg Thompson <g...@chromium.org>
Gerrit-Attention: Joe Mason <joenot...@google.com>
Gerrit-Comment-Date: Mon, 01 Sep 2025 13:17:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Greg Thompson (Gerrit)

unread,
Sep 1, 2025, 9:43:35 AM (7 days ago) Sep 1
to Tsuyoshi Horo, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
Attention needed from Joe Mason and Tsuyoshi Horo

Greg Thompson added 5 comments

File content/browser/storage_partition_impl.cc
Line 1186, Patchset 11: observer_list->AddMatchingObserver(this);
Greg Thompson . unresolved

can you use a `base::ScopedObservation` for this so that the observer is removed automatically in `~StoragePartitionImpl`?

File net/base/features.h
Line 764, Patchset 11:NET_EXPORT extern const base::FeatureParam<int>
kSqlDiskCacheForceCheckpointThreshold;
// If the number of pages recorded in the WAL file of the SQL disk cache's DB
// exceeds this value and the browser is idle, a checkpoint is executed.
NET_EXPORT extern const base::FeatureParam<int>
kSqlDiskCacheIdleCheckpointThreshold;
Greg Thompson . unresolved

since these are accessed on every commit to the db, shall we use `BASE_DECLARE_FEATURE_PARAM` and `BASE_FEATURE_PARAM` for them (see base/feature_list.h)?

File net/base/features.cc
Line 629, Patchset 11: &kDiskCacheBackendExperiment, "SqlDiskCacheIdleCheckpointThreshold", 10000};
Greg Thompson . unresolved

this is 10x the SQLite default, yes? is there an advantage to letting the WAL grow so much? this will mean that each checkpoint is more expensive, no?

File net/disk_cache/sql/sql_persistent_store.cc
Line 277, Patchset 11: .set_wal_commit_callback(base::BindRepeating(
Greg Thompson . unresolved

am i correct in thinking that this whole class is only used if the client is in the DiskCacheBackendExperiment?

Line 2280, Patchset 11: const bool force_checkpoint =
Greg Thompson . unresolved

one side effect here is that if the system is never reaches the idle state, we end up having a more janky experience than before introducing this code since we will checkpoint doubly-sized WALs synchronously.

Open in Gerrit

Related details

Attention is currently required from:
  • Joe Mason
  • Tsuyoshi Horo
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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
    Gerrit-Change-Number: 6903720
    Gerrit-PatchSet: 12
    Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
    Gerrit-Reviewer: Joe Mason <joenot...@google.com>
    Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: James Maclean <wjma...@chromium.org>
    Gerrit-Attention: Joe Mason <joenot...@google.com>
    Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-Comment-Date: Mon, 01 Sep 2025 13:43:19 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Sep 1, 2025, 9:54:17 AM (7 days ago) Sep 1
    to Tsuyoshi Horo, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
    Attention needed from Joe Mason and Tsuyoshi Horo

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job win-10-perf/system_health.common_desktop complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/15d14139910000

    Gerrit-Comment-Date: Mon, 01 Sep 2025 13:54:05 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    chromeperf@appspot.gserviceaccount.com (Gerrit)

    unread,
    Sep 1, 2025, 11:15:44 PM (7 days ago) Sep 1
    to Tsuyoshi Horo, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
    Attention needed from Joe Mason and Tsuyoshi Horo

    Message from chrom...@appspot.gserviceaccount.com

    📍 Job win-10-perf/system_health.common_desktop complete.

    See results at: https://pinpoint-dot-chromeperf.appspot.com/job/1673faa4510000

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Joe Mason
    • Tsuyoshi Horo
    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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
    Gerrit-Change-Number: 6903720
    Gerrit-PatchSet: 14
    Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
    Gerrit-Reviewer: Joe Mason <joenot...@google.com>
    Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: James Maclean <wjma...@chromium.org>
    Gerrit-Attention: Joe Mason <joenot...@google.com>
    Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Sep 2025 03:15:31 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Tsuyoshi Horo (Gerrit)

    unread,
    Sep 2, 2025, 12:15:29 AM (7 days ago) Sep 2
    to Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
    Attention needed from Greg Thompson and Joe Mason

    Tsuyoshi Horo added 6 comments

    Patchset-level comments
    File-level comment, Patchset 14 (Latest):
    Tsuyoshi Horo . resolved

    Thank you!

    File content/browser/storage_partition_impl.cc
    Line 1186, Patchset 11: observer_list->AddMatchingObserver(this);
    Greg Thompson . resolved

    can you use a `base::ScopedObservation` for this so that the observer is removed automatically in `~StoragePartitionImpl`?

    Tsuyoshi Horo

    Done

    File net/base/features.h
    Line 764, Patchset 11:NET_EXPORT extern const base::FeatureParam<int>
    kSqlDiskCacheForceCheckpointThreshold;
    // If the number of pages recorded in the WAL file of the SQL disk cache's DB
    // exceeds this value and the browser is idle, a checkpoint is executed.
    NET_EXPORT extern const base::FeatureParam<int>
    kSqlDiskCacheIdleCheckpointThreshold;
    Greg Thompson . resolved

    since these are accessed on every commit to the db, shall we use `BASE_DECLARE_FEATURE_PARAM` and `BASE_FEATURE_PARAM` for them (see base/feature_list.h)?

    Tsuyoshi Horo

    Done

    File net/base/features.cc
    Line 629, Patchset 11: &kDiskCacheBackendExperiment, "SqlDiskCacheIdleCheckpointThreshold", 10000};
    Greg Thompson . resolved

    this is 10x the SQLite default, yes? is there an advantage to letting the WAL grow so much? this will mean that each checkpoint is more expensive, no?

    Tsuyoshi Horo

    Ah, I think this value should be 1000, the same as the SQLite's default value. I've fixed it.

    File net/disk_cache/sql/sql_persistent_store.cc
    Line 277, Patchset 11: .set_wal_commit_callback(base::BindRepeating(
    Greg Thompson . resolved

    am i correct in thinking that this whole class is only used if the client is in the DiskCacheBackendExperiment?

    Tsuyoshi Horo

    Yes.
    This is used only when DiskCacheBackendExperiment feature is enabled with backend=sql param

    Line 2280, Patchset 11: const bool force_checkpoint =
    Greg Thompson . resolved

    one side effect here is that if the system is never reaches the idle state, we end up having a more janky experience than before introducing this code since we will checkpoint doubly-sized WALs synchronously.

    Tsuyoshi Horo

    I've set the default value for SqlDiskCacheForceCheckpointThreshold to be 20 times the default value in SQLite. This is because, during my testing on an Android device, I observed that the number of pages could accumulate to around 10,000 before the system became idle.

    I plan to conduct further experiments using various thresholds and monitor the UMA data to determine a more appropriate, smaller threshold.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Greg Thompson
    • Joe Mason
    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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
    Gerrit-Change-Number: 6903720
    Gerrit-PatchSet: 14
    Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
    Gerrit-Reviewer: Joe Mason <joenot...@google.com>
    Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: James Maclean <wjma...@chromium.org>
    Gerrit-Attention: Greg Thompson <g...@chromium.org>
    Gerrit-Attention: Joe Mason <joenot...@google.com>
    Gerrit-Comment-Date: Tue, 02 Sep 2025 04:14:58 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Greg Thompson <g...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Greg Thompson (Gerrit)

    unread,
    Sep 2, 2025, 5:52:44 AM (6 days ago) Sep 2
    to Tsuyoshi Horo, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
    Attention needed from Joe Mason

    Greg Thompson voted and added 3 comments

    Votes added by Greg Thompson

    Code-Review+1

    3 comments

    Patchset-level comments
    File-level comment, Patchset 15:
    Greg Thompson . resolved

    Overall seems good to me. Consider checking with @oliv...@chromium.org, who may have some intuition about thresholds and such.

    File net/disk_cache/sql/sql_persistent_store.cc
    Line 2280, Patchset 11: const bool force_checkpoint =
    Greg Thompson . unresolved

    one side effect here is that if the system is never reaches the idle state, we end up having a more janky experience than before introducing this code since we will checkpoint doubly-sized WALs synchronously.

    Tsuyoshi Horo

    I've set the default value for SqlDiskCacheForceCheckpointThreshold to be 20 times the default value in SQLite. This is because, during my testing on an Android device, I observed that the number of pages could accumulate to around 10,000 before the system became idle.

    I plan to conduct further experiments using various thresholds and monitor the UMA data to determine a more appropriate, smaller threshold.

    Greg Thompson

    Do you think that we're reaching 10,000 pages in the test because it's a particularly heavy-weight test, or do you think that'll be the norm?

    Perhaps we should consider lowering the limit for idle detection since a given checkpoint will be cheaper if fewer pages have accumulated.

    It seems to me that these are exactly the same tradeoffs that V8 must make for timing GCs. Is there anything we can learn from the policies used there?

    File services/network/public/mojom/network_context.mojom
    Line 1123, Patchset 15: // Notifies the network context that the browser is idle. This can be used
    Greg Thompson . unresolved

    @joenot...@google.com: based on [this comment](https://source.chromium.org/chromium/chromium/src/+/main:components/performance_manager/scenario_api/performance_scenario_memory.cc;drc=3f8932533ccf9426786d1e0416d2cad13f1c991d;l=66), i have the impression that one day we should be able to directly observe the idle scenario in the network service. how far off is that today?

    @ho...@chromium.org: if the above is correct, would that let us move the observation out of `StoragePartitionImpl` and into `NetworkContext` or directly into `SqlPersistentStoreImpl` (or elsewhere, depending on threading requirements and where we want to add the dependency on the performance manager's scenario API)? if true, let's leave a TODO(crbug.com/365586676) to clean this up once the scenario API is available in the network service.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Joe Mason
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement 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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 15
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Attention: Joe Mason <joenot...@google.com>
      Gerrit-Comment-Date: Tue, 02 Sep 2025 09:52:22 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Greg Thompson <g...@chromium.org>
      Comment-In-Reply-To: Tsuyoshi Horo <ho...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tsuyoshi Horo (Gerrit)

      unread,
      Sep 2, 2025, 10:14:42 PM (6 days ago) Sep 2
      to Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
      Attention needed from Greg Thompson and Joe Mason

      Tsuyoshi Horo added 3 comments

      Patchset-level comments
      File-level comment, Patchset 17 (Latest):
      Tsuyoshi Horo . resolved

      Thank you.

      File net/disk_cache/sql/sql_persistent_store.cc
      Line 2280, Patchset 11: const bool force_checkpoint =
      Greg Thompson . resolved

      one side effect here is that if the system is never reaches the idle state, we end up having a more janky experience than before introducing this code since we will checkpoint doubly-sized WALs synchronously.

      Tsuyoshi Horo

      I've set the default value for SqlDiskCacheForceCheckpointThreshold to be 20 times the default value in SQLite. This is because, during my testing on an Android device, I observed that the number of pages could accumulate to around 10,000 before the system became idle.

      I plan to conduct further experiments using various thresholds and monitor the UMA data to determine a more appropriate, smaller threshold.

      Greg Thompson

      Do you think that we're reaching 10,000 pages in the test because it's a particularly heavy-weight test, or do you think that'll be the norm?

      Perhaps we should consider lowering the limit for idle detection since a given checkpoint will be cheaper if fewer pages have accumulated.

      It seems to me that these are exactly the same tradeoffs that V8 must make for timing GCs. Is there anything we can learn from the policies used there?

      Tsuyoshi Horo

      I confirmed that after navigating through about three consecutive news site pages, a checkpoint of about 10,000 pages was executed when the browser became idle. Under normal user behavior, I anticipate an idle state would occur after each page transition, so a threshold of a few thousand pages might be sufficient. I plan to investigate the actual UMA data.

      Lowering the threshold for the idle state could be a good idea. However, it's known that in certain environments, the disk synchronization process that [occurs](https://source.chromium.org/chromium/chromium/src/+/main:third_party/sqlite/src/src/wal.c;l=2260;drc=af3f9228a9de368fed823968f2dec49ae5558e12) during a checkpoint can be extremely slow (specifically [FlushFileBuffers](https://source.chromium.org/chromium/chromium/src/+/main:third_party/sqlite/src/src/os_win.c;l=3338;drc=d7cb1ea7ba2c0d168762db7a6814e34ac6524cf0) on Windows). In those situations, it might be better for overall performance to accumulate as many pages as possible before executing a checkpoint. I will examine the UMA data closely regarding this matter as well.

      File services/network/public/mojom/network_context.mojom
      Line 1123, Patchset 15: // Notifies the network context that the browser is idle. This can be used
      Greg Thompson . unresolved

      @joenot...@google.com: based on [this comment](https://source.chromium.org/chromium/chromium/src/+/main:components/performance_manager/scenario_api/performance_scenario_memory.cc;drc=3f8932533ccf9426786d1e0416d2cad13f1c991d;l=66), i have the impression that one day we should be able to directly observe the idle scenario in the network service. how far off is that today?

      @ho...@chromium.org: if the above is correct, would that let us move the observation out of `StoragePartitionImpl` and into `NetworkContext` or directly into `SqlPersistentStoreImpl` (or elsewhere, depending on threading requirements and where we want to add the dependency on the performance manager's scenario API)? if true, let's leave a TODO(crbug.com/365586676) to clean this up once the scenario API is available in the network service.

      Tsuyoshi Horo

      The browser's state (scenario) is shared between processes via shared memory. My understanding is that, at the time this comment was [written](https://chromium-review.googlesource.com/c/chromium/src/+/5846016) in September 2024, the state was only shared between the browser and renderer processes, and the comment noted that it should be made visible to utility processes as well. However, since [CL 6018369](https://chromium-review.googlesource.com/c/chromium/src/+/6018369) landed in November 2024, this shared memory has been made readable by all child processes, including the network service process. Therefore, I believe this comment is no longer accurate.

      According to [this design document](https://docs.google.com/document/d/1Q2mK4kBKAUI5AgOUSANM6WQDgKEoLvmrVB2ySROqzCQ/edit?tab=t.0#heading=h.bcnk63ipv3e8), sending an IPC from the browser process to the renderer process to signal a scenario change was not part of the original plan, and I believe it has not been implemented to date.

      @joenot...@google.com

      Is my understanding correct?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Greg Thompson
      • Joe Mason
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement 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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 17
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Attention: Greg Thompson <g...@chromium.org>
      Gerrit-Attention: Joe Mason <joenot...@google.com>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 02:14:10 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tsuyoshi Horo (Gerrit)

      unread,
      Sep 2, 2025, 10:17:45 PM (6 days ago) Sep 2
      to Nidhi Jaju, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
      Attention needed from Greg Thompson, Joe Mason and Nidhi Jaju

      Tsuyoshi Horo added 1 comment

      Patchset-level comments
      Tsuyoshi Horo . resolved

      nidhijaju@
      Could you please review histograms.xml?

      Thank you.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Greg Thompson
      • Joe Mason
      • Nidhi Jaju
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement 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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 17
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Attention: Greg Thompson <g...@chromium.org>
      Gerrit-Attention: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Attention: Joe Mason <joenot...@google.com>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 02:17:13 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Nidhi Jaju (Gerrit)

      unread,
      Sep 2, 2025, 11:42:00 PM (6 days ago) Sep 2
      to Tsuyoshi Horo, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
      Attention needed from Greg Thompson, Joe Mason and Tsuyoshi Horo

      Nidhi Jaju voted and added 2 comments

      Votes added by Nidhi Jaju

      Code-Review+1

      2 comments

      Patchset-level comments
      Nidhi Jaju . resolved

      histograms lgtm

      File tools/metrics/histograms/metadata/net/histograms.xml
      Line 134, Patchset 17 (Latest):<variants name="SqlPersistentStoreCheckpointType">
      Nidhi Jaju . unresolved

      It's not very clear what these variants mean. Would it be worth adding a summary that we use in the histogram summary?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Greg Thompson
      • Joe Mason
      • Tsuyoshi Horo
      Gerrit-Attention: Joe Mason <joenot...@google.com>
      Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 03:41:26 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tsuyoshi Horo (Gerrit)

      unread,
      Sep 3, 2025, 12:09:28 AM (6 days ago) Sep 3
      to Nidhi Jaju, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
      Attention needed from Greg Thompson and Joe Mason

      Tsuyoshi Horo added 2 comments

      Patchset-level comments
      File-level comment, Patchset 18 (Latest):
      Tsuyoshi Horo . resolved

      Thank you.

      File tools/metrics/histograms/metadata/net/histograms.xml
      Line 134, Patchset 17:<variants name="SqlPersistentStoreCheckpointType">
      Nidhi Jaju . resolved

      It's not very clear what these variants mean. Would it be worth adding a summary that we use in the histogram summary?

      Tsuyoshi Horo

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Greg Thompson
      • Joe Mason
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement 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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 18
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Attention: Greg Thompson <g...@chromium.org>
      Gerrit-Attention: Joe Mason <joenot...@google.com>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 04:08:53 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Nidhi Jaju <nidh...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Greg Thompson (Gerrit)

      unread,
      Sep 3, 2025, 3:20:52 AM (6 days ago) Sep 3
      to Tsuyoshi Horo, Nidhi Jaju, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
      Attention needed from Joe Mason and Tsuyoshi Horo

      Greg Thompson voted and added 1 comment

      Votes added by Greg Thompson

      Code-Review+1

      1 comment

      Patchset-level comments
      Greg Thompson . resolved

      still lgtm % feedback from joe.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Joe Mason
      • Tsuyoshi Horo
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement 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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 18
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Attention: Joe Mason <joenot...@google.com>
      Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 07:20:36 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Joe Mason (Gerrit)

      unread,
      Sep 3, 2025, 12:29:24 PM (5 days ago) Sep 3
      to Tsuyoshi Horo, Nidhi Jaju, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
      Attention needed from Tsuyoshi Horo

      Joe Mason voted and added 2 comments

      Votes added by Joe Mason

      Code-Review+1

      2 comments

      File content/browser/storage_partition_impl.cc
      Line 3873, Patchset 18 (Latest): // the network context is available, call NotifyBrowserIdle.
      Joe Mason . unresolved

      Nit: at first I thought this could miss checkpoints, if the browser becomes idle just before the `network_context` is assigned. In that case as long as the browser remains idle, the observer wouldn't be notified again so OnNetworkIdle would never be called.

      But I see now that the idle state is also tested whenever new data is committed, so OnCommitCallback should eventually run the checkpoint if that happens. This could use a comment explaining that.

      File services/network/public/mojom/network_context.mojom
      Line 1123, Patchset 15: // Notifies the network context that the browser is idle. This can be used
      Greg Thompson . resolved

      @joenot...@google.com: based on [this comment](https://source.chromium.org/chromium/chromium/src/+/main:components/performance_manager/scenario_api/performance_scenario_memory.cc;drc=3f8932533ccf9426786d1e0416d2cad13f1c991d;l=66), i have the impression that one day we should be able to directly observe the idle scenario in the network service. how far off is that today?

      @ho...@chromium.org: if the above is correct, would that let us move the observation out of `StoragePartitionImpl` and into `NetworkContext` or directly into `SqlPersistentStoreImpl` (or elsewhere, depending on threading requirements and where we want to add the dependency on the performance manager's scenario API)? if true, let's leave a TODO(crbug.com/365586676) to clean this up once the scenario API is available in the network service.

      Tsuyoshi Horo

      The browser's state (scenario) is shared between processes via shared memory. My understanding is that, at the time this comment was [written](https://chromium-review.googlesource.com/c/chromium/src/+/5846016) in September 2024, the state was only shared between the browser and renderer processes, and the comment noted that it should be made visible to utility processes as well. However, since [CL 6018369](https://chromium-review.googlesource.com/c/chromium/src/+/6018369) landed in November 2024, this shared memory has been made readable by all child processes, including the network service process. Therefore, I believe this comment is no longer accurate.

      According to [this design document](https://docs.google.com/document/d/1Q2mK4kBKAUI5AgOUSANM6WQDgKEoLvmrVB2ySROqzCQ/edit?tab=t.0#heading=h.bcnk63ipv3e8), sending an IPC from the browser process to the renderer process to signal a scenario change was not part of the original plan, and I believe it has not been implemented to date.

      @joenot...@google.com

      Is my understanding correct?

      Joe Mason

      Yes. The current state can be checked from the network process, but the PerformanceScenarioObserver is only notified on changes in the browser process.

      One way to do everything in the network process right now would be to add a timer that polls to see if the state's become idle every few seconds as long as `wal_pages_` is above the threshold. This shouldn't add much overhead (eg. extra wakeups) since the timer would only fire repeatedly when the browser's already non-idle.

      However, with my Mojo reviewer hat on, this IPC LGTM as is.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Tsuyoshi Horo
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement 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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 18
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 16:29:17 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tsuyoshi Horo (Gerrit)

      unread,
      Sep 4, 2025, 4:42:25 AM (5 days ago) Sep 4
      to Nidhi Jaju, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org

      Tsuyoshi Horo added 2 comments

      Patchset-level comments
      File-level comment, Patchset 18:
      Tsuyoshi Horo . resolved

      Thank you!

      File content/browser/storage_partition_impl.cc
      Line 3873, Patchset 18: // the network context is available, call NotifyBrowserIdle.
      Joe Mason . resolved

      Nit: at first I thought this could miss checkpoints, if the browser becomes idle just before the `network_context` is assigned. In that case as long as the browser remains idle, the observer wouldn't be notified again so OnNetworkIdle would never be called.

      But I see now that the idle state is also tested whenever new data is committed, so OnCommitCallback should eventually run the checkpoint if that happens. This could use a comment explaining that.

      Tsuyoshi Horo

      Done

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement 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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 18
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Comment-Date: Thu, 04 Sep 2025 08:41:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Joe Mason <joenot...@google.com>
      satisfied_requirement
      open
      diffy

      Tsuyoshi Horo (Gerrit)

      unread,
      Sep 4, 2025, 4:44:05 AM (5 days ago) Sep 4
      to Nidhi Jaju, Greg Thompson, Chromium Metrics Reviews, AyeAye, Chromium LUCI CQ, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org

      Tsuyoshi Horo voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 19
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: James Maclean <wjma...@chromium.org>
      Gerrit-Comment-Date: Thu, 04 Sep 2025 08:43:34 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Sep 4, 2025, 5:42:28 AM (4 days ago) Sep 4
      to Tsuyoshi Horo, Nidhi Jaju, Greg Thompson, Chromium Metrics Reviews, AyeAye, chrom...@appspot.gserviceaccount.com, chromium...@chromium.org, James Maclean, asvitkine...@chromium.org, bnc+...@chromium.org, fenced-fra...@chromium.org, gavin...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org

      Chromium LUCI CQ submitted the change with unreviewed changes

      Unreviewed changes

      18 is the latest approved patch-set.
      The change was submitted with unreviewed changes in the following files:

      ```
      The name of the file: content/browser/storage_partition_impl.cc
      Insertions: 6, Deletions: 2.

      @@ -3869,8 +3869,12 @@
      void StoragePartitionImpl::OnScenarioMatchChanged(
      performance_scenarios::ScenarioScope scope,
      bool matches_pattern) {
      - // If the scenario matches performance_scenarios::kDefaultIdleScenarios and
      - // the network context is available, call NotifyBrowserIdle.
      + // If the scenario matches `performance_scenarios::kDefaultIdleScenarios` and
      + // the network context is available, call `NotifyBrowserIdle()`. It's
      + // possible to miss an idle notification if the browser becomes idle before
      + // the network context is initialized. This is not a problem because the idle
      + // state is also checked when data is committed to the cache, so a checkpoint
      + // will eventually be triggered.
      if (matches_pattern && network_context_owner_->network_context.get()) {
      network_context_owner_->network_context->NotifyBrowserIdle();
      }
      ```

      Change information

      Commit message:
      net: Defer disk cache checkpointing until idle

      This CL modifies the SQL-based disk cache backend to defer WAL
      checkpointing, primarily until the browser is idle. This helps to avoid
      blocking the main database sequence during active periods, improving
      performance.

      A `PerformanceScenarioObserver` is added to `StoragePartitionImpl` to
      detect when the browser becomes idle. When idleness is detected, it
      notifies the `NetworkContext` via a new Mojo method
      `NotifyBrowserIdle()`.

      Checkpointing is now triggered in three scenarios:
      1. Immediately after a commit if the WAL file size exceeds a high-water
      mark (`kSqlDiskCacheForceCheckpointThreshold`).
      2. Immediately after a commit if the browser is already idle and the WAL
      file size exceeds a lower threshold
      (`kSqlDiskCacheIdleCheckpointThreshold`).
      3. When the browser transitions to an idle state, if the WAL file size
      is above the idle threshold. This is triggered by
      `NotifyBrowserIdle()`.

      This logic is controlled by two new feature parameters for the thresholds.
      Bug: 436446789, 434890273
      Change-Id: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Reviewed-by: Joe Mason <joenot...@google.com>
      Reviewed-by: Greg Thompson <g...@chromium.org>
      Reviewed-by: Nidhi Jaju <nidh...@chromium.org>
      Commit-Queue: Tsuyoshi Horo <ho...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1510794}
      Files:
      • M content/browser/storage_partition_impl.cc
      • M content/browser/storage_partition_impl.h
      • M net/BUILD.gn
      • M net/base/features.cc
      • M net/base/features.h
      • M net/disk_cache/disk_cache.cc
      • M net/disk_cache/disk_cache.h
      • M net/disk_cache/sql/DEPS
      • M net/disk_cache/sql/sql_backend_impl.cc
      • M net/disk_cache/sql/sql_backend_impl.h
      • M net/disk_cache/sql/sql_persistent_store.cc
      • M net/disk_cache/sql/sql_persistent_store.h
      • M net/disk_cache/sql/sql_persistent_store_unittest.cc
      • M services/network/network_context.cc
      • M services/network/network_context.h
      • M services/network/public/mojom/network_context.mojom
      • M services/network/test/test_network_context.h
      • M tools/metrics/histograms/metadata/net/histograms.xml
      Change size: L
      Delta: 18 files changed, 410 insertions(+), 5 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Joe Mason, +1 by Greg Thompson, +1 by Nidhi Jaju
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Iebc0def98cea2e2835fe747fdd80accbbddaa8fe
      Gerrit-Change-Number: 6903720
      Gerrit-PatchSet: 20
      Gerrit-Owner: Tsuyoshi Horo <ho...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
      Gerrit-Reviewer: Joe Mason <joenot...@google.com>
      Gerrit-Reviewer: Nidhi Jaju <nidh...@chromium.org>
      Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages