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

Unified Diff: base/environment.cc

Issue 10004001: Add virtual and OVERRIDE to base/ implementation files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win Fix -> Missing header Created 8 years, 8 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 | « base/debug/trace_event_unittest.cc ('k') | base/file_descriptor_shuffle_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/environment.cc
diff --git a/base/environment.cc b/base/environment.cc
index 0bfc68e657b4888f0ddc7b059494973971b92822..34a236fd63a705a1951105f7901e24d51edc9e65 100644
--- a/base/environment.cc
+++ b/base/environment.cc
@@ -21,7 +21,8 @@ namespace {
class EnvironmentImpl : public base::Environment {
public:
- virtual bool GetVar(const char* variable_name, std::string* result) {
+ virtual bool GetVar(const char* variable_name,
+ std::string* result) OVERRIDE {
if (GetVarImpl(variable_name, result))
return true;
@@ -40,11 +41,12 @@ class EnvironmentImpl : public base::Environment {
return GetVarImpl(alternate_case_var.c_str(), result);
}
- virtual bool SetVar(const char* variable_name, const std::string& new_value) {
+ virtual bool SetVar(const char* variable_name,
+ const std::string& new_value) OVERRIDE {
return SetVarImpl(variable_name, new_value);
}
- virtual bool UnSetVar(const char* variable_name) {
+ virtual bool UnSetVar(const char* variable_name) OVERRIDE {
return UnSetVarImpl(variable_name);
}
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | base/file_descriptor_shuffle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698