New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 838955 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 18
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 1
Type: Bug
Proj-Servicification

Blocking:
issue 773295



Sign in to add a comment

Migrate dom distiller to Network Service

Project Member Reported by xunji...@chromium.org, May 2 2018

Issue description

components/dom_distiller/ currently uses content::BrowserContext::GetDefaultStoragePartition(profile)->GetURLRequestContext() and URLFetcher to make network requests. 
With Network Service, StoragePartition::GetURLRequestContext() will be soon unsupported. We need to migrate dom_distiller to using StoragePartition::GetNetworkContext() and URLLoader APIs to make network requests.
 
Cc: bengr@chromium.org
+bengr@: could you help triage? is there someone who can migrate dom distiller to network service?

Comment 2 by bengr@chromium.org, May 7 2018

Cc: nyquist@chromium.org
Tommy, any interest in migrating this code?
An example CL to migrate URLFetcher to SimpleURLLoader is https://chromium-review.googlesource.com/c/chromium/src/+/986675. Let me know if you have any questions. Thanks!
Blocking: -837333 773295

Comment 5 by dxie@chromium.org, May 15 2018

Labels: -Pri-3 Proj-Servicification-Canary OS-All Pri-1

Comment 6 by dxie@chromium.org, May 15 2018

Status: Available (was: Untriaged)

Comment 7 by dxie@chromium.org, May 18 2018

Labels: -OS-All OS-Windows OS-Linux OS-Mac OS-Chrome OS-Android
Owner: wychen@chromium.org
wychen: Could you take this on?

Comment 9 by dxie@google.com, Jun 20 2018

Labels: Proj-Servicification-network-url
Status: Assigned (was: Available)
Owner: toniki...@chromium.org
Status: Started (was: Assigned)
wychen@, if you do not mind, I would like to get started on this one.

feel free to let me know if you have it WIP already.
Cc: wychen@chromium.org
I don't have a WIP CL. Thanks for taking this one.
Project Member

Comment 12 by bugdroid1@chromium.org, Jul 18

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/adcaa34b80df0607efcd0f5332970d8acf86f182

commit adcaa34b80df0607efcd0f5332970d8acf86f182
Author: Antonio Gomes <tonikitoo@igalia.com>
Date: Wed Jul 18 14:36:47 2018

Migrate dom distiller to SimpleURLLoader

BUG= 838955 

TBR=noyau@chromium.org (one line in ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc)

Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I050dbe74fc7ccd7b7811a5532abc931fda189177
Reviewed-on: https://chromium-review.googlesource.com/1140973
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Reviewed-by: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576047}
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/components/dom_distiller/DEPS
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/components/dom_distiller/core/BUILD.gn
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/components/dom_distiller/core/distiller_unittest.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/components/dom_distiller/core/distiller_url_fetcher.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/components/dom_distiller/core/distiller_url_fetcher.h
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/components/dom_distiller/core/distiller_url_fetcher_unittest.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/components/dom_distiller/standalone/content_extractor_browsertest.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/ios/chrome/browser/reading_list/reading_list_download_service_factory.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/ios/chrome/browser/reading_list/url_downloader.cc
[modify] https://crrev.com/adcaa34b80df0607efcd0f5332970d8acf86f182/ios/chrome/browser/reading_list/url_downloader.h

Status: Fixed (was: Started)

Sign in to add a comment