OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1919 IPC_MESSAGE_CONTROL2(ViewHostMsg_SocketStream_SendData, | 1919 IPC_MESSAGE_CONTROL2(ViewHostMsg_SocketStream_SendData, |
1920 int /* socket_id */, | 1920 int /* socket_id */, |
1921 std::vector<char> /* data */) | 1921 std::vector<char> /* data */) |
1922 | 1922 |
1923 // Request to close the Socket Stream. | 1923 // Request to close the Socket Stream. |
1924 // The browser will send ViewMsg_SocketStream_Closed back when the Socket | 1924 // The browser will send ViewMsg_SocketStream_Closed back when the Socket |
1925 // Stream is completely closed. | 1925 // Stream is completely closed. |
1926 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close, | 1926 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close, |
1927 int /* socket_id */) | 1927 int /* socket_id */) |
1928 | 1928 |
| 1929 //--------------------------------------------------------------------------- |
| 1930 // Request for cryptographic operation messages: |
| 1931 // These are messages from the renderer to the browser to perform a |
| 1932 // cryptographic operation. |
| 1933 |
| 1934 // Asks the browser process to generate a keypair for grabbing a client |
| 1935 // certificate from a CA (<keygen> tag), and return the signed public |
| 1936 // key and challenge string. |
| 1937 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
| 1938 uint32 /* key size index */, |
| 1939 std::string /* challenge string */, |
| 1940 GURL /* URL of requestor */, |
| 1941 std::string /* signed public key and challenge */) |
1929 IPC_END_MESSAGES(ViewHost) | 1942 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |