summaryrefslogtreecommitdiffstats
path: root/extensions/common/manifest_handlers
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-27 14:43:14 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-27 21:43:44 +0000
commitf9afb370f94e325015aa8633135474f87aa5eb76 (patch)
tree4688f718dc5af753297b11f3e765c08e248a3098 /extensions/common/manifest_handlers
parent1d5884e1c15b36604a9c9f9376d18cb91f345f47 (diff)
downloadchromium_src-f9afb370f94e325015aa8633135474f87aa5eb76.zip
chromium_src-f9afb370f94e325015aa8633135474f87aa5eb76.tar.gz
chromium_src-f9afb370f94e325015aa8633135474f87aa5eb76.tar.bz2
Standardize usage of virtual/override/final specifiers.
The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. BUG=417463 R=jyasskin@chromium.org Review URL: https://codereview.chromium.org/685503002 Cr-Commit-Position: refs/heads/master@{#301450}
Diffstat (limited to 'extensions/common/manifest_handlers')
-rw-r--r--extensions/common/manifest_handlers/externally_connectable_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/common/manifest_handlers/externally_connectable_unittest.cc b/extensions/common/manifest_handlers/externally_connectable_unittest.cc
index 9dedff3..1096fa6 100644
--- a/extensions/common/manifest_handlers/externally_connectable_unittest.cc
+++ b/extensions/common/manifest_handlers/externally_connectable_unittest.cc
@@ -21,7 +21,7 @@ namespace errors = externally_connectable_errors;
class ExternallyConnectableTest : public ManifestTest {
public:
ExternallyConnectableTest() {}
- virtual ~ExternallyConnectableTest() {}
+ ~ExternallyConnectableTest() override {}
protected:
ExternallyConnectableInfo* GetExternallyConnectableInfo(