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

Issue 3069034: FBTF: Reapplies r55259, the first new IPC definition patch. (Closed)

Created:
10 years, 4 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, John Grabowski, brettw-cc_chromium.org, jam, pam+watch_chromium.org, Paweł Hajdan Jr., kuchhal, darin-cc_chromium.org, stuartmorgan+watch_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

FBTF: Reapplies r55259, the first new IPC definition patch. This moves MessageWithTuple::Read() back into the main ipc_message_utils.h header from the private ipc_messsage_utils_impl.h header. In release mode, this was causing link failures. BUG=51411 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55587

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+863 lines, -226 lines) Patch
M base/tuple.h View 10 chunks +156 lines, -108 lines 0 comments Download
M chrome/browser/importer/firefox_importer_unittest_utils_mac.cc View 1 chunk +6 lines, -1 line 0 comments Download
A chrome/browser/importer/importer_messages.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 7 chunks +9 lines, -1 line 0 comments Download
M chrome/common/common_param_traits.h View 2 chunks +2 lines, -1 line 0 comments Download
A chrome/common/devtools_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/common/gpu_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/common/nacl_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/nacl_messages_internal.h View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/plugin_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/common/render_messages.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 3 chunks +3 lines, -2 lines 0 comments Download
A chrome/common/service_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/common/utility_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/common/worker_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/test/automation/automation_messages.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M ipc/ipc_fuzzing_tests.cc View 1 chunk +1 line, -0 lines 0 comments Download
A ipc/ipc_message_impl_macros.h View 1 chunk +304 lines, -0 lines 0 comments Download
M ipc/ipc_message_macros.h View 6 chunks +196 lines, -85 lines 0 comments Download
M ipc/ipc_message_utils.h View 9 chunks +26 lines, -28 lines 2 comments Download
M ipc/ipc_message_utils.cc View 1 chunk +18 lines, -0 lines 0 comments Download
A ipc/ipc_message_utils_impl.h View 1 chunk +30 lines, -0 lines 0 comments Download
M ipc/sync_socket_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M printing/pdf_ps_metafile_cairo.h View 1 chunk +2 lines, -0 lines 0 comments Download
M printing/pdf_ps_metafile_cairo.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Elliot Glaysher
The patch is the same as before, except that the definition of Read() has been ...
10 years, 4 months ago (2010-08-09 20:30:04 UTC) #1
Matt Perry
LGTM, though I only looked at ipc_message_utils* http://codereview.chromium.org/3069034/diff/1/24 File ipc/ipc_message_utils.h (right): http://codereview.chromium.org/3069034/diff/1/24#newcode1038 ipc/ipc_message_utils.h:1038: static bool ...
10 years, 4 months ago (2010-08-09 20:56:28 UTC) #2
Elliot Glaysher
10 years, 4 months ago (2010-08-09 21:04:03 UTC) #3
http://codereview.chromium.org/3069034/diff/1/24
File ipc/ipc_message_utils.h (right):

http://codereview.chromium.org/3069034/diff/1/24#newcode1038
ipc/ipc_message_utils.h:1038: static bool Read(const Message* msg, Param* p) {
On 2010/08/09 20:56:28, Matt Perry wrote:
> Interesting, it still compiles with the forward declarations when this method
is
> defined here?

Correct. Since it is a reference type (and we don't dereference it), the
compiler doesn't need to know the size of Param, only that the type exists and
that ReadParam<Param>() exists.

Powered by Google App Engine
This is Rietveld 408576698