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

Issue 8533011: Remove unused HostResolver::Observer. (Closed)

Created:
9 years, 1 month ago by szym
Modified:
9 years, 1 month ago
Reviewers:
cbentzel, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, mmenke, Paweł Hajdan Jr.
Visibility:
Public.

Description

Remove unused HostResolver::Observer. BUG= TEST=compiles, ./net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110109

Patch Set 1 #

Total comments: 3

Patch Set 2 : remove RequestInfo::referrer and Request::id #

Total comments: 5

Patch Set 3 : remove id from AsyncHostResolver; add double-cancelation check; comments' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -720 lines) Patch
M net/base/host_resolver.h View 1 2 4 chunks +3 lines, -38 lines 0 comments Download
M net/base/host_resolver_impl.h View 1 5 chunks +1 line, -15 lines 0 comments Download
M net/base/host_resolver_impl.cc View 1 14 chunks +11 lines, -74 lines 0 comments Download
M net/base/host_resolver_impl_unittest.cc View 5 chunks +0 lines, -182 lines 0 comments Download
M net/base/mapped_host_resolver.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/base/mapped_host_resolver.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M net/base/mock_host_resolver.h View 1 2 5 chunks +0 lines, -9 lines 0 comments Download
M net/base/mock_host_resolver.cc View 1 2 5 chunks +4 lines, -21 lines 0 comments Download
M net/base/single_request_host_resolver_unittest.cc View 1 chunk +0 lines, -8 lines 0 comments Download
D net/base/test_host_resolver_observer.h View 1 chunk +0 lines, -73 lines 0 comments Download
D net/base/test_host_resolver_observer.cc View 1 chunk +0 lines, -44 lines 0 comments Download
M net/dns/async_host_resolver.h View 1 2 3 chunks +0 lines, -10 lines 0 comments Download
M net/dns/async_host_resolver.cc View 1 2 8 chunks +1 line, -30 lines 0 comments Download
M net/dns/async_host_resolver_unittest.cc View 2 chunks +0 lines, -97 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 chunks +0 lines, -87 lines 0 comments Download
M net/net.gyp View 1 2 chunks +0 lines, -3 lines 0 comments Download
M net/proxy/sync_host_resolver_bridge_unittest.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M net/socket/socks_client_socket_pool.cc View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M net/socket/socks_client_socket_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M net/socket/transport_client_socket_pool.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
szym
9 years, 1 month ago (2011-11-14 16:49:05 UTC) #1
eroman
- If the Observer is gone, I wander if the "referrer" field can be removed ...
9 years, 1 month ago (2011-11-14 20:01:39 UTC) #2
szym
Thanks for the review! DNS predictor uses ConnectInterceptor in place of HostResolver::Observer since: http://src.chromium.org/viewvc/chrome?view=rev&revision=56163 http://codereview.chromium.org/8533011/diff/1/net/base/host_resolver_impl.h ...
9 years, 1 month ago (2011-11-14 23:50:16 UTC) #3
szym
http://codereview.chromium.org/8533011/diff/39/net/net.gyp File net/net.gyp (left): http://codereview.chromium.org/8533011/diff/39/net/net.gyp#oldcode1315 net/net.gyp:1315: '../build/temp_gyp/googleurl.gyp:googleurl', This was added to satisfy GURL dependency in ...
9 years, 1 month ago (2011-11-14 23:52:50 UTC) #4
eroman
lgtm http://codereview.chromium.org/8533011/diff/39/net/socket/socks_client_socket_pool.cc File net/socket/socks_client_socket_pool.cc (right): http://codereview.chromium.org/8533011/diff/39/net/socket/socks_client_socket_pool.cc#newcode25 net/socket/socks_client_socket_pool.cc:25: const GURL& referrer) please add a TODO to ...
9 years, 1 month ago (2011-11-15 03:54:01 UTC) #5
cbentzel
Nice cleanup! http://codereview.chromium.org/8533011/diff/1/net/base/host_resolver_impl.h File net/base/host_resolver_impl.h (right): http://codereview.chromium.org/8533011/diff/1/net/base/host_resolver_impl.h#newcode330 net/base/host_resolver_impl.h:330: int next_request_id_; On 2011/11/14 23:50:17, szym wrote: ...
9 years, 1 month ago (2011-11-15 10:49:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/8533011/11001
9 years, 1 month ago (2011-11-15 16:38:42 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-11-15 17:34:27 UTC) #8
Change committed as 110109

Powered by Google App Engine
This is Rietveld 408576698