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

Unified Diff: chromeos/cryptohome/homedir_methods.cc

Issue 856563004: Update {virtual,override,final} to follow C++11 style in chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chromeos/cryptohome/async_method_caller.cc ('k') | chromeos/cryptohome/homedir_methods_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cryptohome/homedir_methods.cc
diff --git a/chromeos/cryptohome/homedir_methods.cc b/chromeos/cryptohome/homedir_methods.cc
index 6589030d3c32c44701c7df293c896f89c052cdb1..cbb934cfaff6810ea0da6cf13e0c084bda0a4cc7 100644
--- a/chromeos/cryptohome/homedir_methods.cc
+++ b/chromeos/cryptohome/homedir_methods.cc
@@ -174,11 +174,11 @@ class HomedirMethodsImpl : public HomedirMethods {
public:
HomedirMethodsImpl() : weak_ptr_factory_(this) {}
- virtual ~HomedirMethodsImpl() {}
+ ~HomedirMethodsImpl() override {}
- virtual void GetKeyDataEx(const Identification& id,
- const std::string& label,
- const GetKeyDataCallback& callback) override {
+ void GetKeyDataEx(const Identification& id,
+ const std::string& label,
+ const GetKeyDataCallback& callback) override {
cryptohome::AccountIdentifier id_proto;
cryptohome::AuthorizationRequest kEmptyAuthProto;
cryptohome::GetKeyDataRequest request;
@@ -195,9 +195,9 @@ class HomedirMethodsImpl : public HomedirMethods {
callback));
}
- virtual void CheckKeyEx(const Identification& id,
- const Authorization& auth,
- const Callback& callback) override {
+ void CheckKeyEx(const Identification& id,
+ const Authorization& auth,
+ const Callback& callback) override {
cryptohome::AccountIdentifier id_proto;
cryptohome::AuthorizationRequest auth_proto;
cryptohome::CheckKeyRequest request;
@@ -214,10 +214,10 @@ class HomedirMethodsImpl : public HomedirMethods {
callback));
}
- virtual void MountEx(const Identification& id,
- const Authorization& auth,
- const MountParameters& request,
- const MountCallback& callback) override {
+ void MountEx(const Identification& id,
+ const Authorization& auth,
+ const MountParameters& request,
+ const MountCallback& callback) override {
cryptohome::AccountIdentifier id_proto;
cryptohome::AuthorizationRequest auth_proto;
cryptohome::MountRequest request_proto;
@@ -243,11 +243,11 @@ class HomedirMethodsImpl : public HomedirMethods {
callback));
}
- virtual void AddKeyEx(const Identification& id,
- const Authorization& auth,
- const KeyDefinition& new_key,
- bool clobber_if_exists,
- const Callback& callback) override {
+ void AddKeyEx(const Identification& id,
+ const Authorization& auth,
+ const KeyDefinition& new_key,
+ bool clobber_if_exists,
+ const Callback& callback) override {
cryptohome::AccountIdentifier id_proto;
cryptohome::AuthorizationRequest auth_proto;
cryptohome::AddKeyRequest request;
@@ -266,10 +266,10 @@ class HomedirMethodsImpl : public HomedirMethods {
callback));
}
- virtual void RemoveKeyEx(const Identification& id,
- const Authorization& auth,
- const std::string& label,
- const Callback& callback) override {
+ void RemoveKeyEx(const Identification& id,
+ const Authorization& auth,
+ const std::string& label,
+ const Callback& callback) override {
cryptohome::AccountIdentifier id_proto;
cryptohome::AuthorizationRequest auth_proto;
cryptohome::RemoveKeyRequest request;
@@ -287,11 +287,11 @@ class HomedirMethodsImpl : public HomedirMethods {
callback));
}
- virtual void UpdateKeyEx(const Identification& id,
- const Authorization& auth,
- const KeyDefinition& new_key,
- const std::string& signature,
- const Callback& callback) override {
+ void UpdateKeyEx(const Identification& id,
+ const Authorization& auth,
+ const KeyDefinition& new_key,
+ const std::string& signature,
+ const Callback& callback) override {
cryptohome::AccountIdentifier id_proto;
cryptohome::AuthorizationRequest auth_proto;
cryptohome::UpdateKeyRequest pb_update_key;
« no previous file with comments | « chromeos/cryptohome/async_method_caller.cc ('k') | chromeos/cryptohome/homedir_methods_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698