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

Issue 10387021: Add bufferSize argument of socket.read() and socket.recvFrom() (Closed)

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

Description

Add bufferSize argument of socket.read() and socket.recvFrom() BUG=None TEST=browser_tests --gtest_filter=SocketApiTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136040

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Update #

Total comments: 1

Patch Set 4 : Update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M chrome/browser/extensions/api/socket/socket_api.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/socket/socket_api.cc View 1 2 5 chunks +13 lines, -8 lines 0 comments Download
M chrome/common/extensions/api/experimental.socket.idl View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Peng
8 years, 7 months ago (2012-05-08 15:58:05 UTC) #1
Peng
Hi Mike, I propose to add bufferSize argument to socket.read() and socker.recvFrom(). So API users ...
8 years, 7 months ago (2012-05-08 18:17:02 UTC) #2
miket_OOO
For the proposed change, the implementation is fine. But would it make more sense to ...
8 years, 7 months ago (2012-05-08 18:29:43 UTC) #3
Peng
On 2012/05/08 18:29:43, miket wrote: > For the proposed change, the implementation is fine. But ...
8 years, 7 months ago (2012-05-08 19:36:55 UTC) #4
miket_OOO
lgtm https://chromiumcodereview.appspot.com/10387021/diff/1006/chrome/browser/extensions/api/socket/socket_api.cc File chrome/browser/extensions/api/socket/socket_api.cc (right): https://chromiumcodereview.appspot.com/10387021/diff/1006/chrome/browser/extensions/api/socket/socket_api.cc#newcode149 chrome/browser/extensions/api/socket/socket_api.cc:149: buffer_size_ = params->buffer_size.get() ? *params->buffer_size : 4096; Thanks ...
8 years, 7 months ago (2012-05-08 19:43:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghuang@chromium.org/10387021/1006
8 years, 7 months ago (2012-05-08 19:44:53 UTC) #6
commit-bot: I haz the power
Try job failure for 10387021-1006 (retry) (retry) on win_rel for step "update". It's a second ...
8 years, 7 months ago (2012-05-09 00:51:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghuang@chromium.org/10387021/9004
8 years, 7 months ago (2012-05-09 14:33:14 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-09 15:58:32 UTC) #9
Change committed as 136040

Powered by Google App Engine
This is Rietveld 408576698