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

Issue 419973005: Convert WriteMessage...() to use the new user pointer handling (see r285350). (Closed)

Created:
6 years, 5 months ago by viettrungluu
Modified:
6 years, 5 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Convert WriteMessage...() to use the new user pointer handling (see r285350). Also add a |GetArray()| method to |UserPointer<>|. And fix a bug in my previous change to convert ReadMessage...() (which I'm too lazy to update) in |PutArray()|. (And also "restore"/convert one of the ReadMessage...() tests ... which lead me to finding that bug.) R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285709

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -166 lines) Patch
M mojo/system/core.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M mojo/system/core_test_base.cc View 1 chunk +1 line, -3 lines 0 comments Download
M mojo/system/core_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M mojo/system/dispatcher.h View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/dispatcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/system/dispatcher_unittest.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M mojo/system/memory.h View 2 chunks +17 lines, -8 lines 0 comments Download
M mojo/system/message_in_transit.h View 3 chunks +9 lines, -0 lines 0 comments Download
M mojo/system/message_in_transit.cc View 3 chunks +29 lines, -13 lines 0 comments Download
M mojo/system/message_pipe.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/message_pipe.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M mojo/system/message_pipe_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/message_pipe_dispatcher.cc View 2 chunks +1 line, -3 lines 0 comments Download
M mojo/system/message_pipe_dispatcher_unittest.cc View 6 chunks +58 lines, -26 lines 0 comments Download
M mojo/system/message_pipe_unittest.cc View 11 chunks +24 lines, -39 lines 0 comments Download
M mojo/system/multiprocess_message_pipe_unittest.cc View 7 chunks +16 lines, -31 lines 0 comments Download
M mojo/system/remote_message_pipe_unittest.cc View 10 chunks +20 lines, -20 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
viettrungluu
6 years, 5 months ago (2014-07-25 20:47:56 UTC) #1
darin (slow to review)
LGTM
6 years, 5 months ago (2014-07-25 21:34:32 UTC) #2
viettrungluu
6 years, 5 months ago (2014-07-25 22:22:06 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r285709 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698