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

Issue 1239993004: Fix all failed and canceled URLRequestStatuses without errors. (Closed)

Created:
5 years, 5 months ago by davidben
Modified:
5 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mlamouri+watch-geolocation_chromium.org, jam, dkrahn+watch_chromium.org, pam+watch_chromium.org, oshima+watch_chromium.org, Michael van Ouwerkerk, darin-cc_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix all failed and canceled URLRequestStatuses without errors. As a step towards removing URLRequestStatus::Status, stop creating FAILED and CANCELED URLRequestStatuses without supplying an error. IO_PENDING is left for later as that'll want a bit more careful auditing of error() callers. BUG=490311 Committed: https://crrev.com/5c411d94add205780f6e6c701aecc9b297d885b0 Cr-Commit-Position: refs/heads/master@{#341913}

Patch Set 1 #

Patch Set 2 : DCHECK, fix typo #

Total comments: 2

Patch Set 3 : fixes #

Patch Set 4 : rebase #

Patch Set 5 : mojo #

Patch Set 6 : fix more failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -131 lines) Patch
M chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc View 7 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/supervised_user/child_accounts/family_info_fetcher_unittest.cc View 1 2 3 3 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/supervised_user/experimental/supervised_user_async_url_checker_unittest.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M chromeos/login/auth/mock_url_fetchers.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M components/domain_reliability/monitor_unittest.cc View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
M components/policy/core/common/cloud/device_management_service_unittest.cc View 1 2 3 4 5 15 chunks +30 lines, -38 lines 0 comments Download
M components/policy/core/common/cloud/user_info_fetcher_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/proximity_auth/cryptauth/cryptauth_api_call_flow_unittest.cc View 1 2 4 chunks +11 lines, -13 lines 0 comments Download
M content/browser/geolocation/network_location_provider_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/speech/google_streaming_remote_engine_unittest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -5 lines 0 comments Download
M google_apis/gaia/gaia_oauth_client_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M google_apis/gaia/oauth2_api_call_flow_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M google_apis/gaia/oauth2_mint_token_flow_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M google_apis/gcm/engine/registration_request_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/services/network/url_loader_impl_apptest.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M net/url_request/url_request_file_dir_job.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_status.h View 1 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_request_status.cc View 1 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (9 generated)
davidben
I'm thinking after this we *should* be able to assume that, unless you have IO_PENDING, ...
5 years, 5 months ago (2015-07-16 21:28:46 UTC) #2
mmenke
On 2015/07/16 21:28:46, David Benjamin wrote: > I'm thinking after this we *should* be able ...
5 years, 5 months ago (2015-07-16 21:46:32 UTC) #3
mmenke
On 2015/07/16 21:46:32, mmenke wrote: > On 2015/07/16 21:28:46, David Benjamin wrote: > > I'm ...
5 years, 5 months ago (2015-07-16 21:48:08 UTC) #4
davidben
On 2015/07/16 21:48:08, mmenke wrote: > On 2015/07/16 21:46:32, mmenke wrote: > > On 2015/07/16 ...
5 years, 5 months ago (2015-07-16 21:52:46 UTC) #5
mmenke
On 2015/07/16 21:52:46, David Benjamin wrote: > On 2015/07/16 21:48:08, mmenke wrote: > > On ...
5 years, 5 months ago (2015-07-16 21:58:01 UTC) #6
davidben
Added the DCHECK, so you probably want to give that a second look.
5 years, 5 months ago (2015-07-16 22:06:15 UTC) #7
mmenke
Still LGTM https://codereview.chromium.org/1239993004/diff/20001/net/url_request/url_request_status.cc File net/url_request/url_request_status.cc (right): https://codereview.chromium.org/1239993004/diff/20001/net/url_request/url_request_status.cc#newcode34 net/url_request/url_request_status.cc:34: } Are compilers smart enough to compile ...
5 years, 5 months ago (2015-07-16 22:14:54 UTC) #8
davidben
+mnissler for chrome/browser/chromeos/attestation/, chrome/browser/policy/, and components/policy/ +bengr for components/data_reduction_proxy/ +zelidrag for google_apis/gaia/ and chromeos/ +xiyuan ...
5 years, 5 months ago (2015-07-17 16:20:02 UTC) #10
xiyuan
proximity_auth LGTM
5 years, 5 months ago (2015-07-17 16:23:33 UTC) #11
Mattias Nissler (ping if slow)
policy and attestation LGTM I suggest you updated the commit message though to call out ...
5 years, 5 months ago (2015-07-17 16:28:59 UTC) #12
davidben
On 2015/07/17 16:28:59, Mattias Nissler wrote: > I suggest you updated the commit message though ...
5 years, 5 months ago (2015-07-17 16:43:44 UTC) #13
bengr
data_reduction_proxy LGTM
5 years, 5 months ago (2015-07-21 00:08:42 UTC) #14
mmenke
What's the status of this? Still need one more signoff?
5 years, 4 months ago (2015-07-29 19:48:28 UTC) #15
davidben
On 2015/07/29 19:48:28, mmenke wrote: > What's the status of this? Still need one more ...
5 years, 4 months ago (2015-07-30 15:53:43 UTC) #16
davidben
+rogerta for google_apis +dpolukhin for chromeos
5 years, 4 months ago (2015-08-03 14:46:58 UTC) #18
Dmitry Polukhin
LGTM chromeos
5 years, 4 months ago (2015-08-03 14:50:25 UTC) #19
Roger Tawa OOO till Jul 10th
lgtm google_apis
5 years, 4 months ago (2015-08-04 15:46:05 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239993004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1239993004/40001
5 years, 4 months ago (2015-08-04 15:56:57 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/80963) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-04 15:59:42 UTC) #25
davidben
On rebase, it seems a new one crept in. +sky for mojo/ OWNERS. I'm guessing ...
5 years, 4 months ago (2015-08-04 17:36:00 UTC) #27
sky
src/mojo is no longer pulled from the mojo repo. So, you should be good. LGTM
5 years, 4 months ago (2015-08-04 19:47:29 UTC) #28
Marc Treib
supervised_user LGTM
5 years, 4 months ago (2015-08-05 07:37:08 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239993004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1239993004/100001
5 years, 4 months ago (2015-08-05 15:16:16 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 4 months ago (2015-08-05 16:35:22 UTC) #33
commit-bot: I haz the power
5 years, 4 months ago (2015-08-05 16:35:59 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5c411d94add205780f6e6c701aecc9b297d885b0
Cr-Commit-Position: refs/heads/master@{#341913}

Powered by Google App Engine
This is Rietveld 408576698