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

Issue 662823002: Fix incorrect IPC_ENUM_TRAITS_MAX_VALUE for NTPLoggingEventType (Closed)

Created:
6 years, 2 months ago by johnme
Modified:
6 years, 2 months ago
Reviewers:
Tom Sepez, Mike West, jam
CC:
chromium-reviews, mkwst+moarreviews-ipc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/split-enum
Project:
chromium
Visibility:
Public.

Description

Fix incorrect IPC_ENUM_TRAITS_MAX_VALUE for NTPLoggingEventType The comment for IPC_ENUM_TRAITS_MAX_VALUE says you should pass the largest possible value, inclusive. But NTP_NUM_EVENT_TYPES is one larger than the largest possible NTPLoggingEventType. Committed: https://crrev.com/c78637e034c8df88abd12e7c11c1b7f12a1d1eb7 Cr-Commit-Position: refs/heads/master@{#300248}

Patch Set 1 #

Patch Set 2 : Rename to NTP_EVENT_TYPE_LAST #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M chrome/common/ntp_logging_events.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/render_messages.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
johnme
In general this seems like an easy mistake to make, as we have very little ...
6 years, 2 months ago (2014-10-17 14:20:18 UTC) #2
Mike West
LGTM. You're right, this is an easy mistake to make. Given the heterogeneous nature of ...
6 years, 2 months ago (2014-10-17 14:26:31 UTC) #4
johnme
> Perhaps it makes sense to add another value to this enum like > NTP_EVENT_TYPE_LAST ...
6 years, 2 months ago (2014-10-17 14:41:56 UTC) #6
jam
lgtm
6 years, 2 months ago (2014-10-17 17:02:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662823002/20001
6 years, 2 months ago (2014-10-17 17:03:32 UTC) #9
Tom Sepez
LGTM. Thanks for this fix.
6 years, 2 months ago (2014-10-17 17:15:40 UTC) #10
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-17 23:04:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662823002/20001
6 years, 2 months ago (2014-10-20 10:50:34 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-20 11:24:52 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-20 11:25:37 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c78637e034c8df88abd12e7c11c1b7f12a1d1eb7
Cr-Commit-Position: refs/heads/master@{#300248}

Powered by Google App Engine
This is Rietveld 408576698