Apply _RELATIVE relocations ahead of others.
[chromium-blink-merge.git] / content / common / media / webrtc_identity_messages.h
blob274215bf78ba66b6e5eb9b1d512a50a14a600b70
1 // Copyright 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.
5 // IPC messages for requesting WebRTC identity.
6 // Multiply-included message file, hence no include guard.
8 #include "content/common/content_export.h"
9 #include "ipc/ipc_message_macros.h"
10 #include "url/gurl.h"
12 #define IPC_MESSAGE_START WebRTCIdentityMsgStart
13 #undef IPC_MESSAGE_EXPORT
14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
16 // Messages sent from the renderer to the browser.
17 // Request a WebRTC identity.
18 IPC_MESSAGE_CONTROL4(WebRTCIdentityMsg_RequestIdentity,
19 int /* sequence_number */,
20 GURL /* origin */,
21 std::string /* identity_name */,
22 std::string /* common_name */)
23 // Cancel the WebRTC identity request.
24 IPC_MESSAGE_CONTROL0(WebRTCIdentityMsg_CancelRequest)
26 // Messages sent from the browser to the renderer.
27 // Return a WebRTC identity.
28 IPC_MESSAGE_CONTROL3(WebRTCIdentityHostMsg_IdentityReady,
29 int /* sequence_number */,
30 std::string /* certificate */,
31 std::string /* private_key */)
32 // Notifies an error from the identity request.
33 IPC_MESSAGE_CONTROL2(WebRTCIdentityHostMsg_RequestFailed,
34 int /* sequence_number */,
35 int /* error */)