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 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1916 IPC_MESSAGE_CONTROL2(ViewHostMsg_SocketStream_SendData, | 1916 IPC_MESSAGE_CONTROL2(ViewHostMsg_SocketStream_SendData, |
1917 int /* socket_id */, | 1917 int /* socket_id */, |
1918 std::vector<char> /* data */) | 1918 std::vector<char> /* data */) |
1919 | 1919 |
1920 // Request to close the Socket Stream. | 1920 // Request to close the Socket Stream. |
1921 // The browser will send ViewMsg_SocketStream_Closed back when the Socket | 1921 // The browser will send ViewMsg_SocketStream_Closed back when the Socket |
1922 // Stream is completely closed. | 1922 // Stream is completely closed. |
1923 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close, | 1923 IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close, |
1924 int /* socket_id */) | 1924 int /* socket_id */) |
1925 | 1925 |
| 1926 //--------------------------------------------------------------------------- |
| 1927 // Request for cryptographic operation messages: |
| 1928 // These are messages from the renderer to the browser to perform a |
| 1929 // cryptographic operation. |
| 1930 |
| 1931 // Asks the browser process to generate a keypair for grabbing a client |
| 1932 // certificate from a CA (<keygen> tag), and returns the signed public |
| 1933 // key and challenge string. |
| 1934 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
| 1935 uint32 /* key size index */, |
| 1936 std::string /* challenge string */, |
| 1937 GURL /* URL of requestor */, |
| 1938 std::string /* signed public key and challenge */) |
1926 IPC_END_MESSAGES(ViewHost) | 1939 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |