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

Issue 401963002: Mojo: Make Connector::Accept() MOJO_CHECK-fail if it sees MOJO_RESULT_BUSY. (Closed)

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

Description

Mojo: Make Connector::Accept() MOJO_CHECK-fail if it sees MOJO_RESULT_BUSY. Seeing this almost certainly indicates a bug in the "user's" code. Arguably, this should be a MOJO_DCHECK instead, but I'm keeping it as a MOJO_CHECK since it'll make tests crash-fail on bots instead of hanging (and then timing out). (We'll see this failure due to the bugs listed below.) R=yzshen@chromium.org BUG=394884, 394886 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284289

Patch Set 1 #

Total comments: 1

Patch Set 2 : update string and comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M mojo/public/cpp/bindings/lib/connector.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
viettrungluu
6 years, 5 months ago (2014-07-18 21:49:53 UTC) #1
yzshen1
lgtm https://codereview.chromium.org/401963002/diff/1/mojo/public/cpp/bindings/lib/connector.cc File mojo/public/cpp/bindings/lib/connector.cc (right): https://codereview.chromium.org/401963002/diff/1/mojo/public/cpp/bindings/lib/connector.cc#newcode109 mojo/public/cpp/bindings/lib/connector.cc:109: MOJO_CHECK(false) << "Not reached: race condition or other ...
6 years, 5 months ago (2014-07-18 22:08:09 UTC) #2
viettrungluu
On 2014/07/18 22:08:09, yzshen1 wrote: > lgtm > > https://codereview.chromium.org/401963002/diff/1/mojo/public/cpp/bindings/lib/connector.cc > File mojo/public/cpp/bindings/lib/connector.cc (right): > ...
6 years, 5 months ago (2014-07-18 23:02:20 UTC) #3
viettrungluu
The CQ bit was checked by viettrungluu@chromium.org
6 years, 5 months ago (2014-07-18 23:13:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/viettrungluu@chromium.org/401963002/20001
6 years, 5 months ago (2014-07-18 23:15:37 UTC) #5
yzshen1
On 2014/07/18 23:02:20, viettrungluu wrote: > On 2014/07/18 22:08:09, yzshen1 wrote: > > lgtm > ...
6 years, 5 months ago (2014-07-18 23:19:32 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-19 02:35:59 UTC) #7
Message was sent while issue was closed.
Change committed as 284289

Powered by Google App Engine
This is Rietveld 408576698