Index: content/public/common/extension_system_messages.h |
diff --git a/content/public/common/extension_system_messages.h b/content/public/common/extension_system_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..99e961c4a6edb3d1a2035092487bfcc9f7194e5f |
--- /dev/null |
+++ b/content/public/common/extension_system_messages.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2012 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. |
+ |
+// IPC messages for extension system. |
+// Multiply-included message file, hence no include guard. |
+ |
+#include <string> |
+ |
+#include "content/common/content_export.h" |
+#include "googleurl/src/gurl.h" |
+#include "ipc/ipc_message_macros.h" |
+#include "ipc/ipc_platform_file.h" |
+ |
+#undef IPC_MESSAGE_EXPORT |
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
+ |
+#define IPC_MESSAGE_START ExtensionMsgStart |
+ |
+// Tells the browser process to send to the specified app an onLaunched event |
+// with a URL and its corresponding referrer URL as parameters. |
+IPC_MESSAGE_CONTROL4(ExtensionSystemMsg_LaunchAppWithUrl, |
+ std::string /* extension_id */, |
+ std::string /* handler_id */, |
+ GURL /* URL to redirect */, |
+ GURL /* referrer URL */) |