Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
|
mnaganov (inactive)
2015/01/07 11:43:54
nit: remove "(c)"
sgurun-gerrit only
2015/01/10 02:36:29
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Multiply-included file, no traditional include guard. | |
| 6 #include <vector> | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "ipc/ipc_message_macros.h" | |
| 10 | |
| 11 #define IPC_MESSAGE_START AwMessagePortMsgStart | |
| 12 | |
| 13 //----------------------------------------------------------------------------- | |
| 14 // MessagePort messages | |
| 15 // These are messages sent from the browser to the renderer process. | |
| 16 | |
| 17 // Tells the renderer to convert the sent message from a WebSerializeScript | |
| 18 // format to a base::Value. Due to the complexities of renderer/browser | |
| 19 // relation, this can only be done in renderer for now. | |
| 20 IPC_MESSAGE_ROUTED3(AwMessagePortMsg_Message, | |
| 21 int /* recipient message port id */, | |
| 22 base::string16 /* message */, | |
| 23 std::vector<int> /* sent message port_ids */) | |
| 24 | |
| 25 //----------------------------------------------------------------------------- | |
| 26 // These are messages sent from the renderer to the browser process. | |
| 27 | |
| 28 // Response to AwMessagePortMessage_ConvertMessage | |
| 29 IPC_MESSAGE_ROUTED3(AwMessagePortHostMsg_ConvertedMessage, | |
| 30 int /* recipient message port id */, | |
| 31 base::ListValue /* converted message */, | |
| 32 std::vector<int> /* sent message port_ids */) | |
| OLD | NEW |