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

Side by Side Diff: content/common/media/dtls_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, 6 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
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 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_CONTROL4(DTLSIdentityMsg_RequestIdentity,
16 int /* request_id */,
17 GURL /* origin */,
18 std::string /* identity_name */,
19 std::string /* common_name */)
20 // Cancel a DTLS identity request.
21 IPC_MESSAGE_CONTROL1(DTLSIdentityMsg_CancelRequest,
22 int /* request_id */)
Ryan Sleevi 2013/06/13 22:36:47 Should the renderer be the one cancelling, or shou
jiayl 2013/06/14 00:37:01 We want to cancel the request to avoid wasting res
23
24 // Messages sent from the browser to the renderer.
25 // Return a DTLS identity.
26 IPC_MESSAGE_CONTROL3(DTLSIdentityHostMsg_IdentityReady,
27 int /* request_id */,
28 std::string /* certificate */,
29 std::string /* private_key */)
30 // Notifies an error from the identity request.
31 IPC_MESSAGE_CONTROL2(DTLSIdentityHostMsg_RequestFailed,
32 int /* request_id */,
33 int /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698