|
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
|
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
|
Total messages: 3 (0 generated)
|