diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-06 03:53:02 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-06 03:53:02 +0000 |
commit | 441061813c0a5c13392fa1ceff763639cccf3233 (patch) | |
tree | 7e4b83ec66c53ac08f22725ec1b2ca6d632213f6 /base/environment.cc | |
parent | f493d9f1ce7f520fbbe4fbe4bce282242941783c (diff) | |
download | chromium_src-441061813c0a5c13392fa1ceff763639cccf3233.zip chromium_src-441061813c0a5c13392fa1ceff763639cccf3233.tar.gz chromium_src-441061813c0a5c13392fa1ceff763639cccf3233.tar.bz2 |
Add virtual and OVERRIDE to base/ implementation files
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/10004001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/environment.cc')
-rw-r--r-- | base/environment.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/base/environment.cc b/base/environment.cc index 0bfc68e..8c61591 100644 --- a/base/environment.cc +++ b/base/environment.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -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); } |