OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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 // IPC messages for requesting DTLS identity. |
| 6 // Multiply-included message file, hence no include guard. |
| 7 |
| 8 #include "googleurl/src/gurl.h" |
| 9 #include "ipc/ipc_message_macros.h" |
| 10 |
| 11 #define IPC_MESSAGE_START DtlsIdentityMsgStart |
| 12 |
| 13 // Messages sent from the renderer to the browser. |
| 14 // Request a DTLS identity. |
| 15 IPC_MESSAGE_CONTROL3(DTLSIdentityMsg_GetOrGenerate, |
| 16 GURL /* origin */, |
| 17 std::string /* identity_name */, |
| 18 std::string /* common_name */) |
| 19 |
| 20 // Messages sent from the browser to the renderer. |
| 21 // Return a DTLS identity. |
| 22 IPC_MESSAGE_CONTROL2(DTLSIdentityHostMsg_IdentityReady, |
| 23 std::string /* certificate */, |
| 24 std::string /* private_key */) |
OLD | NEW |