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

Issue 975903002: Add a flag to dump IPC messages sent from the renderer to the browser. (Closed)

Created:
5 years, 9 months ago by Martin Barbella
Modified:
5 years, 9 months ago
Reviewers:
Tom Sepez, jam, inferno
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a flag to dump IPC messages sent from the renderer to the browser. BUG=450268 Committed: https://crrev.com/e97877bc4f3132e644c4ce88554daafcfb5a284d Cr-Commit-Position: refs/heads/master@{#319514}

Patch Set 1 #

Patch Set 2 : Hacky compile fix #

Patch Set 3 : Windows fix attempt 2 #

Patch Set 4 : Various cleanup #

Patch Set 5 : Minor cleanup #

Patch Set 6 : Cleanup in external_ipc_dumper.cc #

Total comments: 11

Patch Set 7 : Fix nits #

Patch Set 8 : Fix nit fixes #

Patch Set 9 : Undo a change from clang-format #

Patch Set 10 : Consistency with ifdef/if defined #

Patch Set 11 : Delete a leftover comment #

Total comments: 7

Patch Set 12 : Fix comments #

Total comments: 2

Patch Set 13 : Improve error handling in external_ipc_dumper.cc #

Patch Set 14 : Remove BUILD.gn changes, since the IPC fuzzer doesn't work with gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -12 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 12 13 1 chunk +2 lines, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 12 13 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/common/external_ipc_dumper.h View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/common/external_ipc_dumper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 12 13 2 chunks +14 lines, -0 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 2 3 4 5 6 4 chunks +25 lines, -0 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -1 line 0 comments Download
A + tools/ipc_fuzzer/dump/dump.gyp View 1 chunk +11 lines, -10 lines 0 comments Download
A tools/ipc_fuzzer/dump/message_dump.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +64 lines, -0 lines 0 comments Download
M tools/ipc_fuzzer/ipc_fuzzer.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Martin Barbella
WIP. Not yet ready for review.
5 years, 9 months ago (2015-03-03 21:11:25 UTC) #1
inferno
first round of comments, will review again. https://codereview.chromium.org/975903002/diff/100001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/975903002/diff/100001/chrome/renderer/chrome_content_renderer_client.cc#newcode472 chrome/renderer/chrome_content_renderer_client.cc:472: LoadExternalIPCDumper(dump_directory)); put ...
5 years, 9 months ago (2015-03-05 18:46:48 UTC) #3
inferno
https://codereview.chromium.org/975903002/diff/200001/chrome/common/external_ipc_dumper.cc File chrome/common/external_ipc_dumper.cc (right): https://codereview.chromium.org/975903002/diff/200001/chrome/common/external_ipc_dumper.cc#newcode13 chrome/common/external_ipc_dumper.cc:13: const char kSetDumpDirectoryEntryName[] = "SetDumpDirectory"; newline before this line. ...
5 years, 9 months ago (2015-03-05 22:11:59 UTC) #4
inferno
lgtm with nit. https://codereview.chromium.org/975903002/diff/220001/chrome/common/external_ipc_dumper.cc File chrome/common/external_ipc_dumper.cc (right): https://codereview.chromium.org/975903002/diff/220001/chrome/common/external_ipc_dumper.cc#newcode50 chrome/common/external_ipc_dumper.cc:50: LOG(ERROR) << kSetDumpDirectoryEntryName else needs { ...
5 years, 9 months ago (2015-03-05 22:54:52 UTC) #5
Martin Barbella
jam@, could you please take a look at this or suggest another reviewer? This is ...
5 years, 9 months ago (2015-03-06 17:42:31 UTC) #7
jam
rubberstamp lgtm, deferring to inferno's review
5 years, 9 months ago (2015-03-06 19:18:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975903002/230001
5 years, 9 months ago (2015-03-06 19:21:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975903002/250001
5 years, 9 months ago (2015-03-06 19:50:58 UTC) #15
commit-bot: I haz the power
Committed patchset #14 (id:250001)
5 years, 9 months ago (2015-03-06 21:51:31 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-06 21:52:05 UTC) #17
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/e97877bc4f3132e644c4ce88554daafcfb5a284d
Cr-Commit-Position: refs/heads/master@{#319514}

Powered by Google App Engine
This is Rietveld 408576698