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

Issue 9401014: fake_dns tool for Android. (Closed)

Created:
8 years, 10 months ago by Xianzhu
Modified:
8 years, 10 months ago
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

fake_dns tool for Android (fixed DEPS). It runs on device to resolves any host name to 127.0.0.1. With it and the forwarder, all HTTP requests are redirected to our replay server running on the host machine.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 46

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -10 lines) Patch
M build/all_android.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tools/android/common/adb_connection.cc View 1 2 3 4 5 1 chunk +1 line, -10 lines 0 comments Download
M tools/android/common/net.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M tools/android/common/net.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
A tools/android/fake_dns/DEPS View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A tools/android/fake_dns/fake_dns.cc View 1 2 3 4 1 chunk +222 lines, -0 lines 0 comments Download
A tools/android/fake_dns/fake_dns.gyp View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Xianzhu
Hi, Will, Would you please review the fake_dns code which is mainly network code? Thanks, ...
8 years, 10 months ago (2012-02-15 18:27:03 UTC) #1
willchan no longer on Chromium
No I won't, but I'll send it to someone who will :) Syzmon: punt back ...
8 years, 10 months ago (2012-02-15 18:29:10 UTC) #2
Xianzhu
I'm changing sendto() to a loop. Will upload a new patch set soon.
8 years, 10 months ago (2012-02-15 18:33:57 UTC) #3
Xianzhu
On 2012/02/15 18:33:57, Xianzhu wrote: > I'm changing sendto() to a loop. Will upload a ...
8 years, 10 months ago (2012-02-15 18:45:13 UTC) #4
szym
This looks good and I appreciate the leanness. However, there's a lot that could be ...
8 years, 10 months ago (2012-02-15 21:44:04 UTC) #5
szym
http://codereview.chromium.org/9401014/diff/6005/tools/android/fake_dns/fake_dns.cc File tools/android/fake_dns/fake_dns.cc (right): http://codereview.chromium.org/9401014/diff/6005/tools/android/fake_dns/fake_dns.cc#newcode147 tools/android/fake_dns/fake_dns.cc:147: uint16 flags = getU16(request + 2); On 2012/02/15 21:44:04, ...
8 years, 10 months ago (2012-02-15 21:46:43 UTC) #6
szym
Ok, after all this nitpicking, here's an actual bug. See below. Sorry about all the ...
8 years, 10 months ago (2012-02-15 21:57:23 UTC) #7
Xianzhu
Thanks for review! https://chromiumcodereview.appspot.com/9401014/diff/6005/tools/android/fake_dns/fake_dns.cc File tools/android/fake_dns/fake_dns.cc (right): https://chromiumcodereview.appspot.com/9401014/diff/6005/tools/android/fake_dns/fake_dns.cc#newcode22 tools/android/fake_dns/fake_dns.cc:22: #include "net/base/dns_util.h" On 2012/02/15 21:44:04, szym ...
8 years, 10 months ago (2012-02-16 01:19:36 UTC) #8
szym
Cool! LGTM
8 years, 10 months ago (2012-02-16 02:30:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/9401014/8
8 years, 10 months ago (2012-02-16 17:11:37 UTC) #10
commit-bot: I haz the power
8 years, 10 months ago (2012-02-16 18:32:51 UTC) #11
Change committed as 122320

Powered by Google App Engine
This is Rietveld 408576698