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

Unified Diff: content/public/common/extension_system_messages.h

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 1) Fixed broken redirection for in-page WebKit-initiated navigations. All redirections work now. 2)… Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
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 */)

Powered by Google App Engine
This is Rietveld 408576698