Remove FetchContext::ModifyPriorityForExperiment

Introduce ResourceFetcherProperties::IsSubframeDeprioritizationEnabled
instead. Move the priority modification logic to ResourceFetcher.

We need to have a IsMainFrame branch in ResourceFetcher in order to
record histograms. Once it is deprecated we should move the logic into
ResourceFetcherProperties and rename the method to something like

Bug: 914739
Change-Id: I6627ee9fd2860a257d68f64879a1cc5875685350
Commit-Queue: Yutaka Hirano <>
Reviewed-by: Hiroshige Hayashizaki <>
Reviewed-by: Tarun Bansal <>
Cr-Commit-Position: refs/heads/master@{#652491}
15 files changed