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

Issue 116443009: Handle plugin instance crash in ContentDecryptorDelegate. (Closed)

Created:
6 years, 12 months ago by xhwang
Modified:
6 years, 11 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Handle plugin instance crash in ContentDecryptorDelegate. BUG=chrome-os-partner:17801 TEST=Kill Widevine CDM process and we get decode error. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243762

Patch Set 1 #

Total comments: 6

Patch Set 2 : rabase & is_instance_crashed_ -> is_valid_ #

Total comments: 2

Patch Set 3 : comments addressed #

Patch Set 4 : comments addressed #

Total comments: 14

Patch Set 5 : rebase only #

Patch Set 6 : comments addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -44 lines) Patch
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/media/media_browsertest.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 1 comment Download
M chrome/renderer/media/chrome_key_systems.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.h View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.cc View 1 2 3 4 5 15 chunks +47 lines, -21 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.h View 1 2 3 4 5 4 chunks +20 lines, -9 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 2 3 4 5 3 chunks +45 lines, -12 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
xhwang
PTAL https://codereview.chromium.org/116443009/diff/1/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/116443009/diff/1/content/renderer/pepper/content_decryptor_delegate.cc#newcode330 content/renderer/pepper/content_decryptor_delegate.cc:330: } We have too many duplicate code about ...
6 years, 12 months ago (2013-12-28 01:00:27 UTC) #1
ddorwin
https://codereview.chromium.org/116443009/diff/1/content/renderer/media/crypto/proxy_decryptor.cc File content/renderer/media/crypto/proxy_decryptor.cc (right): https://codereview.chromium.org/116443009/diff/1/content/renderer/media/crypto/proxy_decryptor.cc#newcode122 content/renderer/media/crypto/proxy_decryptor.cc:122: return false; Was the removed line just left over ...
6 years, 11 months ago (2014-01-07 19:28:47 UTC) #2
xhwang
comments only https://codereview.chromium.org/116443009/diff/1/content/renderer/pepper/content_decryptor_delegate.h File content/renderer/pepper/content_decryptor_delegate.h (right): https://codereview.chromium.org/116443009/diff/1/content/renderer/pepper/content_decryptor_delegate.h#newcode190 content/renderer/pepper/content_decryptor_delegate.h:190: bool is_instance_crashed_; On 2014/01/07 19:28:48, ddorwin wrote: ...
6 years, 11 months ago (2014-01-07 20:48:33 UTC) #3
ddorwin
https://codereview.chromium.org/116443009/diff/1/content/renderer/pepper/content_decryptor_delegate.h File content/renderer/pepper/content_decryptor_delegate.h (right): https://codereview.chromium.org/116443009/diff/1/content/renderer/pepper/content_decryptor_delegate.h#newcode190 content/renderer/pepper/content_decryptor_delegate.h:190: bool is_instance_crashed_; On 2014/01/07 20:48:34, xhwang wrote: > On ...
6 years, 11 months ago (2014-01-07 23:59:01 UTC) #4
xhwang
PTAL again
6 years, 11 months ago (2014-01-08 17:49:26 UTC) #5
ddorwin
lgtm
6 years, 11 months ago (2014-01-08 18:05:46 UTC) #6
xhwang
dmichael@: Please do an OWNERS review!
6 years, 11 months ago (2014-01-08 18:25:18 UTC) #7
dmichael (off chromium)
On 2014/01/07 19:28:47, ddorwin wrote: > https://codereview.chromium.org/116443009/diff/1/content/renderer/media/crypto/proxy_decryptor.cc > File content/renderer/media/crypto/proxy_decryptor.cc (right): > > https://codereview.chromium.org/116443009/diff/1/content/renderer/media/crypto/proxy_decryptor.cc#newcode122 > ...
6 years, 11 months ago (2014-01-08 20:15:39 UTC) #8
dmichael (off chromium)
https://codereview.chromium.org/116443009/diff/100001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/116443009/diff/100001/content/renderer/pepper/content_decryptor_delegate.cc#newcode1065 content/renderer/pepper/content_decryptor_delegate.cc:1065: void ContentDecryptorDelegate::CancelAllPendingCallbacks() { The meaning here is a little ...
6 years, 11 months ago (2014-01-08 20:15:59 UTC) #9
xhwang
comments addressed
6 years, 11 months ago (2014-01-08 21:18:51 UTC) #10
xhwang
comments addressed
6 years, 11 months ago (2014-01-08 23:12:50 UTC) #11
xhwang
dmichael: I think I addressed your comments. PTAL! ddorwin: Now we notify the plugin error ...
6 years, 11 months ago (2014-01-08 23:19:13 UTC) #12
dmichael (off chromium)
Thanks for doing that! pepper lgtm
6 years, 11 months ago (2014-01-08 23:30:47 UTC) #13
ddorwin
lgtm with comments https://codereview.chromium.org/116443009/diff/290001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/116443009/diff/290001/chrome/browser/media/encrypted_media_browsertest.cc#newcode412 chrome/browser/media/encrypted_media_browsertest.cc:412: kError); General comment for our browsertests: ...
6 years, 11 months ago (2014-01-08 23:40:31 UTC) #14
xhwang
rebase only
6 years, 11 months ago (2014-01-09 01:18:18 UTC) #15
xhwang
comments addressed
6 years, 11 months ago (2014-01-09 01:58:27 UTC) #16
xhwang
https://codereview.chromium.org/116443009/diff/290001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/116443009/diff/290001/chrome/browser/media/encrypted_media_browsertest.cc#newcode412 chrome/browser/media/encrypted_media_browsertest.cc:412: kError); On 2014/01/08 23:40:32, ddorwin wrote: > General comment ...
6 years, 11 months ago (2014-01-09 01:58:49 UTC) #17
ddorwin
lgtm % comment https://codereview.chromium.org/116443009/diff/510001/chrome/browser/media/media_browsertest.h File chrome/browser/media/media_browsertest.h (right): https://codereview.chromium.org/116443009/diff/510001/chrome/browser/media/media_browsertest.h#newcode26 chrome/browser/media/media_browsertest.h:26: // TODO(xhwang): Report detailed errors, e.g. ...
6 years, 11 months ago (2014-01-09 02:04:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/116443009/510001
6 years, 11 months ago (2014-01-09 02:05:22 UTC) #19
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 04:23:32 UTC) #20
Message was sent while issue was closed.
Change committed as 243762

Powered by Google App Engine
This is Rietveld 408576698