diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 02:24:12 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 02:24:12 +0000 |
commit | 4209190e35b11413ede67daf3401ca248ec29291 (patch) | |
tree | dc5997197f0808ef86ea7a2acf63984a450a9bc4 /chrome/common | |
parent | 40592fcdedb0486f3b4cbdd36b251d80e6be40a2 (diff) | |
download | chromium_src-4209190e35b11413ede67daf3401ca248ec29291.zip chromium_src-4209190e35b11413ede67daf3401ca248ec29291.tar.gz chromium_src-4209190e35b11413ede67daf3401ca248ec29291.tar.bz2 |
Warn on missing OVERRIDE/virtual everywhere, not just in header files.
This is only enabled for Linux (so far).
BUG=115047
Review URL: https://chromiumcodereview.appspot.com/14696007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197788 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/features/base_feature_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/features/base_feature_provider.cc b/chrome/common/extensions/features/base_feature_provider.cc index 506e1b6..285426d 100644 --- a/chrome/common/extensions/features/base_feature_provider.cc +++ b/chrome/common/extensions/features/base_feature_provider.cc @@ -32,11 +32,11 @@ class LazyFeatureProvider : public FeatureProvider { resource_id_(resource_id) { } - virtual Feature* GetFeature(const std::string& name) { + virtual Feature* GetFeature(const std::string& name) OVERRIDE { return GetBaseFeatureProvider()->GetFeature(name); } - virtual std::set<std::string> GetAllFeatureNames() { + virtual std::set<std::string> GetAllFeatureNames() OVERRIDE { return GetBaseFeatureProvider()->GetAllFeatureNames(); } |