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

Issue 257623003: Mojo: Add RawChannel tests for calling Shutdown() from OnReadMessage()/OnFatalError(). (Closed)

Created:
6 years, 8 months ago by viettrungluu
Modified:
6 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Mojo: Add RawChannel tests for calling Shutdown() from OnReadMessage()/OnFatalError(). Also make RawChannel not call its delegate after Shutdown(). R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265978

Patch Set 1 #

Patch Set 2 : disable on win #

Total comments: 1

Patch Set 3 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -21 lines) Patch
M mojo/system/raw_channel.h View 1 4 chunks +7 lines, -6 lines 0 comments Download
M mojo/system/raw_channel.cc View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M mojo/system/raw_channel_posix.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M mojo/system/raw_channel_unittest.cc View 1 4 chunks +149 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
viettrungluu
Surprisingly, this seems to pass on Windows, which may indicate that my test coverage isn't ...
6 years, 8 months ago (2014-04-24 17:40:04 UTC) #1
viettrungluu
On 2014/04/24 17:40:04, viettrungluu wrote: > Surprisingly, this seems to pass on Windows, which may ...
6 years, 8 months ago (2014-04-24 19:02:34 UTC) #2
viettrungluu
On 2014/04/24 19:02:34, viettrungluu wrote: > On 2014/04/24 17:40:04, viettrungluu wrote: > > Surprisingly, this ...
6 years, 8 months ago (2014-04-24 19:16:18 UTC) #3
viettrungluu
-> sky instead
6 years, 8 months ago (2014-04-24 19:55:26 UTC) #4
sky
LGTM https://codereview.chromium.org/257623003/diff/20001/mojo/system/raw_channel.cc File mojo/system/raw_channel.cc (right): https://codereview.chromium.org/257623003/diff/20001/mojo/system/raw_channel.cc#newcode143 mojo/system/raw_channel.cc:143: delegate_ = NULL; Add a comment as to ...
6 years, 8 months ago (2014-04-24 19:58:27 UTC) #5
viettrungluu
Thanks. On 2014/04/24 19:58:27, sky wrote: > LGTM > > https://codereview.chromium.org/257623003/diff/20001/mojo/system/raw_channel.cc > File mojo/system/raw_channel.cc (right): ...
6 years, 8 months ago (2014-04-24 20:02:16 UTC) #6
viettrungluu
6 years, 8 months ago (2014-04-24 20:02:45 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r265978 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698