OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 |
| 9 #include "ipc/ipc_message_macros.h" |
| 10 |
| 11 // Messages definitions for messages sent between the unit test binary and |
| 12 // a child process by FFUnitTestDecryptorProxy. |
| 13 IPC_BEGIN_MESSAGES(Test) |
| 14 |
| 15 // Server->Child: Initialize the decrytor with the following paramters. |
| 16 IPC_MESSAGE_CONTROL2(Msg_Decryptor_Init, |
| 17 std::wstring /* dll_path */, |
| 18 std::wstring /* db_path */) |
| 19 // Child->Server: Return paramter from init call. |
| 20 IPC_MESSAGE_CONTROL1(Msg_Decryptor_InitReturnCode, |
| 21 bool /* ret */) |
| 22 |
| 23 // Server->Child: Decrypt a given string. |
| 24 IPC_MESSAGE_CONTROL1(Msg_Decrypt, |
| 25 std::string /* crypt */) |
| 26 // Child->Server: Decrypted String. |
| 27 IPC_MESSAGE_CONTROL1(Msg_Decryptor_Response, |
| 28 std::wstring /* unencrypted_str */) |
| 29 |
| 30 // Server->Child: Die. |
| 31 IPC_MESSAGE_CONTROL0(Msg_Decryptor_Quit) |
| 32 |
| 33 IPC_END_MESSAGES(Test) |
OLD | NEW |