|
Standardize usage of virtual/override/final in chrome/browser/printing/
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=vitalybuka@chromium.org
Committed: https://crrev.com/df7e44a77c954eacf31c9388b0b1edb86811c963
Cr-Commit-Position: refs/heads/master@{#300570}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+125 lines, -152 lines) |
Patch |
 |
M |
chrome/browser/printing/background_printing_manager.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/background_printing_manager.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
View
|
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_dialog_cloud.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_dialog_cloud_internal.h
|
View
|
|
2 chunks |
+17 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job.h
|
View
|
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job_manager.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job_unittest.cc
|
View
|
|
4 chunks |
+11 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_job_worker.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_context_menu_observer.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_dialog_controller.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_dialog_controller.cc
|
View
|
|
1 chunk |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_dialog_controller_browsertest.cc
|
View
|
|
7 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_message_handler.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_pdf_generated_browsertest.cc
|
View
|
|
5 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_test.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_preview_test.cc
|
View
|
|
2 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_view_manager.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/print_view_manager_base.h
|
View
|
|
3 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/printer_query.h
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/printing_message_filter.h
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
Total messages: 10 (3 generated)
|