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

Unified Diff: chrome/common/extensions/extension_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: 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: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index 62af07adbfcc14835dae5ead7bb8ea0ec20f569e..47506e51450fa962be70a9706b3bcf2eda898b1c 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -617,7 +617,7 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog,
ExtensionHostMsg_DOMAction_Params)
// Notifies the browser process that a tab has started or stopped matching
-// certain conditions. This message is sent in response to several events:
+// certain conditions. This message is sent in response to several events:
//
// * ExtensionMsg_WatchPages was received, updating the set of conditions.
// * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate.
@@ -626,3 +626,11 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddDOMActionToActivityLog,
// to change.
IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange,
std::vector<std::string> /* Matching CSS selectors */)
+
+// 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(ExtensionHostMsg_OnRedirectUrlToApp,
+ std::string /* extension_id */,
+ std::string /* handler_id */,
+ GURL /* URL to redirect */,
+ GURL /* referrer URL */)

Powered by Google App Engine
This is Rietveld 408576698