Index: apps/app_shim/app_shim_messages.h |
diff --git a/apps/app_shim/app_shim_messages.h b/apps/app_shim/app_shim_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e49ce4e505fb94110780886ed30c4939512e402 |
--- /dev/null |
+++ b/apps/app_shim/app_shim_messages.h |
@@ -0,0 +1,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 */) |