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

Unified Diff: components/ownership/mock_owner_key_util.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « components/omnibox/test_scheme_classifier.h ('k') | components/ownership/owner_key_util_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ownership/mock_owner_key_util.h
diff --git a/components/ownership/mock_owner_key_util.h b/components/ownership/mock_owner_key_util.h
index 79e071b6b3f71275e0ccc19444f5967690c4f4a5..7c4f9cdcf58ed6b5f587d17047b8041a66eefd22 100644
--- a/components/ownership/mock_owner_key_util.h
+++ b/components/ownership/mock_owner_key_util.h
@@ -23,13 +23,13 @@ class OWNERSHIP_EXPORT MockOwnerKeyUtil : public OwnerKeyUtil {
MockOwnerKeyUtil();
// OwnerKeyUtil implementation:
- virtual bool ImportPublicKey(std::vector<uint8>* output) override;
+ bool ImportPublicKey(std::vector<uint8>* output) override;
#if defined(USE_NSS)
virtual crypto::RSAPrivateKey* FindPrivateKeyInSlot(
const std::vector<uint8>& key,
PK11SlotInfo* slot) override;
#endif // defined(USE_NSS)
- virtual bool IsPublicKeyPresent() override;
+ bool IsPublicKeyPresent() override;
// Clears the public and private keys.
void Clear();
@@ -45,7 +45,7 @@ class OWNERSHIP_EXPORT MockOwnerKeyUtil : public OwnerKeyUtil {
void SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key);
private:
- virtual ~MockOwnerKeyUtil();
+ ~MockOwnerKeyUtil() override;
std::vector<uint8> public_key_;
scoped_ptr<crypto::RSAPrivateKey> private_key_;
« no previous file with comments | « components/omnibox/test_scheme_classifier.h ('k') | components/ownership/owner_key_util_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698