|
Stub in more IPC attachment brokering functionality.
This CL fills in most of the logic for sending a Windows HANDLE from a
non-broker process to the broker process. This consists of several small
changes:
- Create the new IPC messages AttachmentBrokerMsg_WinHandleHasBeenBrokered and
AttachmentBrokerMsg_RequestBrokerageOfWinHandle.
- Add a sender_ member variable to AttachmentBrokerWin.
- Define the wire format for HandleAttachmentWin.
- Add logic to ChannelWin to send
AttachmentBrokerMsg_RequestBrokerageOfWinHandle for each HANDLE attachment.
BUG= 466437
Committed: https://crrev.com/eece6c3ca617b0d3c37ce137aba1d2079ab892e4
Cr-Commit-Position: refs/heads/master@{#337689}
Total comments: 30
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+520 lines, -197 lines) |
Patch |
 |
M |
crypto/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
1 chunk |
+174 lines, -161 lines |
0 comments
|
Download
|
 |
M |
ipc/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
4 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/attachment_broker.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
ipc/attachment_broker_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/attachment_broker_win.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ipc/attachment_broker_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ipc/brokerable_attachment.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ipc/brokerable_attachment.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
2 chunks |
+20 lines, -1 line |
0 comments
|
Download
|
 |
M |
ipc/handle_attachment_win.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
2 chunks |
+26 lines, -1 line |
0 comments
|
Download
|
 |
A |
ipc/handle_attachment_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc.gypi
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_channel_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ipc/ipc_handle_win.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ipc/ipc_handle_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_attachment.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_attachment_set.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_attachment_set.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+37 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
ipc/ipc_message_generator.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A + |
ipc/ipc_message_generator.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_start.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_utils.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_utils.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_nacl.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
17
18
19
20
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/mojo/ipc_channel_mojo.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ipc/mojo/ipc_mojo_bootstrap_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 80 (36 generated)
|