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

Issue 2863030: Added implementation of buzz::AsyncSocket that uses Chrome sockets. (Closed)

Created:
10 years, 5 months ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, Raghu Simha, idana, pam+watch_chromium.org, Paweł Hajdan Jr., tim (not reviewing), Sergey Ulanov, dmac, awong
Visibility:
Public.

Description

Added implementation of buzz::AsyncSocket that uses Chrome sockets. BUG=45612 TEST=new unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52289

Patch Set 1 #

Patch Set 2 : fixed lint #

Patch Set 3 : fixed diff #

Total comments: 12

Patch Set 4 : Addressed willchan's comments #

Total comments: 15

Patch Set 5 : Addressed willchan's comments #

Total comments: 12

Patch Set 6 : Addressed willchan's comments #

Total comments: 2

Patch Set 7 : Addressed willchan's last comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1758 lines, -16 lines) Patch
A chrome/browser/sync/tools/chrome_async_socket.h View 1 2 3 4 5 1 chunk +226 lines, -0 lines 0 comments Download
A chrome/browser/sync/tools/chrome_async_socket.cc View 1 2 3 4 5 1 chunk +470 lines, -0 lines 0 comments Download
A chrome/browser/sync/tools/chrome_async_socket_unittest.cc View 1 2 3 4 5 6 1 chunk +981 lines, -0 lines 0 comments Download
M chrome/browser/sync/tools/sync_listen_notifications.cc View 1 2 3 4 5 6 chunks +35 lines, -13 lines 0 comments Download
M chrome/browser/sync/tools/sync_tools.gyp View 1 2 3 4 5 3 chunks +46 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
akalin
+willchan for review (since I discussed the implementation with him) Tests are kind of messy, ...
10 years, 5 months ago (2010-06-29 09:49:04 UTC) #1
akalin
CC'ed a bunch of people who may be interested. On 2010/06/29 09:49:04, akalin wrote: > ...
10 years, 5 months ago (2010-06-29 09:49:47 UTC) #2
willchan no longer on Chromium
I started looking and only really have nits so far. I need to read the ...
10 years, 5 months ago (2010-06-29 21:02:17 UTC) #3
akalin
On 2010/06/29 21:02:17, willchan wrote: > I started looking and only really have nits so ...
10 years, 5 months ago (2010-06-29 22:50:44 UTC) #4
akalin
Please take another look. http://codereview.chromium.org/2863030/diff/13001/14001 File chrome/browser/sync/tools/chrome_async_socket.cc (right): http://codereview.chromium.org/2863030/diff/13001/14001#newcode33 chrome/browser/sync/tools/chrome_async_socket.cc:33: : connect_callback_(ALLOW_THIS_IN_INITIALIZER_LIST(this), On 2010/06/29 21:02:18, ...
10 years, 5 months ago (2010-06-29 22:50:55 UTC) #5
willchan no longer on Chromium
http://codereview.chromium.org/2863030/diff/4002/19001 File chrome/browser/sync/tools/chrome_async_socket.cc (right): http://codereview.chromium.org/2863030/diff/4002/19001#newcode46 chrome/browser/sync/tools/chrome_async_socket.cc:46: net_log_(net_log), You should probably use BoundNetLog::Make() here. http://codereview.chromium.org/2863030/diff/4002/19001#newcode103 chrome/browser/sync/tools/chrome_async_socket.cc:103: ...
10 years, 5 months ago (2010-07-01 21:46:28 UTC) #6
akalin
Please take another look. FYI, I'll be on vacation until next Friday, so I may ...
10 years, 5 months ago (2010-07-02 10:29:16 UTC) #7
willchan no longer on Chromium
http://codereview.chromium.org/2863030/diff/4002/19002 File chrome/browser/sync/tools/chrome_async_socket.h (right): http://codereview.chromium.org/2863030/diff/4002/19002#newcode41 chrome/browser/sync/tools/chrome_async_socket.h:41: size_t read_buf_size, On 2010/07/02 10:29:16, akalin wrote: > On ...
10 years, 5 months ago (2010-07-07 23:28:23 UTC) #8
akalin
On 2010/07/07 23:28:23, willchan wrote: > Wow, this API is the suck. Ok, I defer ...
10 years, 5 months ago (2010-07-13 10:11:25 UTC) #9
willchan no longer on Chromium
LGTM, good tests! http://codereview.chromium.org/2863030/diff/14006/11005 File chrome/browser/sync/tools/sync_listen_notifications.cc (right): http://codereview.chromium.org/2863030/diff/14006/11005#newcode350 chrome/browser/sync/tools/sync_listen_notifications.cc:350: command_line.HasSwitch("use-chrome-async-socket"); On 2010/07/13 10:11:25, akalin wrote: ...
10 years, 5 months ago (2010-07-13 22:59:43 UTC) #10
akalin
10 years, 5 months ago (2010-07-14 00:58:06 UTC) #11
Thanks!  Checking in as soon as trybots pass.

http://codereview.chromium.org/2863030/diff/50001/51003
File chrome/browser/sync/tools/chrome_async_socket_unittest.cc (right):

http://codereview.chromium.org/2863030/diff/50001/51003#newcode38
chrome/browser/sync/tools/chrome_async_socket_unittest.cc:38:
DCHECK(!has_pending_read_);
On 2010/07/13 22:59:44, willchan wrote:
> Don't forget logging.h for this.

Done.

Powered by Google App Engine
This is Rietveld 408576698