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 "chrome/common/importer/profile_import_process_messages.h" 6 #include "ipc/ipc_message_macros.h" 7 8 #define IPC_MESSAGE_START FirefoxImporterUnittestMsgStart 9 10 // Messages definitions for messages sent between the unit test binary and 11 // a child process by FFUnitTestDecryptorProxy. 12 13 // Server->Child: Initialize the decrytor with the following paramters. 14 IPC_MESSAGE_CONTROL2(Msg_Decryptor_Init, 15 base::FilePath /* dll_path */, 16 base::FilePath /* db_path */) 17 // Child->Server: Return paramter from init call. 18 IPC_MESSAGE_CONTROL1(Msg_Decryptor_InitReturnCode, 19 bool /* ret */) 20 21 // Server->Child: Decrypt a given string. 22 IPC_MESSAGE_CONTROL1(Msg_Decrypt, 23 std::string /* crypt */) 24 // Child->Server: Decrypted String. 25 IPC_MESSAGE_CONTROL1(Msg_Decryptor_Response, 26 base::string16 /* unencrypted_str */) 27 // Server->Child: Parse firefox signons db from a given path 28 IPC_MESSAGE_CONTROL1(Msg_ParseSignons, 29 base::FilePath /* path to firefox signons db */) 30 // Child->Server: Vector of parsed password forms 31 IPC_MESSAGE_CONTROL1(Msg_ParseSignons_Response, 32 std::vector<autofill::PasswordForm> /* parsed signons */) 33 34 // Server->Child: Die. 35 IPC_MESSAGE_CONTROL0(Msg_Decryptor_Quit) 36