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

Unified Diff: Source/modules/crypto/CryptoResultImpl.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/crypto/Crypto.h ('k') | Source/modules/crypto/DOMWindowCrypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/CryptoResultImpl.h
diff --git a/Source/modules/crypto/CryptoResultImpl.h b/Source/modules/crypto/CryptoResultImpl.h
index dc1d5037dcfabbf1519eb48f37bd3c1d2f8c28cb..a8103a79d68eaf48dbfe32da202b90fb9d5b338b 100644
--- a/Source/modules/crypto/CryptoResultImpl.h
+++ b/Source/modules/crypto/CryptoResultImpl.h
@@ -53,19 +53,19 @@ ExceptionCode webCryptoErrorToExceptionCode(WebCryptoErrorType);
// * ref(), deref(), cancelled() and cancel() can be called from any thread.
// * One of the completeWith***() functions must be called, or the
// m_resolver will be leaked until the ExecutionContext is destroyed.
-class CryptoResultImpl FINAL : public CryptoResult {
+class CryptoResultImpl final : public CryptoResult {
public:
~CryptoResultImpl();
static PassRefPtr<CryptoResultImpl> create(ScriptState*);
- virtual void completeWithError(WebCryptoErrorType, const WebString&) OVERRIDE;
- virtual void completeWithBuffer(const WebArrayBuffer&) OVERRIDE;
- virtual void completeWithJson(const char* utf8Data, unsigned length) OVERRIDE;
- virtual void completeWithBoolean(bool) OVERRIDE;
- virtual void completeWithKey(const WebCryptoKey&) OVERRIDE;
- virtual void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) OVERRIDE;
- virtual bool cancelled() const OVERRIDE;
+ virtual void completeWithError(WebCryptoErrorType, const WebString&) override;
+ virtual void completeWithBuffer(const WebArrayBuffer&) override;
+ virtual void completeWithJson(const char* utf8Data, unsigned length) override;
+ virtual void completeWithBoolean(bool) override;
+ virtual void completeWithKey(const WebCryptoKey&) override;
+ virtual void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) override;
+ virtual bool cancelled() const override;
// If called after completion (including cancellation) will return an empty
// ScriptPromise.
« no previous file with comments | « Source/modules/crypto/Crypto.h ('k') | Source/modules/crypto/DOMWindowCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698