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

Issue 838203002: net: Remove unused private data members (Closed)

Created:
5 years, 11 months ago by hashimoto
Modified:
5 years, 11 months ago
Reviewers:
mmenke
CC:
chromium-reviews, erikwright (departed), 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

net: Remove unused private data members These unused members were found by locally changing DISALLOW_COPY_AND_ASSIGN to use "= delete" so that the compiler can be sure these members are not used in the copy ctor and operator=. BUG=447445 TEST=build Committed: https://crrev.com/0d3e4fbd7d604683d977a9a6dc0a8f4f31f53047 Cr-Commit-Position: refs/heads/master@{#310712}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove proxy_delegate #

Patch Set 3 : Call DetachFromThread() #

Patch Set 4 : Disable thread check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -75 lines) Patch
M net/cookies/parsed_cookie.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/dns/mdns_client_impl.h View 2 chunks +1 line, -2 lines 0 comments Download
M net/dns/mdns_client_impl.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M net/filter/mock_filter_context.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_network_session.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.h View 1 5 chunks +0 lines, -5 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 1 6 chunks +0 lines, -7 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 1 chunk +12 lines, -5 lines 0 comments Download
M net/proxy/proxy_script_decider.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/proxy/proxy_script_decider.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M net/socket/client_socket_pool_manager_impl.h View 1 4 chunks +0 lines, -7 lines 0 comments Download
M net/socket/client_socket_pool_manager_impl.cc View 1 4 chunks +1 line, -6 lines 0 comments Download
M net/socket/ssl_client_socket_pool.h View 2 chunks +0 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 3 chunks +0 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/spdy_buffer.cc View 2 chunks +1 line, -3 lines 0 comments Download
M net/url_request/url_request_job_manager.h View 1 2 3 3 chunks +7 lines, -15 lines 0 comments Download
M net/url_request/url_request_job_manager.cc View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
hashimoto
5 years, 11 months ago (2015-01-08 11:10:38 UTC) #2
mmenke
LGTM. Thanks for doing this - a check for unused members shounds handy! I think ...
5 years, 11 months ago (2015-01-08 17:37:56 UTC) #3
hashimoto
Filed a new issue http://crbug.com/447445 for unused member removal. https://codereview.chromium.org/838203002/diff/1/net/http/http_proxy_client_socket_pool.cc File net/http/http_proxy_client_socket_pool.cc (right): https://codereview.chromium.org/838203002/diff/1/net/http/http_proxy_client_socket_pool.cc#newcode446 net/http/http_proxy_client_socket_pool.cc:446: ...
5 years, 11 months ago (2015-01-09 02:08:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/838203002/20001
5 years, 11 months ago (2015-01-09 02:09:56 UTC) #6
hashimoto
iOS is failing because of the thread check. Added a DetachFromThread() call to fix this.
5 years, 11 months ago (2015-01-09 02:31:39 UTC) #7
hashimoto
Gave up enabling the thread check in URLRequestJobManager. Reverted the "#if 0" block to keep ...
5 years, 11 months ago (2015-01-09 04:07:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/838203002/80001
5 years, 11 months ago (2015-01-09 04:08:23 UTC) #11
mmenke
On 2015/01/09 04:07:40, hashimoto wrote: > Gave up enabling the thread check in URLRequestJobManager. > ...
5 years, 11 months ago (2015-01-09 04:19:06 UTC) #12
hashimoto
On 2015/01/09 04:19:06, mmenke wrote: > On 2015/01/09 04:07:40, hashimoto wrote: > > Gave up ...
5 years, 11 months ago (2015-01-09 04:58:43 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 11 months ago (2015-01-09 05:03:20 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 05:04:15 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0d3e4fbd7d604683d977a9a6dc0a8f4f31f53047
Cr-Commit-Position: refs/heads/master@{#310712}

Powered by Google App Engine
This is Rietveld 408576698