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

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: comments addressed 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
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebContentDecryptionModuleResult.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..52ba45424e3d5d2098f0568e2ae309469581b867 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 failure).
+ BLINK_PLATFORM_EXPORT bool isCompleted();
pfeldman 2016/03/01 18:34:31 It seems counter-intuitive that you query for comp
xhwang 2016/03/01 18:51:06 This is exactly what this CL is doing. isComplete
+
// Called when the CDM completes an operation and has no additional data to
// pass back.
BLINK_PLATFORM_EXPORT void complete();
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebContentDecryptionModuleResult.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698