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

Issue 1091773002: Apply automatic range checks to content enum types across IPC. (Closed)

Created:
5 years, 8 months ago by payal.pandey
Modified:
5 years, 8 months ago
Reviewers:
Daniel Erat, nasko
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

Apply automatic range checks to content enum types across IPC. This is part of a long-running background task to remove the remaining uses of the unchecked IPC_ENUM_TRAITS() macro. BUG=246708 Committed: https://crrev.com/f4d6d9002afa1563ca3f9a8a981edfbd2ab9da6a Cr-Commit-Position: refs/heads/master@{#325867}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Apply automatic range checks to content enum types across IPC. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M content/common/view_messages.h View 3 chunks +6 lines, -4 lines 0 comments Download
M content/public/common/window_container_type.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/font_render_params.h View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
payal.pandey
Please have a look and review the changes
5 years, 8 months ago (2015-04-16 13:46:55 UTC) #2
nasko
Just one fix needed and it will be good to go. https://codereview.chromium.org/1091773002/diff/1/content/common/view_messages.h File content/common/view_messages.h (right): ...
5 years, 8 months ago (2015-04-16 16:50:08 UTC) #3
Vitaly Buka (NO REVIEWS)
I don't own these components
5 years, 8 months ago (2015-04-16 19:13:44 UTC) #4
payal.pandey
Incorporated the review comments.. Please have a look..
5 years, 8 months ago (2015-04-17 05:20:02 UTC) #6
nasko
LGTM
5 years, 8 months ago (2015-04-17 15:33:29 UTC) #7
payal.pandey
On 2015/04/17 15:33:29, nasko wrote: > LGTM Thanks for lgtm :)
5 years, 8 months ago (2015-04-17 15:47:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091773002/20001
5 years, 8 months ago (2015-04-17 15:48:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091773002/20001
5 years, 8 months ago (2015-04-17 17:14:40 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/57175)
5 years, 8 months ago (2015-04-17 17:25:51 UTC) #15
payal.pandey
Please review for font_render_params.h
5 years, 8 months ago (2015-04-20 05:57:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091773002/20001
5 years, 8 months ago (2015-04-20 08:01:43 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/57357)
5 years, 8 months ago (2015-04-20 08:27:45 UTC) #21
Daniel Erat
the specifics of this change are unclear to me from reading the bug and also ...
5 years, 8 months ago (2015-04-20 13:04:09 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091773002/20001
5 years, 8 months ago (2015-04-20 17:06:15 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-20 17:10:26 UTC) #25
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/f4d6d9002afa1563ca3f9a8a981edfbd2ab9da6a Cr-Commit-Position: refs/heads/master@{#325867}
5 years, 8 months ago (2015-04-20 17:11:15 UTC) #26
nasko
On 2015/04/20 17:11:15, I haz the power (commit-bot) wrote: > Patchset 2 (id:??) landed as ...
5 years, 8 months ago (2015-04-20 20:43:15 UTC) #27
payal.pandey
5 years, 8 months ago (2015-04-21 05:32:29 UTC) #28
Message was sent while issue was closed.
On 2015/04/20 20:43:15, nasko (very slow until 04-27) wrote:
> On 2015/04/20 17:11:15, I haz the power (commit-bot) wrote:
> > Patchset 2 (id:??) landed as
> > https://crrev.com/f4d6d9002afa1563ca3f9a8a981edfbd2ab9da6a
> > Cr-Commit-Position: refs/heads/master@{#325867}
> 
> derat@ - It isn't a consistent usage and you have a good point that we should
> try to enforce more consistency. I'm an IPC reviewer and I'm ok with the
change,
> so I've LGTMd it.
> 
> payal.pandey - Daniel didn't explicitly say "LGTM", even though it was in his
> post. Your submission of this patch to the CQ wasn't following proper process.
> Since it is mostly mechanical change, I'm going to leave it in. In the future,
> please follow the process or such commits will be reverted.

Sorry for some misinterpretation, by mistakenly checked for the committing this
CL.
Otherwise I would have follow the process.

Thanks for accepting this CL.

Powered by Google App Engine
This is Rietveld 408576698