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

Issue 87073: Extend the use of IOBuffers to the code underneath... (Closed)

Created:
11 years, 8 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Extend the use of IOBuffers to the code underneath HttpNetworkTransaction (to the Socket class). This is the first step to remove the blocking call on the destructor of the network transaction, from IO thread. BUG=9258 R=wtc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14998

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 17

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 16

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -162 lines) Patch
M net/base/client_socket_pool_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/socket.h View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M net/base/ssl_client_socket_mac.h View 2 3 4 3 chunks +7 lines, -3 lines 0 comments Download
M net/base/ssl_client_socket_mac.cc View 2 3 4 8 chunks +35 lines, -13 lines 0 comments Download
M net/base/ssl_client_socket_nss.h View 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M net/base/ssl_client_socket_nss.cc View 2 3 4 11 chunks +29 lines, -18 lines 0 comments Download
M net/base/ssl_client_socket_unittest.cc View 1 2 3 4 6 chunks +21 lines, -9 lines 0 comments Download
M net/base/ssl_client_socket_win.h View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M net/base/ssl_client_socket_win.cc View 1 2 3 4 13 chunks +60 lines, -17 lines 0 comments Download
M net/base/tcp_client_socket_libevent.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M net/base/tcp_client_socket_libevent.cc View 1 2 3 4 6 chunks +6 lines, -6 lines 0 comments Download
M net/base/tcp_client_socket_unittest.cc View 1 2 3 4 10 chunks +41 lines, -17 lines 0 comments Download
M net/base/tcp_client_socket_win.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M net/base/tcp_client_socket_win.cc View 1 2 3 4 5 8 chunks +14 lines, -4 lines 0 comments Download
M net/http/http_network_transaction.h View 1 2 3 4 2 chunks +35 lines, -2 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 20 chunks +59 lines, -43 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 9 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
rvargas (doing something else)
Avi, could you take a look at the changes on ssl_client_socket_mac (I'm doing small changes ...
11 years, 8 months ago (2009-04-22 22:20:26 UTC) #1
wtc
I reviewed everything except ssl_client_socket_mac.cc. I'm running out of steam. I'll review it tomorrow morning. ...
11 years, 8 months ago (2009-04-23 01:29:47 UTC) #2
wtc
Ricardo, An idea just occurred to me while I was talking a walk after work. ...
11 years, 8 months ago (2009-04-23 02:37:44 UTC) #3
rvargas (doing something else)
On 2009/04/23 02:37:44, wtc wrote: > Ricardo, > > An idea just occurred to me ...
11 years, 8 months ago (2009-04-23 03:27:53 UTC) #4
darin (slow to review)
Why don't we just switch TCPClientSocketWin over to use IO completion ports like we did ...
11 years, 8 months ago (2009-04-23 04:37:54 UTC) #5
Avi (use Gerrit)
The Mac side looks plausible, though it's been long enough that I'd need to take ...
11 years, 8 months ago (2009-04-23 14:46:06 UTC) #6
rvargas (doing something else)
On 2009/04/23 04:37:54, darin wrote: > Why don't we just switch TCPClientSocketWin over to use ...
11 years, 8 months ago (2009-04-23 17:23:22 UTC) #7
rvargas (doing something else)
On 2009/04/23 14:46:06, Avi wrote: > The Mac side looks plausible, though it's been long ...
11 years, 8 months ago (2009-04-23 17:24:07 UTC) #8
wtc
Sorry about the delay. I spent some time understanding the code in this file so ...
11 years, 8 months ago (2009-04-23 20:49:58 UTC) #9
rvargas (doing something else)
Thanks for all the comments. I changed HttpNetworkTransaction significantly, to remove the memory copies related ...
11 years, 8 months ago (2009-04-24 00:04:27 UTC) #10
Avi (use Gerrit)
This looks like it's _correct_, but it doesn't look very pleasant. First, why are we ...
11 years, 8 months ago (2009-04-24 14:55:07 UTC) #11
rvargas (doing something else)
On 2009/04/24 14:55:07, Avi wrote: > This looks like it's _correct_, but it doesn't look ...
11 years, 8 months ago (2009-04-24 18:16:44 UTC) #12
Avi (use Gerrit)
On 2009/04/24 18:16:44, rvargas wrote: > Having specializations of IOBuffer that implement methods needed by ...
11 years, 8 months ago (2009-04-24 18:27:53 UTC) #13
rvargas (doing something else)
On 2009/04/24 18:27:53, Avi wrote: > On 2009/04/24 18:16:44, rvargas wrote: > > Having specializations ...
11 years, 8 months ago (2009-04-24 19:38:35 UTC) #14
wtc
LGTM. http://codereview.chromium.org/87073/diff/3025/2072 File net/base/socket.h (right): http://codereview.chromium.org/87073/diff/3025/2072#newcode23 Line 23: // immediately, the socket must acquire a ...
11 years, 8 months ago (2009-04-24 22:28:44 UTC) #15
rvargas (doing something else)
Thanks, the new version has arrived :) http://codereview.chromium.org/87073/diff/3025/2072 File net/base/socket.h (right): http://codereview.chromium.org/87073/diff/3025/2072#newcode23 Line 23: // ...
11 years, 8 months ago (2009-04-28 00:03:01 UTC) #16
wtc
Let me answer your questions first. I'll review the new Patch Set next. http://codereview.chromium.org/87073/diff/3025/2072 File ...
11 years, 8 months ago (2009-04-28 00:50:35 UTC) #17
wtc
11 years, 7 months ago (2009-04-30 01:16:30 UTC) #18
LGTM.

I actually reviewed Patch Set 5 and gave it LGTM,
but it's not shown.  I guess I must have forgotten
to push the "Publish" button.  Sorry about that.

I just reviewed the diffs between Patch Set 5 and
Patch Set 6, and they are exactly as what we
discussed.

Powered by Google App Engine
This is Rietveld 408576698