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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 23 matching lines...) Expand all Loading... | |
34 //////////////////////////////////////////////////////////////////////////////// | 34 //////////////////////////////////////////////////////////////////////////////// |
35 // Messages sent from the render process to the browser. | 35 // Messages sent from the render process to the browser. |
36 | 36 |
37 // Asks the browser process to generate a keypair for grabbing a client | 37 // Asks the browser process to generate a keypair for grabbing a client |
38 // certificate from a CA (<keygen> tag), and returns the signed public | 38 // certificate from a CA (<keygen> tag), and returns the signed public |
39 // key and challenge string. | 39 // key and challenge string. |
40 IPC_SYNC_MESSAGE_CONTROL3_1(RenderProcessHostMsg_Keygen, | 40 IPC_SYNC_MESSAGE_CONTROL3_1(RenderProcessHostMsg_Keygen, |
41 uint32 /* key size index */, | 41 uint32 /* key size index */, |
42 std::string /* challenge string */, | 42 std::string /* challenge string */, |
43 GURL /* URL of requestor */, | 43 GURL /* URL of requestor */, |
44 GURL /* URL of parent document */, | |
Bernhard Bauer
2015/12/11 16:41:46
I would call this "URL of top-level document", bec
svaldez
2015/12/11 17:13:56
Done.
| |
44 std::string /* signed public key and challenge */) | 45 std::string /* signed public key and challenge */) |
45 | 46 |
46 // Message sent from the renderer to the browser to request that the browser | 47 // Message sent from the renderer to the browser to request that the browser |
47 // cache |data| associated with |url| and |expected_response_time|. | 48 // cache |data| associated with |url| and |expected_response_time|. |
48 IPC_MESSAGE_CONTROL3(RenderProcessHostMsg_DidGenerateCacheableMetadata, | 49 IPC_MESSAGE_CONTROL3(RenderProcessHostMsg_DidGenerateCacheableMetadata, |
49 GURL /* url */, | 50 GURL /* url */, |
50 base::Time /* expected_response_time */, | 51 base::Time /* expected_response_time */, |
51 std::vector<char> /* data */) | 52 std::vector<char> /* data */) |
52 | 53 |
53 // Notify the browser that this render process can or can't be suddenly | 54 // Notify the browser that this render process can or can't be suddenly |
(...skipping 18 matching lines...) Expand all Loading... | |
72 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 73 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
73 // for details. | 74 // for details. |
74 IPC_SYNC_MESSAGE_CONTROL2_0(RenderProcessHostMsg_PreCacheFontCharacters, | 75 IPC_SYNC_MESSAGE_CONTROL2_0(RenderProcessHostMsg_PreCacheFontCharacters, |
75 LOGFONT /* font_data */, | 76 LOGFONT /* font_data */, |
76 base::string16 /* characters */) | 77 base::string16 /* characters */) |
77 | 78 |
78 // Asks the browser for the user's monitor profile. | 79 // Asks the browser for the user's monitor profile. |
79 IPC_SYNC_MESSAGE_CONTROL0_1(RenderProcessHostMsg_GetMonitorColorProfile, | 80 IPC_SYNC_MESSAGE_CONTROL0_1(RenderProcessHostMsg_GetMonitorColorProfile, |
80 std::vector<char> /* profile */) | 81 std::vector<char> /* profile */) |
81 #endif | 82 #endif |
OLD | NEW |