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 WebRTC 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 WebRTCIdentityMsgStart |
| 12 |
| 13 // Messages sent from the renderer to the browser. |
| 14 // Request a WebRTC identity. |
| 15 IPC_MESSAGE_CONTROL4(WebRTCIdentityMsg_RequestIdentity, |
| 16 int /* request_id */, |
| 17 GURL /* origin */, |
| 18 std::string /* identity_name */, |
| 19 std::string /* common_name */) |
| 20 // Cancel a WebRTC identity request. |
| 21 IPC_MESSAGE_CONTROL1(WebRTCIdentityMsg_CancelRequest, int /* request_id */) |
| 22 |
| 23 // Messages sent from the browser to the renderer. |
| 24 // Return a WebRTC identity. |
| 25 IPC_MESSAGE_CONTROL3(WebRTCIdentityHostMsg_IdentityReady, |
| 26 int /* request_id */, |
| 27 std::string /* certificate */, |
| 28 std::string /* private_key */) |
| 29 // Notifies an error from the identity request. |
| 30 IPC_MESSAGE_CONTROL2(WebRTCIdentityHostMsg_RequestFailed, |
| 31 int /* request_id */, |
| 32 int /* error */) |
OLD | NEW |