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

Issue 428004: Command line utility to run the HostResolver. ... (Closed)

Created:
11 years, 1 month ago by cbentzelold
Modified:
8 years, 2 months ago
Reviewers:
cbentzel
Visibility:
Public.

Description

I don't actually want this issue anymore. I just want to test my gmail filter.

Patch Set 1 #

Total comments: 38

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 32

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 5

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Total comments: 2

Patch Set 12 : '' #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+467 lines, -0 lines) Patch
M net/net.gyp View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
A net/tools/hresolv/hresolv.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +456 lines, -0 lines 8 comments Download

Messages

Total messages: 24 (0 generated)
cbentzelold
I wrote this to learn the ropes of the Chromium codebase, but a discussion on ...
11 years, 1 month ago (2009-11-21 04:25:10 UTC) #1
cbentzelold
Also - the lint errors in hresolv.cc are due to including "build/build_config.h" prior to ws2tcpip.h/netdb.h ...
11 years, 1 month ago (2009-11-21 04:27:13 UTC) #2
eroman
This is a lot of code. I am a bit skeptical as to how useful ...
11 years, 1 month ago (2009-11-21 05:28:25 UTC) #3
cbentzelold
On 2009/11/21 05:28:25, eroman wrote: > This is a lot of code. Yes - thanks ...
11 years, 1 month ago (2009-11-21 14:51:01 UTC) #4
cbentzelold
http://codereview.chromium.org/428004/diff/1/3 File net/tools/hresolv/hresolv.cc (right): http://codereview.chromium.org/428004/diff/1/3#newcode321 Line 321: resolve_thread_.message_loop()->PostTask(FROM_HERE, task); On 2009/11/21 05:28:25, eroman wrote: > ...
11 years, 1 month ago (2009-11-21 14:51:25 UTC) #5
cbentzelold
Thanks again for doing the review - sorry that so many of the issues were ...
11 years, 1 month ago (2009-11-23 19:05:59 UTC) #6
cbentzelold
http://codereview.chromium.org/428004/diff/1/3 File net/tools/hresolv/hresolv.cc (right): http://codereview.chromium.org/428004/diff/1/3#newcode235 net/tools/hresolv/hresolv.cc:235: printf("Error resolving %s: %d\n", host_.c_str(), err); On 2009/11/23 19:06:00, ...
11 years, 1 month ago (2009-11-23 19:11:12 UTC) #7
wtc
LGTM. Some suggested changes below. http://codereview.chromium.org/428004/diff/6007/6008 File net/net.gyp (right): http://codereview.chromium.org/428004/diff/6007/6008#newcode852 net/net.gyp:852: 'target_name': 'hresolv', It seems ...
11 years, 1 month ago (2009-11-24 20:00:48 UTC) #8
cbentzelold
Thanks for looking at it - I'll fix up the nits that you mentioned and ...
11 years, 1 month ago (2009-11-24 20:05:52 UTC) #9
wtc
Re: hresolv: the reason I asked is that I remember using an hresolv command or ...
11 years, 1 month ago (2009-11-24 20:13:55 UTC) #10
cbentzelold
http://codereview.chromium.org/428004/diff/6007/6008 File net/net.gyp (right): http://codereview.chromium.org/428004/diff/6007/6008#newcode852 net/net.gyp:852: 'target_name': 'hresolv', On 2009/11/24 20:05:52, cbentzel wrote: > On ...
11 years, 1 month ago (2009-11-24 21:46:10 UTC) #11
cbentzelold
On 2009/11/24 21:46:10, cbentzel wrote: > http://codereview.chromium.org/428004/diff/6007/6008 > File net/net.gyp (right): > > http://codereview.chromium.org/428004/diff/6007/6008#newcode852 > ...
11 years, 1 month ago (2009-11-24 21:55:04 UTC) #12
wtc
LGTM. Remember to update the Description of your CL to reflect the new command-line options ...
11 years, 1 month ago (2009-11-24 23:24:41 UTC) #13
cbentzelold
I added a ConditionVariable for synchronization rather than using a sleep loop. I'll change the ...
11 years ago (2009-11-29 04:42:22 UTC) #14
eroman
I still think this would be a bunch simpler without using threads/locks. The way it ...
11 years ago (2009-11-30 19:57:18 UTC) #15
wtc
Chris, I can commit your CL for you when it's ready. I have some comments ...
11 years ago (2009-11-30 20:04:32 UTC) #16
cbentzelold
You can hold off on the patch as I'm going to incorporate eroman's suggestion. I ...
11 years ago (2009-11-30 20:10:39 UTC) #17
cbentzelold
http://codereview.chromium.org/428004/diff/6007/6008 File net/net.gyp (right): http://codereview.chromium.org/428004/diff/6007/6008#newcode852 net/net.gyp:852: 'target_name': 'hresolv', On 2009/11/24 21:46:10, cbentzel wrote: > On ...
11 years ago (2009-11-30 20:56:27 UTC) #18
cbentzelold
I changed this to use PostDelayedTask and a MessageLoop::Run as Eric suggested, and the code ...
11 years ago (2009-12-01 20:22:46 UTC) #19
eroman
first off, apologies for the delay in reviewing this -- i briefly went on vacation ...
11 years ago (2009-12-04 10:38:21 UTC) #20
cbentzelold
On 2009/12/04 10:38:21, eroman wrote: > first off, apologies for the delay in reviewing this ...
11 years ago (2009-12-08 20:35:11 UTC) #21
eroman
LGTM http://codereview.chromium.org/428004/diff/27001/28002 File net/tools/hresolv/hresolv.cc (right): http://codereview.chromium.org/428004/diff/27001/28002#newcode98 net/tools/hresolv/hresolv.cc:98: {AF_UNSPEC, "AF_UNSPEC"}, style-nit: I'm not sure on what ...
11 years ago (2009-12-09 23:00:31 UTC) #22
eroman
Committed as r34225
11 years ago (2009-12-10 02:39:14 UTC) #23
cbentzelold
8 years, 2 months ago (2012-10-18 15:36:45 UTC) #24
http://codereview.chromium.org/428004/diff/20006/net/tools/hresolv/hresolv.cc
File net/tools/hresolv/hresolv.cc (right):

http://codereview.chromium.org/428004/diff/20006/net/tools/hresolv/hresolv.cc...
net/tools/hresolv/hresolv.cc:17: // Future ideas: Specifying whether the lookup
is speculative
On 2009/12/04 10:38:21, eroman wrote:
> Another future idea could be to let you specify the address family.

Done.

Powered by Google App Engine
This is Rietveld 408576698