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 #include "ipc/ipc_message_macros.h" 6 7 #define IPC_MESSAGE_START FirefoxImporterUnittestMsgStart 8 9 // Messages definitions for messages sent between the unit test binary and 10 // a child process by FFUnitTestDecryptorProxy. 11 12 // Server->Child: Initialize the decrytor with the following paramters. 13 IPC_MESSAGE_CONTROL2(Msg_Decryptor_Init, 14 FilePath /* dll_path */, 15 FilePath /* db_path */) 16 // Child->Server: Return paramter from init call. 17 IPC_MESSAGE_CONTROL1(Msg_Decryptor_InitReturnCode, 18 bool /* ret */) 19 20 // Server->Child: Decrypt a given string. 21 IPC_MESSAGE_CONTROL1(Msg_Decrypt, 22 std::string /* crypt */) 23 // Child->Server: Decrypted String. 24 IPC_MESSAGE_CONTROL1(Msg_Decryptor_Response, 25 string16 /* unencrypted_str */) 26 27 // Server->Child: Die. 28 IPC_MESSAGE_CONTROL0(Msg_Decryptor_Quit) 29