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

Issue 332313003: Add Finch experiment for selectively bypassing proxies. (Closed)

Created:
6 years, 6 months ago by rcs
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam, Paweł Hajdan Jr., piatek
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add Finch experiment for selectively bypassing proxies. Add option to bypass the data compression proxy if the request resource type (as inferred by the renderer process) is not an image. For background, see this design doc: https://docs.google.com/a/google.com/document/d/1Kz92Fmw3lv_R-2aNvLp8jW9lkfKOZciTZtni2qQ_Adc/edit BUG=391836 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281951

Patch Set 1 #

Patch Set 2 : callback design (not yet done) #

Total comments: 8

Patch Set 3 : Final callback/loadflag patchset #

Patch Set 4 : 2-line change: Add missing ifdef(SPDY_PROXY_AUTH_ORIGIN); previously only compiled on android, but … #

Total comments: 20

Patch Set 5 : Address mmenke's feedback #

Total comments: 4

Patch Set 6 : make LOAD_NORMAL consistent #

Total comments: 16

Patch Set 7 : Address bengr's feedback #

Total comments: 1

Patch Set 8 : bengr's nit #

Total comments: 29

Patch Set 9 : Address mmenke's feedback R2 #

Total comments: 4

Patch Set 10 : mmenke's final feedback #

Patch Set 11 : merge with upstream #

Patch Set 12 : properly merged? #

Patch Set 13 : somehow missed a chromeos ResolveProxy invocation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+648 lines, -182 lines) Patch
M chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/io_thread.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.h View 1 2 3 4 5 6 7 8 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/net/network_stats.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_params.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_params.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -1 line 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc View 1 2 3 4 5 6 2 chunks +79 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_network_proxy_host.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/resolve_proxy_msg_helper.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.cc View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M jingle/glue/proxy_resolving_client_socket.cc View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M net/base/load_flags_list.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/network_delegate.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M net/base/network_delegate.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 3 4 4 chunks +6 lines, -3 lines 0 comments Download
M net/proxy/proxy_service.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +12 lines, -2 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 6 7 8 9 10 11 15 chunks +42 lines, -8 lines 0 comments Download
M net/proxy/proxy_service_unittest.cc View 1 2 3 4 5 6 7 8 9 85 chunks +379 lines, -160 lines 0 comments Download
M net/socket_stream/socket_stream.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M net/url_request/url_request_ftp_job.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (0 generated)
rcs
6 years, 6 months ago (2014-06-17 17:33:47 UTC) #1
mmenke
This is pretty ugly. Can we just attach a LOAD_FLAGS_BYPASS_PROXY when using flywheel for non-image ...
6 years, 6 months ago (2014-06-18 14:44:38 UTC) #2
mmenke
On 2014/06/18 14:44:38, mmenke wrote: > This is pretty ugly. Can we just attach a ...
6 years, 6 months ago (2014-06-18 14:48:37 UTC) #3
rcs
On 2014/06/18 14:48:37, mmenke wrote: > On 2014/06/18 14:44:38, mmenke wrote: > > This is ...
6 years, 6 months ago (2014-06-18 16:41:41 UTC) #4
mmenke
On 2014/06/18 16:41:41, rcs wrote: > On 2014/06/18 14:48:37, mmenke wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-18 18:10:39 UTC) #5
rcs
On 2014/06/18 18:10:39, mmenke wrote: > On 2014/06/18 16:41:41, rcs wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-18 22:07:59 UTC) #6
mmenke
On 2014/06/18 22:07:59, rcs wrote: > On 2014/06/18 18:10:39, mmenke wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-19 15:27:41 UTC) #7
mmenke
On 2014/06/19 15:27:41, mmenke wrote: > On 2014/06/18 22:07:59, rcs wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-19 15:30:44 UTC) #8
rcs
On 2014/06/19 15:30:44, mmenke wrote: > On 2014/06/19 15:27:41, mmenke wrote: > > On 2014/06/18 ...
6 years, 6 months ago (2014-06-19 17:42:23 UTC) #9
mmenke
On 2014/06/19 17:42:23, rcs wrote: > On 2014/06/19 15:30:44, mmenke wrote: > > On 2014/06/19 ...
6 years, 6 months ago (2014-06-19 17:45:22 UTC) #10
rcs
On 2014/06/19 17:45:22, mmenke wrote: > On 2014/06/19 17:42:23, rcs wrote: > > On 2014/06/19 ...
6 years, 6 months ago (2014-06-20 01:13:35 UTC) #11
mmenke
On 2014/06/20 01:13:35, rcs wrote: > On 2014/06/19 17:45:22, mmenke wrote: > > On 2014/06/19 ...
6 years, 6 months ago (2014-06-20 17:21:17 UTC) #12
rcs
On 2014/06/20 17:21:17, mmenke wrote: > On 2014/06/20 01:13:35, rcs wrote: > > On 2014/06/19 ...
6 years, 6 months ago (2014-06-23 21:38:03 UTC) #13
mmenke
On 2014/06/23 21:38:03, rcs wrote: > On 2014/06/20 17:21:17, mmenke wrote: > > On 2014/06/20 ...
6 years, 6 months ago (2014-06-23 21:58:50 UTC) #14
mmenke
On 2014/06/23 21:58:50, mmenke wrote: > On 2014/06/23 21:38:03, rcs wrote: > > On 2014/06/20 ...
6 years, 6 months ago (2014-06-23 22:59:59 UTC) #15
rcs
On 2014/06/23 22:59:59, mmenke wrote: > On 2014/06/23 21:58:50, mmenke wrote: > > On 2014/06/23 ...
6 years, 6 months ago (2014-06-23 23:24:11 UTC) #16
rcs
bengr@ also pointed out that, in ~3 weeks, he'll be creating a data-compression-proxy-specific ProxyService subclass. ...
6 years, 6 months ago (2014-06-23 23:30:24 UTC) #17
mmenke
On 2014/06/23 23:24:11, rcs wrote: > Let me know what you think of these two ...
6 years, 6 months ago (2014-06-24 17:01:48 UTC) #18
mmenke
Just saw a comment from bengr elsewhere... "We plan change Flywheel support to configure Flywheel ...
6 years, 6 months ago (2014-06-24 18:51:53 UTC) #19
mmenke
On 2014/06/24 18:51:53, mmenke wrote: > Just saw a comment from bengr elsewhere... "We plan ...
6 years, 6 months ago (2014-06-25 18:00:27 UTC) #20
rcs
On 2014/06/25 18:00:27, mmenke wrote: > On 2014/06/24 18:51:53, mmenke wrote: > > Just saw ...
6 years, 6 months ago (2014-06-25 23:50:59 UTC) #21
mmenke
On 2014/06/25 23:50:59, rcs wrote: > On 2014/06/25 18:00:27, mmenke wrote: > > On 2014/06/24 ...
6 years, 6 months ago (2014-06-26 16:36:55 UTC) #22
mmenke
Sorry, dropped off my radar for a day. I think this is fine. Some quick ...
6 years, 5 months ago (2014-06-27 18:59:36 UTC) #23
rcs
On 2014/06/27 18:59:36, mmenke wrote: > Sorry, dropped off my radar for a day. I ...
6 years, 5 months ago (2014-06-27 19:30:33 UTC) #24
rcs
https://codereview.chromium.org/332313003/diff/20001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/332313003/diff/20001/net/proxy/proxy_service.cc#newcode1000 net/proxy/proxy_service.cc:1000: // TODO(rcs): add load_flags to PacRequest. On 2014/06/27 18:59:35, ...
6 years, 5 months ago (2014-06-28 03:53:38 UTC) #25
rcs
Reviewers -= darin Reviewers += ajwong, jam https://codereview.chromium.org/332313003/diff/20001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/332313003/diff/20001/net/proxy/proxy_service.cc#newcode1000 net/proxy/proxy_service.cc:1000: // TODO(rcs): ...
6 years, 5 months ago (2014-06-28 04:01:04 UTC) #26
awong
There's enough reviewers on this that I'm not sure who's responsible for what. Which part ...
6 years, 5 months ago (2014-06-28 06:28:55 UTC) #27
rcs
On 2014/06/28 06:28:55, awong wrote: > There's enough reviewers on this that I'm not sure ...
6 years, 5 months ago (2014-06-30 17:54:31 UTC) #28
Nicolas Zea
google_apis and jingle LGTM
6 years, 5 months ago (2014-06-30 17:57:29 UTC) #29
rcs
https://codereview.chromium.org/332313003/diff/20001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/332313003/diff/20001/net/proxy/proxy_service.cc#newcode1000 net/proxy/proxy_service.cc:1000: // TODO(rcs): add load_flags to PacRequest. On 2014/06/28 04:01:04, ...
6 years, 5 months ago (2014-06-30 19:46:31 UTC) #30
mmenke
On 2014/06/30 19:46:31, rcs wrote: > I verified that data compression proxy requests do *not* ...
6 years, 5 months ago (2014-06-30 21:19:59 UTC) #31
awong
profile_io_data and jingle LGTM
6 years, 5 months ago (2014-06-30 22:04:37 UTC) #32
jam
rubberstamp lgtm for content and chrome
6 years, 5 months ago (2014-06-30 22:07:18 UTC) #33
rcs1
On 2014/06/30 21:19:59, mmenke wrote: > On 2014/06/30 19:46:31, rcs wrote: > > I verified ...
6 years, 5 months ago (2014-06-30 23:42:50 UTC) #34
mmenke
https://codereview.chromium.org/332313003/diff/60001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/332313003/diff/60001/chrome/browser/net/chrome_network_delegate.cc#newcode482 chrome/browser/net/chrome_network_delegate.cc:482: } nit: Preferred style in this file seems to ...
6 years, 5 months ago (2014-07-01 19:45:13 UTC) #35
rcs
Addressed mmenke's feedback. https://codereview.chromium.org/332313003/diff/60001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/332313003/diff/60001/chrome/browser/net/chrome_network_delegate.cc#newcode482 chrome/browser/net/chrome_network_delegate.cc:482: } On 2014/07/01 19:45:12, mmenke wrote: ...
6 years, 5 months ago (2014-07-02 00:56:21 UTC) #36
rcs
https://codereview.chromium.org/332313003/diff/80001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/332313003/diff/80001/net/proxy/proxy_service.cc#newcode1640 net/proxy/proxy_service.cc:1640: url, 0, &proxy_info_, callback_, NULL, NULL, net_log); Just noticed ...
6 years, 5 months ago (2014-07-02 06:08:55 UTC) #37
mmenke
I'm off for the rest of the week - I'll get to this on Monday.
6 years, 5 months ago (2014-07-02 12:00:34 UTC) #38
rcs
https://codereview.chromium.org/332313003/diff/80001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/332313003/diff/80001/net/proxy/proxy_service.cc#newcode1640 net/proxy/proxy_service.cc:1640: url, 0, &proxy_info_, callback_, NULL, NULL, net_log); On 2014/07/02 ...
6 years, 5 months ago (2014-07-02 17:15:03 UTC) #39
bengr
https://codereview.chromium.org/332313003/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc File components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc (right): https://codereview.chromium.org/332313003/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc#newcode90 components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc:90: net::ProxyInfo* result) { move up a line. https://codereview.chromium.org/332313003/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc#newcode95 components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc:95: ...
6 years, 5 months ago (2014-07-02 18:46:44 UTC) #40
rcs
https://codereview.chromium.org/332313003/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc File components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc (right): https://codereview.chromium.org/332313003/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc#newcode90 components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc:90: net::ProxyInfo* result) { On 2014/07/02 18:46:43, bengr1 wrote: > ...
6 years, 5 months ago (2014-07-02 22:53:13 UTC) #41
bengr
components/data_reduction_proxy: lgtm, with nit. https://codereview.chromium.org/332313003/diff/120001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h File components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h (right): https://codereview.chromium.org/332313003/diff/120001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h#newcode37 components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h:37: // Upon |ProxyService.ResolveProxy()|, bypass if ...
6 years, 5 months ago (2014-07-07 16:28:14 UTC) #42
bengr
On 2014/07/07 16:28:14, bengr1 wrote: > components/data_reduction_proxy: lgtm, with nit. > > https://codereview.chromium.org/332313003/diff/120001/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h > File ...
6 years, 5 months ago (2014-07-07 18:08:55 UTC) #43
rcs
Reviewers -= eroman Address bengr's final feedback
6 years, 5 months ago (2014-07-07 18:44:16 UTC) #44
mmenke
Just minor comments https://codereview.chromium.org/332313003/diff/140001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/332313003/diff/140001/chrome/browser/io_thread.h#newcode200 chrome/browser/io_thread.h:200: on_resolve_proxy_handler; No need for a scoped_ptr ...
6 years, 5 months ago (2014-07-07 20:22:00 UTC) #45
rcs
https://codereview.chromium.org/332313003/diff/140001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/332313003/diff/140001/chrome/browser/io_thread.h#newcode200 chrome/browser/io_thread.h:200: on_resolve_proxy_handler; On 2014/07/07 20:21:59, mmenke wrote: > No need ...
6 years, 5 months ago (2014-07-07 22:08:50 UTC) #46
mmenke
LGTM! https://codereview.chromium.org/332313003/diff/160001/net/base/load_flags_list.h File net/base/load_flags_list.h (right): https://codereview.chromium.org/332313003/diff/160001/net/base/load_flags_list.h#newcode129 net/base/load_flags_list.h:129: // TODO(rcs): remove this flag as soon as ...
6 years, 5 months ago (2014-07-08 15:27:53 UTC) #47
rcs
wahoo! https://codereview.chromium.org/332313003/diff/160001/net/base/load_flags_list.h File net/base/load_flags_list.h (right): https://codereview.chromium.org/332313003/diff/160001/net/base/load_flags_list.h#newcode129 net/base/load_flags_list.h:129: // TODO(rcs): remove this flag as soon as ...
6 years, 5 months ago (2014-07-08 17:31:13 UTC) #48
mmenke
I think you're going to have to merge again - my CL that deleted the ...
6 years, 5 months ago (2014-07-08 18:18:19 UTC) #49
rcs
On 2014/07/08 18:18:19, mmenke wrote: > I think you're going to have to merge again ...
6 years, 5 months ago (2014-07-08 18:19:32 UTC) #50
rcs
The CQ bit was checked by rcs@chromium.org
6 years, 5 months ago (2014-07-08 22:41:49 UTC) #51
rcs
committing
6 years, 5 months ago (2014-07-08 22:42:16 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rcs@chromium.org/332313003/240001
6 years, 5 months ago (2014-07-08 22:43:42 UTC) #53
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 02:36:06 UTC) #54
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 05:23:57 UTC) #55
Message was sent while issue was closed.
Change committed as 281951

Powered by Google App Engine
This is Rietveld 408576698