Chromium Code Reviews| 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 | |
|
John Grabowski
2009/08/21 01:13:18
Add #ifndef to mirror convention you maintain in c
| |
| 5 #include "ipc/ipc_message_macros.h" | |
| 6 | |
| 7 // Messages definitions for messages sent between the unit test binary and | |
| 8 // a child process by FFUnitTestDecryptorProxy. | |
| 9 IPC_BEGIN_MESSAGES(Test) | |
| 10 | |
| 11 // Server->Child: Initialize the decrytor with the following paramters. | |
| 12 IPC_MESSAGE_CONTROL2(Msg_Decryptor_Init, | |
| 13 std::wstring /* dll_path */, | |
| 14 std::wstring /* db_path */) | |
| 15 // Child->Server: Return paramter from init call. | |
| 16 IPC_MESSAGE_CONTROL1(Msg_Decryptor_InitReturnCode, | |
| 17 bool /* ret */) | |
| 18 | |
| 19 // Server->Child: Decrypt a given string. | |
| 20 IPC_MESSAGE_CONTROL1(Msg_Decrypt, | |
| 21 std::string /* crypt */) | |
| 22 // Child->Server: Decrypted String. | |
| 23 IPC_MESSAGE_CONTROL1(Msg_Decryptor_Response, | |
| 24 std::wstring /* unencrypted_str */) | |
| 25 | |
| 26 // Server->Child: Die. | |
| 27 IPC_MESSAGE_CONTROL0(Msg_Decryptor_Quit) | |
| 28 | |
| 29 IPC_END_MESSAGES(Test) | |
| OLD | NEW |