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

Issue 645623006: Standardize usage of virtual/override/final in ipc/ (Closed)

Created:
6 years, 2 months ago by dcheng
Modified:
6 years, 2 months ago
Reviewers:
agl
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, mkwst+moarreviews-ipc_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Standardize usage of virtual/override/final in ipc/ This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=agl@chromium.org Committed: https://crrev.com/39be52ebbd6681c7d79ad63e2a0ab028075af0c2 Cr-Commit-Position: refs/heads/master@{#300481}

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -275 lines) Patch
M ipc/ipc_channel.h View 1 chunk +1 line, -2 lines 0 comments Download
M ipc/ipc_channel_factory.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M ipc/ipc_channel_posix.h View 3 chunks +14 lines, -16 lines 0 comments Download
M ipc/ipc_channel_posix_unittest.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 3 chunks +6 lines, -6 lines 0 comments Download
M ipc/ipc_channel_proxy_unittest.cc View 8 chunks +13 lines, -13 lines 0 comments Download
M ipc/ipc_channel_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M ipc/ipc_forwarding_message_filter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ipc/ipc_fuzzing_tests.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_message.h View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_message_macros.h View 1 chunk +48 lines, -51 lines 2 comments Download
M ipc/ipc_perftest_support.cc View 4 chunks +4 lines, -6 lines 2 comments Download
M ipc/ipc_send_fds_test.cc View 3 chunks +4 lines, -8 lines 2 comments Download
M ipc/ipc_sync_channel.h View 2 chunks +8 lines, -8 lines 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 45 chunks +50 lines, -54 lines 0 comments Download
M ipc/ipc_sync_message.h View 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_sync_message_filter.h View 1 chunk +6 lines, -6 lines 0 comments Download
M ipc/ipc_test_channel_listener.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ipc/ipc_test_sink.h View 1 chunk +8 lines, -8 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo.h View 2 chunks +10 lines, -11 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo_host.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo_readers.h View 4 chunks +9 lines, -9 lines 0 comments Download
M ipc/mojo/ipc_channel_mojo_unittest.cc View 11 chunks +16 lines, -22 lines 0 comments Download
M ipc/mojo/ipc_mojo_bootstrap.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ipc/mojo/ipc_mojo_bootstrap.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M ipc/mojo/ipc_mojo_bootstrap_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M ipc/mojo/ipc_mojo_perftest.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M ipc/sync_socket_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/unix_domain_socket_util_unittest.cc View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
dcheng
6 years, 2 months ago (2014-10-21 10:48:43 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/645623006/1
6 years, 2 months ago (2014-10-21 10:53:03 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 2 months ago (2014-10-21 13:52:56 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/39be52ebbd6681c7d79ad63e2a0ab028075af0c2 Cr-Commit-Position: refs/heads/master@{#300481}
6 years, 2 months ago (2014-10-21 13:53:48 UTC) #5
agl
NOT LGTM. This change should not have been TBRed. Please revert cleanly and then submit ...
6 years, 2 months ago (2014-10-21 17:49:50 UTC) #6
dcheng
I'll revert this patch per your comments, but: 1) This was a mechanically generated patch. ...
6 years, 2 months ago (2014-10-21 17:57:45 UTC) #7
dcheng
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/669953003/ by dcheng@chromium.org. ...
6 years, 2 months ago (2014-10-21 17:58:17 UTC) #8
agl
> 2) I'm not sure how to address your clang-format comments. If I manually adjust ...
6 years, 2 months ago (2014-10-22 00:35:55 UTC) #9
dcheng
6 years, 2 months ago (2014-10-22 00:38:47 UTC) #10
Message was sent while issue was closed.
On 2014/10/22 at 00:35:55, agl wrote:
> > 2) I'm not sure how to address your clang-format comments. If I manually
adjust
> > it, it's going to keep being a problem in future refactoring patches. In
> > general, it's just not feasible for changes of this size, if the conversion
is
> > going to be done in a reasonable amount of time.
> 
> Sounds like clang-format needs to be fixed, at least for the
single-line-function case, if it's to be used in this fashion.

It's already been fixed once: it used to collapse short out-of-line definitions
to a single line. Now it only does that for inline definitions. There seem to be
mixed opinions on the latter point still (for example, I know rsesek objects to
this as well). I'd bring it up to chromium-dev, but I think there's a reasonable
chance that no resolution will be reached.

Powered by Google App Engine
This is Rietveld 408576698