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

Issue 10916112: Forwarder 2 implementation (Closed)

Created:
8 years, 3 months ago by felipeg
Modified:
8 years, 3 months ago
CC:
chromium-reviews, bulach+watch_chromium.org, tfarina
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Forwarder 2 implementation This is the first CL for implementing the Forwarder2, necessary to android testing. The big picture CL can be seem here: https://chromiumcodereview.appspot.com/10918057/ BUG=146502 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155446

Patch Set 1 #

Total comments: 29

Patch Set 2 : #

Total comments: 25

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -1 line) Patch
M build/all_android.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/android/common/adb_connection.cc View 2 chunks +1 line, -1 line 0 comments Download
M tools/android/common/common.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A tools/android/forwarder2/device_forwarder_main.cc View 1 chunk +10 lines, -0 lines 0 comments Download
A tools/android/forwarder2/forwarder.gyp View 1 2 3 4 5 6 1 chunk +61 lines, -0 lines 0 comments Download
A tools/android/forwarder2/host_forwarder_main.cc View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
A tools/android/forwarder2/socket.h View 1 2 3 4 1 chunk +131 lines, -0 lines 0 comments Download
A tools/android/forwarder2/socket.cc View 1 2 3 1 chunk +320 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
felipeg
8 years, 3 months ago (2012-09-05 12:31:18 UTC) #1
Satish
I've made a first pass through it but not a domain expert. You should probably ...
8 years, 3 months ago (2012-09-06 15:53:12 UTC) #2
Philippe
https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc#newcode111 tools/android/forwarder2/socket.cc:111: if (abstract + path.size() + 1 /* '\0' */ ...
8 years, 3 months ago (2012-09-06 16:00:10 UTC) #3
felipeg
https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/common/adb_connection.cc File tools/android/common/adb_connection.cc (right): https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/common/adb_connection.cc#newcode9 tools/android/common/adb_connection.cc:9: #include <stdio.h> On 2012/09/06 15:53:12, Satish wrote: > why ...
8 years, 3 months ago (2012-09-06 16:19:06 UTC) #4
bulach
just some tiny nits below... if digit is happy, I'm happy too! :) http://codereview.chromium.org/10916112/diff/3001/tools/android/forwarder2/socket.h File ...
8 years, 3 months ago (2012-09-07 08:30:28 UTC) #5
Satish
https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc#newcode21 tools/android/forwarder2/socket.cc:21: #define PRESERVE_ERRNO_HANDLE_EINTR(Func) \ On 2012/09/06 16:19:06, felipeg1 wrote: > ...
8 years, 3 months ago (2012-09-07 09:11:38 UTC) #6
tfarina
http://codereview.chromium.org/10916112/diff/3001/tools/android/forwarder2/socket.h File tools/android/forwarder2/socket.h (right): http://codereview.chromium.org/10916112/diff/3001/tools/android/forwarder2/socket.h#newcode17 tools/android/forwarder2/socket.h:17: using std::string; On 2012/09/07 08:30:28, bulach wrote: > nit: ...
8 years, 3 months ago (2012-09-07 11:39:39 UTC) #7
felipeg
https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc#newcode21 tools/android/forwarder2/socket.cc:21: #define PRESERVE_ERRNO_HANDLE_EINTR(Func) \ On 2012/09/07 09:11:38, Satish wrote: > ...
8 years, 3 months ago (2012-09-07 13:19:26 UTC) #8
digit
https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc#newcode21 tools/android/forwarder2/socket.cc:21: #define PRESERVE_ERRNO_HANDLE_EINTR(Func) \ Preserving errno for Close() is important ...
8 years, 3 months ago (2012-09-07 13:47:12 UTC) #9
digit
forgot to say lgtm :)
8 years, 3 months ago (2012-09-07 13:48:15 UTC) #10
tfarina
https://chromiumcodereview.appspot.com/10916112/diff/3001/tools/android/forwarder2/socket.h File tools/android/forwarder2/socket.h (right): https://chromiumcodereview.appspot.com/10916112/diff/3001/tools/android/forwarder2/socket.h#newcode71 tools/android/forwarder2/socket.h:71: bool HasError() const { return socket_error_; } On 2012/09/07 ...
8 years, 3 months ago (2012-09-07 13:50:46 UTC) #11
felipeg
https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc File tools/android/forwarder2/socket.cc (right): https://chromiumcodereview.appspot.com/10916112/diff/1/tools/android/forwarder2/socket.cc#newcode21 tools/android/forwarder2/socket.cc:21: #define PRESERVE_ERRNO_HANDLE_EINTR(Func) \ On 2012/09/07 13:47:12, digit wrote: > ...
8 years, 3 months ago (2012-09-07 13:56:57 UTC) #12
bulach
just clarifying my earlier comment :) https://chromiumcodereview.appspot.com/10916112/diff/3001/tools/android/forwarder2/socket.h File tools/android/forwarder2/socket.h (right): https://chromiumcodereview.appspot.com/10916112/diff/3001/tools/android/forwarder2/socket.h#newcode71 tools/android/forwarder2/socket.h:71: bool HasError() const ...
8 years, 3 months ago (2012-09-07 14:03:32 UTC) #13
felipeg_google
On Fri, Sep 7, 2012 at 4:03 PM, <bulach@chromium.org> wrote: > just clarifying my earlier ...
8 years, 3 months ago (2012-09-07 14:10:22 UTC) #14
bulach
lgtm, thanks a lot everyone!! one suggestion below: https://chromiumcodereview.appspot.com/10916112/diff/7002/tools/android/forwarder2/forwarder.gyp File tools/android/forwarder2/forwarder.gyp (right): https://chromiumcodereview.appspot.com/10916112/diff/7002/tools/android/forwarder2/forwarder.gyp#newcode16 tools/android/forwarder2/forwarder.gyp:16: 'target_name': ...
8 years, 3 months ago (2012-09-07 14:31:32 UTC) #15
felipeg
https://chromiumcodereview.appspot.com/10916112/diff/7002/tools/android/forwarder2/forwarder.gyp File tools/android/forwarder2/forwarder.gyp (right): https://chromiumcodereview.appspot.com/10916112/diff/7002/tools/android/forwarder2/forwarder.gyp#newcode16 tools/android/forwarder2/forwarder.gyp:16: 'target_name': 'device_forwarder', On 2012/09/07 14:31:32, bulach wrote: > nit: ...
8 years, 3 months ago (2012-09-07 14:40:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felipeg@chromium.org/10916112/8010
8 years, 3 months ago (2012-09-07 17:27:20 UTC) #17
commit-bot: I haz the power
Try job failure for 10916112-8010 on win_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=59367 Step "update" is always ...
8 years, 3 months ago (2012-09-07 17:29:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felipeg@chromium.org/10916112/8010
8 years, 3 months ago (2012-09-07 17:39:05 UTC) #19
commit-bot: I haz the power
8 years, 3 months ago (2012-09-07 19:18:36 UTC) #20
Change committed as 155446

Powered by Google App Engine
This is Rietveld 408576698