diff options
author | nick <nick@chromium.org> | 2015-04-28 10:22:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-28 17:22:53 +0000 |
commit | 79ff566325268a34a0ce078dbda3ea68d21850de (patch) | |
tree | f1d206fd222c18ae5f581a879ea7fbb8c4e51aad /components/test | |
parent | f9f4834d3690715c918eaaea589f18472e95ebd9 (diff) | |
download | chromium_src-79ff566325268a34a0ce078dbda3ea68d21850de.zip chromium_src-79ff566325268a34a0ce078dbda3ea68d21850de.tar.gz chromium_src-79ff566325268a34a0ce078dbda3ea68d21850de.tar.bz2 |
Update {virtual,override} to follow C++11 style in components.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override.
This patch was manually generated using a regex and a text editor.
BUG=417463
Review URL: https://codereview.chromium.org/1056633004
Cr-Commit-Position: refs/heads/master@{#327312}
Diffstat (limited to 'components/test')
-rw-r--r-- | components/test/run_all_unittests.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/test/run_all_unittests.cc b/components/test/run_all_unittests.cc index 6476e59..5cd4102 100644 --- a/components/test/run_all_unittests.cc +++ b/components/test/run_all_unittests.cc @@ -88,13 +88,13 @@ class ComponentsTestSuite : public base::TestSuite { class ComponentsUnitTestEventListener : public testing::EmptyTestEventListener { public: ComponentsUnitTestEventListener() {} - virtual ~ComponentsUnitTestEventListener() {} + ~ComponentsUnitTestEventListener() override {} - virtual void OnTestStart(const testing::TestInfo& test_info) override { + void OnTestStart(const testing::TestInfo& test_info) override { content_initializer_.reset(new content::TestContentClientInitializer()); } - virtual void OnTestEnd(const testing::TestInfo& test_info) override { + void OnTestEnd(const testing::TestInfo& test_info) override { content_initializer_.reset(); } |