Standardize usage of virtual/override/final specifiers.
commit9b1bc207c55650cc94c64391719ed31297e8cbf5
authordcheng <dcheng@chromium.org>
Tue, 28 Oct 2014 00:29:37 +0000 (27 17:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Oct 2014 00:29:58 +0000 (28 00:29 +0000)
treeaa99a99da3f59d392b7826d340416280355b7f1d
parent8340278f00dfeda41c6a36453277aeec1f0048f2
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=derat@chromium.org

Review URL: https://codereview.chromium.org/686553002

Cr-Commit-Position: refs/heads/master@{#301514}
chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc
chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h
chrome/browser/ui/views/ash/tab_scrubber.h
chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc