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

Issue 35643005: Remove unused IPC::Message priority. (Closed)

Created:
7 years, 2 months ago by bbudge
Modified:
7 years, 1 month ago
CC:
chromium-reviews, rpetterson, rouslan+spellwatch_chromium.org, joi+watch-content_chromium.org, robertshield, groby+spellwatch_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org
Visibility:
Public.

Description

Remove unused IPC::Message priority. Removes the PriorityValue enum and field from IPC::Message. This doesn't appear to be used anywhere. Changes the data message ctor to take a size_t data_len parameter. This works around an ambiguity problem with the main ctor, which has a similar signature and would require lots of futzing with our test code to fix. To make this work, the matching Pickle constructor is also changed to take a size_t data_len parameter. BUG=194304 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231330

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Only remove priority enum and field.x #

Patch Set 4 : Clean up, don't change bit flag values. #

Total comments: 2

Patch Set 5 : Call out unused bits, remove unneeded casts. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -130 lines) Patch
M base/pickle.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/pickle.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/automation/chrome_frame_automation_provider_win_unittest.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_mac_unittest.cc View 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc View 2 1 chunk +1 line, -2 lines 0 comments Download
M cloud_print/service/win/service_listener.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M components/nacl/loader/nacl_ipc_adapter.cc View 2 1 chunk +1 line, -2 lines 0 comments Download
M components/nacl/loader/nacl_ipc_adapter_unittest.cc View 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 2 3 chunks +3 lines, -6 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/common_param_traits_unittest.cc View 2 10 chunks +10 lines, -10 lines 0 comments Download
M ipc/ipc_channel_posix.cc View 2 2 chunks +2 lines, -4 lines 0 comments Download
M ipc/ipc_channel_posix_unittest.cc View 2 3 chunks +6 lines, -9 lines 0 comments Download
M ipc/ipc_channel_unittest.cc View 2 2 chunks +2 lines, -4 lines 0 comments Download
M ipc/ipc_channel_win.cc View 2 1 chunk +1 line, -2 lines 0 comments Download
M ipc/ipc_fuzzing_tests.cc View 1 2 10 chunks +11 lines, -16 lines 0 comments Download
M ipc/ipc_logging.cc View 2 1 chunk +1 line, -2 lines 0 comments Download
M ipc/ipc_message.h View 1 2 3 4 2 chunks +4 lines, -15 lines 0 comments Download
M ipc/ipc_message.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M ipc/ipc_message_macros.h View 1 2 3 4 5 6 chunks +6 lines, -6 lines 0 comments Download
M ipc/ipc_message_unittest.cc View 2 4 chunks +4 lines, -4 lines 0 comments Download
M ipc/ipc_message_utils_unittest.cc View 2 2 chunks +2 lines, -5 lines 0 comments Download
M ipc/ipc_perftests.cc View 2 4 chunks +4 lines, -4 lines 0 comments Download
M ipc/ipc_send_fds_test.cc View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M ipc/ipc_sync_message.h View 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_sync_message.cc View 2 2 chunks +2 lines, -4 lines 0 comments Download
M ppapi/host/resource_message_filter_unittest.cc View 2 3 chunks +5 lines, -7 lines 0 comments Download
M ppapi/proxy/handle_converter.cc View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
bbudge
7 years, 2 months ago (2013-10-23 00:35:33 UTC) #1
bbudge
ben@chromium.org: Please review changes in cloud_print mseaborn@chromium.org: Please review changes in components/nacl
7 years, 2 months ago (2013-10-23 00:36:59 UTC) #2
Mark Seaborn
On 2013/10/23 00:36:59, bbudge1 wrote: > mseaborn@chromium.org: Please review changes in components/nacl LGTM
7 years, 2 months ago (2013-10-23 00:43:52 UTC) #3
jam
lgtm When updating the IPC serialization, you would need to update the checked in binaries ...
7 years, 2 months ago (2013-10-23 00:44:31 UTC) #4
bbudge
On 2013/10/23 00:44:31, jam wrote: > lgtm > > When updating the IPC serialization, you ...
7 years, 2 months ago (2013-10-23 01:13:14 UTC) #5
Ben Goodger (Google)
cloud_print lgtm
7 years, 2 months ago (2013-10-23 06:47:33 UTC) #6
bbudge
John, I reworked this significantly. You may want to re-review, at least ipc/ipc_message.*. The problem ...
7 years, 2 months ago (2013-10-23 22:14:26 UTC) #7
jam
the flags is something that's meant to be used internally by the IPC system, and ...
7 years, 2 months ago (2013-10-24 00:06:58 UTC) #8
bbudge
On 2013/10/24 00:06:58, jam wrote: > the flags is something that's meant to be used ...
7 years, 2 months ago (2013-10-24 00:20:37 UTC) #9
bbudge
On 2013/10/24 00:20:37, bbudge1 wrote: > On 2013/10/24 00:06:58, jam wrote: > > the flags ...
7 years, 2 months ago (2013-10-24 00:22:54 UTC) #10
bbudge
Only removes unused PriorityValue enum and field. I don't think this changes serialization now.
7 years, 2 months ago (2013-10-24 10:40:03 UTC) #11
jam
lgtm i'm not an owner in base btw https://codereview.chromium.org/35643005/diff/860001/base/pickle.cc File base/pickle.cc (right): https://codereview.chromium.org/35643005/diff/860001/base/pickle.cc#newcode178 base/pickle.cc:178: if ...
7 years, 2 months ago (2013-10-25 00:26:23 UTC) #12
bbudge
+darin for base/pickle*
7 years, 1 month ago (2013-10-25 13:40:06 UTC) #13
darin (slow to review)
base/ changes LGTM
7 years, 1 month ago (2013-10-25 19:43:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/35643005/1010001
7 years, 1 month ago (2013-10-28 13:21:19 UTC) #15
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=96350
7 years, 1 month ago (2013-10-28 13:59:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/35643005/1010001
7 years, 1 month ago (2013-10-28 14:02:50 UTC) #17
commit-bot: I haz the power
7 years, 1 month ago (2013-10-28 15:30:08 UTC) #18
Message was sent while issue was closed.
Change committed as 231330

Powered by Google App Engine
This is Rietveld 408576698