OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Common IPC messages used for render processes. | 5 // Common IPC messages used for render processes. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 //////////////////////////////////////////////////////////////////////////////// | 34 //////////////////////////////////////////////////////////////////////////////// |
35 // Messages sent from the browser to the render process. | 35 // Messages sent from the browser to the render process. |
36 | 36 |
37 //////////////////////////////////////////////////////////////////////////////// | 37 //////////////////////////////////////////////////////////////////////////////// |
38 // Messages sent from the render process to the browser. | 38 // Messages sent from the render process to the browser. |
39 | 39 |
40 // Asks the browser process to generate a keypair for grabbing a client | 40 // Asks the browser process to generate a keypair for grabbing a client |
41 // certificate from a CA (<keygen> tag), and returns the signed public | 41 // certificate from a CA (<keygen> tag), and returns the signed public |
42 // key and challenge string. | 42 // key and challenge string. |
43 IPC_SYNC_MESSAGE_CONTROL3_1(RenderProcessHostMsg_Keygen, | 43 IPC_SYNC_MESSAGE_CONTROL4_1(RenderProcessHostMsg_Keygen, |
44 uint32_t /* key size index */, | 44 uint32_t /* key size index */, |
45 std::string /* challenge string */, | 45 std::string /* challenge string */, |
46 GURL /* URL of requestor */, | 46 GURL /* URL of requestor */, |
| 47 GURL /* Origin of top-level frame */, |
47 std::string /* signed public key and challenge */) | 48 std::string /* signed public key and challenge */) |
48 | 49 |
49 // Message sent from the renderer to the browser to request that the browser | 50 // Message sent from the renderer to the browser to request that the browser |
50 // cache |data| associated with |url| and |expected_response_time|. | 51 // cache |data| associated with |url| and |expected_response_time|. |
51 IPC_MESSAGE_CONTROL3(RenderProcessHostMsg_DidGenerateCacheableMetadata, | 52 IPC_MESSAGE_CONTROL3(RenderProcessHostMsg_DidGenerateCacheableMetadata, |
52 GURL /* url */, | 53 GURL /* url */, |
53 base::Time /* expected_response_time */, | 54 base::Time /* expected_response_time */, |
54 std::vector<char> /* data */) | 55 std::vector<char> /* data */) |
55 | 56 |
56 // Notify the browser that this render process can or can't be suddenly | 57 // Notify the browser that this render process can or can't be suddenly |
(...skipping 13 matching lines...) Expand all Loading... |
70 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 71 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
71 // for details. | 72 // for details. |
72 IPC_SYNC_MESSAGE_CONTROL2_0(RenderProcessHostMsg_PreCacheFontCharacters, | 73 IPC_SYNC_MESSAGE_CONTROL2_0(RenderProcessHostMsg_PreCacheFontCharacters, |
73 LOGFONT /* font_data */, | 74 LOGFONT /* font_data */, |
74 base::string16 /* characters */) | 75 base::string16 /* characters */) |
75 | 76 |
76 // Asks the browser for the user's monitor profile. | 77 // Asks the browser for the user's monitor profile. |
77 IPC_SYNC_MESSAGE_CONTROL0_1(RenderProcessHostMsg_GetMonitorColorProfile, | 78 IPC_SYNC_MESSAGE_CONTROL0_1(RenderProcessHostMsg_GetMonitorColorProfile, |
78 std::vector<char> /* profile */) | 79 std::vector<char> /* profile */) |
79 #endif | 80 #endif |
OLD | NEW |