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

Unified Diff: content/renderer/pepper/content_decryptor_delegate.h

Issue 116443009: Handle plugin instance crash in ContentDecryptorDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698