Index: content/common/render_process_messages.h |
diff --git a/content/common/render_process_messages.h b/content/common/render_process_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..067d7afa54140871c0adfa13a91cb6a570ab2b0e |
--- /dev/null |
+++ b/content/common/render_process_messages.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2015 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. |
+ |
+// Common IPC messages used for render processes. |
+// Multiply-included message file, hence no include guard. |
+ |
+#include <string> |
+ |
+#include "ipc/ipc_message_macros.h" |
+#include "ipc/ipc_message_utils.h" |
+#include "url/gurl.h" |
+ |
+#undef IPC_MESSAGE_EXPORT |
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
+ |
+#define IPC_MESSAGE_START RenderProcessMsgStart |
+ |
+//////////////////////////////////////////////////////////////////////////////// |
+// Messages sent from the browser to the render process. |
+ |
+//////////////////////////////////////////////////////////////////////////////// |
+// Messages sent from the render process to the browser. |
+ |
+// Asks the browser process to generate a keypair for grabbing a client |
+// certificate from a CA (<keygen> tag), and returns the signed public |
+// key and challenge string. |
+IPC_SYNC_MESSAGE_CONTROL3_1(RenderProcessHostMsg_Keygen, |
+ uint32 /* key size index */, |
+ std::string /* challenge string */, |
+ GURL /* URL of requestor */, |
+ std::string /* signed public key and challenge */) |