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

Issue 473513002: Keep track of network error in ProxyRetryInfo. (Closed)

Created:
6 years, 4 months ago by Not at Google. Contact bengr
Modified:
6 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Keep track of network error in ProxyRetryInfo. Use it to log error type in BypassOneNetworkError UMA. This fixes DataReductionProxy.BypassOnNetworkError UMA recording bug. BUG=395769 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290054

Patch Set 1 #

Patch Set 2 : Fix DataReductionProxy.BypassOnNetworkError UMA #

Patch Set 3 : Minor formatting. #

Total comments: 4

Patch Set 4 : Addressed comments by bengr. #

Patch Set 5 : Minor formatting. #

Patch Set 6 : Merge to head #

Total comments: 14

Patch Set 7 : Addressed comments by rsleevi. #

Patch Set 8 : Minor comment updates. #

Patch Set 9 : Merge to head. #

Total comments: 24

Patch Set 10 : Addressed comments by rsleevi - 2 #

Total comments: 12

Patch Set 11 : Addressed comments by rsleevi - 3. #

Patch Set 12 : Minor formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -92 lines) Patch
M chrome/browser/net/chrome_network_delegate.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h View 1 chunk +1 line, -2 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M jingle/glue/proxy_resolving_client_socket.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/network_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -7 lines 0 comments Download
M net/base/network_delegate.cc View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/proxy/proxy_info.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -2 lines 0 comments Download
M net/proxy/proxy_info.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M net/proxy/proxy_info_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M net/proxy/proxy_list.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +15 lines, -5 lines 0 comments Download
M net/proxy/proxy_list.cc View 1 2 3 4 5 6 7 8 9 6 chunks +16 lines, -3 lines 0 comments Download
M net/proxy/proxy_list_unittest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +31 lines, -1 line 0 comments Download
M net/proxy/proxy_retry_info.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -3 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 6 4 chunks +13 lines, -8 lines 0 comments Download
M net/proxy/proxy_service_unittest.cc View 1 2 3 4 5 6 7 8 9 7 chunks +13 lines, -43 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Not at Google. Contact bengr
6 years, 4 months ago (2014-08-14 00:35:25 UTC) #1
bengr
I think this makes sense. I'll read it in more detail soon. https://codereview.chromium.org/473513002/diff/40001/net/base/network_delegate.h File net/base/network_delegate.h ...
6 years, 4 months ago (2014-08-14 00:52:52 UTC) #2
Not at Google. Contact bengr
https://codereview.chromium.org/473513002/diff/40001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/473513002/diff/40001/net/base/network_delegate.h#newcode67 net/base/network_delegate.h:67: virtual void NotifyProxyFallback(const ProxyServer& bad_proxy, On 2014/08/14 00:52:52, bengr1 ...
6 years, 4 months ago (2014-08-14 01:28:32 UTC) #3
Not at Google. Contact bengr
bengr: components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.cc components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h darin: chrome/browser/net/chrome_network_delegate.cc chrome/browser/net/chrome_network_delegate.h google_apis/gcm/engine/connection_factory_impl.cc jingle/glue/proxy_resolving_client_socket.cc net/base/network_delegate.cc net/base/network_delegate.h net/http/http_stream_factory_impl_job.cc net/proxy/proxy_info.cc net/proxy/proxy_info.h net/proxy/proxy_info_unittest.cc net/proxy/proxy_list.cc ...
6 years, 4 months ago (2014-08-14 01:31:42 UTC) #4
mef
Unfortunately I'm not going to have bandwidth for review until 8/25.
6 years, 4 months ago (2014-08-14 17:52:56 UTC) #5
darin (slow to review)
I reviewed the changes outside of net/, and those LGTM.
6 years, 4 months ago (2014-08-14 17:59:16 UTC) #6
Ryan Sleevi
I took a quick scan, and will try to take a more detailed review later. ...
6 years, 4 months ago (2014-08-14 21:14:39 UTC) #7
Not at Google. Contact bengr
Thank you very much for the quick reviews, darin and sleevi. https://codereview.chromium.org/473513002/diff/100001/net/proxy/proxy_list.h File net/proxy/proxy_list.h (right): ...
6 years, 4 months ago (2014-08-14 23:45:22 UTC) #8
Ryan Sleevi
https://codereview.chromium.org/473513002/diff/100001/net/proxy/proxy_list.h File net/proxy/proxy_list.h (right): https://codereview.chromium.org/473513002/diff/100001/net/proxy/proxy_list.h#newcode100 net/proxy/proxy_list.h:100: const int net_error, On 2014/08/14 23:45:22, kundaji wrote: > ...
6 years, 4 months ago (2014-08-14 23:54:03 UTC) #9
Not at Google. Contact bengr
Updated the cl description. Thanks for the information and relavant links!
6 years, 4 months ago (2014-08-14 23:55:05 UTC) #10
Not at Google. Contact bengr
https://codereview.chromium.org/473513002/diff/100001/net/proxy/proxy_list.h File net/proxy/proxy_list.h (right): https://codereview.chromium.org/473513002/diff/100001/net/proxy/proxy_list.h#newcode100 net/proxy/proxy_list.h:100: const int net_error, On 2014/08/14 23:54:03, Ryan Sleevi wrote: ...
6 years, 4 months ago (2014-08-14 23:59:59 UTC) #11
Ryan Sleevi
https://codereview.chromium.org/473513002/diff/160001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/473513002/diff/160001/net/base/network_delegate.h#newcode71 net/base/network_delegate.h:71: int net_error); format. https://codereview.chromium.org/473513002/diff/160001/net/base/network_delegate.h#newcode142 net/base/network_delegate.h:142: // for a reason ...
6 years, 4 months ago (2014-08-15 00:02:24 UTC) #12
Ryan Sleevi
On 2014/08/14 23:59:59, kundaji wrote: > It does enforce that the value will not change ...
6 years, 4 months ago (2014-08-15 00:03:42 UTC) #13
Ryan Sleevi
6 years, 4 months ago (2014-08-15 00:03:47 UTC) #14
bengr
On 2014/08/15 00:03:47, Ryan Sleevi wrote: lgtm once you adddress comments from sleevi@. It would ...
6 years, 4 months ago (2014-08-15 01:21:40 UTC) #15
Not at Google. Contact bengr
Thanks again for the quick review! https://codereview.chromium.org/473513002/diff/160001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/473513002/diff/160001/net/base/network_delegate.h#newcode71 net/base/network_delegate.h:71: int net_error); On ...
6 years, 4 months ago (2014-08-15 17:27:00 UTC) #16
Ryan Sleevi
https://codereview.chromium.org/473513002/diff/180001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/473513002/diff/180001/net/base/network_delegate.h#newcode143 net/base/network_delegate.h:143: // proxy to the retry list so that it ...
6 years, 4 months ago (2014-08-15 18:02:36 UTC) #17
Not at Google. Contact bengr
https://codereview.chromium.org/473513002/diff/180001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/473513002/diff/180001/net/base/network_delegate.h#newcode143 net/base/network_delegate.h:143: // proxy to the retry list so that it ...
6 years, 4 months ago (2014-08-15 19:56:54 UTC) #18
Ryan Sleevi
//net LGTM. Thanks.
6 years, 4 months ago (2014-08-15 21:38:38 UTC) #19
Not at Google. Contact bengr
The CQ bit was checked by kundaji@chromium.org
6 years, 4 months ago (2014-08-15 22:15:10 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kundaji@chromium.org/473513002/220001
6 years, 4 months ago (2014-08-15 22:16:15 UTC) #21
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 23:50:23 UTC) #22
Message was sent while issue was closed.
Committed patchset #12 (220001) as 290054

Powered by Google App Engine
This is Rietveld 408576698