Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: content/common/media/webrtc_identity_messages.h

Issue 15969025: Generates the DTLS identity in browser process and returns it to render process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 */)
OLDNEW
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698