Index: content/common/media/dtls_identity_messages.h |
diff --git a/content/common/media/dtls_identity_messages.h b/content/common/media/dtls_identity_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ccd0d2b7a5738232b132a5ddc09140a7b89d9096 |
--- /dev/null |
+++ b/content/common/media/dtls_identity_messages.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// IPC messages for requesting DTLS identity. |
+// Multiply-included message file, hence no include guard. |
+ |
+#include "googleurl/src/gurl.h" |
+#include "ipc/ipc_message_macros.h" |
+ |
+ |
+#define IPC_MESSAGE_START DtlsIdentityMsgStart |
+ |
+// Messages sent from the renderer to the browser. |
+ |
+// Request a DTLS identity. |
+IPC_SYNC_MESSAGE_CONTROL3_2(DtlsIdentityMsg_GetOrGenerate, |
+ GURL /* url */, |
+ std::string /* identity_name */, |
+ std::string /* common_name */, |
+ std::string /* certificate */, |
+ std::string /* private_key */) |