Index: chrome/common/app_shim_messages.h |
diff --git a/chrome/common/app_shim_messages.h b/chrome/common/app_shim_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e49ce4e505fb94110780886ed30c4939512e402 |
--- /dev/null |
+++ b/chrome/common/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 */, |
palmer
2013/03/11 19:28:18
This is unsafe; see the .mm file for details.
jeremya
2013/03/12 03:45:36
I wonder if there's something other than the profi
|
+ std::string /* app id */) |