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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResultPromise.h

Issue 2407013002: EME: Improve promise lifetime (Closed)
Patch Set: more checks Created 4 years, 2 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/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResultPromise.h
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResultPromise.h b/third_party/WebKit/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResultPromise.h
deleted file mode 100644
index e078cf393676826fa44bfa2a199e76cb0e2e3d68..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/encryptedmedia/SimpleContentDecryptionModuleResultPromise.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SimpleContentDecryptionModuleResultPromise_h
-#define SimpleContentDecryptionModuleResultPromise_h
-
-#include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h"
-
-namespace blink {
-
-// This class creates a simple ContentDecryptionModuleResultPromise where the
-// implementation of complete() will resolve the promise with void. All other
-// complete() methods are not expected to be called (and will reject the
-// promise).
-class SimpleContentDecryptionModuleResultPromise
- : public ContentDecryptionModuleResultPromise {
- public:
- explicit SimpleContentDecryptionModuleResultPromise(ScriptState*);
- ~SimpleContentDecryptionModuleResultPromise() override;
-
- // ContentDecryptionModuleResultPromise implementation.
- void complete() override;
-};
-
-} // namespace blink
-
-#endif // SimpleContentDecryptionModuleResultPromise_h

Powered by Google App Engine
This is Rietveld 408576698