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