Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Issue 2783343002: Remove URLRequestJobFactory::IsHandledURL. (Closed)

Created:
3 years, 8 months ago by mmenke
Modified:
3 years, 8 months ago
CC:
chromium-reviews, asanka, cbentzel+watch_chromium.org, jam, Randy Smith (Not in Mondays), net-reviews_chromium.org, rginda+watch_chromium.org, darin-cc_chromium.org, loading-reviews_chromium.org, android-webview-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove URLRequestJobFactory::IsHandledURL. In practice, this was just a combination of GURL::is_valid() and URLRequestJobFactory::IsHandledProtocol(GURL::is_scheme()). This is just motivated by a desire to simplify the knobs exposed by the network stack, for servicification. This does add a number of GURL::is_valid() checks, but I suspect most of them will go away, as we adapt the launch externally handled protocol path. BUG=706942 Review-Url: https://codereview.chromium.org/2783343002 Cr-Commit-Position: refs/heads/master@{#461518} Committed: https://chromium.googlesource.com/chromium/src/+/1918ae78a8154c4dfc31fd238f9a00c53bbd96fd

Patch Set 1 #

Patch Set 2 : Fix stuff #

Patch Set 3 : Fix more stuff #

Patch Set 4 : More fixes..... #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -84 lines) Patch
M android_webview/browser/net/aw_url_request_job_factory.h View 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/net/aw_url_request_job_factory.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/fileapi/external_file_url_request_job_unittest.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_unittest.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/android/url_request_content_job_unittest.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/appcache/appcache_request_handler_unittest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/appcache/appcache_url_request_job_unittest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 3 1 chunk +1 line, -1 line 2 comments Download
M content/browser/download/save_file_manager.cc View 1 2 1 chunk +1 line, -1 line 2 comments Download
M content/browser/fileapi/file_system_dir_url_request_job_unittest.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/fileapi/file_system_url_request_job_unittest.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/fileapi/file_writer_delegate_unittest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/loader/navigation_resource_throttle.cc View 2 chunks +10 lines, -4 lines 2 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 2 chunks +4 lines, -3 lines 2 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M net/sdch/sdch_owner_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_file_dir_job_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_file_job_unittest.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_intercepting_job_factory.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/url_request/url_request_intercepting_job_factory.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_job_factory.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/url_request/url_request_job_factory_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/url_request/url_request_job_factory_impl.cc View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 43 (31 generated)
mmenke
Silly little CL. I had thought it was a pre-req to make moving launching URLs ...
3 years, 8 months ago (2017-03-31 04:30:04 UTC) #28
asanka
lgtm https://codereview.chromium.org/2783343002/diff/100001/content/browser/download/download_manager_impl.cc File content/browser/download/download_manager_impl.cc (right): https://codereview.chromium.org/2783343002/diff/100001/content/browser/download/download_manager_impl.cc#newcode567 content/browser/download/download_manager_impl.cc:567: if (!request_context->job_factory()->IsHandledProtocol(url.scheme())) { On 2017/03/31 04:30:04, mmenke wrote: ...
3 years, 8 months ago (2017-03-31 20:38:30 UTC) #29
mmenke
[+tobiasjs]: Please review android_webview/browser/net/ (Removed IsHandledURL in favor of the already-existent IsHandledProtocol, both of which ...
3 years, 8 months ago (2017-03-31 20:59:06 UTC) #31
Ted C
On 2017/03/31 20:59:06, mmenke wrote: > [+tobiasjs]: Please review android_webview/browser/net/ (Removed IsHandledURL > in favor ...
3 years, 8 months ago (2017-03-31 23:02:36 UTC) #32
benwells
lgtm
3 years, 8 months ago (2017-04-03 00:28:10 UTC) #33
mtomasz
lgtm
3 years, 8 months ago (2017-04-03 01:01:47 UTC) #34
pasko
chrome/browser/predictors lgtm
3 years, 8 months ago (2017-04-03 07:51:04 UTC) #35
Tobias Sargeant
On 2017/04/03 07:51:04, pasko wrote: > chrome/browser/predictors lgtm android_webview/ lgtm
3 years, 8 months ago (2017-04-03 10:07:42 UTC) #36
michaeln
lgtm 2!
3 years, 8 months ago (2017-04-03 18:30:48 UTC) #37
mmenke
On 2017/04/03 18:30:48, michaeln wrote: > lgtm 2! Thanks all!
3 years, 8 months ago (2017-04-03 18:38:24 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2783343002/100001
3 years, 8 months ago (2017-04-03 18:39:22 UTC) #40
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 20:11:19 UTC) #43
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/1918ae78a8154c4dfc31fd238f9a...

Powered by Google App Engine
This is Rietveld 408576698