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

Issue 5526008: Simplify the magic required to create IPC message headers a bit. (Closed)

Created:
10 years ago by jam
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

ipc: Simplify the magic required to create IPC message headers.This gets rid of having to include the files in a magic place because of xcode dependency issues, and just makes it simpler to create new IPC message classes. It also gets rid of including the X_messages_internal.h file multiple times, which simplifies things and should make the build a little faster. In a future change, I will remove the "internal.h" files since they're no longer needed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68664

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 2

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5963 lines, -6748 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 1 chunk +3 lines, -19 lines 0 comments Download
M chrome/app/chrome_dll.rc View 1 2 3 1 chunk +4 lines, -20 lines 0 comments Download
M chrome/browser/automation/automation_provider.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/automation/automation_provider.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/automation/automation_provider_win.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/importer/firefox_importer_unittest_messages_internal.h View 1 2 3 4 5 6 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/importer/firefox_importer_unittest_utils_mac.cc View 1 2 3 1 chunk +2 lines, -10 lines 0 comments Download
M chrome/browser/importer/importer_messages.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/importer/importer_messages.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/importer/importer_messages_internal.h View 1 2 3 1 chunk +46 lines, -49 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/about_ipc_dialog.cc View 1 2 3 4 6 chunks +34 lines, -124 lines 0 comments Download
chrome/common/automation_messages.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M chrome/common/automation_messages.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/automation_messages_internal.h View 1 2 3 4 5 6 7 8 2 chunks +1201 lines, -1224 lines 0 comments Download
M chrome/common/devtools_messages.h View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/devtools_messages.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/devtools_messages_internal.h View 1 2 3 2 chunks +33 lines, -43 lines 0 comments Download
M chrome/common/gpu_messages.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M chrome/common/gpu_messages.cc View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/common/gpu_messages_internal.h View 1 2 3 3 chunks +225 lines, -251 lines 0 comments Download
M chrome/common/logging_chrome.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/nacl_messages.h View 1 2 3 1 chunk +1 line, -6 lines 0 comments Download
M chrome/common/nacl_messages.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/nacl_messages_internal.h View 1 2 3 1 chunk +15 lines, -16 lines 0 comments Download
M chrome/common/plugin_messages.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M chrome/common/plugin_messages.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/common/plugin_messages_internal.h View 1 2 3 1 chunk +370 lines, -382 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/render_messages.cc View 1 2 3 2 chunks +2 lines, -13 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 3 chunks +2485 lines, -2486 lines 0 comments Download
M chrome/common/service_messages.h View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/service_messages.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M chrome/common/service_messages_internal.h View 1 2 3 1 chunk +35 lines, -47 lines 0 comments Download
M chrome/common/utility_messages.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/utility_messages.cc View 1 2 3 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/common/utility_messages_internal.h View 1 2 3 2 chunks +86 lines, -98 lines 0 comments Download
M chrome/common/worker_messages.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/worker_messages.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/common/worker_messages_internal.h View 1 2 3 1 chunk +82 lines, -89 lines 0 comments Download
M chrome/test/automation/tab_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/test/automation/tab_proxy.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/test/interactive_ui/npapi_interactive_test.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -30 lines 0 comments Download
M chrome_frame/cfproxy_support.cc View 1 2 3 4 5 6 20 chunks +38 lines, -38 lines 0 comments Download
M chrome_frame/test/automation_client_mock.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -6 lines 0 comments Download
M ipc/ipc_fuzzing_tests.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ipc/ipc_logging.h View 1 2 3 3 chunks +16 lines, -8 lines 0 comments Download
M ipc/ipc_logging.cc View 1 2 3 5 chunks +13 lines, -13 lines 0 comments Download
M ipc/ipc_message.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_message_impl_macros.h View 1 2 3 4 55 chunks +67 lines, -157 lines 0 comments Download
M ipc/ipc_message_macros.h View 1 2 3 4 2 chunks +579 lines, -878 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 1 chunk +4 lines, -24 lines 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 1 2 3 4 1 chunk +1 line, -8 lines 0 comments Download
M ipc/ipc_sync_message_unittest.h View 1 2 3 1 chunk +72 lines, -73 lines 0 comments Download
M ipc/ipc_sync_message_unittest.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M ipc/sync_socket_unittest.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/proxy/ppapi_messages.cc View 1 2 3 1 chunk +2 lines, -7 lines 0 comments Download
M ppapi/proxy/ppapi_messages_internal.h View 1 2 3 1 chunk +491 lines, -499 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jam
10 years ago (2010-12-07 02:03:00 UTC) #1
jam
actually hold off on this review for now, I think I found a way to ...
10 years ago (2010-12-07 04:34:26 UTC) #2
jam
changing reviewers since Matt/Elliot are the ones most familiar with this. guys, only one of ...
10 years ago (2010-12-08 00:46:09 UTC) #3
jam
http://codereview.chromium.org/5526008/diff/40002/ipc/ipc_message_macros.h File ipc/ipc_message_macros.h (right): http://codereview.chromium.org/5526008/diff/40002/ipc/ipc_message_macros.h#newcode306 ipc/ipc_message_macros.h:306: enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ ...
10 years ago (2010-12-08 01:44:10 UTC) #4
jam
Evan, can you take a look? Thanks.
10 years ago (2010-12-08 18:19:24 UTC) #5
Elliot Glaysher
In general, I like this change. You might want to: http://codereview.chromium.org/5526008/diff/64003/ipc/ipc_message_macros.h File ipc/ipc_message_macros.h (right): http://codereview.chromium.org/5526008/diff/64003/ipc/ipc_message_macros.h#newcode47 ...
10 years ago (2010-12-08 19:26:17 UTC) #6
jam
Thanks for taking a look, I know this is not the nicest change to look ...
10 years ago (2010-12-08 19:36:27 UTC) #7
Elliot Glaysher
10 years ago (2010-12-08 19:39:51 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698