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

Unified Diff: third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h

Issue 1729063003: media: Reject pending CDM promise during destruction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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: third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h
diff --git a/third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h b/third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h
index 9d16de997517112ef96501044288607c8f9e779e..6c5e111583a7ecb1eabea681c424c7c4766d4b3b 100644
--- a/third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h
+++ b/third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h
@@ -45,6 +45,9 @@ public:
return *this;
}
+ // Returns whether the operation has been completed (success or fail).
+ BLINK_PLATFORM_EXPORT bool isCompleted();
+
// Called when the CDM completes an operation and has no additional data to
// pass back.
BLINK_PLATFORM_EXPORT void complete();

Powered by Google App Engine
This is Rietveld 408576698