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

Issue 748491 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug
Proj-Servicification



Sign in to add a comment

Define URLError and CompletionStatus in services/network

Project Member Reported by yhirano@chromium.org, Jul 25 2017

Issue description

As a first step to loading IPC migration, define URLError (current blink::WebURLError) and LoadCompletionStatus (current content::ResourceRequestCompletionStatus) in services/network/public. This should be straightforward because they only contain basic types (integers, string, url, time).
 
Description: Show this description

Comment 2 by kinuko@chromium.org, Jul 26 2017

Cc: jam@chromium.org rdsmith@chromium.org mmenke@chromium.org
Given that we don't have services/network directory yet might we want to have some rough consensus first?  (Adding some stake holders)

Comment 3 by mmenke@chromium.org, Jul 26 2017

Do we need multiple error domains?  Everything the network stack reports is from the domain "net" (There are DNS probe results, but those errors don't come from net / the network service, though the data to generate them does)

Comment 4 by mmenke@chromium.org, Jul 26 2017

Also, the caller already knows the URL.  WebURLError seems more a data structure handy for passing around data in blink and maybe content, rather than something the network service needs to support...Or am I missing something?
Actually, everything blink reports will also be from the domain "net" excluding test cases, after [1] is landed.

According to [2], excluding tests,

 A: blink/Source/core/loader/DocumentThreadableLoader.cpp generates kBlinkInternal errors
 B: chrome/renderer/net/net_error_helper_core.cc generates kDnsProbe errors
 C: content/renderer/render_frame_impl.cc generates kHttpErrors

and [1] will remove A. I will be happy if we can also deprecate B and C. What do you think?

1: https://chromium-review.googlesource.com/c/577470/
2: https://chromium-review.googlesource.com/c/577430/

Comment 6 by mmenke@chromium.org, Jul 26 2017

I'm not sure how we could get rid of C - net doesn't consider HTTP errors to be errors.

The DNS stuff also doesn't come from net, so presumably the network service shouldn't know about those, though suppose there's some fungibility on that one.

Comment 7 by kinuko@chromium.org, Jul 26 2017

It looks after yhirano's changes land the error domain string is used mostly for displaying error string in components/error_page.  For example kHttpErrors case in render_frame_impl.cc is an artificial one created on the fly just for displaying error page when empty body is returned with 4xx/5xx errors-- I agree that we can likely just remove the error domain field then.

Comment 8 by mmenke@chromium.org, Jul 26 2017

If we can get rid of them, that SGTM.
Project Member

Comment 9 by bugdroid1@chromium.org, Jul 26 2017

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

commit 094e8c16406b0080d39215f1d8a7096f9737d683
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Wed Jul 26 09:38:00 2017

Move NetErrorHelperCore to chrome/renderer/net

Bug:  748491 
Change-Id: I5123fbb36e9401c43252ce38d595394d6f6f23fd
Reviewed-on: https://chromium-review.googlesource.com/582722
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489576}
[modify] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/BUILD.gn
[modify] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/net/net_error_helper.cc
[modify] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/net/net_error_helper.h
[rename] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/net/net_error_helper_core.cc
[rename] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/net/net_error_helper_core.h
[rename] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/net/net_error_helper_core_unittest.cc
[modify] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/net/net_error_page_controller.cc
[modify] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/renderer/net/net_error_page_controller.h
[modify] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/chrome/test/BUILD.gn
[modify] https://crrev.com/094e8c16406b0080d39215f1d8a7096f9737d683/components/BUILD.gn
[delete] https://crrev.com/fc9947ea832ac22831d19063776c7f47b66afc89/components/error_page/renderer/BUILD.gn
[delete] https://crrev.com/fc9947ea832ac22831d19063776c7f47b66afc89/components/error_page/renderer/DEPS

Project Member

Comment 10 by bugdroid1@chromium.org, Jul 27 2017

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

commit 03c46891522f4c0a8559ecb2a5f6a3578c961db9
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Thu Jul 27 01:54:53 2017

Introduce WebURLError::Domain

This CL introduces WebURLError::Domain. Previously random string was used
for specifying domain and it was error prone.

Bug:  748491 
Change-Id: Ib367ae2c7cedb90dc27e90d33356226d41f94e24
Reviewed-on: https://chromium-review.googlesource.com/577430
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489837}
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/android_webview/renderer/aw_content_renderer_client.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/android_webview/renderer/aw_content_renderer_client.h
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/chrome/renderer/chrome_content_renderer_client.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/chrome/renderer/chrome_content_renderer_client.h
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/chrome/renderer/net/net_error_helper.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/chrome/renderer/net/net_error_helper.h
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/chrome/renderer/net/net_error_helper_core.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/chrome/renderer/net/net_error_helper_core_unittest.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/components/error_page/common/localized_error.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/components/error_page/common/localized_error.h
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/components/error_page/common/net_error_info.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/components/error_page/common/net_error_info.h
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/components/nacl/renderer/file_downloader.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/components/nacl/renderer/manifest_downloader.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/content/public/renderer/content_renderer_client.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/content/public/renderer/content_renderer_client.h
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/content/renderer/pepper/pepper_url_loader_host.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/content/renderer/render_frame_impl.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/content/renderer/render_view_browsertest.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/media/blink/resource_multibuffer_data_provider.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/media/blink/test_response_generator.cc
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/core/frame/FrameSerializerTest.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/modules/serviceworkers/WebEmbeddedWorkerImplTest.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/platform/exported/WebURLError.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/platform/loader/fetch/ResourceError.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/platform/loader/fetch/ResourceError.h
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/platform/testing/PlatformTestPrinters.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
[modify] https://crrev.com/03c46891522f4c0a8559ecb2a5f6a3578c961db9/third_party/WebKit/public/platform/WebURLError.h

Project Member

Comment 11 by bugdroid1@chromium.org, Jul 31 2017

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

commit 47803c7649e4a70b6094953f34afdcf22fcb33c3
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Mon Jul 31 05:44:37 2017

Remove ResourceError::is_null_

It should consult |domain_| to check nullity.

Bug:  748491 
Change-Id: I99a37ecc145c873c0ab191d005a1f15b47aeed7a
Reviewed-on: https://chromium-review.googlesource.com/576015
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490712}
[modify] https://crrev.com/47803c7649e4a70b6094953f34afdcf22fcb33c3/third_party/WebKit/Source/platform/loader/fetch/ResourceError.cpp
[modify] https://crrev.com/47803c7649e4a70b6094953f34afdcf22fcb33c3/third_party/WebKit/Source/platform/loader/fetch/ResourceError.h
[modify] https://crrev.com/47803c7649e4a70b6094953f34afdcf22fcb33c3/third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp

Project Member

Comment 12 by bugdroid1@chromium.org, Jul 31 2017

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

commit d8309f2e79ef837f5c4464b3f09789928af6c584
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Mon Jul 31 06:09:53 2017

Remove WebURLError::Domain::kBlinkInternal

Bug:  748491 
Change-Id: I5e86bf7a56def07546b17362f1e0c71395512b58
Reviewed-on: https://chromium-review.googlesource.com/577470
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490714}
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/components/nacl/renderer/file_downloader.cc
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/content/renderer/pepper/pepper_url_loader_host.cc
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/LayoutTests/fast/workers/worker-crash-with-invalid-location-expected.txt
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.cpp
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/Source/platform/exported/WebURLError.cpp
[modify] https://crrev.com/d8309f2e79ef837f5c4464b3f09789928af6c584/third_party/WebKit/public/platform/WebURLError.h

Project Member

Comment 13 by bugdroid1@chromium.org, Jul 31 2017

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

commit 16d3c5dc5fb79b149eb486e8e1dceef0261c0742
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Mon Jul 31 06:17:30 2017

Remove was_ignored_by_handler from frame_messages.h

It's used by no one.

Bug:  748491 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: I88c95aca41625d3600c64d1de379a24159c33fd2
Reviewed-on: https://chromium-review.googlesource.com/587701
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Alok Priyadarshi <alokp@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Matthew Jones <mdjones@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490718}
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/chrome/browser/after_startup_task_utils.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/chrome/browser/chromeos/first_run/drive_first_run_controller.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/chrome/browser/extensions/api/web_navigation/web_navigation_api.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/chromecast/browser/cast_web_view.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/chromecast/browser/cast_web_view.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/components/dom_distiller/content/browser/distiller_page_web_contents.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/components/dom_distiller/content/browser/distiller_page_web_contents.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/android/web_contents_observer_proxy.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/android/web_contents_observer_proxy.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/frame_host/navigation_controller_impl_browsertest.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/frame_host/navigator.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/frame_host/navigator_delegate.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/frame_host/navigator_impl.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/frame_host/navigator_impl.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/frame_host/render_frame_host_impl.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/frame_host/render_frame_host_impl.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/web_contents/web_contents_impl.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/web_contents/web_contents_impl.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/browser/web_contents/web_contents_impl_unittest.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/common/frame_messages.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/public/browser/web_contents_observer.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/renderer/render_frame_impl.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/test/test_web_contents.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/test/test_web_contents.h
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/test/web_contents_observer_sanity_checker.cc
[modify] https://crrev.com/16d3c5dc5fb79b149eb486e8e1dceef0261c0742/content/test/web_contents_observer_sanity_checker.h

Response to #3 and #4:

> Do we need multiple error domains?  Everything the network stack reports is from the domain "net" (There are DNS probe results, but those errors don't come from net / the network service, though the data to generate them does)

Maybe. I think we need separate domains for web security errors and service worker errors. I'm writing a design doc.

> Also, the caller already knows the URL.  WebURLError seems more a data structure handy for passing around data in blink and maybe content, rather than something the network service needs to support...Or am I missing something?

Regardless of the above discussion about domains, I expect we will add more error related properties to CompletionStatus. I'd like to have a URLError? property in CompletionStatus. Separating URL from error is possible, I guess.


Project Member

Comment 16 by bugdroid1@chromium.org, Aug 2 2017

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

commit f50c17aeb9a460121031c6edad56ab45e4a76753
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Wed Aug 02 02:43:00 2017

Remove kHttp and kDnsProbe domains from WebURLError

kHttp and kDnsProbe domains are used only for showing error pages. We
want to keep WebURLError as small as possible, so this CL removes them
and defines error_page::Error instead.

Bug:  748491 
Change-Id: I3f0feea9dba0f0bdcd80e39f8bd187447173308f
Reviewed-on: https://chromium-review.googlesource.com/586088
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491235}
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/chrome/renderer/chrome_content_renderer_client.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/chrome/renderer/chrome_content_renderer_client.h
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/chrome/renderer/net/net_error_helper.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/chrome/renderer/net/net_error_helper.h
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/chrome/renderer/net/net_error_helper_core.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/chrome/renderer/net/net_error_helper_core.h
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/chrome/renderer/net/net_error_helper_core_unittest.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/components/error_page/common/BUILD.gn
[add] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/components/error_page/common/error.cc
[add] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/components/error_page/common/error.h
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/components/error_page/common/localized_error.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/components/error_page/common/net_error_info.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/components/error_page/common/net_error_info.h
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/content/public/renderer/content_renderer_client.h
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/content/renderer/render_frame_impl.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/content/renderer/render_frame_impl.h
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/content/renderer/render_view_browsertest.cc
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/third_party/WebKit/Source/platform/exported/WebURLError.cpp
[modify] https://crrev.com/f50c17aeb9a460121031c6edad56ab45e4a76753/third_party/WebKit/public/platform/WebURLError.h

Project Member

Comment 17 by bugdroid1@chromium.org, Aug 2 2017

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

commit 415281fd49cff203eb6117354e90496e10b1400f
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Wed Aug 02 11:03:25 2017

Remove was_ignored_by_handler from ResourceRequestCompletionStatus

Bug:  748491 
Change-Id: I302fe1c5dbd95926ab5cd96d3fb7d53463f15d53
Reviewed-on: https://chromium-review.googlesource.com/588039
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491334}
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/chrome/renderer/extensions/extension_localization_peer.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/chrome/renderer/extensions/extension_localization_peer.h
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/chrome/renderer/extensions/extension_localization_peer_unittest.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/chrome/renderer/security_filter_peer.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/chrome/renderer/security_filter_peer.h
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/browser/loader/async_resource_handler.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/child/resource_dispatcher.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/child/resource_dispatcher_unittest.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/child/test_request_peer.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/child/test_request_peer.h
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/child/url_response_body_consumer_unittest.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/child/web_url_loader_impl.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/child/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/common/resource_messages.h
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/public/child/request_peer.h
[modify] https://crrev.com/415281fd49cff203eb6117354e90496e10b1400f/content/public/common/resource_request_completion_status.h

Project Member

Comment 18 by bugdroid1@chromium.org, Aug 2 2017

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

commit 75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Wed Aug 02 12:25:50 2017

Remove was_ignored_by_handler from ResourceRequestInfoImpl

As no one uses it, this CL removes was_ignored_by_handler from
ResourceRequestInfoImpl. This CL also unifies ResourceLoader::Cancel and
ResourceLoader::CancelAndIgnore.

Bug:  748491 
Change-Id: Ic8522be4325bf4be54f34384f00fc5c3a4755aa2
Reviewed-on: https://chromium-review.googlesource.com/595291
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491348}
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/chrome/browser/extensions/user_script_listener_unittest.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/chrome/browser/prerender/prerender_resource_throttle_unittest.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/components/web_restrictions/browser/web_restrictions_resource_throttle_unittest.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/async_resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/detachable_resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/intercepting_resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/mime_sniffing_resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/mock_resource_loader.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/navigation_resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/navigation_resource_throttle.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/null_resource_controller.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/null_resource_controller.h
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_controller.h
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_handler.h
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_loader.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_loader.h
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_request_info_impl.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_request_info_impl.h
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/resource_scheduler_unittest.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/throttling_resource_handler.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/browser/loader/throttling_resource_handler.h
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/public/browser/resource_request_info.h
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/public/browser/resource_throttle.cc
[modify] https://crrev.com/75d70cfbb8d96bbe91d3216fbd3d2351ed7271d1/content/public/browser/resource_throttle.h

Project Member

Comment 19 by bugdroid1@chromium.org, Nov 2 2017

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

commit 12c78eedb6aeead0f8ff98b0b2e2316934230c23
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Thu Nov 02 07:19:00 2017

Remove WebURLError::localized_description

The string representation of an error depends on the consumer of the
representation and hence it should not be contained in the error. This
CL removes localized_description property from WebURLError.

 - A DVLOG in media/ uses it. This CL just removes the message.
 - It's used in aw_content_renderer_client.cc. As it's navigation
   related, custom set description (CORS for example) is not needed
   and this CL replaces the message with net::ErrorToString.

Bug:  748491 
Change-Id: I15a35a5629c6ca8cd29ae2932d3ce22631a86249
Reviewed-on: https://chromium-review.googlesource.com/742776
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513417}
[modify] https://crrev.com/12c78eedb6aeead0f8ff98b0b2e2316934230c23/android_webview/renderer/aw_content_renderer_client.cc
[modify] https://crrev.com/12c78eedb6aeead0f8ff98b0b2e2316934230c23/media/blink/resource_multibuffer_data_provider.cc
[modify] https://crrev.com/12c78eedb6aeead0f8ff98b0b2e2316934230c23/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
[modify] https://crrev.com/12c78eedb6aeead0f8ff98b0b2e2316934230c23/third_party/WebKit/Source/platform/exported/WebURLError.cpp
[modify] https://crrev.com/12c78eedb6aeead0f8ff98b0b2e2316934230c23/third_party/WebKit/Source/platform/loader/fetch/ResourceError.cpp
[modify] https://crrev.com/12c78eedb6aeead0f8ff98b0b2e2316934230c23/third_party/WebKit/Source/platform/loader/fetch/ResourceError.h
[modify] https://crrev.com/12c78eedb6aeead0f8ff98b0b2e2316934230c23/third_party/WebKit/public/platform/WebURLError.h

Project Member

Comment 20 by bugdroid1@chromium.org, Nov 7 2017

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

commit a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Tue Nov 07 06:07:46 2017

Make WebURLError member variables private

This change makes WebURLError member variables private and 
non-writable (except for whole assignment) to forbid random state
updates.

Bug:  748491 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: Ie9260a5dc078e6fb9669a3c46e770b756efb7e51
Reviewed-on: https://chromium-review.googlesource.com/750482
Reviewed-by: Mark Seaborn <mseaborn@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#514408}
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/android_webview/renderer/aw_content_renderer_client.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/chrome/renderer/chrome_content_renderer_client.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/components/nacl/renderer/file_downloader.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/components/nacl/renderer/manifest_downloader.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/content/renderer/browser_render_view_browsertest.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/content/renderer/loader/web_url_loader_impl.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/content/renderer/loader/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/content/renderer/pepper/pepper_url_loader_host.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/content/renderer/render_frame_impl.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/content/renderer/render_view_browsertest.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/content/shell/renderer/shell_content_renderer_client.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/media/blink/resource_multibuffer_data_provider.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/media/blink/test_response_generator.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/core/exported/WebFrameTest.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/core/frame/FrameSerializerTest.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/core/testing/sim/SimRequest.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/modules/serviceworkers/WebEmbeddedWorkerImplTest.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/platform/exported/WebURLError.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/platform/loader/fetch/ResourceError.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.cc
[modify] https://crrev.com/a3940853b03ca9c0b29b55a6c0eb99c8b5525c6d/third_party/WebKit/public/platform/WebURLError.h

Components: -Internals>Network>Service Internals>Services>Network
Apologies, applied the wrong component in bulk.
Project Member

Comment 22 by bugdroid1@chromium.org, Nov 8 2017

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

commit dd3681c2d503bf7955d45a080f0f8096b3a5bee5
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Wed Nov 08 00:41:30 2017

Make WebURLError non-nullable

This CL makes WebURLError and ResourceError non-nullable so that users
don't have to worry whether an "error" truly represents an error or
it is actually not an error at all.

Consequently I'm removing WebURLError::Domain::kEmpty in this CL.

Bug:  748491 
Change-Id: I83879a8170f30e64465ffcf817b0aad1366868b5
Reviewed-on: https://chromium-review.googlesource.com/750445
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#514675}
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/components/subresource_filter/content/renderer/subresource_filter_agent_unittest.cc
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/content/renderer/loader/web_url_loader_impl.cc
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/content/renderer/loader/web_url_loader_impl.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/content/renderer/loader/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/extensions/renderer/script_injection_manager.cc
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImpl.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/exported/WebFrameTest.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/html/parser/CSSPreloadScannerTest.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/loader/ImageLoader.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/loader/resource/ImageResource.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/loader/resource/ImageResourceInfo.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/testing/sim/SimRequest.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/core/testing/sim/SimRequest.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/modules/fetch/BlobBytesConsumerTest.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/exported/WebURLError.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/loader/fetch/Resource.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/loader/fetch/Resource.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/loader/fetch/ResourceError.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/loader/fetch/ResourceError.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/testing/PlatformTestPrinters.cpp
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/testing/weburl_loader_mock.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.cc
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/public/platform/WebURLError.h
[modify] https://crrev.com/dd3681c2d503bf7955d45a080f0f8096b3a5bee5/third_party/WebKit/public/platform/WebURLLoader.h

Project Member

Comment 23 by bugdroid1@chromium.org, Nov 10 2017

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

commit 6191402f08035821b4c5acc625355e0e3c016a4b
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Fri Nov 10 06:21:30 2017

Remove WebURLError::Domain

This CL replaces Domain::kTest with ordinary Domain::kNet failures. As
Domain now has only one element (kNet), this CL removes the enum
entirely.

Bug:  748491 
Change-Id: If593ee0111b18dfdd2bb6ba98332f0ed93dd78e4
Reviewed-on: https://chromium-review.googlesource.com/749612
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Mark Seaborn <mseaborn@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515473}
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/android_webview/renderer/aw_content_renderer_client.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/chrome/renderer/chrome_content_renderer_client.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/components/nacl/renderer/file_downloader.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/components/nacl/renderer/manifest_downloader.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/components/subresource_filter/content/renderer/subresource_filter_agent_unittest.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/content/renderer/loader/web_url_loader_impl.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/content/renderer/loader/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/content/renderer/pepper/pepper_url_loader_host.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/content/renderer/render_frame_impl.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/content/renderer/render_view_browsertest.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/extensions/renderer/script_injection_manager.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/media/blink/resource_multibuffer_data_provider.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/media/blink/test_response_generator.cc
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/core/exported/WebFrameTest.cpp
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/core/frame/FrameSerializerTest.cpp
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/modules/serviceworkers/WebEmbeddedWorkerImplTest.cpp
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/platform/BUILD.gn
[delete] https://crrev.com/105a574c3f31ab29b2fbb3f66f6b2f8b28b2a8e9/third_party/WebKit/Source/platform/exported/WebURLError.cpp
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/platform/loader/fetch/ResourceError.cpp
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/platform/loader/fetch/ResourceError.h
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/platform/testing/PlatformTestPrinters.cpp
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/Source/platform/testing/URLTestHelpers.cpp
[modify] https://crrev.com/6191402f08035821b4c5acc625355e0e3c016a4b/third_party/WebKit/public/platform/WebURLError.h

Project Member

Comment 24 by bugdroid1@chromium.org, Nov 13 2017

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

commit 8f9885309f1379e6e189faf292610505c0df20c7
Author: Takashi Toyoshima <toyoshim@chromium.org>
Date: Mon Nov 13 07:32:37 2017

Move ResourceRequestCompletionStatus to services/network/public/cpp

This patch moves content::ResourceRequestCompletionStatus from
content/public/common/ to services/network/public/cpp, and renames
it to URLLoaderStatus so to be consistent with mojom mapped type name.

TBR: jam@chromium.org, mkwst@chromium.org
Bug: 736308,  748491 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: I7608eba2a3c0419b1cbc1cf08313ac71eeb2e9c3
Reviewed-on: https://chromium-review.googlesource.com/756822
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Ben Wells <benwells@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515897}
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/browser/net/network_context_configuration_browsertest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/renderer/DEPS
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/renderer/extensions/DEPS
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/renderer/extensions/extension_localization_peer.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/renderer/extensions/extension_localization_peer.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/renderer/extensions/extension_localization_peer_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/renderer/security_filter_peer.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/chrome/renderer/security_filter_peer.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/appcache/appcache_subresource_url_factory.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/appcache/appcache_update_job_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/appcache/appcache_update_url_loader_request.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/appcache/appcache_update_url_loader_request.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/appcache/appcache_url_loader_job.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/blob_storage/blob_internals_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/blob_storage/blob_url_loader_factory.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/blob_storage/blob_url_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/devtools/protocol/network_handler.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/devtools/protocol/network_handler.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/devtools/service_worker_devtools_agent_host.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/devtools/service_worker_devtools_agent_host.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/download/download_manager_impl.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/download/download_response_handler.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/download/download_response_handler.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/download/resource_downloader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/download/resource_downloader.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/file_url_loader_factory.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/histogram_internals_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/async_resource_handler.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/async_resource_handler_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/mojo_async_resource_handler.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/mojo_async_resource_handler_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/navigation_url_loader.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/navigation_url_loader_network_service.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/navigation_url_loader_network_service.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/resource_dispatcher_host_impl.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/loader/url_loader_factory_impl_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/service_worker/service_worker_fetch_dispatcher.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/service_worker/service_worker_script_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/service_worker/service_worker_script_url_loader.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/service_worker/service_worker_script_url_loader_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/service_worker/service_worker_url_loader_job.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/service_worker/service_worker_url_loader_job.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/service_worker/service_worker_url_loader_job_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/site_per_process_browsertest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/webui/network_error_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/browser/webui/web_ui_url_loader_factory.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/common/DEPS
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/common/resource_messages.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/common/throttling_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/common/throttling_url_loader.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/common/throttling_url_loader_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/network/cache_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/network/network_service_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/network/url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/network/url_loader_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/common/BUILD.gn
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/common/DEPS
[delete] https://crrev.com/2f7f096d5b9fb46ee45b77b1101bbae07301e392/content/public/common/resource_request_completion_status.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/common/simple_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/common/simple_url_loader_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/common/url_loader.mojom
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/common/url_loader_status.typemap
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/renderer/request_peer.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/test/DEPS
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/test/test_url_loader_client.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/public/test/test_url_loader_client.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/fetchers/resource_fetcher_impl.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/cors_url_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/cors_url_loader.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/cors_url_loader_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/resource_dispatcher.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/resource_dispatcher.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/resource_dispatcher_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/sync_load_context.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/sync_load_context.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/test_request_peer.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/test_request_peer.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/url_loader_client_impl.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/url_loader_client_impl.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/url_loader_client_impl_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/url_response_body_consumer.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/url_response_body_consumer.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/url_response_body_consumer_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/web_url_loader_impl.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/loader/web_url_loader_impl_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/service_worker/service_worker_context_client.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/service_worker/service_worker_subresource_loader.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/service_worker/service_worker_subresource_loader.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/content/renderer/service_worker/service_worker_subresource_loader_unittest.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/extensions/browser/DEPS
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/extensions/browser/extension_protocols.cc
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/services/network/public/cpp/BUILD.gn
[add] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/services/network/public/cpp/url_loader_status.cc
[rename] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/services/network/public/cpp/url_loader_status.h
[modify] https://crrev.com/8f9885309f1379e6e189faf292610505c0df20c7/third_party/WebKit/public/BUILD.gn

Project Member

Comment 25 by bugdroid1@chromium.org, Nov 14 2017

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

commit 6d085d6a4880d7ef2e8748b31c9b5a52531d0767
Author: Yutaka Hirano <yhirano@chromium.org>
Date: Tue Nov 14 03:16:30 2017

ResourceError miscellaneous cleanup

 - Removed all setters from the class.
 - Removed net/base/error_list.h include directive from the header.
 - Renamed StaleCopyInCache to HasCopyInCache.
 - Made net/base/error_list.h DEPS rule for ResourceError more specific.
 - Removed an unused DEPS rule.

Bug:  748491 
Change-Id: I3a8d92cc63c62a420a243dbcd083bffa999f2154
Reviewed-on: https://chromium-review.googlesource.com/765631
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516165}
[modify] https://crrev.com/6d085d6a4880d7ef2e8748b31c9b5a52531d0767/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
[modify] https://crrev.com/6d085d6a4880d7ef2e8748b31c9b5a52531d0767/third_party/WebKit/Source/platform/loader/DEPS
[modify] https://crrev.com/6d085d6a4880d7ef2e8748b31c9b5a52531d0767/third_party/WebKit/Source/platform/loader/fetch/ResourceError.cpp
[modify] https://crrev.com/6d085d6a4880d7ef2e8748b31c9b5a52531d0767/third_party/WebKit/Source/platform/loader/fetch/ResourceError.h
[modify] https://crrev.com/6d085d6a4880d7ef2e8748b31c9b5a52531d0767/third_party/WebKit/Source/platform/testing/PlatformTestPrinters.cpp

Status: Fixed (was: Assigned)

Sign in to add a comment