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

Issue 347026: Refactor SocketStream to report error to the delegate. (Closed)

Created:
11 years, 1 month ago by ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Refactor SocketStream to report error to the delegate. error status will be reported to the delegate (e.g. websocket experiment task) Finish() should be called at most once when STATE_CLOSE to STATE_NONE. BUG=none TEST=net_unittests didn't crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30560

Patch Set 1 #

Total comments: 2

Patch Set 2 : add STATE_CLOSE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -40 lines) Patch
M net/socket_stream/socket_stream.h View 1 4 chunks +13 lines, -5 lines 0 comments Download
M net/socket_stream/socket_stream.cc View 1 19 chunks +44 lines, -35 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ukai
11 years, 1 month ago (2009-10-30 03:19:35 UTC) #1
Yuzo
http://codereview.chromium.org/347026/diff/1/2 File net/socket_stream/socket_stream.cc (right): http://codereview.chromium.org/347026/diff/1/2#newcode198 Line 198: if (delegate) { delegate can be null if ...
11 years, 1 month ago (2009-10-30 03:37:47 UTC) #2
ukai
Thanks for review. I added STATE_CLOSE for closing state and call Finish() at STATE_CLOSE to ...
11 years, 1 month ago (2009-10-30 04:14:28 UTC) #3
tyoshino (SeeGerritForStatus)
LGTM
11 years, 1 month ago (2009-10-30 04:26:23 UTC) #4
Yuzo
11 years, 1 month ago (2009-10-30 04:43:51 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698