summaryrefslogtreecommitdiffstats
path: root/apps/app_shim/app_shim_messages.h
blob: 1e49ce4e505fb94110780886ed30c4939512e402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Multiply-included message file, hence no include guard.

#include <string>

#include "ipc/ipc_message_macros.h"

#define IPC_MESSAGE_START AppShimMsgStart

// Signals that a previous LaunchApp message has been processed, and lets the
// app shim process know whether the app launch was successful.
IPC_MESSAGE_CONTROL1(AppShimMsg_LaunchApp_Done,
                     bool /* succeeded */)

// Tells the main Chrome process to launch a particular app with the given
// profile name and app id.
IPC_MESSAGE_CONTROL2(AppShimHostMsg_LaunchApp,
                     std::string /* profile name */,
                     std::string /* app id */)