Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: chromeos/arc/bridge/common/arc_instance_messages.h

Issue 1424503002: arc-bridge: Add IPC message definitions (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Renamed libarcbridge=>bridge/common and addressed feedback Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Messages sent from the ARC instance to the host
6 // Multiply-included message file, hence no include guard.
7
8 #include <stdint.h>
9
10 #include <string>
11 #include <vector>
12
13 #include "base/file_descriptor_posix.h"
14 #include "ipc/ipc_message_macros.h"
15
16 #define IPC_MESSAGE_START ArcInstanceMsgStart
17
18 IPC_MESSAGE_CONTROL0(ArcInstanceMsg_Ping)
19
20 // Registers a virtual input device on the container side.
21 // The virtual device will be reading 'struct input_event's from the
22 // file descriptor provided.
satorux1 2015/10/26 01:58:53 how about adding examples of 'name' and 'device_ty
Luis Héctor Chávez 2015/10/26 21:03:27 Done.
23 IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RegisterInputDevice,
24 std::string, /* name */
25 std::string, /* device_type */
26 base::FileDescriptor /* fd */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698