|
Standardize usage of virtual/override/final in chrome/browser/notifications
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=dewittj@chromium.org
Committed: https://crrev.com/45ccfbadf5bf0a02bfd402e24c24ac1f096f3a46
Cr-Commit-Position: refs/heads/master@{#300617}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+147 lines, -166 lines) |
Patch |
 |
M |
chrome/browser/notifications/desktop_notification_infobar_delegate.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/desktop_notification_service.h
|
View
|
|
2 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/desktop_notification_service_factory.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/extension_welcome_notification.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/extension_welcome_notification.cc
|
View
|
|
4 chunks |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/extension_welcome_notification_factory.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/extension_welcome_notification_unittest.cc
|
View
|
|
4 chunks |
+14 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/fullscreen_notification_blocker.h
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/google_now_notification_stats_collector.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_notification_manager.h
|
View
|
|
1 chunk |
+15 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_notifications_browsertest.cc
|
View
|
|
2 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_settings_controller.h
|
View
|
|
2 chunks |
+18 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/message_center_stats_collector.h
|
View
|
|
2 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_browsertest.cc
|
View
|
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_delegate.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_object_proxy.h
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_system_observer.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_test_util.h
|
View
|
|
2 chunks |
+17 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/screen_lock_notification_blocker.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/chrome_notifier_service.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/sync_notifier/chrome_notifier_service_factory.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7 (1 generated)
|