OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Common IPC messages used for render processes. |
| 6 // Multiply-included message file, hence no include guard. |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "ipc/ipc_message_macros.h" |
| 11 #include "ipc/ipc_message_utils.h" |
| 12 #include "url/gurl.h" |
| 13 |
| 14 #undef IPC_MESSAGE_EXPORT |
| 15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 16 |
| 17 #define IPC_MESSAGE_START RenderProcessMsgStart |
| 18 |
| 19 //////////////////////////////////////////////////////////////////////////////// |
| 20 // Messages sent from the browser to the render process. |
| 21 |
| 22 //////////////////////////////////////////////////////////////////////////////// |
| 23 // Messages sent from the render process to the browser. |
| 24 |
| 25 // Asks the browser process to generate a keypair for grabbing a client |
| 26 // certificate from a CA (<keygen> tag), and returns the signed public |
| 27 // key and challenge string. |
| 28 IPC_SYNC_MESSAGE_CONTROL3_1(RenderProcessHostMsg_Keygen, |
| 29 uint32 /* key size index */, |
| 30 std::string /* challenge string */, |
| 31 GURL /* URL of requestor */, |
| 32 std::string /* signed public key and challenge */) |
OLD | NEW |