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

Unified Diff: chrome/browser/chromeos/net/onc_utils.cc

Issue 826743003: Update {virtual,override,final} to follow C++11 style chrome/browser/chromeos/net. (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 | « chrome/browser/chromeos/net/network_portal_web_dialog.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/net/onc_utils.cc
diff --git a/chrome/browser/chromeos/net/onc_utils.cc b/chrome/browser/chromeos/net/onc_utils.cc
index be23fbf5735660cdc068fd6fe8dcbbccb86638d5..3c067f456f7bf80e207622400edb6885120257ae 100644
--- a/chrome/browser/chromeos/net/onc_utils.cc
+++ b/chrome/browser/chromeos/net/onc_utils.cc
@@ -154,10 +154,10 @@ class UserStringSubstitution : public chromeos::onc::StringSubstitution {
public:
explicit UserStringSubstitution(const user_manager::User* user)
: user_(user) {}
- virtual ~UserStringSubstitution() {}
+ ~UserStringSubstitution() override {}
- virtual bool GetSubstitute(const std::string& placeholder,
- std::string* substitute) const override {
+ bool GetSubstitute(const std::string& placeholder,
+ std::string* substitute) const override {
if (placeholder == ::onc::substitutes::kLoginIDField)
*substitute = user_->GetAccountName(false);
else if (placeholder == ::onc::substitutes::kEmailField)
« no previous file with comments | « chrome/browser/chromeos/net/network_portal_web_dialog.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698