Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/importer/profile_import_process_messages.h" | |
| 5 #include "ipc/ipc_message_macros.h" | 6 #include "ipc/ipc_message_macros.h" |
| 6 | 7 |
| 7 #define IPC_MESSAGE_START FirefoxImporterUnittestMsgStart | 8 #define IPC_MESSAGE_START FirefoxImporterUnittestMsgStart |
| 8 | 9 |
| 9 // Messages definitions for messages sent between the unit test binary and | 10 // Messages definitions for messages sent between the unit test binary and |
| 10 // a child process by FFUnitTestDecryptorProxy. | 11 // a child process by FFUnitTestDecryptorProxy. |
| 11 | 12 |
| 12 // Server->Child: Initialize the decrytor with the following paramters. | 13 // Server->Child: Initialize the decrytor with the following paramters. |
| 13 IPC_MESSAGE_CONTROL2(Msg_Decryptor_Init, | 14 IPC_MESSAGE_CONTROL2(Msg_Decryptor_Init, |
| 14 base::FilePath /* dll_path */, | 15 base::FilePath /* dll_path */, |
| 15 base::FilePath /* db_path */) | 16 base::FilePath /* db_path */) |
| 16 // Child->Server: Return paramter from init call. | 17 // Child->Server: Return paramter from init call. |
| 17 IPC_MESSAGE_CONTROL1(Msg_Decryptor_InitReturnCode, | 18 IPC_MESSAGE_CONTROL1(Msg_Decryptor_InitReturnCode, |
| 18 bool /* ret */) | 19 bool /* ret */) |
| 19 | 20 |
| 20 // Server->Child: Decrypt a given string. | 21 // Server->Child: Decrypt a given string. |
| 21 IPC_MESSAGE_CONTROL1(Msg_Decrypt, | 22 IPC_MESSAGE_CONTROL1(Msg_Decrypt, |
| 22 std::string /* crypt */) | 23 std::string /* crypt */) |
| 23 // Child->Server: Decrypted String. | 24 // Child->Server: Decrypted String. |
| 24 IPC_MESSAGE_CONTROL1(Msg_Decryptor_Response, | 25 IPC_MESSAGE_CONTROL1(Msg_Decryptor_Response, |
| 25 base::string16 /* unencrypted_str */) | 26 base::string16 /* unencrypted_str */) |
| 26 | 27 |
| 28 IPC_MESSAGE_CONTROL1(Msg_ParseSignons_Response, | |
| 29 std::vector<autofill::PasswordForm>) | |
|
Ilya Sherman
2014/06/11 00:19:38
nit: Please follow the existing pattern in this fi
Lukasz Jagielski
2014/06/11 16:10:16
Done.
| |
| 30 | |
| 31 IPC_MESSAGE_CONTROL1(Msg_ParseSignons, base::FilePath) | |
|
Ilya Sherman
2014/06/11 00:19:38
nit: Please add brief documentation for the added
Lukasz Jagielski
2014/06/11 16:10:16
Done.
| |
| 32 | |
| 27 // Server->Child: Die. | 33 // Server->Child: Die. |
| 28 IPC_MESSAGE_CONTROL0(Msg_Decryptor_Quit) | 34 IPC_MESSAGE_CONTROL0(Msg_Decryptor_Quit) |
| OLD | NEW |