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

Issue 863203009: Store Proxy Servers as proxy servers and not GURLs. (Closed)

Created:
5 years, 10 months ago by tbansal1
Modified:
5 years, 10 months ago
Reviewers:
bengr
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store Proxy Servers as proxy servers and not GURLs. Chrome Data Reduction Proxy stores proxy URLs as proxy server objects instead of GURLs. This enables us to support QUIC based proxies. BUG=454576 Committed: https://crrev.com/0aaf80ac3e3b5b93aea28e6a3acdf108dc1baa03 Cr-Commit-Position: refs/heads/master@{#314835}

Patch Set 1 #

Total comments: 54

Patch Set 2 : Fixed all comments and addressed formatting issues. #

Patch Set 3 : Fixed formatting issues. #

Total comments: 6

Patch Set 4 : Addressed comments. #

Patch Set 5 : Using trim string now. #

Patch Set 6 : Fixed failing test code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+408 lines, -282 lines) Patch
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc View 1 2 3 4 5 4 chunks +6 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler_unittest.cc View 1 6 chunks +13 lines, -16 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc View 1 2 3 5 chunks +17 lines, -24 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 4 chunks +17 lines, -11 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc View 1 3 chunks +7 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 5 chunks +32 lines, -29 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc View 5 chunks +68 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc View 1 5 chunks +38 lines, -35 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_event_store.cc View 1 2 chunks +6 lines, -11 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 6 chunks +16 lines, -14 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 2 11 chunks +50 lines, -38 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc View 2 chunks +14 lines, -14 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc View 1 2 6 chunks +90 lines, -56 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
tbansal1
5 years, 10 months ago (2015-02-03 00:02:08 UTC) #2
bengr
https://codereview.chromium.org/863203009/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc (right): https://codereview.chromium.org/863203009/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc#newcode49 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc:49: return ConvertUTF8ToJavaString(env, Settings()->params()->origin().ToURI()); #include "net/proxy/proxy_server.h" https://codereview.chromium.org/863203009/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc (right): ...
5 years, 10 months ago (2015-02-04 00:49:27 UTC) #3
tbansal1
Handled all comments and fixed formatting issues. https://codereview.chromium.org/863203009/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc (right): https://codereview.chromium.org/863203009/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc#newcode49 chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc:49: return ConvertUTF8ToJavaString(env, ...
5 years, 10 months ago (2015-02-04 22:49:11 UTC) #4
tbansal1
5 years, 10 months ago (2015-02-04 23:46:37 UTC) #5
bengr
https://codereview.chromium.org/863203009/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc (right): https://codereview.chromium.org/863203009/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc#newcode190 components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc:190: std::string spec = proxy_.GetURL("/").spec(); On 2015/02/04 22:49:11, tbansal1 wrote: ...
5 years, 10 months ago (2015-02-05 00:31:08 UTC) #6
tbansal1
https://codereview.chromium.org/863203009/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc (right): https://codereview.chromium.org/863203009/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc#newcode105 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc:105: net::ProxyServer first = data_reduction_proxy_type_info.proxy_servers.first; On 2015/02/05 00:31:08, bengr wrote: ...
5 years, 10 months ago (2015-02-05 01:21:33 UTC) #7
bengr
lgtm
5 years, 10 months ago (2015-02-05 01:31:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863203009/60001
5 years, 10 months ago (2015-02-05 01:44:13 UTC) #10
tbansal1
https://codereview.chromium.org/863203009/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc (right): https://codereview.chromium.org/863203009/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc#newcode190 components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc:190: std::string spec = proxy_.GetURL("/").spec(); On 2015/02/05 00:31:07, bengr wrote: ...
5 years, 10 months ago (2015-02-05 01:54:09 UTC) #13
bengr
On 2015/02/05 01:54:09, tbansal1 wrote: > https://codereview.chromium.org/863203009/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc > File > components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc > (right): > > ...
5 years, 10 months ago (2015-02-05 01:57:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863203009/80001
5 years, 10 months ago (2015-02-05 01:58:46 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/52290)
5 years, 10 months ago (2015-02-05 02:22:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863203009/100001
5 years, 10 months ago (2015-02-05 17:19:14 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-05 18:19:24 UTC) #22
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 18:20:20 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0aaf80ac3e3b5b93aea28e6a3acdf108dc1baa03
Cr-Commit-Position: refs/heads/master@{#314835}

Powered by Google App Engine
This is Rietveld 408576698