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

Unified Diff: Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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: Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
diff --git a/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h b/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
index fa72f189038400d174573903d0728857d8d7b260..77d35fde91f685fb52302eeff64541b2649bd5cf 100644
--- a/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
+++ b/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.h
@@ -20,13 +20,13 @@ ExceptionCode WebCdmExceptionToExceptionCode(WebContentDecryptionModuleException
// method overridden to resolve the promise as needed.
class ContentDecryptionModuleResultPromise : public ContentDecryptionModuleResult {
public:
- virtual ~ContentDecryptionModuleResultPromise();
+ ~ContentDecryptionModuleResultPromise() override;
// ContentDecryptionModuleResult implementation.
- virtual void complete() override;
- virtual void completeWithContentDecryptionModule(WebContentDecryptionModule*) override;
- virtual void completeWithSession(WebContentDecryptionModuleResult::SessionStatus) override;
- virtual void completeWithError(WebContentDecryptionModuleException, unsigned long systemCode, const WebString&) final;
+ void complete() override;
+ void completeWithContentDecryptionModule(WebContentDecryptionModule*) override;
+ void completeWithSession(WebContentDecryptionModuleResult::SessionStatus) override;
+ void completeWithError(WebContentDecryptionModuleException, unsigned long systemCode, const WebString&) final;
// It is only valid to call this before completion.
ScriptPromise promise();

Powered by Google App Engine
This is Rietveld 408576698