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

Issue 2609503002: Fix cast_channel::KeepAliveDelegate DCHECK failure. (Closed)

Created:
3 years, 11 months ago by miu
Modified:
3 years, 11 months ago
Reviewers:
Wez
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix cast_channel::KeepAliveDelegate DCHECK failure. Fixes a DCHECK crash caused by KeepAliveDelegate receiving messages after an error occurs. In this case, the DCHECK's assumption seems to have been wrong; and so some extra implementation was added to account for the started versus not-started state. BUG=677367 R=wez@chromium.org Review-Url: https://codereview.chromium.org/2609503002 Cr-Commit-Position: refs/heads/master@{#443809} Committed: https://chromium.googlesource.com/chromium/src/+/b4dbf044c53ead8422a063e7c27ae9999cbecb4d

Patch Set 1 #

Total comments: 6

Patch Set 2 : We must go deeper. #

Total comments: 6

Patch Set 3 : Tweaks, per wez's last round of comments. +REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -30 lines) Patch
M extensions/browser/api/cast_channel/keep_alive_delegate.cc View 1 2 3 chunks +21 lines, -30 lines 0 comments Download
M extensions/browser/api/cast_channel/keep_alive_delegate_unittest.cc View 1 2 2 chunks +49 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
miu
wez: PTAL.
3 years, 11 months ago (2016-12-29 03:11:04 UTC) #3
Wez
https://codereview.chromium.org/2609503002/diff/1/extensions/browser/api/cast_channel/keep_alive_delegate.cc File extensions/browser/api/cast_channel/keep_alive_delegate.cc (right): https://codereview.chromium.org/2609503002/diff/1/extensions/browser/api/cast_channel/keep_alive_delegate.cc#newcode201 extensions/browser/api/cast_channel/keep_alive_delegate.cc:201: // PING and PONG messages are intentionally suppressed from ...
3 years, 11 months ago (2017-01-04 00:10:18 UTC) #6
Wez
Are you still planning to land this? :)
3 years, 11 months ago (2017-01-12 21:14:04 UTC) #7
miu
wez: PTAL. https://codereview.chromium.org/2609503002/diff/1/extensions/browser/api/cast_channel/keep_alive_delegate.cc File extensions/browser/api/cast_channel/keep_alive_delegate.cc (right): https://codereview.chromium.org/2609503002/diff/1/extensions/browser/api/cast_channel/keep_alive_delegate.cc#newcode201 extensions/browser/api/cast_channel/keep_alive_delegate.cc:201: // PING and PONG messages are intentionally ...
3 years, 11 months ago (2017-01-12 22:31:27 UTC) #8
Wez
LGTM https://codereview.chromium.org/2609503002/diff/1/extensions/browser/api/cast_channel/keep_alive_delegate.cc File extensions/browser/api/cast_channel/keep_alive_delegate.cc (right): https://codereview.chromium.org/2609503002/diff/1/extensions/browser/api/cast_channel/keep_alive_delegate.cc#newcode201 extensions/browser/api/cast_channel/keep_alive_delegate.cc:201: // PING and PONG messages are intentionally suppressed ...
3 years, 11 months ago (2017-01-13 22:37:12 UTC) #9
miu
https://codereview.chromium.org/2609503002/diff/20001/extensions/browser/api/cast_channel/keep_alive_delegate.cc File extensions/browser/api/cast_channel/keep_alive_delegate.cc (right): https://codereview.chromium.org/2609503002/diff/20001/extensions/browser/api/cast_channel/keep_alive_delegate.cc#newcode30 extensions/browser/api/cast_channel/keep_alive_delegate.cc:30: // found. On 2017/01/13 22:37:11, Wez wrote: > Sorry, ...
3 years, 11 months ago (2017-01-15 02:17:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2609503002/40001
3 years, 11 months ago (2017-01-15 02:17:41 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-15 03:05:14 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b4dbf044c53ead8422a063e7c27a...

Powered by Google App Engine
This is Rietveld 408576698