Index: content/public/common/url_handling_messages.h |
diff --git a/content/public/common/url_handling_messages.h b/content/public/common/url_handling_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f527ddfba9ed80594a70d3d173fec5c50a4e6a2b |
--- /dev/null |
+++ b/content/public/common/url_handling_messages.h |
@@ -0,0 +1,24 @@ |
+// 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_message_start.h" |
+ |
+#undef IPC_MESSAGE_EXPORT |
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
+ |
+#define IPC_MESSAGE_START UrlHandlingMsgStart |
+ |
+// Tells the renderer host to forward the specified URL and referrer to the |
+// browser for further handling. |
+IPC_MESSAGE_CONTROL2(RendererHostMsg_ForwardUrlToBrowser, |
+ GURL /* URL to redirect */, |
+ GURL /* referrer URL */) |