Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / utility / importer / firefox_importer_unittest_messages_internal.h
blob8882ffbf37fdf5497ebc7201b0933cdca32c5689
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 #include "ipc/ipc_message_macros.h"
7 #define IPC_MESSAGE_START FirefoxImporterUnittestMsgStart
9 // Messages definitions for messages sent between the unit test binary and
10 // a child process by FFUnitTestDecryptorProxy.
12 // Server->Child: Initialize the decrytor with the following paramters.
13 IPC_MESSAGE_CONTROL2(Msg_Decryptor_Init,
14 base::FilePath /* dll_path */,
15 base::FilePath /* db_path */)
16 // Child->Server: Return paramter from init call.
17 IPC_MESSAGE_CONTROL1(Msg_Decryptor_InitReturnCode,
18 bool /* ret */)
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 base::string16 /* unencrypted_str */)
27 // Server->Child: Die.
28 IPC_MESSAGE_CONTROL0(Msg_Decryptor_Quit)