OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Messages sent from the host to the ARC instance | 5 // Messages sent from the host to the ARC instance |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
| 8 #include "chromeos/chromeos_export.h" |
8 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
9 | 10 |
| 11 #include <string> |
| 12 #include <vector> |
| 13 |
| 14 // Export IPC messages. |
| 15 #undef IPC_MESSAGE_EXPORT |
| 16 #define IPC_MESSAGE_EXPORT CHROMEOS_EXPORT |
| 17 |
10 #define IPC_MESSAGE_START ArcInstanceHostMsgStart | 18 #define IPC_MESSAGE_START ArcInstanceHostMsgStart |
11 | 19 |
12 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) | 20 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) |
| 21 |
| 22 // Sends available apps on Android side. |
| 23 IPC_MESSAGE_CONTROL2(ArcInstanceHostMsg_AppsRefreshed, |
| 24 std::vector<std::string>, /* labels */ |
| 25 std::vector<std::string> /* packages */) |
| 26 |
| 27 // Sends app icon data for specific scale factor. |
| 28 IPC_MESSAGE_CONTROL4(ArcInstanceHostMsg_AppIcon, |
| 29 std::string, /* package */ |
| 30 std::string, /* activity */ |
| 31 int, /* scale factor */ |
| 32 std::vector<uint8_t> /* icon data */) |
OLD | NEW |