Chromium Code Reviews| Index: content/renderer/pepper/content_decryptor_delegate.h |
| diff --git a/content/renderer/pepper/content_decryptor_delegate.h b/content/renderer/pepper/content_decryptor_delegate.h |
| index 352817dd01170776d79e1f2dfad98b16667b3b09..b5a6cc468efe01367a0f4eb8ecfea8492e16ee3e 100644 |
| --- a/content/renderer/pepper/content_decryptor_delegate.h |
| +++ b/content/renderer/pepper/content_decryptor_delegate.h |
| @@ -48,6 +48,8 @@ class ContentDecryptorDelegate { |
| const media::SessionClosedCB& session_closed_cb, |
| const media::SessionErrorCB& session_error_cb); |
| + void InstanceCrashed(); |
| + |
| // Provides access to PPP_ContentDecryptor_Private. |
| bool CreateSession(uint32 session_id, |
| const std::string& type, |
| @@ -185,6 +187,8 @@ class ContentDecryptorDelegate { |
| base::WeakPtr<ContentDecryptorDelegate> weak_this_; |
| base::WeakPtrFactory<ContentDecryptorDelegate> weak_ptr_factory_; |
| + bool is_instance_crashed_; |
|
xhwang
2013/12/28 01:00:28
I am debating on this. Probably when the plugin is
ddorwin
2014/01/07 19:28:48
You can't simply destroy this object without infor
xhwang
2014/01/07 20:48:34
Thanks for the comments. In summary, notifying Ppa
ddorwin
2014/01/07 23:59:01
Agreed and done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(ContentDecryptorDelegate); |
| }; |