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

Issue 10310170: Improve socket.write() to make sure all data will be sent out. (Closed)

Created:
8 years, 7 months ago by Peng
Modified:
8 years, 7 months ago
Reviewers:
miket_OOO, jeremya
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Improve socket.write() to make sure all data will be sent out. BUG=128220 TEST=browser_tests --gtest_filter=SocketTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137923

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Update #

Total comments: 13

Patch Set 4 : Update #

Total comments: 2

Patch Set 5 : Update #

Patch Set 6 : Fix compile error on Mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -113 lines) Patch
M chrome/browser/extensions/api/socket/socket.h View 1 2 3 4 5 3 chunks +35 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/socket/tcp_socket.h View 1 2 3 4 5 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/socket/tcp_socket.cc View 1 2 3 chunks +9 lines, -36 lines 0 comments Download
M chrome/browser/extensions/api/socket/tcp_socket_unittest.cc View 1 2 3 chunks +43 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/socket/udp_socket.h View 1 2 3 4 5 2 chunks +11 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/socket/udp_socket.cc View 1 2 2 chunks +7 lines, -34 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Peng
Hi Mike & Jeremy, Could you please check this CL. It improves socket.write() to make ...
8 years, 7 months ago (2012-05-16 16:00:15 UTC) #1
Peng
-jeremy +jeremya
8 years, 7 months ago (2012-05-16 16:13:27 UTC) #2
miket_OOO
lgtm
8 years, 7 months ago (2012-05-16 19:29:10 UTC) #3
jeremya
https://chromiumcodereview.appspot.com/10310170/diff/3002/chrome/browser/extensions/api/socket/socket.cc File chrome/browser/extensions/api/socket/socket.cc (right): https://chromiumcodereview.appspot.com/10310170/diff/3002/chrome/browser/extensions/api/socket/socket.cc#newcode44 chrome/browser/extensions/api/socket/socket.cc:44: io_buffer_write_ = new net::WrappedIOBuffer( Why does io_buffer_write_ need to ...
8 years, 7 months ago (2012-05-17 01:09:06 UTC) #4
Peng
https://chromiumcodereview.appspot.com/10310170/diff/3002/chrome/browser/extensions/api/socket/socket.cc File chrome/browser/extensions/api/socket/socket.cc (right): https://chromiumcodereview.appspot.com/10310170/diff/3002/chrome/browser/extensions/api/socket/socket.cc#newcode44 chrome/browser/extensions/api/socket/socket.cc:44: io_buffer_write_ = new net::WrappedIOBuffer( On 2012/05/17 01:09:06, jeremya wrote: ...
8 years, 7 months ago (2012-05-17 02:42:22 UTC) #5
Peng
Updated this CL. Please check it. Thanks https://chromiumcodereview.appspot.com/10310170/diff/3002/chrome/browser/extensions/api/socket/socket.h File chrome/browser/extensions/api/socket/socket.h (right): https://chromiumcodereview.appspot.com/10310170/diff/3002/chrome/browser/extensions/api/socket/socket.h#newcode53 chrome/browser/extensions/api/socket/socket.h:53: // Returns ...
8 years, 7 months ago (2012-05-17 15:05:13 UTC) #6
jeremya
lgtm https://chromiumcodereview.appspot.com/10310170/diff/7008/chrome/browser/extensions/api/socket/socket.h File chrome/browser/extensions/api/socket/socket.h (right): https://chromiumcodereview.appspot.com/10310170/diff/7008/chrome/browser/extensions/api/socket/socket.h#newcode51 chrome/browser/extensions/api/socket/socket.h:51: // written, or a negative number if an ...
8 years, 7 months ago (2012-05-18 01:32:12 UTC) #7
Peng
https://chromiumcodereview.appspot.com/10310170/diff/7008/chrome/browser/extensions/api/socket/socket.h File chrome/browser/extensions/api/socket/socket.h (right): https://chromiumcodereview.appspot.com/10310170/diff/7008/chrome/browser/extensions/api/socket/socket.h#newcode51 chrome/browser/extensions/api/socket/socket.h:51: // written, or a negative number if an error ...
8 years, 7 months ago (2012-05-18 15:12:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghuang@chromium.org/10310170/13001
8 years, 7 months ago (2012-05-18 15:13:05 UTC) #9
commit-bot: I haz the power
Try job failure for 10310170-13001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-18 15:29:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghuang@chromium.org/10310170/18001
8 years, 7 months ago (2012-05-18 17:49:47 UTC) #11
commit-bot: I haz the power
8 years, 7 months ago (2012-05-18 19:28:27 UTC) #12
Change committed as 137923

Powered by Google App Engine
This is Rietveld 408576698