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

Issue 2624613003: content: Change how a bad message from a child is logged. (Closed)

Created:
3 years, 11 months ago by sadrul
Modified:
3 years, 11 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Change how a bad message from a child is logged. Instead of always logging the message ID, log a custom error string. This is necessary for when the messages are converted to mojo messages, where the messages do not have a corresponding ID. BUG=643746 Review-Url: https://codereview.chromium.org/2624613003 Cr-Commit-Position: refs/heads/master@{#442790} Committed: https://chromium.googlesource.com/chromium/src/+/73f39a6659c2a0f5f576b83cf1ccdb3ce704e4b7

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -14 lines) Patch
M content/browser/browser_child_process_host_impl.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 4 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
sadrul
Hi! I considered just removing the error log altogether, since we now also log a ...
3 years, 11 months ago (2017-01-10 19:00:13 UTC) #4
sadrul
On 2017/01/10 19:00:13, sadrul wrote: > Hi! I considered just removing the error log altogether, ...
3 years, 11 months ago (2017-01-10 19:35:32 UTC) #5
Charlie Reis
I'm more familiar with the BadMessage::ReceivedBadMessage cases than this one. Do you know why this ...
3 years, 11 months ago (2017-01-10 23:06:44 UTC) #11
Will Harris
this is fine, the log is not parsed by anything I know of, and as ...
3 years, 11 months ago (2017-01-10 23:17:50 UTC) #12
sadrul
Addressed the nits. Sounds like it's useful to have the message. So kept that. https://codereview.chromium.org/2624613003/diff/20001/content/browser/browser_child_process_host_impl.cc ...
3 years, 11 months ago (2017-01-11 02:29:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2624613003/40001
3 years, 11 months ago (2017-01-11 03:35:44 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 04:08:33 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/73f39a6659c2a0f5f576b83cf1cc...

Powered by Google App Engine
This is Rietveld 408576698