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

Unified Diff: chrome/browser/shell_integration_linux_unittest.cc

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad indent 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
Index: chrome/browser/shell_integration_linux_unittest.cc
diff --git a/chrome/browser/shell_integration_linux_unittest.cc b/chrome/browser/shell_integration_linux_unittest.cc
index c2471f283e66b89084402c7ceae84a54557e4f6e..ae62300d504a704311d0933e392e775fd0c4ff98 100644
--- a/chrome/browser/shell_integration_linux_unittest.cc
+++ b/chrome/browser/shell_integration_linux_unittest.cc
@@ -43,7 +43,7 @@ class MockEnvironment : public base::Environment {
variables_[name] = value;
}
- virtual bool GetVar(const char* variable_name, std::string* result) override {
+ bool GetVar(const char* variable_name, std::string* result) override {
if (ContainsKey(variables_, variable_name)) {
*result = variables_[variable_name];
return true;
@@ -52,13 +52,13 @@ class MockEnvironment : public base::Environment {
return false;
}
- virtual bool SetVar(const char* variable_name,
- const std::string& new_value) override {
+ bool SetVar(const char* variable_name,
+ const std::string& new_value) override {
ADD_FAILURE();
return false;
}
- virtual bool UnSetVar(const char* variable_name) override {
+ bool UnSetVar(const char* variable_name) override {
ADD_FAILURE();
return false;
}
« no previous file with comments | « chrome/browser/sessions/session_service_unittest.cc ('k') | chrome/browser/signin/account_reconcilor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698