Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Issue 660803004: Standardize usage of virtual/override/final specifiers. (Closed)

Created:
6 years, 1 month ago by dcheng
Modified:
6 years, 1 month ago
Reviewers:
dcaiafa
CC:
dcheng, chromium-apps-reviews_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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=dcaiafa@chromium.org Committed: https://crrev.com/440d8e1caa81d0212bc7be4dab6a3fbd58963a3b Cr-Commit-Position: refs/heads/master@{#301539}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -154 lines) Patch
M remoting/base/auto_thread_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/base/compound_buffer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/base/resources_unittest.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M remoting/client/audio_player_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M remoting/client/client_status_logger_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/audio_capturer_linux.h View 1 chunk +5 lines, -5 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/clipboard_x11.cc View 1 chunk +6 lines, -8 lines 0 comments Download
M remoting/host/config_file_watcher_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/continue_window_linux.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/curtain_mode_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/daemon_process_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/desktop_process_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/desktop_resizer_linux.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M remoting/host/disconnect_window_linux.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M remoting/host/gnubby_auth_handler_posix_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/heartbeat_sender_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/host_change_notification_listener_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/host_extension_session_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/host_status_logger_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/host_status_sender_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M remoting/host/input_injector_linux.cc View 1 chunk +6 lines, -7 lines 0 comments Download
M remoting/host/ipc_desktop_environment_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/linux/audio_pipe_reader.h View 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/linux/audio_pipe_reader_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/linux/x_server_clipboard_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/local_input_monitor_linux.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/local_input_monitor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/native_messaging/native_messaging_reader_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/native_messaging/native_messaging_writer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/pairing_registry_delegate_linux.h View 1 chunk +6 lines, -6 lines 0 comments Download
M remoting/host/pairing_registry_delegate_linux_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M remoting/host/policy_hack/policy_watcher_linux.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/host/policy_hack/policy_watcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/register_support_host_request_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/setup/daemon_controller_delegate_linux.h View 1 chunk +11 lines, -13 lines 0 comments Download
M remoting/host/setup/me2me_native_messaging_host_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/token_validator_factory_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/video_frame_recorder_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/video_scheduler_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/authenticator_test_base.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/protocol/buffered_socket_writer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/channel_multiplexer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/chromium_socket_factory_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/connection_to_client_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/protocol/jingle_session_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M remoting/protocol/message_reader_unittest.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M remoting/protocol/negotiating_authenticator_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/protocol/pairing_registry_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/third_party_authenticator_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/v2_authenticator_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/signaling/log_to_server_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
dcheng
6 years, 1 month ago (2014-10-27 20:12:54 UTC) #1
dcaiafa
lgtm
6 years, 1 month ago (2014-10-28 00:18:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/660803004/1
6 years, 1 month ago (2014-10-28 00:26:35 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-10-28 01:23:26 UTC) #5
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 01:23:58 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/440d8e1caa81d0212bc7be4dab6a3fbd58963a3b
Cr-Commit-Position: refs/heads/master@{#301539}

Powered by Google App Engine
This is Rietveld 408576698